@algorandfoundation/algokit-utils 10.0.0-alpha.21 → 10.0.0-alpha.22
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/abi/index.d.ts +2 -1
- package/abi/index.js +3 -0
- package/abi/index.mjs +2 -1
- package/package.json +1 -1
- package/packages/abi/src/abi-type.d.ts +0 -2
- package/packages/abi/src/abi-type.js +3 -34
- package/packages/abi/src/abi-type.js.map +1 -1
- package/packages/abi/src/abi-type.mjs +3 -34
- package/packages/abi/src/abi-type.mjs.map +1 -1
- package/packages/abi/src/utils.d.ts +22 -0
- package/packages/abi/src/utils.js +57 -0
- package/packages/abi/src/utils.js.map +1 -0
- package/packages/abi/src/utils.mjs +55 -0
- package/packages/abi/src/utils.mjs.map +1 -0
- package/types/algorand-client-transaction-creator.d.ts +28 -28
- package/types/algorand-client-transaction-sender.d.ts +28 -28
- package/types/app-client.d.ts +73 -73
- package/types/app-factory.d.ts +30 -30
|
@@ -479,8 +479,8 @@ 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
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
482
483
|
sender: SendingAddress;
|
|
483
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
484
484
|
rekeyTo?: ReadableAddress | undefined;
|
|
485
485
|
note?: string | Uint8Array | undefined;
|
|
486
486
|
lease?: string | Uint8Array | 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;
|
|
@@ -752,9 +752,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
752
752
|
* @returns The result of the application ABI method create transaction and the transaction that was sent
|
|
753
753
|
*/
|
|
754
754
|
appCreateMethodCall: (params: {
|
|
755
|
-
|
|
755
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
756
756
|
sender: SendingAddress;
|
|
757
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
758
757
|
rekeyTo?: ReadableAddress | undefined;
|
|
759
758
|
note?: string | Uint8Array | undefined;
|
|
760
759
|
lease?: string | Uint8Array | undefined;
|
|
@@ -764,6 +763,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
764
763
|
validityWindow?: number | bigint | undefined;
|
|
765
764
|
firstValidRound?: bigint | undefined;
|
|
766
765
|
lastValidRound?: bigint | undefined;
|
|
766
|
+
appId?: 0 | undefined;
|
|
767
767
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
768
768
|
accountReferences?: ReadableAddress[] | undefined;
|
|
769
769
|
appReferences?: bigint[] | undefined;
|
|
@@ -771,8 +771,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
771
771
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
772
772
|
accessReferences?: ResourceReference[] | undefined;
|
|
773
773
|
rejectVersion?: number | undefined;
|
|
774
|
-
approvalProgram: string | Uint8Array;
|
|
775
|
-
clearStateProgram: string | Uint8Array;
|
|
776
774
|
schema?: {
|
|
777
775
|
globalInts: number;
|
|
778
776
|
globalByteSlices: number;
|
|
@@ -780,10 +778,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
780
778
|
localByteSlices: number;
|
|
781
779
|
} | undefined;
|
|
782
780
|
extraProgramPages?: number | undefined;
|
|
781
|
+
approvalProgram: string | Uint8Array;
|
|
782
|
+
clearStateProgram: string | Uint8Array;
|
|
783
783
|
method: ABIMethod;
|
|
784
|
-
args?: (Transaction |
|
|
784
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
785
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
785
786
|
sender: SendingAddress;
|
|
786
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
787
787
|
rekeyTo?: ReadableAddress | undefined;
|
|
788
788
|
note?: string | Uint8Array | undefined;
|
|
789
789
|
lease?: string | Uint8Array | undefined;
|
|
@@ -811,9 +811,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
811
811
|
localByteSlices: number;
|
|
812
812
|
} | undefined;
|
|
813
813
|
extraProgramPages?: number | undefined;
|
|
814
|
-
}> | AppMethodCall<{
|
|
814
|
+
}> | Promise<Transaction> | 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;
|
|
@@ -893,9 +893,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
893
893
|
* @returns The result of the application ABI method update transaction and the transaction that was sent
|
|
894
894
|
*/
|
|
895
895
|
appUpdateMethodCall: (params: {
|
|
896
|
-
|
|
896
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
897
897
|
sender: SendingAddress;
|
|
898
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
899
898
|
rekeyTo?: ReadableAddress | undefined;
|
|
900
899
|
note?: string | Uint8Array | undefined;
|
|
901
900
|
lease?: string | Uint8Array | undefined;
|
|
@@ -905,6 +904,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
905
904
|
validityWindow?: number | bigint | undefined;
|
|
906
905
|
firstValidRound?: bigint | undefined;
|
|
907
906
|
lastValidRound?: bigint | undefined;
|
|
907
|
+
appId: bigint;
|
|
908
908
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
909
909
|
accountReferences?: ReadableAddress[] | undefined;
|
|
910
910
|
appReferences?: bigint[] | undefined;
|
|
@@ -915,9 +915,9 @@ 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
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
919
920
|
sender: SendingAddress;
|
|
920
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
921
921
|
rekeyTo?: ReadableAddress | undefined;
|
|
922
922
|
note?: string | Uint8Array | undefined;
|
|
923
923
|
lease?: string | Uint8Array | undefined;
|
|
@@ -945,9 +945,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
945
945
|
localByteSlices: number;
|
|
946
946
|
} | undefined;
|
|
947
947
|
extraProgramPages?: number | undefined;
|
|
948
|
-
}> | AppMethodCall<{
|
|
948
|
+
}> | Promise<Transaction> | 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;
|
|
@@ -1025,9 +1025,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1025
1025
|
* @returns The result of the application ABI method delete transaction and the transaction that was sent
|
|
1026
1026
|
*/
|
|
1027
1027
|
appDeleteMethodCall: (params: {
|
|
1028
|
-
|
|
1028
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1029
1029
|
sender: SendingAddress;
|
|
1030
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1031
1030
|
rekeyTo?: ReadableAddress | undefined;
|
|
1032
1031
|
note?: string | Uint8Array | undefined;
|
|
1033
1032
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1037,6 +1036,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1037
1036
|
validityWindow?: number | bigint | undefined;
|
|
1038
1037
|
firstValidRound?: bigint | undefined;
|
|
1039
1038
|
lastValidRound?: bigint | undefined;
|
|
1039
|
+
appId: bigint;
|
|
1040
1040
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
1041
1041
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1042
1042
|
appReferences?: bigint[] | undefined;
|
|
@@ -1045,9 +1045,9 @@ 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
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1049
1050
|
sender: SendingAddress;
|
|
1050
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1051
1051
|
rekeyTo?: ReadableAddress | undefined;
|
|
1052
1052
|
note?: string | Uint8Array | undefined;
|
|
1053
1053
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1075,9 +1075,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
1075
1075
|
localByteSlices: number;
|
|
1076
1076
|
} | undefined;
|
|
1077
1077
|
extraProgramPages?: number | undefined;
|
|
1078
|
-
}> | AppMethodCall<{
|
|
1078
|
+
}> | Promise<Transaction> | 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;
|
|
@@ -1155,9 +1155,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1155
1155
|
* @returns The result of the application ABI method call transaction and the transaction that was sent
|
|
1156
1156
|
*/
|
|
1157
1157
|
appCallMethodCall: (params: {
|
|
1158
|
-
|
|
1158
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1159
1159
|
sender: SendingAddress;
|
|
1160
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1161
1160
|
rekeyTo?: ReadableAddress | undefined;
|
|
1162
1161
|
note?: string | Uint8Array | undefined;
|
|
1163
1162
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1167,6 +1166,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1167
1166
|
validityWindow?: number | bigint | undefined;
|
|
1168
1167
|
firstValidRound?: bigint | undefined;
|
|
1169
1168
|
lastValidRound?: bigint | undefined;
|
|
1169
|
+
appId: bigint;
|
|
1170
1170
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
1171
1171
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1172
1172
|
appReferences?: bigint[] | undefined;
|
|
@@ -1175,9 +1175,9 @@ 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
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1179
1180
|
sender: SendingAddress;
|
|
1180
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1181
1181
|
rekeyTo?: ReadableAddress | undefined;
|
|
1182
1182
|
note?: string | Uint8Array | undefined;
|
|
1183
1183
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1205,9 +1205,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
1205
1205
|
localByteSlices: number;
|
|
1206
1206
|
} | undefined;
|
|
1207
1207
|
extraProgramPages?: number | undefined;
|
|
1208
|
-
}> | AppMethodCall<{
|
|
1208
|
+
}> | Promise<Transaction> | 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;
|