@algorandfoundation/algokit-utils 10.0.0-alpha.4 → 10.0.0-alpha.5

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.
Files changed (33) hide show
  1. package/package.json +1 -1
  2. package/packages/algod_client/src/models/application-state-schema.d.ts +2 -2
  3. package/packages/algod_client/src/models/application-state-schema.js +2 -2
  4. package/packages/algod_client/src/models/application-state-schema.js.map +1 -1
  5. package/packages/algod_client/src/models/application-state-schema.mjs +2 -2
  6. package/packages/algod_client/src/models/application-state-schema.mjs.map +1 -1
  7. package/packages/common/src/json.mjs +2 -2
  8. package/packages/common/src/json.mjs.map +1 -1
  9. package/packages/indexer_client/src/models/application-state-schema.d.ts +2 -2
  10. package/packages/indexer_client/src/models/application-state-schema.js +2 -2
  11. package/packages/indexer_client/src/models/application-state-schema.js.map +1 -1
  12. package/packages/indexer_client/src/models/application-state-schema.mjs +2 -2
  13. package/packages/indexer_client/src/models/application-state-schema.mjs.map +1 -1
  14. package/packages/indexer_client/src/models/state-schema.d.ts +2 -2
  15. package/packages/indexer_client/src/models/state-schema.js +2 -2
  16. package/packages/indexer_client/src/models/state-schema.js.map +1 -1
  17. package/packages/indexer_client/src/models/state-schema.mjs +2 -2
  18. package/packages/indexer_client/src/models/state-schema.mjs.map +1 -1
  19. package/packages/indexer_client/src/models/transaction.d.ts +2 -2
  20. package/packages/indexer_client/src/models/transaction.js +2 -2
  21. package/packages/indexer_client/src/models/transaction.js.map +1 -1
  22. package/packages/indexer_client/src/models/transaction.mjs +2 -2
  23. package/packages/indexer_client/src/models/transaction.mjs.map +1 -1
  24. package/packages/sdk/src/utils/utils.mjs +2 -2
  25. package/packages/sdk/src/utils/utils.mjs.map +1 -1
  26. package/types/algorand-client-transaction-creator.d.ts +17 -17
  27. package/types/algorand-client-transaction-sender.d.ts +17 -17
  28. package/types/app-client.d.ts +40 -40
  29. package/types/app-factory.d.ts +12 -12
  30. package/types/app-manager.js +4 -4
  31. package/types/app-manager.js.map +1 -1
  32. package/types/app-manager.mjs +4 -4
  33. package/types/app-manager.mjs.map +1 -1
