Skip to content

Commit 814bf9c

Browse files
committed
remove deprecated methods
1 parent a3e12a6 commit 814bf9c

File tree

5 files changed

+1
-452
lines changed

5 files changed

+1
-452
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Remove v1 algod API (`client.algod`) due to API end-of-life (2022-12-01). Instead, use v2 algod API (`client.v2.algod.algod`).
88
- Remove `cost` field in `DryrunTxnResult` in favor of 2 fields: `budget-added` and `budget-consumed`. `cost` can be derived by `budget-consumed - budget-added`.
99
- Remove logicsig templates (`logicTemplates`), `logic/langspec.json`, `logic.logic` depending on `langspec.json`.
10+
- Remove deprecated methods in `makeTxns.ts`, `logicsig.ts` and `types/transactions/encoded.ts`.
1011

1112
# v1.24.1
1213

src/logicsig.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -375,19 +375,6 @@ export class LogicSigAccount {
375375
}
376376
}
377377

378-
/**
379-
* makeLogicSig creates LogicSig object from program and arguments
380-
*
381-
* @deprecated Use new LogicSigAccount(...) instead
382-
*
383-
* @param program - Program to make LogicSig from
384-
* @param args - Arguments as array of Uint8Array
385-
* @returns LogicSig object
386-
*/
387-
export function makeLogicSig(program: Uint8Array, args?: Uint8Array[]) {
388-
return new LogicSig(program, args);
389-
}
390-
391378
function signLogicSigTransactionWithAddress(
392379
txn: txnBuilder.Transaction,
393380
lsig: LogicSig,

src/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ export {
154154
export { computeGroupID, assignGroupID } from './group';
155155
export {
156156
LogicSigAccount,
157-
makeLogicSig,
158157
signLogicSigTransaction,
159158
signLogicSigTransactionObject,
160159
logicSigFromByte,

0 commit comments

Comments
 (0)