@algorandfoundation/algokit-utils 10.0.0-alpha.27 → 10.0.0-alpha.28

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.
@@ -479,9 +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
- args?: Uint8Array[] | undefined;
483
- sender: SendingAddress;
484
482
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
483
+ sender: SendingAddress;
485
484
  rekeyTo?: ReadableAddress | undefined;
486
485
  note?: string | Uint8Array | undefined;
487
486
  lease?: string | Uint8Array | undefined;
@@ -492,10 +491,11 @@ declare class AlgorandClientTransactionSender {
492
491
  firstValidRound?: bigint | undefined;
493
492
  lastValidRound?: bigint | undefined;
494
493
  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;
498
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
498
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
499
499
  accessReferences?: ResourceReference[] | undefined;
500
500
  rejectVersion?: number | undefined;
501
501
  appId?: 0 | undefined;
@@ -571,7 +571,7 @@ declare class AlgorandClientTransactionSender {
571
571
  accountReferences?: ReadableAddress[] | undefined;
572
572
  appReferences?: bigint[] | undefined;
573
573
  assetReferences?: bigint[] | undefined;
574
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
574
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
575
575
  accessReferences?: ResourceReference[] | undefined;
576
576
  rejectVersion?: number | undefined;
577
577
  approvalProgram: string | Uint8Array;
@@ -626,7 +626,7 @@ declare class AlgorandClientTransactionSender {
626
626
  accountReferences?: ReadableAddress[] | undefined;
627
627
  appReferences?: bigint[] | undefined;
628
628
  assetReferences?: bigint[] | undefined;
629
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
629
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
630
630
  accessReferences?: ResourceReference[] | undefined;
631
631
  rejectVersion?: number | undefined;
632
632
  } & {
@@ -681,7 +681,7 @@ declare class AlgorandClientTransactionSender {
681
681
  accountReferences?: ReadableAddress[] | undefined;
682
682
  appReferences?: bigint[] | undefined;
683
683
  assetReferences?: bigint[] | undefined;
684
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
684
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
685
685
  accessReferences?: ResourceReference[] | undefined;
686
686
  rejectVersion?: number | undefined;
687
687
  } & {
@@ -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
- appId?: 0 | undefined;
756
- sender: SendingAddress;
757
755
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
756
+ sender: SendingAddress;
758
757
  rekeyTo?: ReadableAddress | undefined;
759
758
  note?: string | Uint8Array | undefined;
760
759
  lease?: string | Uint8Array | undefined;
@@ -764,27 +763,27 @@ declare class AlgorandClientTransactionSender {
764
763
  validityWindow?: number | bigint | undefined;
765
764
  firstValidRound?: bigint | undefined;
766
765
  lastValidRound?: bigint | undefined;
766
+ approvalProgram: string | Uint8Array;
767
+ clearStateProgram: string | Uint8Array;
768
+ appId?: 0 | undefined;
769
+ extraProgramPages?: number | undefined;
767
770
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
768
771
  accountReferences?: ReadableAddress[] | undefined;
769
772
  appReferences?: bigint[] | undefined;
770
773
  assetReferences?: bigint[] | undefined;
771
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
774
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
772
775
  accessReferences?: ResourceReference[] | undefined;
773
776
  rejectVersion?: number | undefined;
774
- approvalProgram: string | Uint8Array;
775
- clearStateProgram: string | Uint8Array;
776
777
  schema?: {
777
778
  globalInts: number;
778
779
  globalByteSlices: number;
779
780
  localInts: number;
780
781
  localByteSlices: number;
781
782
  } | undefined;
782
- extraProgramPages?: number | undefined;
783
783
  method: ABIMethod;
784
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
785
- args?: Uint8Array[] | undefined;
786
- sender: SendingAddress;
784
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
787
785
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
786
+ sender: SendingAddress;
788
787
  rekeyTo?: ReadableAddress | undefined;
789
788
  note?: string | Uint8Array | undefined;
790
789
  lease?: string | Uint8Array | undefined;
@@ -795,10 +794,11 @@ declare class AlgorandClientTransactionSender {
795
794
  firstValidRound?: bigint | undefined;
796
795
  lastValidRound?: bigint | undefined;
797
796
  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;
801
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
801
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
802
802
  accessReferences?: ResourceReference[] | undefined;
803
803
  rejectVersion?: number | undefined;
804
804
  appId?: 0 | undefined;
@@ -829,12 +829,12 @@ declare class AlgorandClientTransactionSender {
829
829
  accountReferences?: ReadableAddress[] | undefined;
830
830
  appReferences?: bigint[] | undefined;
831
831
  assetReferences?: bigint[] | undefined;
832
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
832
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
833
833
  accessReferences?: ResourceReference[] | undefined;
834
834
  rejectVersion?: number | undefined;
835
835
  approvalProgram: string | Uint8Array;
836
836
  clearStateProgram: string | Uint8Array;
837
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
837
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
838
838
  } & SendParams) => Promise<SendAppCreateTransactionResult>;
839
839
  /**
840
840
  * Update a smart contract via an ABI method.
@@ -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
- appId: bigint;
897
- sender: SendingAddress;
898
896
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
897
+ sender: SendingAddress;
899
898
  rekeyTo?: ReadableAddress | undefined;
900
899
  note?: string | Uint8Array | undefined;
901
900
  lease?: string | Uint8Array | undefined;
@@ -905,20 +904,20 @@ declare class AlgorandClientTransactionSender {
905
904
  validityWindow?: number | bigint | undefined;
906
905
  firstValidRound?: bigint | undefined;
907
906
  lastValidRound?: bigint | undefined;
907
+ approvalProgram: string | Uint8Array;
908
+ clearStateProgram: string | Uint8Array;
909
+ appId: bigint;
908
910
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
909
911
  accountReferences?: ReadableAddress[] | undefined;
910
912
  appReferences?: bigint[] | undefined;
911
913
  assetReferences?: bigint[] | undefined;
912
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
914
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
913
915
  accessReferences?: ResourceReference[] | undefined;
914
916
  rejectVersion?: number | undefined;
915
- approvalProgram: string | Uint8Array;
916
- clearStateProgram: string | Uint8Array;
917
917
  method: ABIMethod;
918
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
919
- args?: Uint8Array[] | undefined;
920
- sender: SendingAddress;
918
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
921
919
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
920
+ sender: SendingAddress;
922
921
  rekeyTo?: ReadableAddress | undefined;
923
922
  note?: string | Uint8Array | undefined;
924
923
  lease?: string | Uint8Array | undefined;
@@ -929,10 +928,11 @@ declare class AlgorandClientTransactionSender {
929
928
  firstValidRound?: bigint | undefined;
930
929
  lastValidRound?: bigint | undefined;
931
930
  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;
935
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
935
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
936
936
  accessReferences?: ResourceReference[] | undefined;
937
937
  rejectVersion?: number | undefined;
938
938
  appId?: 0 | undefined;
@@ -963,12 +963,12 @@ declare class AlgorandClientTransactionSender {
963
963
  accountReferences?: ReadableAddress[] | undefined;
964
964
  appReferences?: bigint[] | undefined;
965
965
  assetReferences?: bigint[] | undefined;
966
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
966
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
967
967
  accessReferences?: ResourceReference[] | undefined;
968
968
  rejectVersion?: number | undefined;
969
969
  approvalProgram: string | Uint8Array;
970
970
  clearStateProgram: string | Uint8Array;
971
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
971
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
972
972
  } & SendParams) => Promise<SendAppUpdateTransactionResult>;
973
973
  /**
974
974
  * Delete a smart contract via an ABI method.
@@ -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
- appId: bigint;
1029
- sender: SendingAddress;
1030
1028
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1029
+ sender: SendingAddress;
1031
1030
  rekeyTo?: ReadableAddress | undefined;
1032
1031
  note?: string | Uint8Array | undefined;
1033
1032
  lease?: string | Uint8Array | undefined;
@@ -1037,18 +1036,18 @@ 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;
1043
1043
  assetReferences?: bigint[] | undefined;
1044
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1044
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1045
1045
  accessReferences?: ResourceReference[] | undefined;
1046
1046
  rejectVersion?: number | undefined;
1047
1047
  method: ABIMethod;
1048
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1049
- args?: Uint8Array[] | undefined;
1050
- sender: SendingAddress;
1048
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
1051
1049
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1050
+ sender: SendingAddress;
1052
1051
  rekeyTo?: ReadableAddress | undefined;
1053
1052
  note?: string | Uint8Array | undefined;
1054
1053
  lease?: string | Uint8Array | undefined;
@@ -1059,10 +1058,11 @@ declare class AlgorandClientTransactionSender {
1059
1058
  firstValidRound?: bigint | undefined;
1060
1059
  lastValidRound?: bigint | undefined;
1061
1060
  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;
1065
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1065
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1066
1066
  accessReferences?: ResourceReference[] | undefined;
1067
1067
  rejectVersion?: number | undefined;
1068
1068
  appId?: 0 | undefined;
@@ -1093,12 +1093,12 @@ declare class AlgorandClientTransactionSender {
1093
1093
  accountReferences?: ReadableAddress[] | undefined;
1094
1094
  appReferences?: bigint[] | undefined;
1095
1095
  assetReferences?: bigint[] | undefined;
1096
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1096
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1097
1097
  accessReferences?: ResourceReference[] | undefined;
1098
1098
  rejectVersion?: number | undefined;
1099
1099
  approvalProgram: string | Uint8Array;
1100
1100
  clearStateProgram: string | Uint8Array;
1101
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1101
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1102
1102
  } & SendParams) => Promise<SendAppTransactionResult>;
1103
1103
  /**
1104
1104
  * Call a smart contract via an ABI method.
@@ -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
- appId: bigint;
1159
- sender: SendingAddress;
1160
1158
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1159
+ sender: SendingAddress;
1161
1160
  rekeyTo?: ReadableAddress | undefined;
1162
1161
  note?: string | Uint8Array | undefined;
1163
1162
  lease?: string | Uint8Array | undefined;
@@ -1167,18 +1166,18 @@ 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;
1173
1173
  assetReferences?: bigint[] | undefined;
1174
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1174
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1175
1175
  accessReferences?: ResourceReference[] | undefined;
1176
1176
  rejectVersion?: number | undefined;
1177
1177
  method: ABIMethod;
1178
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1179
- args?: Uint8Array[] | undefined;
1180
- sender: SendingAddress;
1178
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
1181
1179
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1180
+ sender: SendingAddress;
1182
1181
  rekeyTo?: ReadableAddress | undefined;
1183
1182
  note?: string | Uint8Array | undefined;
1184
1183
  lease?: string | Uint8Array | undefined;
@@ -1189,10 +1188,11 @@ declare class AlgorandClientTransactionSender {
1189
1188
  firstValidRound?: bigint | undefined;
1190
1189
  lastValidRound?: bigint | undefined;
1191
1190
  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;
1195
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1195
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1196
1196
  accessReferences?: ResourceReference[] | undefined;
1197
1197
  rejectVersion?: number | undefined;
1198
1198
  appId?: 0 | undefined;
@@ -1223,12 +1223,12 @@ declare class AlgorandClientTransactionSender {
1223
1223
  accountReferences?: ReadableAddress[] | undefined;
1224
1224
  appReferences?: bigint[] | undefined;
1225
1225
  assetReferences?: bigint[] | undefined;
1226
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1226
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1227
1227
  accessReferences?: ResourceReference[] | undefined;
1228
1228
  rejectVersion?: number | undefined;
1229
1229
  approvalProgram: string | Uint8Array;
1230
1230
  clearStateProgram: string | Uint8Array;
1231
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1231
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1232
1232
  } & SendParams) => Promise<SendAppTransactionResult>;
1233
1233
  /**
1234
1234
  * Register an online key.