@@ -347,8 +347,9 @@ declare class AlgorandClientTransactionCreator {
347
347
  * @returns The application create transaction
348
348
  */
349
349
  appCreate: (params: {
350
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
350
+ args?: Uint8Array[] | undefined;
351
351
  sender: SendingAddress;
352
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
352
353
  rekeyTo?: ReadableAddress | undefined;
353
354
  note?: string | Uint8Array | undefined;
354
355
  lease?: string | Uint8Array | undefined;
@@ -358,7 +359,6 @@ declare class AlgorandClientTransactionCreator {
358
359
  validityWindow?: number | bigint | undefined;
359
360
  firstValidRound?: bigint | undefined;
360
361
  lastValidRound?: bigint | undefined;
361
- args?: Uint8Array[] | undefined;
362
362
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
363
363
  accountReferences?: ReadableAddress[] | undefined;
364
364
  appReferences?: bigint[] | undefined;
@@ -562,8 +562,8 @@ declare class AlgorandClientTransactionCreator {
562
562
  * @returns The application ABI method create transaction
563
563
  */
564
564
  appCreateMethodCall: (params: {
565
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
566
565
  sender: SendingAddress;
566
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
567
567
  rekeyTo?: ReadableAddress | undefined;
568
568
  note?: string | Uint8Array | undefined;
569
569
  lease?: string | Uint8Array | undefined;
@@ -591,8 +591,9 @@ declare class AlgorandClientTransactionCreator {
591
591
  extraProgramPages?: number | undefined;
592
592
  method: ABIMethod;
593
593
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
594
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
594
+ args?: Uint8Array[] | undefined;
595
595
  sender: SendingAddress;
596
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
596
597
  rekeyTo?: ReadableAddress | undefined;
597
598
  note?: string | Uint8Array | undefined;
598
599
  lease?: string | Uint8Array | undefined;
@@ -602,7 +603,6 @@ declare class AlgorandClientTransactionCreator {
602
603
  validityWindow?: number | bigint | undefined;
603
604
  firstValidRound?: bigint | undefined;
604
605
  lastValidRound?: bigint | undefined;
605
- args?: Uint8Array[] | undefined;
606
606
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
607
607
  accountReferences?: ReadableAddress[] | undefined;
608
608
  appReferences?: bigint[] | undefined;
@@ -693,8 +693,9 @@ declare class AlgorandClientTransactionCreator {
693
693
  * @returns The application ABI method update transaction
694
694
  */
695
695
  appUpdateMethodCall: (params: {
696
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
696
+ appId: bigint;
697
697
  sender: SendingAddress;
698
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
698
699
  rekeyTo?: ReadableAddress | undefined;
699
700
  note?: string | Uint8Array | undefined;
700
701
  lease?: string | Uint8Array | undefined;
@@ -704,7 +705,6 @@ declare class AlgorandClientTransactionCreator {
704
705
  validityWindow?: number | bigint | undefined;
705
706
  firstValidRound?: bigint | undefined;
706
707
  lastValidRound?: bigint | undefined;
707
- appId: bigint;
708
708
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
709
709
  accountReferences?: ReadableAddress[] | undefined;
710
710
  appReferences?: bigint[] | undefined;
@@ -716,8 +716,9 @@ declare class AlgorandClientTransactionCreator {
716
716
  clearStateProgram: string | Uint8Array;
717
717
  method: ABIMethod;
718
718
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
719
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
719
+ args?: Uint8Array[] | undefined;
720
720
  sender: SendingAddress;
721
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
721
722
  rekeyTo?: ReadableAddress | undefined;
722
723
  note?: string | Uint8Array | undefined;
723
724
  lease?: string | Uint8Array | undefined;
@@ -727,7 +728,6 @@ declare class AlgorandClientTransactionCreator {
727
728
  validityWindow?: number | bigint | undefined;
728
729
  firstValidRound?: bigint | undefined;
729
730
  lastValidRound?: bigint | undefined;
730
- args?: Uint8Array[] | undefined;
731
731
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
732
732
  accountReferences?: ReadableAddress[] | undefined;
733
733
  appReferences?: bigint[] | undefined;
@@ -816,8 +816,9 @@ declare class AlgorandClientTransactionCreator {
816
816
  * @returns The application ABI method delete transaction
817
817
  */
818
818
  appDeleteMethodCall: (params: {
819
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
819
+ appId: bigint;
820
820
  sender: SendingAddress;
821
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
821
822
  rekeyTo?: ReadableAddress | undefined;
822
823
  note?: string | Uint8Array | undefined;
823
824
  lease?: string | Uint8Array | undefined;
@@ -827,7 +828,6 @@ declare class AlgorandClientTransactionCreator {
827
828
  validityWindow?: number | bigint | undefined;
828
829
  firstValidRound?: bigint | undefined;
829
830
  lastValidRound?: bigint | undefined;
830
- appId: bigint;
831
831
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
832
832
  accountReferences?: ReadableAddress[] | undefined;
833
833
  appReferences?: bigint[] | undefined;
@@ -837,8 +837,9 @@ declare class AlgorandClientTransactionCreator {
837
837
  rejectVersion?: number | undefined;
838
838
  method: ABIMethod;
839
839
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
840
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
840
+ args?: Uint8Array[] | undefined;
841
841
  sender: SendingAddress;
842
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
842
843
  rekeyTo?: ReadableAddress | undefined;
843
844
  note?: string | Uint8Array | undefined;
844
845
  lease?: string | Uint8Array | undefined;
@@ -848,7 +849,6 @@ declare class AlgorandClientTransactionCreator {
848
849
  validityWindow?: number | bigint | undefined;
849
850
  firstValidRound?: bigint | undefined;
850
851
  lastValidRound?: bigint | undefined;
851
- args?: Uint8Array[] | undefined;
852
852
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
853
853
  accountReferences?: ReadableAddress[] | undefined;
854
854
  appReferences?: bigint[] | undefined;
@@ -937,8 +937,9 @@ declare class AlgorandClientTransactionCreator {
937
937
  * @returns The application ABI method call transaction
938
938
  */
939
939
  appCallMethodCall: (params: {
940
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
940
+ appId: bigint;
941
941
  sender: SendingAddress;
942
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
942
943
  rekeyTo?: ReadableAddress | undefined;
943
944
  note?: string | Uint8Array | undefined;
944
945
  lease?: string | Uint8Array | undefined;
@@ -948,7 +949,6 @@ declare class AlgorandClientTransactionCreator {
948
949
  validityWindow?: number | bigint | undefined;
949
950
  firstValidRound?: bigint | undefined;
950
951
  lastValidRound?: bigint | undefined;
951
- appId: bigint;
952
952
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
953
953
  accountReferences?: ReadableAddress[] | undefined;
954
954
  appReferences?: bigint[] | undefined;
@@ -958,8 +958,9 @@ declare class AlgorandClientTransactionCreator {
958
958
  rejectVersion?: number | undefined;
959
959
  method: ABIMethod;
960
960
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
961
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
961
+ args?: Uint8Array[] | undefined;
962
962
  sender: SendingAddress;
963
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
963
964
  rekeyTo?: ReadableAddress | undefined;
964
965
  note?: string | Uint8Array | undefined;
965
966
  lease?: string | Uint8Array | undefined;
@@ -969,7 +970,6 @@ declare class AlgorandClientTransactionCreator {
969
970
  validityWindow?: number | bigint | undefined;
970
971
  firstValidRound?: bigint | undefined;
971
972
  lastValidRound?: bigint | undefined;
972
- args?: Uint8Array[] | undefined;
973
973
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
974
974
  accountReferences?: ReadableAddress[] | undefined;
975
975
  appReferences?: bigint[] | undefined;
@@ -478,8 +478,9 @@ declare class AlgorandClientTransactionSender {
478
478
  * @returns The result of the app create transaction and the transaction that was sent
479
479
  */
480
480
  appCreate: (params: {
481
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
481
+ args?: Uint8Array[] | undefined;
482
482
  sender: SendingAddress;
483
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
483
484
  rekeyTo?: ReadableAddress | undefined;
484
485
  note?: string | Uint8Array | undefined;
485
486
  lease?: string | Uint8Array | undefined;
@@ -489,7 +490,6 @@ declare class AlgorandClientTransactionSender {
489
490
  validityWindow?: number | bigint | undefined;
490
491
  firstValidRound?: bigint | undefined;
491
492
  lastValidRound?: bigint | undefined;
492
- args?: Uint8Array[] | undefined;
493
493
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
494
494
  accountReferences?: ReadableAddress[] | undefined;
495
495
  appReferences?: bigint[] | undefined;
@@ -746,8 +746,8 @@ declare class AlgorandClientTransactionSender {
746
746
  * @returns The result of the application ABI method create transaction and the transaction that was sent
747
747
  */
748
748
  appCreateMethodCall: (params: {
749
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
750
749
  sender: SendingAddress;
750
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
751
751
  rekeyTo?: ReadableAddress | undefined;
752
752
  note?: string | Uint8Array | undefined;
753
753
  lease?: string | Uint8Array | undefined;
@@ -775,8 +775,9 @@ declare class AlgorandClientTransactionSender {
775
775
  extraProgramPages?: number | undefined;
776
776
  method: ABIMethod;
777
777
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
778
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
778
+ args?: Uint8Array[] | undefined;
779
779
  sender: SendingAddress;
780
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
780
781
  rekeyTo?: ReadableAddress | undefined;
781
782
  note?: string | Uint8Array | undefined;
782
783
  lease?: string | Uint8Array | undefined;
@@ -786,7 +787,6 @@ declare class AlgorandClientTransactionSender {
786
787
  validityWindow?: number | bigint | undefined;
787
788
  firstValidRound?: bigint | undefined;
788
789
  lastValidRound?: bigint | undefined;
789
- args?: Uint8Array[] | undefined;
790
790
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
791
791
  accountReferences?: ReadableAddress[] | undefined;
792
792
  appReferences?: bigint[] | undefined;
@@ -884,8 +884,9 @@ declare class AlgorandClientTransactionSender {
884
884
  * @returns The result of the application ABI method update transaction and the transaction that was sent
885
885
  */
886
886
  appUpdateMethodCall: (params: {
887
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
887
+ appId: bigint;
888
888
  sender: SendingAddress;
889
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
889
890
  rekeyTo?: ReadableAddress | undefined;
890
891
  note?: string | Uint8Array | undefined;
891
892
  lease?: string | Uint8Array | undefined;
@@ -895,7 +896,6 @@ declare class AlgorandClientTransactionSender {
895
896
  validityWindow?: number | bigint | undefined;
896
897
  firstValidRound?: bigint | undefined;
897
898
  lastValidRound?: bigint | undefined;
898
- appId: bigint;
899
899
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
900
900
  accountReferences?: ReadableAddress[] | undefined;
901
901
  appReferences?: bigint[] | undefined;
@@ -907,8 +907,9 @@ declare class AlgorandClientTransactionSender {
907
907
  clearStateProgram: string | Uint8Array;
908
908
  method: ABIMethod;
909
909
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
910
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
910
+ args?: Uint8Array[] | undefined;
911
911
  sender: SendingAddress;
912
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
912
913
  rekeyTo?: ReadableAddress | undefined;
913
914
  note?: string | Uint8Array | undefined;
914
915
  lease?: string | Uint8Array | undefined;
@@ -918,7 +919,6 @@ declare class AlgorandClientTransactionSender {
918
919
  validityWindow?: number | bigint | undefined;
919
920
  firstValidRound?: bigint | undefined;
920
921
  lastValidRound?: bigint | undefined;
921
- args?: Uint8Array[] | undefined;
922
922
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
923
923
  accountReferences?: ReadableAddress[] | undefined;
924
924
  appReferences?: bigint[] | undefined;
@@ -1014,8 +1014,9 @@ declare class AlgorandClientTransactionSender {
1014
1014
  * @returns The result of the application ABI method delete transaction and the transaction that was sent
1015
1015
  */
1016
1016
  appDeleteMethodCall: (params: {
1017
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1017
+ appId: bigint;
1018
1018
  sender: SendingAddress;
1019
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1019
1020
  rekeyTo?: ReadableAddress | undefined;
1020
1021
  note?: string | Uint8Array | undefined;
1021
1022
  lease?: string | Uint8Array | undefined;
@@ -1025,7 +1026,6 @@ declare class AlgorandClientTransactionSender {
1025
1026
  validityWindow?: number | bigint | undefined;
1026
1027
  firstValidRound?: bigint | undefined;
1027
1028
  lastValidRound?: bigint | undefined;
1028
- appId: bigint;
1029
1029
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1030
1030
  accountReferences?: ReadableAddress[] | undefined;
1031
1031
  appReferences?: bigint[] | undefined;
@@ -1035,8 +1035,9 @@ declare class AlgorandClientTransactionSender {
1035
1035
  rejectVersion?: number | undefined;
1036
1036
  method: ABIMethod;
1037
1037
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1038
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1038
+ args?: Uint8Array[] | undefined;
1039
1039
  sender: SendingAddress;
1040
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1040
1041
  rekeyTo?: ReadableAddress | undefined;
1041
1042
  note?: string | Uint8Array | undefined;
1042
1043
  lease?: string | Uint8Array | undefined;
@@ -1046,7 +1047,6 @@ declare class AlgorandClientTransactionSender {
1046
1047
  validityWindow?: number | bigint | undefined;
1047
1048
  firstValidRound?: bigint | undefined;
1048
1049
  lastValidRound?: bigint | undefined;
1049
- args?: Uint8Array[] | undefined;
1050
1050
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1051
1051
  accountReferences?: ReadableAddress[] | undefined;
1052
1052
  appReferences?: bigint[] | undefined;
@@ -1142,8 +1142,9 @@ declare class AlgorandClientTransactionSender {
1142
1142
  * @returns The result of the application ABI method call transaction and the transaction that was sent
1143
1143
  */
1144
1144
  appCallMethodCall: (params: {
1145
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1145
+ appId: bigint;
1146
1146
  sender: SendingAddress;
1147
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1147
1148
  rekeyTo?: ReadableAddress | undefined;
1148
1149
  note?: string | Uint8Array | undefined;
1149
1150
  lease?: string | Uint8Array | undefined;
@@ -1153,7 +1154,6 @@ declare class AlgorandClientTransactionSender {
1153
1154
  validityWindow?: number | bigint | undefined;
1154
1155
  firstValidRound?: bigint | undefined;
1155
1156
  lastValidRound?: bigint | undefined;
1156
- appId: bigint;
1157
1157
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
1158
1158
  accountReferences?: ReadableAddress[] | undefined;
1159
1159
  appReferences?: bigint[] | undefined;
@@ -1163,8 +1163,9 @@ declare class AlgorandClientTransactionSender {
1163
1163
  rejectVersion?: number | undefined;
1164
1164
  method: ABIMethod;
1165
1165
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1166
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1166
+ args?: Uint8Array[] | undefined;
1167
1167
  sender: SendingAddress;
1168
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1168
1169
  rekeyTo?: ReadableAddress | undefined;
1169
1170
  note?: string | Uint8Array | undefined;
1170
1171
  lease?: string | Uint8Array | undefined;
@@ -1174,7 +1175,6 @@ declare class AlgorandClientTransactionSender {
1174
1175
  validityWindow?: number | bigint | undefined;
1175
1176
  firstValidRound?: bigint | undefined;
1176
1177
  lastValidRound?: bigint | undefined;
1177
- args?: Uint8Array[] | undefined;
1178
1178
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1179
1179
  accountReferences?: ReadableAddress[] | undefined;
1180
1180
  appReferences?: bigint[] | undefined;