@algorandfoundation/algokit-utils 10.0.0-alpha.2 → 10.0.0-alpha.4
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/algo25/index.d.ts +2 -0
- package/algo25/index.js +9 -0
- package/algo25/index.mjs +3 -0
- package/package.json +1 -1
- package/packages/abi/src/abi-method.d.ts +1 -1
- package/packages/abi/src/abi-method.js.map +1 -1
- package/packages/abi/src/abi-method.mjs.map +1 -1
- package/packages/algo25/src/index.d.ts +40 -0
- package/packages/algo25/src/index.js +44 -0
- package/packages/algo25/src/index.js.map +1 -1
- package/packages/algo25/src/index.mjs +39 -1
- package/packages/algo25/src/index.mjs.map +1 -1
- package/transactions/method-call.js +12 -12
- package/transactions/method-call.js.map +1 -1
- package/transactions/method-call.mjs +12 -12
- package/transactions/method-call.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +37 -37
- package/types/algorand-client-transaction-sender.d.ts +39 -39
- package/types/app-client.d.ts +64 -64
- package/types/app-factory.d.ts +27 -27
- package/types/app-manager.d.ts +1 -1
- package/types/app-manager.js +6 -1
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +6 -1
- package/types/app-manager.mjs.map +1 -1
- package/types/composer.js +3 -6
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +3 -6
- package/types/composer.mjs.map +1 -1
|
@@ -489,12 +489,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
489
489
|
validityWindow?: number | bigint | undefined;
|
|
490
490
|
firstValidRound?: bigint | undefined;
|
|
491
491
|
lastValidRound?: bigint | undefined;
|
|
492
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
493
492
|
args?: Uint8Array[] | undefined;
|
|
493
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
494
494
|
accountReferences?: ReadableAddress[] | undefined;
|
|
495
495
|
appReferences?: bigint[] | undefined;
|
|
496
496
|
assetReferences?: bigint[] | undefined;
|
|
497
|
-
boxReferences?: (
|
|
497
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
498
498
|
accessReferences?: AccessReference[] | undefined;
|
|
499
499
|
rejectVersion?: number | undefined;
|
|
500
500
|
approvalProgram: string | Uint8Array;
|
|
@@ -568,7 +568,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
568
568
|
accountReferences?: ReadableAddress[] | undefined;
|
|
569
569
|
appReferences?: bigint[] | undefined;
|
|
570
570
|
assetReferences?: bigint[] | undefined;
|
|
571
|
-
boxReferences?: (
|
|
571
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
572
572
|
accessReferences?: AccessReference[] | undefined;
|
|
573
573
|
rejectVersion?: number | undefined;
|
|
574
574
|
approvalProgram: string | Uint8Array;
|
|
@@ -622,7 +622,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
622
622
|
accountReferences?: ReadableAddress[] | undefined;
|
|
623
623
|
appReferences?: bigint[] | undefined;
|
|
624
624
|
assetReferences?: bigint[] | undefined;
|
|
625
|
-
boxReferences?: (
|
|
625
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
626
626
|
accessReferences?: AccessReference[] | undefined;
|
|
627
627
|
rejectVersion?: number | undefined;
|
|
628
628
|
} & {
|
|
@@ -676,7 +676,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
676
676
|
accountReferences?: ReadableAddress[] | undefined;
|
|
677
677
|
appReferences?: bigint[] | undefined;
|
|
678
678
|
assetReferences?: bigint[] | undefined;
|
|
679
|
-
boxReferences?: (
|
|
679
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
680
680
|
accessReferences?: AccessReference[] | undefined;
|
|
681
681
|
rejectVersion?: number | undefined;
|
|
682
682
|
} & {
|
|
@@ -757,24 +757,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
757
757
|
validityWindow?: number | bigint | undefined;
|
|
758
758
|
firstValidRound?: bigint | undefined;
|
|
759
759
|
lastValidRound?: bigint | undefined;
|
|
760
|
-
schema?: {
|
|
761
|
-
globalInts: number;
|
|
762
|
-
globalByteSlices: number;
|
|
763
|
-
localInts: number;
|
|
764
|
-
localByteSlices: number;
|
|
765
|
-
} | undefined;
|
|
766
|
-
approvalProgram: string | Uint8Array;
|
|
767
|
-
clearStateProgram: string | Uint8Array;
|
|
768
760
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
769
761
|
accountReferences?: ReadableAddress[] | undefined;
|
|
770
762
|
appReferences?: bigint[] | undefined;
|
|
771
763
|
assetReferences?: bigint[] | undefined;
|
|
772
|
-
boxReferences?: (
|
|
764
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
773
765
|
accessReferences?: AccessReference[] | undefined;
|
|
774
766
|
rejectVersion?: number | undefined;
|
|
767
|
+
approvalProgram: string | Uint8Array;
|
|
768
|
+
clearStateProgram: string | Uint8Array;
|
|
769
|
+
schema?: {
|
|
770
|
+
globalInts: number;
|
|
771
|
+
globalByteSlices: number;
|
|
772
|
+
localInts: number;
|
|
773
|
+
localByteSlices: number;
|
|
774
|
+
} | undefined;
|
|
775
775
|
extraProgramPages?: number | undefined;
|
|
776
776
|
method: ABIMethod;
|
|
777
|
-
args?: (Transaction | ABIValue | TransactionWithSigner |
|
|
777
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
778
778
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
779
779
|
sender: SendingAddress;
|
|
780
780
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -786,12 +786,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
786
786
|
validityWindow?: number | bigint | undefined;
|
|
787
787
|
firstValidRound?: bigint | undefined;
|
|
788
788
|
lastValidRound?: bigint | undefined;
|
|
789
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
790
789
|
args?: Uint8Array[] | undefined;
|
|
790
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
791
791
|
accountReferences?: ReadableAddress[] | undefined;
|
|
792
792
|
appReferences?: bigint[] | undefined;
|
|
793
793
|
assetReferences?: bigint[] | undefined;
|
|
794
|
-
boxReferences?: (
|
|
794
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
795
795
|
accessReferences?: AccessReference[] | undefined;
|
|
796
796
|
rejectVersion?: number | undefined;
|
|
797
797
|
approvalProgram: string | Uint8Array;
|
|
@@ -821,12 +821,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
821
821
|
accountReferences?: ReadableAddress[] | undefined;
|
|
822
822
|
appReferences?: bigint[] | undefined;
|
|
823
823
|
assetReferences?: bigint[] | undefined;
|
|
824
|
-
boxReferences?: (
|
|
824
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
825
825
|
accessReferences?: AccessReference[] | undefined;
|
|
826
826
|
rejectVersion?: number | undefined;
|
|
827
827
|
approvalProgram: string | Uint8Array;
|
|
828
828
|
clearStateProgram: string | Uint8Array;
|
|
829
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
829
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
830
830
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
831
831
|
/**
|
|
832
832
|
* Update a smart contract via an ABI method.
|
|
@@ -895,18 +895,18 @@ declare class AlgorandClientTransactionSender {
|
|
|
895
895
|
validityWindow?: number | bigint | undefined;
|
|
896
896
|
firstValidRound?: bigint | undefined;
|
|
897
897
|
lastValidRound?: bigint | undefined;
|
|
898
|
-
approvalProgram: string | Uint8Array;
|
|
899
|
-
clearStateProgram: string | Uint8Array;
|
|
900
898
|
appId: bigint;
|
|
901
899
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
902
900
|
accountReferences?: ReadableAddress[] | undefined;
|
|
903
901
|
appReferences?: bigint[] | undefined;
|
|
904
902
|
assetReferences?: bigint[] | undefined;
|
|
905
|
-
boxReferences?: (
|
|
903
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
906
904
|
accessReferences?: AccessReference[] | undefined;
|
|
907
905
|
rejectVersion?: number | undefined;
|
|
906
|
+
approvalProgram: string | Uint8Array;
|
|
907
|
+
clearStateProgram: string | Uint8Array;
|
|
908
908
|
method: ABIMethod;
|
|
909
|
-
args?: (Transaction | ABIValue | TransactionWithSigner |
|
|
909
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
910
910
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
911
911
|
sender: SendingAddress;
|
|
912
912
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -918,12 +918,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
918
918
|
validityWindow?: number | bigint | undefined;
|
|
919
919
|
firstValidRound?: bigint | undefined;
|
|
920
920
|
lastValidRound?: bigint | undefined;
|
|
921
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
922
921
|
args?: Uint8Array[] | undefined;
|
|
922
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
923
923
|
accountReferences?: ReadableAddress[] | undefined;
|
|
924
924
|
appReferences?: bigint[] | undefined;
|
|
925
925
|
assetReferences?: bigint[] | undefined;
|
|
926
|
-
boxReferences?: (
|
|
926
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
927
927
|
accessReferences?: AccessReference[] | undefined;
|
|
928
928
|
rejectVersion?: number | undefined;
|
|
929
929
|
approvalProgram: string | Uint8Array;
|
|
@@ -953,12 +953,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
953
953
|
accountReferences?: ReadableAddress[] | undefined;
|
|
954
954
|
appReferences?: bigint[] | undefined;
|
|
955
955
|
assetReferences?: bigint[] | undefined;
|
|
956
|
-
boxReferences?: (
|
|
956
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
957
957
|
accessReferences?: AccessReference[] | undefined;
|
|
958
958
|
rejectVersion?: number | undefined;
|
|
959
959
|
approvalProgram: string | Uint8Array;
|
|
960
960
|
clearStateProgram: string | Uint8Array;
|
|
961
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
961
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
962
962
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
963
963
|
/**
|
|
964
964
|
* Delete a smart contract via an ABI method.
|
|
@@ -1030,11 +1030,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
1030
1030
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1031
1031
|
appReferences?: bigint[] | undefined;
|
|
1032
1032
|
assetReferences?: bigint[] | undefined;
|
|
1033
|
-
boxReferences?: (
|
|
1033
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1034
1034
|
accessReferences?: AccessReference[] | undefined;
|
|
1035
1035
|
rejectVersion?: number | undefined;
|
|
1036
1036
|
method: ABIMethod;
|
|
1037
|
-
args?: (Transaction | ABIValue | TransactionWithSigner |
|
|
1037
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1038
1038
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1039
1039
|
sender: SendingAddress;
|
|
1040
1040
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -1046,12 +1046,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1046
1046
|
validityWindow?: number | bigint | undefined;
|
|
1047
1047
|
firstValidRound?: bigint | undefined;
|
|
1048
1048
|
lastValidRound?: bigint | undefined;
|
|
1049
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1050
1049
|
args?: Uint8Array[] | undefined;
|
|
1050
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1051
1051
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1052
1052
|
appReferences?: bigint[] | undefined;
|
|
1053
1053
|
assetReferences?: bigint[] | undefined;
|
|
1054
|
-
boxReferences?: (
|
|
1054
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1055
1055
|
accessReferences?: AccessReference[] | undefined;
|
|
1056
1056
|
rejectVersion?: number | undefined;
|
|
1057
1057
|
approvalProgram: string | Uint8Array;
|
|
@@ -1081,12 +1081,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1081
1081
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1082
1082
|
appReferences?: bigint[] | undefined;
|
|
1083
1083
|
assetReferences?: bigint[] | undefined;
|
|
1084
|
-
boxReferences?: (
|
|
1084
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1085
1085
|
accessReferences?: AccessReference[] | undefined;
|
|
1086
1086
|
rejectVersion?: number | undefined;
|
|
1087
1087
|
approvalProgram: string | Uint8Array;
|
|
1088
1088
|
clearStateProgram: string | Uint8Array;
|
|
1089
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1089
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
1090
1090
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Call a smart contract via an ABI method.
|
|
@@ -1158,11 +1158,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
1158
1158
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1159
1159
|
appReferences?: bigint[] | undefined;
|
|
1160
1160
|
assetReferences?: bigint[] | undefined;
|
|
1161
|
-
boxReferences?: (
|
|
1161
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1162
1162
|
accessReferences?: AccessReference[] | undefined;
|
|
1163
1163
|
rejectVersion?: number | undefined;
|
|
1164
1164
|
method: ABIMethod;
|
|
1165
|
-
args?: (Transaction | ABIValue | TransactionWithSigner |
|
|
1165
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1166
1166
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1167
1167
|
sender: SendingAddress;
|
|
1168
1168
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -1174,12 +1174,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1174
1174
|
validityWindow?: number | bigint | undefined;
|
|
1175
1175
|
firstValidRound?: bigint | undefined;
|
|
1176
1176
|
lastValidRound?: bigint | undefined;
|
|
1177
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1178
1177
|
args?: Uint8Array[] | undefined;
|
|
1178
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1179
1179
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1180
1180
|
appReferences?: bigint[] | undefined;
|
|
1181
1181
|
assetReferences?: bigint[] | undefined;
|
|
1182
|
-
boxReferences?: (
|
|
1182
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1183
1183
|
accessReferences?: AccessReference[] | undefined;
|
|
1184
1184
|
rejectVersion?: number | undefined;
|
|
1185
1185
|
approvalProgram: string | Uint8Array;
|
|
@@ -1209,12 +1209,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1209
1209
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1210
1210
|
appReferences?: bigint[] | undefined;
|
|
1211
1211
|
assetReferences?: bigint[] | undefined;
|
|
1212
|
-
boxReferences?: (
|
|
1212
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1213
1213
|
accessReferences?: AccessReference[] | undefined;
|
|
1214
1214
|
rejectVersion?: number | undefined;
|
|
1215
1215
|
approvalProgram: string | Uint8Array;
|
|
1216
1216
|
clearStateProgram: string | Uint8Array;
|
|
1217
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1217
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
1218
1218
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Register an online key.
|