@algorandfoundation/algokit-utils 9.2.0-beta.6 → 9.2.0-beta.8
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/transaction/transaction.d.ts +1 -1
- package/transaction/transaction.js +3 -3
- package/transaction/transaction.js.map +1 -1
- package/transaction/transaction.mjs +3 -3
- package/transaction/transaction.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +2 -2
- package/types/algorand-client-transaction-sender.d.ts +16 -16
- package/types/app-client.d.ts +37 -37
- package/types/app-factory.d.ts +18 -18
- package/types/app-manager.d.ts +1 -5
- package/types/app-manager.js +0 -26
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +2 -27
- package/types/app-manager.mjs.map +1 -1
- package/types/composer.d.ts +2 -2
- package/types/composer.js +27 -2
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +28 -3
- package/types/composer.mjs.map +1 -1
package/types/app-client.d.ts
CHANGED
|
@@ -440,7 +440,7 @@ export declare class AppClient {
|
|
|
440
440
|
appReferences?: bigint[] | undefined;
|
|
441
441
|
assetReferences?: bigint[] | undefined;
|
|
442
442
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
443
|
-
accessReferences?: import("./app-manager").
|
|
443
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
444
444
|
sender?: string | algosdk.Address | undefined;
|
|
445
445
|
method: string;
|
|
446
446
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -466,7 +466,7 @@ export declare class AppClient {
|
|
|
466
466
|
appReferences?: bigint[] | undefined;
|
|
467
467
|
assetReferences?: bigint[] | undefined;
|
|
468
468
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
469
|
-
accessReferences?: import("./app-manager").
|
|
469
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
470
470
|
sender?: string | algosdk.Address | undefined;
|
|
471
471
|
method: string;
|
|
472
472
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -500,7 +500,7 @@ export declare class AppClient {
|
|
|
500
500
|
appReferences?: bigint[] | undefined;
|
|
501
501
|
assetReferences?: bigint[] | undefined;
|
|
502
502
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
503
|
-
accessReferences?: import("./app-manager").
|
|
503
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
504
504
|
approvalProgram: string | Uint8Array;
|
|
505
505
|
clearStateProgram: string | Uint8Array;
|
|
506
506
|
schema?: {
|
|
@@ -529,7 +529,7 @@ export declare class AppClient {
|
|
|
529
529
|
appReferences?: bigint[] | undefined;
|
|
530
530
|
assetReferences?: bigint[] | undefined;
|
|
531
531
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
532
|
-
accessReferences?: import("./app-manager").
|
|
532
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
533
533
|
approvalProgram: string | Uint8Array;
|
|
534
534
|
clearStateProgram: string | Uint8Array;
|
|
535
535
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -555,7 +555,7 @@ export declare class AppClient {
|
|
|
555
555
|
appReferences?: bigint[] | undefined;
|
|
556
556
|
assetReferences?: bigint[] | undefined;
|
|
557
557
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
558
|
-
accessReferences?: import("./app-manager").
|
|
558
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
559
559
|
sender?: string | algosdk.Address | undefined;
|
|
560
560
|
method: string;
|
|
561
561
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -581,7 +581,7 @@ export declare class AppClient {
|
|
|
581
581
|
appReferences?: bigint[] | undefined;
|
|
582
582
|
assetReferences?: bigint[] | undefined;
|
|
583
583
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
584
|
-
accessReferences?: import("./app-manager").
|
|
584
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
585
585
|
sender?: string | algosdk.Address | undefined;
|
|
586
586
|
method: string;
|
|
587
587
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -606,7 +606,7 @@ export declare class AppClient {
|
|
|
606
606
|
appReferences?: bigint[] | undefined;
|
|
607
607
|
assetReferences?: bigint[] | undefined;
|
|
608
608
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
609
|
-
accessReferences?: import("./app-manager").
|
|
609
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
610
610
|
sender?: string | algosdk.Address | undefined;
|
|
611
611
|
method: string;
|
|
612
612
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -631,7 +631,7 @@ export declare class AppClient {
|
|
|
631
631
|
appReferences?: bigint[] | undefined;
|
|
632
632
|
assetReferences?: bigint[] | undefined;
|
|
633
633
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
634
|
-
accessReferences?: import("./app-manager").
|
|
634
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
635
635
|
sender?: string | algosdk.Address | undefined;
|
|
636
636
|
method: string;
|
|
637
637
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -655,7 +655,7 @@ export declare class AppClient {
|
|
|
655
655
|
appReferences?: bigint[] | undefined;
|
|
656
656
|
assetReferences?: bigint[] | undefined;
|
|
657
657
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
658
|
-
accessReferences?: import("./app-manager").
|
|
658
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
659
659
|
sender?: string | algosdk.Address | undefined;
|
|
660
660
|
} & AppClientCompilationParams) | undefined) => Promise<{
|
|
661
661
|
sender: string | algosdk.Address;
|
|
@@ -676,7 +676,7 @@ export declare class AppClient {
|
|
|
676
676
|
appReferences?: bigint[] | undefined;
|
|
677
677
|
assetReferences?: bigint[] | undefined;
|
|
678
678
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
679
|
-
accessReferences?: import("./app-manager").
|
|
679
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
680
680
|
approvalProgram: string | Uint8Array;
|
|
681
681
|
clearStateProgram: string | Uint8Array;
|
|
682
682
|
}>;
|
|
@@ -697,7 +697,7 @@ export declare class AppClient {
|
|
|
697
697
|
appReferences?: bigint[] | undefined;
|
|
698
698
|
assetReferences?: bigint[] | undefined;
|
|
699
699
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
700
|
-
accessReferences?: import("./app-manager").
|
|
700
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
701
701
|
sender?: string | algosdk.Address | undefined;
|
|
702
702
|
} | undefined) => AppCallParams;
|
|
703
703
|
/** Return params for a delete call */
|
|
@@ -717,7 +717,7 @@ export declare class AppClient {
|
|
|
717
717
|
appReferences?: bigint[] | undefined;
|
|
718
718
|
assetReferences?: bigint[] | undefined;
|
|
719
719
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
720
|
-
accessReferences?: import("./app-manager").
|
|
720
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
721
721
|
sender?: string | algosdk.Address | undefined;
|
|
722
722
|
} | undefined) => AppDeleteParams;
|
|
723
723
|
/** Return params for a clear state call */
|
|
@@ -737,7 +737,7 @@ export declare class AppClient {
|
|
|
737
737
|
appReferences?: bigint[] | undefined;
|
|
738
738
|
assetReferences?: bigint[] | undefined;
|
|
739
739
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
740
|
-
accessReferences?: import("./app-manager").
|
|
740
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
741
741
|
sender?: string | algosdk.Address | undefined;
|
|
742
742
|
} | undefined) => AppCallParams;
|
|
743
743
|
/** Return params for a close out call */
|
|
@@ -757,7 +757,7 @@ export declare class AppClient {
|
|
|
757
757
|
appReferences?: bigint[] | undefined;
|
|
758
758
|
assetReferences?: bigint[] | undefined;
|
|
759
759
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
760
|
-
accessReferences?: import("./app-manager").
|
|
760
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
761
761
|
sender?: string | algosdk.Address | undefined;
|
|
762
762
|
} | undefined) => AppCallParams;
|
|
763
763
|
/** Return params for a call (defaults to no-op) */
|
|
@@ -777,7 +777,7 @@ export declare class AppClient {
|
|
|
777
777
|
appReferences?: bigint[] | undefined;
|
|
778
778
|
assetReferences?: bigint[] | undefined;
|
|
779
779
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
780
|
-
accessReferences?: import("./app-manager").
|
|
780
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
781
781
|
sender?: string | algosdk.Address | undefined;
|
|
782
782
|
} & CallOnComplete) | undefined) => AppCallParams;
|
|
783
783
|
};
|
|
@@ -828,7 +828,7 @@ export declare class AppClient {
|
|
|
828
828
|
appReferences?: bigint[] | undefined;
|
|
829
829
|
assetReferences?: bigint[] | undefined;
|
|
830
830
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
831
|
-
accessReferences?: import("./app-manager").
|
|
831
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
832
832
|
sender?: string | algosdk.Address | undefined;
|
|
833
833
|
method: string;
|
|
834
834
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -858,7 +858,7 @@ export declare class AppClient {
|
|
|
858
858
|
appReferences?: bigint[] | undefined;
|
|
859
859
|
assetReferences?: bigint[] | undefined;
|
|
860
860
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
861
|
-
accessReferences?: import("./app-manager").
|
|
861
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
862
862
|
sender?: string | algosdk.Address | undefined;
|
|
863
863
|
method: string;
|
|
864
864
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -888,7 +888,7 @@ export declare class AppClient {
|
|
|
888
888
|
appReferences?: bigint[] | undefined;
|
|
889
889
|
assetReferences?: bigint[] | undefined;
|
|
890
890
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
891
|
-
accessReferences?: import("./app-manager").
|
|
891
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
892
892
|
sender?: string | algosdk.Address | undefined;
|
|
893
893
|
method: string;
|
|
894
894
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -918,7 +918,7 @@ export declare class AppClient {
|
|
|
918
918
|
appReferences?: bigint[] | undefined;
|
|
919
919
|
assetReferences?: bigint[] | undefined;
|
|
920
920
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
921
|
-
accessReferences?: import("./app-manager").
|
|
921
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
922
922
|
sender?: string | algosdk.Address | undefined;
|
|
923
923
|
method: string;
|
|
924
924
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -948,7 +948,7 @@ export declare class AppClient {
|
|
|
948
948
|
appReferences?: bigint[] | undefined;
|
|
949
949
|
assetReferences?: bigint[] | undefined;
|
|
950
950
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
951
|
-
accessReferences?: import("./app-manager").
|
|
951
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
952
952
|
sender?: string | algosdk.Address | undefined;
|
|
953
953
|
method: string;
|
|
954
954
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -976,7 +976,7 @@ export declare class AppClient {
|
|
|
976
976
|
appReferences?: bigint[] | undefined;
|
|
977
977
|
assetReferences?: bigint[] | undefined;
|
|
978
978
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
979
|
-
accessReferences?: import("./app-manager").
|
|
979
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
980
980
|
sender?: string | algosdk.Address | undefined;
|
|
981
981
|
} & AppClientCompilationParams) | undefined) => Promise<algosdk.Transaction>;
|
|
982
982
|
/** Returns a transaction for an opt-in call */
|
|
@@ -996,7 +996,7 @@ export declare class AppClient {
|
|
|
996
996
|
appReferences?: bigint[] | undefined;
|
|
997
997
|
assetReferences?: bigint[] | undefined;
|
|
998
998
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
999
|
-
accessReferences?: import("./app-manager").
|
|
999
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1000
1000
|
sender?: string | algosdk.Address | undefined;
|
|
1001
1001
|
} | undefined) => Promise<algosdk.Transaction>;
|
|
1002
1002
|
/** Returns a transaction for a delete call */
|
|
@@ -1016,7 +1016,7 @@ export declare class AppClient {
|
|
|
1016
1016
|
appReferences?: bigint[] | undefined;
|
|
1017
1017
|
assetReferences?: bigint[] | undefined;
|
|
1018
1018
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1019
|
-
accessReferences?: import("./app-manager").
|
|
1019
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1020
1020
|
sender?: string | algosdk.Address | undefined;
|
|
1021
1021
|
} | undefined) => Promise<algosdk.Transaction>;
|
|
1022
1022
|
/** Returns a transaction for a clear state call */
|
|
@@ -1036,7 +1036,7 @@ export declare class AppClient {
|
|
|
1036
1036
|
appReferences?: bigint[] | undefined;
|
|
1037
1037
|
assetReferences?: bigint[] | undefined;
|
|
1038
1038
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1039
|
-
accessReferences?: import("./app-manager").
|
|
1039
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1040
1040
|
sender?: string | algosdk.Address | undefined;
|
|
1041
1041
|
} | undefined) => Promise<algosdk.Transaction>;
|
|
1042
1042
|
/** Returns a transaction for a close out call */
|
|
@@ -1056,7 +1056,7 @@ export declare class AppClient {
|
|
|
1056
1056
|
appReferences?: bigint[] | undefined;
|
|
1057
1057
|
assetReferences?: bigint[] | undefined;
|
|
1058
1058
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1059
|
-
accessReferences?: import("./app-manager").
|
|
1059
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1060
1060
|
sender?: string | algosdk.Address | undefined;
|
|
1061
1061
|
} | undefined) => Promise<algosdk.Transaction>;
|
|
1062
1062
|
/** Returns a transaction for a call (defaults to no-op) */
|
|
@@ -1076,7 +1076,7 @@ export declare class AppClient {
|
|
|
1076
1076
|
appReferences?: bigint[] | undefined;
|
|
1077
1077
|
assetReferences?: bigint[] | undefined;
|
|
1078
1078
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1079
|
-
accessReferences?: import("./app-manager").
|
|
1079
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1080
1080
|
sender?: string | algosdk.Address | undefined;
|
|
1081
1081
|
} & CallOnComplete) | undefined) => Promise<algosdk.Transaction>;
|
|
1082
1082
|
};
|
|
@@ -1135,7 +1135,7 @@ export declare class AppClient {
|
|
|
1135
1135
|
appReferences?: bigint[] | undefined;
|
|
1136
1136
|
assetReferences?: bigint[] | undefined;
|
|
1137
1137
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1138
|
-
accessReferences?: import("./app-manager").
|
|
1138
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1139
1139
|
sender?: string | algosdk.Address | undefined;
|
|
1140
1140
|
method: string;
|
|
1141
1141
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1172,7 +1172,7 @@ export declare class AppClient {
|
|
|
1172
1172
|
appReferences?: bigint[] | undefined;
|
|
1173
1173
|
assetReferences?: bigint[] | undefined;
|
|
1174
1174
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1175
|
-
accessReferences?: import("./app-manager").
|
|
1175
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1176
1176
|
sender?: string | algosdk.Address | undefined;
|
|
1177
1177
|
method: string;
|
|
1178
1178
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1207,7 +1207,7 @@ export declare class AppClient {
|
|
|
1207
1207
|
appReferences?: bigint[] | undefined;
|
|
1208
1208
|
assetReferences?: bigint[] | undefined;
|
|
1209
1209
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1210
|
-
accessReferences?: import("./app-manager").
|
|
1210
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1211
1211
|
sender?: string | algosdk.Address | undefined;
|
|
1212
1212
|
method: string;
|
|
1213
1213
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1242,7 +1242,7 @@ export declare class AppClient {
|
|
|
1242
1242
|
appReferences?: bigint[] | undefined;
|
|
1243
1243
|
assetReferences?: bigint[] | undefined;
|
|
1244
1244
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1245
|
-
accessReferences?: import("./app-manager").
|
|
1245
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1246
1246
|
sender?: string | algosdk.Address | undefined;
|
|
1247
1247
|
method: string;
|
|
1248
1248
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1277,7 +1277,7 @@ export declare class AppClient {
|
|
|
1277
1277
|
appReferences?: bigint[] | undefined;
|
|
1278
1278
|
assetReferences?: bigint[] | undefined;
|
|
1279
1279
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1280
|
-
accessReferences?: import("./app-manager").
|
|
1280
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1281
1281
|
sender?: string | algosdk.Address | undefined;
|
|
1282
1282
|
method: string;
|
|
1283
1283
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1310,7 +1310,7 @@ export declare class AppClient {
|
|
|
1310
1310
|
appReferences?: bigint[] | undefined;
|
|
1311
1311
|
assetReferences?: bigint[] | undefined;
|
|
1312
1312
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1313
|
-
accessReferences?: import("./app-manager").
|
|
1313
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1314
1314
|
sender?: string | algosdk.Address | undefined;
|
|
1315
1315
|
} & AppClientCompilationParams & SendParams) | undefined) => Promise<{
|
|
1316
1316
|
compiledApproval?: import("./app").CompiledTeal | undefined;
|
|
@@ -1341,7 +1341,7 @@ export declare class AppClient {
|
|
|
1341
1341
|
appReferences?: bigint[] | undefined;
|
|
1342
1342
|
assetReferences?: bigint[] | undefined;
|
|
1343
1343
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1344
|
-
accessReferences?: import("./app-manager").
|
|
1344
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1345
1345
|
sender?: string | algosdk.Address | undefined;
|
|
1346
1346
|
} & SendParams) | undefined) => Promise<{
|
|
1347
1347
|
groupId: string;
|
|
@@ -1370,7 +1370,7 @@ export declare class AppClient {
|
|
|
1370
1370
|
appReferences?: bigint[] | undefined;
|
|
1371
1371
|
assetReferences?: bigint[] | undefined;
|
|
1372
1372
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1373
|
-
accessReferences?: import("./app-manager").
|
|
1373
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1374
1374
|
sender?: string | algosdk.Address | undefined;
|
|
1375
1375
|
} & SendParams) | undefined) => Promise<{
|
|
1376
1376
|
groupId: string;
|
|
@@ -1399,7 +1399,7 @@ export declare class AppClient {
|
|
|
1399
1399
|
appReferences?: bigint[] | undefined;
|
|
1400
1400
|
assetReferences?: bigint[] | undefined;
|
|
1401
1401
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1402
|
-
accessReferences?: import("./app-manager").
|
|
1402
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1403
1403
|
sender?: string | algosdk.Address | undefined;
|
|
1404
1404
|
} & SendParams) | undefined) => Promise<{
|
|
1405
1405
|
groupId: string;
|
|
@@ -1428,7 +1428,7 @@ export declare class AppClient {
|
|
|
1428
1428
|
appReferences?: bigint[] | undefined;
|
|
1429
1429
|
assetReferences?: bigint[] | undefined;
|
|
1430
1430
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1431
|
-
accessReferences?: import("./app-manager").
|
|
1431
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1432
1432
|
sender?: string | algosdk.Address | undefined;
|
|
1433
1433
|
} & SendParams) | undefined) => Promise<{
|
|
1434
1434
|
groupId: string;
|
|
@@ -1457,7 +1457,7 @@ export declare class AppClient {
|
|
|
1457
1457
|
appReferences?: bigint[] | undefined;
|
|
1458
1458
|
assetReferences?: bigint[] | undefined;
|
|
1459
1459
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1460
|
-
accessReferences?: import("./app-manager").
|
|
1460
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1461
1461
|
sender?: string | algosdk.Address | undefined;
|
|
1462
1462
|
} & CallOnComplete & SendParams) | undefined) => Promise<{
|
|
1463
1463
|
groupId: string;
|
package/types/app-factory.d.ts
CHANGED
|
@@ -178,7 +178,7 @@ export declare class AppFactory {
|
|
|
178
178
|
appReferences?: bigint[] | undefined;
|
|
179
179
|
assetReferences?: bigint[] | undefined;
|
|
180
180
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
181
|
-
accessReferences?: import("./app-manager").
|
|
181
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
182
182
|
sender?: string | algosdk.Address | undefined;
|
|
183
183
|
method: string;
|
|
184
184
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -225,7 +225,7 @@ export declare class AppFactory {
|
|
|
225
225
|
appReferences?: bigint[] | undefined;
|
|
226
226
|
assetReferences?: bigint[] | undefined;
|
|
227
227
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
228
|
-
accessReferences?: import("./app-manager").
|
|
228
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
229
229
|
sender?: string | algosdk.Address | undefined;
|
|
230
230
|
method: string;
|
|
231
231
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -254,7 +254,7 @@ export declare class AppFactory {
|
|
|
254
254
|
appReferences?: bigint[] | undefined;
|
|
255
255
|
assetReferences?: bigint[] | undefined;
|
|
256
256
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
257
|
-
accessReferences?: import("./app-manager").
|
|
257
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
258
258
|
approvalProgram: string | Uint8Array;
|
|
259
259
|
clearStateProgram: string | Uint8Array;
|
|
260
260
|
schema?: {
|
|
@@ -283,7 +283,7 @@ export declare class AppFactory {
|
|
|
283
283
|
appReferences?: bigint[] | undefined;
|
|
284
284
|
assetReferences?: bigint[] | undefined;
|
|
285
285
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
286
|
-
accessReferences?: import("./app-manager").
|
|
286
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
287
287
|
approvalProgram: string | Uint8Array;
|
|
288
288
|
clearStateProgram: string | Uint8Array;
|
|
289
289
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -306,7 +306,7 @@ export declare class AppFactory {
|
|
|
306
306
|
appReferences?: bigint[] | undefined;
|
|
307
307
|
assetReferences?: bigint[] | undefined;
|
|
308
308
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
309
|
-
accessReferences?: import("./app-manager").
|
|
309
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
310
310
|
sender?: string | algosdk.Address | undefined;
|
|
311
311
|
method: string;
|
|
312
312
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -326,7 +326,7 @@ export declare class AppFactory {
|
|
|
326
326
|
appReferences?: bigint[] | undefined;
|
|
327
327
|
assetReferences?: bigint[] | undefined;
|
|
328
328
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
329
|
-
accessReferences?: import("./app-manager").
|
|
329
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
330
330
|
sender?: string | algosdk.Address | undefined;
|
|
331
331
|
method: string;
|
|
332
332
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -352,7 +352,7 @@ export declare class AppFactory {
|
|
|
352
352
|
appReferences?: bigint[] | undefined;
|
|
353
353
|
assetReferences?: bigint[] | undefined;
|
|
354
354
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
355
|
-
accessReferences?: import("./app-manager").
|
|
355
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
356
356
|
approvalProgram: string | Uint8Array;
|
|
357
357
|
clearStateProgram: string | Uint8Array;
|
|
358
358
|
schema?: {
|
|
@@ -381,7 +381,7 @@ export declare class AppFactory {
|
|
|
381
381
|
appReferences?: bigint[] | undefined;
|
|
382
382
|
assetReferences?: bigint[] | undefined;
|
|
383
383
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
384
|
-
accessReferences?: import("./app-manager").
|
|
384
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
385
385
|
approvalProgram: string | Uint8Array;
|
|
386
386
|
clearStateProgram: string | Uint8Array;
|
|
387
387
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -404,7 +404,7 @@ export declare class AppFactory {
|
|
|
404
404
|
appReferences?: bigint[] | undefined;
|
|
405
405
|
assetReferences?: bigint[] | undefined;
|
|
406
406
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
407
|
-
accessReferences?: import("./app-manager").
|
|
407
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
408
408
|
sender?: string | algosdk.Address | undefined;
|
|
409
409
|
method: string;
|
|
410
410
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -424,7 +424,7 @@ export declare class AppFactory {
|
|
|
424
424
|
appReferences?: bigint[] | undefined;
|
|
425
425
|
assetReferences?: bigint[] | undefined;
|
|
426
426
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
427
|
-
accessReferences?: import("./app-manager").
|
|
427
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
428
428
|
sender?: string | algosdk.Address | undefined;
|
|
429
429
|
method: string;
|
|
430
430
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -450,7 +450,7 @@ export declare class AppFactory {
|
|
|
450
450
|
appReferences?: bigint[] | undefined;
|
|
451
451
|
assetReferences?: bigint[] | undefined;
|
|
452
452
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
453
|
-
accessReferences?: import("./app-manager").
|
|
453
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
454
454
|
approvalProgram: string | Uint8Array;
|
|
455
455
|
clearStateProgram: string | Uint8Array;
|
|
456
456
|
schema?: {
|
|
@@ -479,7 +479,7 @@ export declare class AppFactory {
|
|
|
479
479
|
appReferences?: bigint[] | undefined;
|
|
480
480
|
assetReferences?: bigint[] | undefined;
|
|
481
481
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
482
|
-
accessReferences?: import("./app-manager").
|
|
482
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
483
483
|
approvalProgram: string | Uint8Array;
|
|
484
484
|
clearStateProgram: string | Uint8Array;
|
|
485
485
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -503,7 +503,7 @@ export declare class AppFactory {
|
|
|
503
503
|
appReferences?: bigint[] | undefined;
|
|
504
504
|
assetReferences?: bigint[] | undefined;
|
|
505
505
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
506
|
-
accessReferences?: import("./app-manager").
|
|
506
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
507
507
|
sender?: string | algosdk.Address | undefined;
|
|
508
508
|
deployTimeParams?: TealTemplateParams | undefined;
|
|
509
509
|
updatable?: boolean | undefined;
|
|
@@ -551,7 +551,7 @@ export declare class AppFactory {
|
|
|
551
551
|
appReferences?: bigint[] | undefined;
|
|
552
552
|
assetReferences?: bigint[] | undefined;
|
|
553
553
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
554
|
-
accessReferences?: import("./app-manager").
|
|
554
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
555
555
|
sender?: string | algosdk.Address | undefined;
|
|
556
556
|
updatable?: boolean | undefined;
|
|
557
557
|
deletable?: boolean | undefined;
|
|
@@ -579,7 +579,7 @@ export declare class AppFactory {
|
|
|
579
579
|
appReferences?: bigint[] | undefined;
|
|
580
580
|
assetReferences?: bigint[] | undefined;
|
|
581
581
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
582
|
-
accessReferences?: import("./app-manager").
|
|
582
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
583
583
|
sender?: string | algosdk.Address | undefined;
|
|
584
584
|
} | undefined) => {
|
|
585
585
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -597,7 +597,7 @@ export declare class AppFactory {
|
|
|
597
597
|
appReferences?: bigint[] | undefined;
|
|
598
598
|
assetReferences?: bigint[] | undefined;
|
|
599
599
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
600
|
-
accessReferences?: import("./app-manager").
|
|
600
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
601
601
|
sender?: string | algosdk.Address | undefined;
|
|
602
602
|
} & {
|
|
603
603
|
sender: algosdk.Address;
|
|
@@ -621,7 +621,7 @@ export declare class AppFactory {
|
|
|
621
621
|
appReferences?: bigint[] | undefined;
|
|
622
622
|
assetReferences?: bigint[] | undefined;
|
|
623
623
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
624
|
-
accessReferences?: import("./app-manager").
|
|
624
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
625
625
|
sender?: string | algosdk.Address | undefined;
|
|
626
626
|
} | undefined) => {
|
|
627
627
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -639,7 +639,7 @@ export declare class AppFactory {
|
|
|
639
639
|
appReferences?: bigint[] | undefined;
|
|
640
640
|
assetReferences?: bigint[] | undefined;
|
|
641
641
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
642
|
-
accessReferences?: import("./app-manager").
|
|
642
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
643
643
|
sender?: string | algosdk.Address | undefined;
|
|
644
644
|
} & {
|
|
645
645
|
sender: algosdk.Address;
|
package/types/app-manager.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export interface LocalsReference {
|
|
|
100
100
|
/**
|
|
101
101
|
* Names a single resource reference. Only one of the fields should be set.
|
|
102
102
|
*/
|
|
103
|
-
export interface
|
|
103
|
+
export interface ResourceReference {
|
|
104
104
|
/** Any account addresses whose balance record is accessible by the executing ApprovalProgram or ClearStateProgram. */
|
|
105
105
|
address?: string | Address;
|
|
106
106
|
/** Application ID whose GlobalState may be read by the executing ApprovalProgram or ClearStateProgram. */
|
|
@@ -341,7 +341,3 @@ export declare class AppManager {
|
|
|
341
341
|
*/
|
|
342
342
|
static stripTealComments(tealCode: string): string;
|
|
343
343
|
}
|
|
344
|
-
/**
|
|
345
|
-
* Returns an `algosdk.TransactionResourceReference` given a `AccessReference`.
|
|
346
|
-
*/
|
|
347
|
-
export declare function getAccessReference(accessReference: AccessReference): algosdk.TransactionResourceReference;
|
package/types/app-manager.js
CHANGED
|
@@ -392,31 +392,6 @@ class AppManager {
|
|
|
392
392
|
.join('\n');
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function getHoldingReference(holdingReference) {
|
|
396
|
-
return {
|
|
397
|
-
assetIndex: holdingReference.assetId,
|
|
398
|
-
address: typeof holdingReference.address === 'string' ? algosdk.Address.fromString(holdingReference.address) : holdingReference.address,
|
|
399
|
-
};
|
|
400
|
-
}
|
|
401
|
-
function getLocalsReference(localsReference) {
|
|
402
|
-
return {
|
|
403
|
-
appIndex: localsReference.appId,
|
|
404
|
-
address: typeof localsReference.address === 'string' ? algosdk.Address.fromString(localsReference.address) : localsReference.address,
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* Returns an `algosdk.TransactionResourceReference` given a `AccessReference`.
|
|
409
|
-
*/
|
|
410
|
-
function getAccessReference(accessReference) {
|
|
411
|
-
return {
|
|
412
|
-
address: typeof accessReference.address === 'string' ? algosdk.Address.fromString(accessReference.address) : accessReference.address,
|
|
413
|
-
appIndex: accessReference.appId,
|
|
414
|
-
assetIndex: accessReference.assetId,
|
|
415
|
-
holding: accessReference.holding ? getHoldingReference(accessReference.holding) : undefined,
|
|
416
|
-
locals: accessReference.locals ? getLocalsReference(accessReference.locals) : undefined,
|
|
417
|
-
box: accessReference.box ? AppManager.getBoxReference(accessReference.box) : undefined,
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
395
|
/**
|
|
421
396
|
* Find the first string within a line of TEAL. Only matches outside of quotes and base64 are returned.
|
|
422
397
|
* Returns undefined if not found
|
|
@@ -509,5 +484,4 @@ function isValidTokenCharacter(char) {
|
|
|
509
484
|
}
|
|
510
485
|
|
|
511
486
|
exports.AppManager = AppManager;
|
|
512
|
-
exports.getAccessReference = getAccessReference;
|
|
513
487
|
//# sourceMappingURL=app-manager.js.map
|