@algorandfoundation/algokit-utils 10.0.0-alpha.13 → 10.0.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/algod_client/src/models/block.d.ts +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/packages/transact/src/transactions/app-call.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.js.map +1 -1
- package/packages/transact/src/transactions/asset-config.mjs.map +1 -1
- package/packages/transact/src/transactions/asset-freeze.d.ts +1 -6
- package/packages/transact/src/transactions/asset-transfer.d.ts +1 -6
- package/packages/transact/src/transactions/key-registration.d.ts +1 -8
- package/packages/transact/src/transactions/signed-transaction.d.ts +5 -1
- package/packages/transact/src/transactions/signed-transaction.js +1 -1
- package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
- package/packages/transact/src/transactions/signed-transaction.mjs +1 -2
- package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
- package/packages/transact/src/transactions/transaction.d.ts +5 -1
- package/packages/transact/src/transactions/transaction.js +0 -1
- package/packages/transact/src/transactions/transaction.js.map +1 -1
- package/packages/transact/src/transactions/transaction.mjs +0 -1
- package/packages/transact/src/transactions/transaction.mjs.map +1 -1
- package/transact/index.d.ts +9 -9
- package/transact/index.js +3 -10
- package/transact/index.mjs +5 -9
- package/transactions/key-registration.d.ts +1 -1
- package/transactions/key-registration.js.map +1 -1
- package/transactions/key-registration.mjs.map +1 -1
- package/types/account-manager.js +1 -1
- package/types/account-manager.mjs +1 -1
- package/types/algorand-client-transaction-creator.d.ts +27 -27
- package/types/algorand-client-transaction-sender.d.ts +28 -28
- package/types/app-client.d.ts +93 -93
- package/types/app-factory.d.ts +43 -43
- package/types/composer.js +9 -2
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +11 -4
- package/types/composer.mjs.map +1 -1
- package/packages/transact/src/transactions/common.d.ts +0 -37
|
@@ -479,8 +479,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
479
479
|
* @returns The result of the app create transaction and the transaction that was sent
|
|
480
480
|
*/
|
|
481
481
|
appCreate: (params: {
|
|
482
|
+
args?: Uint8Array[] | undefined;
|
|
482
483
|
sender: SendingAddress;
|
|
483
|
-
signer?:
|
|
484
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
484
485
|
rekeyTo?: ReadableAddress | undefined;
|
|
485
486
|
note?: string | Uint8Array | undefined;
|
|
486
487
|
lease?: string | Uint8Array | undefined;
|
|
@@ -491,7 +492,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
491
492
|
firstValidRound?: bigint | undefined;
|
|
492
493
|
lastValidRound?: bigint | undefined;
|
|
493
494
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
494
|
-
args?: Uint8Array[] | undefined;
|
|
495
495
|
accountReferences?: ReadableAddress[] | undefined;
|
|
496
496
|
appReferences?: bigint[] | undefined;
|
|
497
497
|
assetReferences?: bigint[] | undefined;
|
|
@@ -555,7 +555,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
555
555
|
*/
|
|
556
556
|
appUpdate: (params: {
|
|
557
557
|
sender: SendingAddress;
|
|
558
|
-
signer?:
|
|
558
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
559
559
|
rekeyTo?: ReadableAddress | undefined;
|
|
560
560
|
note?: string | Uint8Array | undefined;
|
|
561
561
|
lease?: string | Uint8Array | undefined;
|
|
@@ -754,7 +754,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
754
754
|
appCreateMethodCall: (params: {
|
|
755
755
|
appId?: 0 | undefined;
|
|
756
756
|
sender: SendingAddress;
|
|
757
|
-
signer?:
|
|
757
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
758
758
|
rekeyTo?: ReadableAddress | undefined;
|
|
759
759
|
note?: string | Uint8Array | undefined;
|
|
760
760
|
lease?: string | Uint8Array | undefined;
|
|
@@ -781,9 +781,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
781
781
|
} | undefined;
|
|
782
782
|
extraProgramPages?: number | undefined;
|
|
783
783
|
method: ABIMethod;
|
|
784
|
-
args?: (Transaction |
|
|
784
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
785
|
+
args?: Uint8Array[] | undefined;
|
|
785
786
|
sender: SendingAddress;
|
|
786
|
-
signer?:
|
|
787
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
787
788
|
rekeyTo?: ReadableAddress | undefined;
|
|
788
789
|
note?: string | Uint8Array | undefined;
|
|
789
790
|
lease?: string | Uint8Array | undefined;
|
|
@@ -794,7 +795,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
794
795
|
firstValidRound?: bigint | undefined;
|
|
795
796
|
lastValidRound?: bigint | undefined;
|
|
796
797
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
797
|
-
args?: Uint8Array[] | undefined;
|
|
798
798
|
accountReferences?: ReadableAddress[] | undefined;
|
|
799
799
|
appReferences?: bigint[] | undefined;
|
|
800
800
|
assetReferences?: bigint[] | undefined;
|
|
@@ -813,7 +813,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
813
813
|
extraProgramPages?: number | undefined;
|
|
814
814
|
}> | AppMethodCall<{
|
|
815
815
|
sender: SendingAddress;
|
|
816
|
-
signer?:
|
|
816
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
817
817
|
rekeyTo?: ReadableAddress | undefined;
|
|
818
818
|
note?: string | Uint8Array | undefined;
|
|
819
819
|
lease?: string | Uint8Array | undefined;
|
|
@@ -834,7 +834,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
834
834
|
rejectVersion?: number | undefined;
|
|
835
835
|
approvalProgram: string | Uint8Array;
|
|
836
836
|
clearStateProgram: string | Uint8Array;
|
|
837
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
837
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
838
838
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
839
839
|
/**
|
|
840
840
|
* Update a smart contract via an ABI method.
|
|
@@ -895,7 +895,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
895
895
|
appUpdateMethodCall: (params: {
|
|
896
896
|
appId: bigint;
|
|
897
897
|
sender: SendingAddress;
|
|
898
|
-
signer?:
|
|
898
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
899
899
|
rekeyTo?: ReadableAddress | undefined;
|
|
900
900
|
note?: string | Uint8Array | undefined;
|
|
901
901
|
lease?: string | Uint8Array | undefined;
|
|
@@ -915,9 +915,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
915
915
|
approvalProgram: string | Uint8Array;
|
|
916
916
|
clearStateProgram: string | Uint8Array;
|
|
917
917
|
method: ABIMethod;
|
|
918
|
-
args?: (Transaction |
|
|
918
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
919
|
+
args?: Uint8Array[] | undefined;
|
|
919
920
|
sender: SendingAddress;
|
|
920
|
-
signer?:
|
|
921
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
921
922
|
rekeyTo?: ReadableAddress | undefined;
|
|
922
923
|
note?: string | Uint8Array | undefined;
|
|
923
924
|
lease?: string | Uint8Array | undefined;
|
|
@@ -928,7 +929,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
928
929
|
firstValidRound?: bigint | undefined;
|
|
929
930
|
lastValidRound?: bigint | undefined;
|
|
930
931
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
931
|
-
args?: Uint8Array[] | undefined;
|
|
932
932
|
accountReferences?: ReadableAddress[] | undefined;
|
|
933
933
|
appReferences?: bigint[] | undefined;
|
|
934
934
|
assetReferences?: bigint[] | undefined;
|
|
@@ -947,7 +947,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
947
947
|
extraProgramPages?: number | undefined;
|
|
948
948
|
}> | AppMethodCall<{
|
|
949
949
|
sender: SendingAddress;
|
|
950
|
-
signer?:
|
|
950
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
951
951
|
rekeyTo?: ReadableAddress | undefined;
|
|
952
952
|
note?: string | Uint8Array | undefined;
|
|
953
953
|
lease?: string | Uint8Array | undefined;
|
|
@@ -968,7 +968,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
968
968
|
rejectVersion?: number | undefined;
|
|
969
969
|
approvalProgram: string | Uint8Array;
|
|
970
970
|
clearStateProgram: string | Uint8Array;
|
|
971
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
971
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
972
972
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
973
973
|
/**
|
|
974
974
|
* Delete a smart contract via an ABI method.
|
|
@@ -1027,7 +1027,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1027
1027
|
appDeleteMethodCall: (params: {
|
|
1028
1028
|
appId: bigint;
|
|
1029
1029
|
sender: SendingAddress;
|
|
1030
|
-
signer?:
|
|
1030
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1031
1031
|
rekeyTo?: ReadableAddress | undefined;
|
|
1032
1032
|
note?: string | Uint8Array | undefined;
|
|
1033
1033
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1045,9 +1045,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
1045
1045
|
accessReferences?: ResourceReference[] | undefined;
|
|
1046
1046
|
rejectVersion?: number | undefined;
|
|
1047
1047
|
method: ABIMethod;
|
|
1048
|
-
args?: (Transaction |
|
|
1048
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1049
|
+
args?: Uint8Array[] | undefined;
|
|
1049
1050
|
sender: SendingAddress;
|
|
1050
|
-
signer?:
|
|
1051
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1051
1052
|
rekeyTo?: ReadableAddress | undefined;
|
|
1052
1053
|
note?: string | Uint8Array | undefined;
|
|
1053
1054
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1058,7 +1059,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
1058
1059
|
firstValidRound?: bigint | undefined;
|
|
1059
1060
|
lastValidRound?: bigint | undefined;
|
|
1060
1061
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1061
|
-
args?: Uint8Array[] | undefined;
|
|
1062
1062
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1063
1063
|
appReferences?: bigint[] | undefined;
|
|
1064
1064
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1077,7 +1077,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1077
1077
|
extraProgramPages?: number | undefined;
|
|
1078
1078
|
}> | AppMethodCall<{
|
|
1079
1079
|
sender: SendingAddress;
|
|
1080
|
-
signer?:
|
|
1080
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1081
1081
|
rekeyTo?: ReadableAddress | undefined;
|
|
1082
1082
|
note?: string | Uint8Array | undefined;
|
|
1083
1083
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1098,7 +1098,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1098
1098
|
rejectVersion?: number | undefined;
|
|
1099
1099
|
approvalProgram: string | Uint8Array;
|
|
1100
1100
|
clearStateProgram: string | Uint8Array;
|
|
1101
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1101
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
1102
1102
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Call a smart contract via an ABI method.
|
|
@@ -1157,7 +1157,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1157
1157
|
appCallMethodCall: (params: {
|
|
1158
1158
|
appId: bigint;
|
|
1159
1159
|
sender: SendingAddress;
|
|
1160
|
-
signer?:
|
|
1160
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1161
1161
|
rekeyTo?: ReadableAddress | undefined;
|
|
1162
1162
|
note?: string | Uint8Array | undefined;
|
|
1163
1163
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1175,9 +1175,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
1175
1175
|
accessReferences?: ResourceReference[] | undefined;
|
|
1176
1176
|
rejectVersion?: number | undefined;
|
|
1177
1177
|
method: ABIMethod;
|
|
1178
|
-
args?: (Transaction |
|
|
1178
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1179
|
+
args?: Uint8Array[] | undefined;
|
|
1179
1180
|
sender: SendingAddress;
|
|
1180
|
-
signer?:
|
|
1181
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1181
1182
|
rekeyTo?: ReadableAddress | undefined;
|
|
1182
1183
|
note?: string | Uint8Array | undefined;
|
|
1183
1184
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1188,7 +1189,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
1188
1189
|
firstValidRound?: bigint | undefined;
|
|
1189
1190
|
lastValidRound?: bigint | undefined;
|
|
1190
1191
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1191
|
-
args?: Uint8Array[] | undefined;
|
|
1192
1192
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1193
1193
|
appReferences?: bigint[] | undefined;
|
|
1194
1194
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1207,7 +1207,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1207
1207
|
extraProgramPages?: number | undefined;
|
|
1208
1208
|
}> | AppMethodCall<{
|
|
1209
1209
|
sender: SendingAddress;
|
|
1210
|
-
signer?:
|
|
1210
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1211
1211
|
rekeyTo?: ReadableAddress | undefined;
|
|
1212
1212
|
note?: string | Uint8Array | undefined;
|
|
1213
1213
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1228,7 +1228,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1228
1228
|
rejectVersion?: number | undefined;
|
|
1229
1229
|
approvalProgram: string | Uint8Array;
|
|
1230
1230
|
clearStateProgram: string | Uint8Array;
|
|
1231
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1231
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
1232
1232
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Register an online key.
|
|
@@ -1277,7 +1277,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1277
1277
|
voteFirst: bigint;
|
|
1278
1278
|
voteLast: bigint;
|
|
1279
1279
|
voteKeyDilution: bigint;
|
|
1280
|
-
stateProofKey
|
|
1280
|
+
stateProofKey: Uint8Array;
|
|
1281
1281
|
} & SendParams) => Promise<SendSingleTransactionResult>;
|
|
1282
1282
|
/**
|
|
1283
1283
|
* Register an offline key.
|