@algorandfoundation/algokit-utils 9.2.0-beta.8 → 9.2.0
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/testing/fixtures/algorand-fixture.d.ts +3 -3
- package/testing/fixtures/algorand-fixture.js.map +1 -1
- package/testing/fixtures/algorand-fixture.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +10 -0
- package/types/algorand-client-transaction-creator.js +8 -0
- package/types/algorand-client-transaction-creator.js.map +1 -1
- package/types/algorand-client-transaction-creator.mjs +8 -0
- package/types/algorand-client-transaction-creator.mjs.map +1 -1
- package/types/algorand-client-transaction-sender.d.ts +92 -0
- package/types/algorand-client-transaction-sender.js +8 -0
- package/types/algorand-client-transaction-sender.js.map +1 -1
- package/types/algorand-client-transaction-sender.mjs +8 -0
- package/types/algorand-client-transaction-sender.mjs.map +1 -1
- package/types/app-client.d.ts +37 -0
- package/types/app-factory.d.ts +18 -0
- package/types/app-manager.d.ts +11 -9
- package/types/app-manager.js +1 -0
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +1 -0
- package/types/app-manager.mjs.map +1 -1
- package/types/composer.d.ts +10 -0
- package/types/composer.js +12 -1
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +12 -1
- package/types/composer.mjs.map +1 -1
- package/types/testing.d.ts +2 -2
package/types/app-client.d.ts
CHANGED
|
@@ -429,6 +429,7 @@ export declare class AppClient {
|
|
|
429
429
|
note?: string | Uint8Array | undefined;
|
|
430
430
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
431
431
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
432
|
+
rejectVersion?: number | undefined;
|
|
432
433
|
lease?: string | Uint8Array | undefined;
|
|
433
434
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
434
435
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -455,6 +456,7 @@ export declare class AppClient {
|
|
|
455
456
|
note?: string | Uint8Array | undefined;
|
|
456
457
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
457
458
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
459
|
+
rejectVersion?: number | undefined;
|
|
458
460
|
lease?: string | Uint8Array | undefined;
|
|
459
461
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
460
462
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -489,6 +491,7 @@ export declare class AppClient {
|
|
|
489
491
|
args?: Uint8Array[] | undefined;
|
|
490
492
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
491
493
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
494
|
+
rejectVersion?: number | undefined;
|
|
492
495
|
lease?: string | Uint8Array | undefined;
|
|
493
496
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
494
497
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -530,6 +533,7 @@ export declare class AppClient {
|
|
|
530
533
|
assetReferences?: bigint[] | undefined;
|
|
531
534
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
532
535
|
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
536
|
+
rejectVersion?: number | undefined;
|
|
533
537
|
approvalProgram: string | Uint8Array;
|
|
534
538
|
clearStateProgram: string | Uint8Array;
|
|
535
539
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -544,6 +548,7 @@ export declare class AppClient {
|
|
|
544
548
|
note?: string | Uint8Array | undefined;
|
|
545
549
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
546
550
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
551
|
+
rejectVersion?: number | undefined;
|
|
547
552
|
lease?: string | Uint8Array | undefined;
|
|
548
553
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
549
554
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -570,6 +575,7 @@ export declare class AppClient {
|
|
|
570
575
|
note?: string | Uint8Array | undefined;
|
|
571
576
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
572
577
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
578
|
+
rejectVersion?: number | undefined;
|
|
573
579
|
lease?: string | Uint8Array | undefined;
|
|
574
580
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
575
581
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -595,6 +601,7 @@ export declare class AppClient {
|
|
|
595
601
|
note?: string | Uint8Array | undefined;
|
|
596
602
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
597
603
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
604
|
+
rejectVersion?: number | undefined;
|
|
598
605
|
lease?: string | Uint8Array | undefined;
|
|
599
606
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
600
607
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -620,6 +627,7 @@ export declare class AppClient {
|
|
|
620
627
|
note?: string | Uint8Array | undefined;
|
|
621
628
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
622
629
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
630
|
+
rejectVersion?: number | undefined;
|
|
623
631
|
lease?: string | Uint8Array | undefined;
|
|
624
632
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
625
633
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -644,6 +652,7 @@ export declare class AppClient {
|
|
|
644
652
|
note?: string | Uint8Array | undefined;
|
|
645
653
|
args?: Uint8Array[] | undefined;
|
|
646
654
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
655
|
+
rejectVersion?: number | undefined;
|
|
647
656
|
lease?: string | Uint8Array | undefined;
|
|
648
657
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
649
658
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -677,6 +686,7 @@ export declare class AppClient {
|
|
|
677
686
|
assetReferences?: bigint[] | undefined;
|
|
678
687
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
679
688
|
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
689
|
+
rejectVersion?: number | undefined;
|
|
680
690
|
approvalProgram: string | Uint8Array;
|
|
681
691
|
clearStateProgram: string | Uint8Array;
|
|
682
692
|
}>;
|
|
@@ -686,6 +696,7 @@ export declare class AppClient {
|
|
|
686
696
|
note?: string | Uint8Array | undefined;
|
|
687
697
|
args?: Uint8Array[] | undefined;
|
|
688
698
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
699
|
+
rejectVersion?: number | undefined;
|
|
689
700
|
lease?: string | Uint8Array | undefined;
|
|
690
701
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
691
702
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -706,6 +717,7 @@ export declare class AppClient {
|
|
|
706
717
|
note?: string | Uint8Array | undefined;
|
|
707
718
|
args?: Uint8Array[] | undefined;
|
|
708
719
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
720
|
+
rejectVersion?: number | undefined;
|
|
709
721
|
lease?: string | Uint8Array | undefined;
|
|
710
722
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
711
723
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -726,6 +738,7 @@ export declare class AppClient {
|
|
|
726
738
|
note?: string | Uint8Array | undefined;
|
|
727
739
|
args?: Uint8Array[] | undefined;
|
|
728
740
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
741
|
+
rejectVersion?: number | undefined;
|
|
729
742
|
lease?: string | Uint8Array | undefined;
|
|
730
743
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
731
744
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -746,6 +759,7 @@ export declare class AppClient {
|
|
|
746
759
|
note?: string | Uint8Array | undefined;
|
|
747
760
|
args?: Uint8Array[] | undefined;
|
|
748
761
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
762
|
+
rejectVersion?: number | undefined;
|
|
749
763
|
lease?: string | Uint8Array | undefined;
|
|
750
764
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
751
765
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -766,6 +780,7 @@ export declare class AppClient {
|
|
|
766
780
|
note?: string | Uint8Array | undefined;
|
|
767
781
|
args?: Uint8Array[] | undefined;
|
|
768
782
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
783
|
+
rejectVersion?: number | undefined;
|
|
769
784
|
lease?: string | Uint8Array | undefined;
|
|
770
785
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
771
786
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -817,6 +832,7 @@ export declare class AppClient {
|
|
|
817
832
|
note?: string | Uint8Array | undefined;
|
|
818
833
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
819
834
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
835
|
+
rejectVersion?: number | undefined;
|
|
820
836
|
lease?: string | Uint8Array | undefined;
|
|
821
837
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
822
838
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -847,6 +863,7 @@ export declare class AppClient {
|
|
|
847
863
|
note?: string | Uint8Array | undefined;
|
|
848
864
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
849
865
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
866
|
+
rejectVersion?: number | undefined;
|
|
850
867
|
lease?: string | Uint8Array | undefined;
|
|
851
868
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
852
869
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -877,6 +894,7 @@ export declare class AppClient {
|
|
|
877
894
|
note?: string | Uint8Array | undefined;
|
|
878
895
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
879
896
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
897
|
+
rejectVersion?: number | undefined;
|
|
880
898
|
lease?: string | Uint8Array | undefined;
|
|
881
899
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
882
900
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -907,6 +925,7 @@ export declare class AppClient {
|
|
|
907
925
|
note?: string | Uint8Array | undefined;
|
|
908
926
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
909
927
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
928
|
+
rejectVersion?: number | undefined;
|
|
910
929
|
lease?: string | Uint8Array | undefined;
|
|
911
930
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
912
931
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -937,6 +956,7 @@ export declare class AppClient {
|
|
|
937
956
|
note?: string | Uint8Array | undefined;
|
|
938
957
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
939
958
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
959
|
+
rejectVersion?: number | undefined;
|
|
940
960
|
lease?: string | Uint8Array | undefined;
|
|
941
961
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
942
962
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -965,6 +985,7 @@ export declare class AppClient {
|
|
|
965
985
|
note?: string | Uint8Array | undefined;
|
|
966
986
|
args?: Uint8Array[] | undefined;
|
|
967
987
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
988
|
+
rejectVersion?: number | undefined;
|
|
968
989
|
lease?: string | Uint8Array | undefined;
|
|
969
990
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
970
991
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -985,6 +1006,7 @@ export declare class AppClient {
|
|
|
985
1006
|
note?: string | Uint8Array | undefined;
|
|
986
1007
|
args?: Uint8Array[] | undefined;
|
|
987
1008
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1009
|
+
rejectVersion?: number | undefined;
|
|
988
1010
|
lease?: string | Uint8Array | undefined;
|
|
989
1011
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
990
1012
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1005,6 +1027,7 @@ export declare class AppClient {
|
|
|
1005
1027
|
note?: string | Uint8Array | undefined;
|
|
1006
1028
|
args?: Uint8Array[] | undefined;
|
|
1007
1029
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1030
|
+
rejectVersion?: number | undefined;
|
|
1008
1031
|
lease?: string | Uint8Array | undefined;
|
|
1009
1032
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1010
1033
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1025,6 +1048,7 @@ export declare class AppClient {
|
|
|
1025
1048
|
note?: string | Uint8Array | undefined;
|
|
1026
1049
|
args?: Uint8Array[] | undefined;
|
|
1027
1050
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1051
|
+
rejectVersion?: number | undefined;
|
|
1028
1052
|
lease?: string | Uint8Array | undefined;
|
|
1029
1053
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1030
1054
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1045,6 +1069,7 @@ export declare class AppClient {
|
|
|
1045
1069
|
note?: string | Uint8Array | undefined;
|
|
1046
1070
|
args?: Uint8Array[] | undefined;
|
|
1047
1071
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1072
|
+
rejectVersion?: number | undefined;
|
|
1048
1073
|
lease?: string | Uint8Array | undefined;
|
|
1049
1074
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1050
1075
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1065,6 +1090,7 @@ export declare class AppClient {
|
|
|
1065
1090
|
note?: string | Uint8Array | undefined;
|
|
1066
1091
|
args?: Uint8Array[] | undefined;
|
|
1067
1092
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1093
|
+
rejectVersion?: number | undefined;
|
|
1068
1094
|
lease?: string | Uint8Array | undefined;
|
|
1069
1095
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1070
1096
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1124,6 +1150,7 @@ export declare class AppClient {
|
|
|
1124
1150
|
note?: string | Uint8Array | undefined;
|
|
1125
1151
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1126
1152
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
1153
|
+
rejectVersion?: number | undefined;
|
|
1127
1154
|
lease?: string | Uint8Array | undefined;
|
|
1128
1155
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1129
1156
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1161,6 +1188,7 @@ export declare class AppClient {
|
|
|
1161
1188
|
note?: string | Uint8Array | undefined;
|
|
1162
1189
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1163
1190
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
1191
|
+
rejectVersion?: number | undefined;
|
|
1164
1192
|
lease?: string | Uint8Array | undefined;
|
|
1165
1193
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1166
1194
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1196,6 +1224,7 @@ export declare class AppClient {
|
|
|
1196
1224
|
note?: string | Uint8Array | undefined;
|
|
1197
1225
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1198
1226
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
1227
|
+
rejectVersion?: number | undefined;
|
|
1199
1228
|
lease?: string | Uint8Array | undefined;
|
|
1200
1229
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1201
1230
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1231,6 +1260,7 @@ export declare class AppClient {
|
|
|
1231
1260
|
note?: string | Uint8Array | undefined;
|
|
1232
1261
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1233
1262
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
1263
|
+
rejectVersion?: number | undefined;
|
|
1234
1264
|
lease?: string | Uint8Array | undefined;
|
|
1235
1265
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1236
1266
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1266,6 +1296,7 @@ export declare class AppClient {
|
|
|
1266
1296
|
note?: string | Uint8Array | undefined;
|
|
1267
1297
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1268
1298
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
1299
|
+
rejectVersion?: number | undefined;
|
|
1269
1300
|
lease?: string | Uint8Array | undefined;
|
|
1270
1301
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1271
1302
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1299,6 +1330,7 @@ export declare class AppClient {
|
|
|
1299
1330
|
note?: string | Uint8Array | undefined;
|
|
1300
1331
|
args?: Uint8Array[] | undefined;
|
|
1301
1332
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1333
|
+
rejectVersion?: number | undefined;
|
|
1302
1334
|
lease?: string | Uint8Array | undefined;
|
|
1303
1335
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1304
1336
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1330,6 +1362,7 @@ export declare class AppClient {
|
|
|
1330
1362
|
note?: string | Uint8Array | undefined;
|
|
1331
1363
|
args?: Uint8Array[] | undefined;
|
|
1332
1364
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1365
|
+
rejectVersion?: number | undefined;
|
|
1333
1366
|
lease?: string | Uint8Array | undefined;
|
|
1334
1367
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1335
1368
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1359,6 +1392,7 @@ export declare class AppClient {
|
|
|
1359
1392
|
note?: string | Uint8Array | undefined;
|
|
1360
1393
|
args?: Uint8Array[] | undefined;
|
|
1361
1394
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1395
|
+
rejectVersion?: number | undefined;
|
|
1362
1396
|
lease?: string | Uint8Array | undefined;
|
|
1363
1397
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1364
1398
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1388,6 +1422,7 @@ export declare class AppClient {
|
|
|
1388
1422
|
note?: string | Uint8Array | undefined;
|
|
1389
1423
|
args?: Uint8Array[] | undefined;
|
|
1390
1424
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1425
|
+
rejectVersion?: number | undefined;
|
|
1391
1426
|
lease?: string | Uint8Array | undefined;
|
|
1392
1427
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1393
1428
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1417,6 +1452,7 @@ export declare class AppClient {
|
|
|
1417
1452
|
note?: string | Uint8Array | undefined;
|
|
1418
1453
|
args?: Uint8Array[] | undefined;
|
|
1419
1454
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1455
|
+
rejectVersion?: number | undefined;
|
|
1420
1456
|
lease?: string | Uint8Array | undefined;
|
|
1421
1457
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1422
1458
|
staticFee?: AlgoAmount | undefined;
|
|
@@ -1446,6 +1482,7 @@ export declare class AppClient {
|
|
|
1446
1482
|
note?: string | Uint8Array | undefined;
|
|
1447
1483
|
args?: Uint8Array[] | undefined;
|
|
1448
1484
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
1485
|
+
rejectVersion?: number | undefined;
|
|
1449
1486
|
lease?: string | Uint8Array | undefined;
|
|
1450
1487
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1451
1488
|
staticFee?: AlgoAmount | undefined;
|
package/types/app-factory.d.ts
CHANGED
|
@@ -167,6 +167,7 @@ export declare class AppFactory {
|
|
|
167
167
|
note?: string | Uint8Array | undefined;
|
|
168
168
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
169
169
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
170
|
+
rejectVersion?: number | undefined;
|
|
170
171
|
lease?: string | Uint8Array | undefined;
|
|
171
172
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
172
173
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -214,6 +215,7 @@ export declare class AppFactory {
|
|
|
214
215
|
note?: string | Uint8Array | undefined;
|
|
215
216
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
216
217
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
218
|
+
rejectVersion?: number | undefined;
|
|
217
219
|
lease?: string | Uint8Array | undefined;
|
|
218
220
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
219
221
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -243,6 +245,7 @@ export declare class AppFactory {
|
|
|
243
245
|
args?: Uint8Array[] | undefined;
|
|
244
246
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
245
247
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
248
|
+
rejectVersion?: number | undefined;
|
|
246
249
|
lease?: string | Uint8Array | undefined;
|
|
247
250
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
248
251
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -284,6 +287,7 @@ export declare class AppFactory {
|
|
|
284
287
|
assetReferences?: bigint[] | undefined;
|
|
285
288
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
286
289
|
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
290
|
+
rejectVersion?: number | undefined;
|
|
287
291
|
approvalProgram: string | Uint8Array;
|
|
288
292
|
clearStateProgram: string | Uint8Array;
|
|
289
293
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -295,6 +299,7 @@ export declare class AppFactory {
|
|
|
295
299
|
note?: string | Uint8Array | undefined;
|
|
296
300
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
297
301
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
302
|
+
rejectVersion?: number | undefined;
|
|
298
303
|
lease?: string | Uint8Array | undefined;
|
|
299
304
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
300
305
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -315,6 +320,7 @@ export declare class AppFactory {
|
|
|
315
320
|
note?: string | Uint8Array | undefined;
|
|
316
321
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
317
322
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
323
|
+
rejectVersion?: number | undefined;
|
|
318
324
|
lease?: string | Uint8Array | undefined;
|
|
319
325
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
320
326
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -341,6 +347,7 @@ export declare class AppFactory {
|
|
|
341
347
|
args?: Uint8Array[] | undefined;
|
|
342
348
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
343
349
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
350
|
+
rejectVersion?: number | undefined;
|
|
344
351
|
lease?: string | Uint8Array | undefined;
|
|
345
352
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
346
353
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -382,6 +389,7 @@ export declare class AppFactory {
|
|
|
382
389
|
assetReferences?: bigint[] | undefined;
|
|
383
390
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
384
391
|
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
392
|
+
rejectVersion?: number | undefined;
|
|
385
393
|
approvalProgram: string | Uint8Array;
|
|
386
394
|
clearStateProgram: string | Uint8Array;
|
|
387
395
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -393,6 +401,7 @@ export declare class AppFactory {
|
|
|
393
401
|
note?: string | Uint8Array | undefined;
|
|
394
402
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
395
403
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
404
|
+
rejectVersion?: number | undefined;
|
|
396
405
|
lease?: string | Uint8Array | undefined;
|
|
397
406
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
398
407
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -413,6 +422,7 @@ export declare class AppFactory {
|
|
|
413
422
|
note?: string | Uint8Array | undefined;
|
|
414
423
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
415
424
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
425
|
+
rejectVersion?: number | undefined;
|
|
416
426
|
lease?: string | Uint8Array | undefined;
|
|
417
427
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
418
428
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -439,6 +449,7 @@ export declare class AppFactory {
|
|
|
439
449
|
args?: Uint8Array[] | undefined;
|
|
440
450
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
441
451
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
452
|
+
rejectVersion?: number | undefined;
|
|
442
453
|
lease?: string | Uint8Array | undefined;
|
|
443
454
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
444
455
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -480,6 +491,7 @@ export declare class AppFactory {
|
|
|
480
491
|
assetReferences?: bigint[] | undefined;
|
|
481
492
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
482
493
|
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
494
|
+
rejectVersion?: number | undefined;
|
|
483
495
|
approvalProgram: string | Uint8Array;
|
|
484
496
|
clearStateProgram: string | Uint8Array;
|
|
485
497
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -492,6 +504,7 @@ export declare class AppFactory {
|
|
|
492
504
|
note?: string | Uint8Array | undefined;
|
|
493
505
|
args?: Uint8Array[] | undefined;
|
|
494
506
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
507
|
+
rejectVersion?: number | undefined;
|
|
495
508
|
lease?: string | Uint8Array | undefined;
|
|
496
509
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
497
510
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -540,6 +553,7 @@ export declare class AppFactory {
|
|
|
540
553
|
note?: string | Uint8Array | undefined;
|
|
541
554
|
args?: Uint8Array[] | undefined;
|
|
542
555
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
556
|
+
rejectVersion?: number | undefined;
|
|
543
557
|
lease?: string | Uint8Array | undefined;
|
|
544
558
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
545
559
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -568,6 +582,7 @@ export declare class AppFactory {
|
|
|
568
582
|
note?: string | Uint8Array | undefined;
|
|
569
583
|
args?: Uint8Array[] | undefined;
|
|
570
584
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
585
|
+
rejectVersion?: number | undefined;
|
|
571
586
|
lease?: string | Uint8Array | undefined;
|
|
572
587
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
573
588
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -586,6 +601,7 @@ export declare class AppFactory {
|
|
|
586
601
|
note?: string | Uint8Array | undefined;
|
|
587
602
|
args?: Uint8Array[] | undefined;
|
|
588
603
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
604
|
+
rejectVersion?: number | undefined;
|
|
589
605
|
lease?: string | Uint8Array | undefined;
|
|
590
606
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
591
607
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -610,6 +626,7 @@ export declare class AppFactory {
|
|
|
610
626
|
note?: string | Uint8Array | undefined;
|
|
611
627
|
args?: Uint8Array[] | undefined;
|
|
612
628
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
629
|
+
rejectVersion?: number | undefined;
|
|
613
630
|
lease?: string | Uint8Array | undefined;
|
|
614
631
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
615
632
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -628,6 +645,7 @@ export declare class AppFactory {
|
|
|
628
645
|
note?: string | Uint8Array | undefined;
|
|
629
646
|
args?: Uint8Array[] | undefined;
|
|
630
647
|
signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
|
|
648
|
+
rejectVersion?: number | undefined;
|
|
631
649
|
lease?: string | Uint8Array | undefined;
|
|
632
650
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
633
651
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
package/types/app-manager.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export interface AppInformation {
|
|
|
35
35
|
globalByteSlices: number;
|
|
36
36
|
/** Any extra pages that are needed for the smart contract. */
|
|
37
37
|
extraProgramPages?: number;
|
|
38
|
+
/** The number of updates to the application programs */
|
|
39
|
+
version?: number;
|
|
38
40
|
}
|
|
39
41
|
/**
|
|
40
42
|
* Something that identifies an app box name - either a:
|
|
@@ -82,27 +84,27 @@ export interface BoxValuesRequestParams {
|
|
|
82
84
|
/**
|
|
83
85
|
* Defines a holding by referring to an Address and Asset it belongs to.
|
|
84
86
|
*/
|
|
85
|
-
export
|
|
87
|
+
export type HoldingReference = {
|
|
86
88
|
/** Asset ID for asset in access list. */
|
|
87
89
|
assetId: bigint;
|
|
88
90
|
/** Address in access list, or the sender of the transaction. */
|
|
89
|
-
address:
|
|
90
|
-
}
|
|
91
|
+
address: Address;
|
|
92
|
+
};
|
|
91
93
|
/**
|
|
92
94
|
* Defines a local state by referring to an Address and App it belongs to.
|
|
93
95
|
*/
|
|
94
|
-
export
|
|
96
|
+
export type LocalsReference = {
|
|
95
97
|
/** Application ID for app in access list, or zero if referring to the called application. */
|
|
96
98
|
appId: bigint;
|
|
97
99
|
/** Address in access list, or the sender of the transaction. */
|
|
98
|
-
address:
|
|
99
|
-
}
|
|
100
|
+
address: Address;
|
|
101
|
+
};
|
|
100
102
|
/**
|
|
101
103
|
* Names a single resource reference. Only one of the fields should be set.
|
|
102
104
|
*/
|
|
103
|
-
export
|
|
105
|
+
export type ResourceReference = {
|
|
104
106
|
/** Any account addresses whose balance record is accessible by the executing ApprovalProgram or ClearStateProgram. */
|
|
105
|
-
address?:
|
|
107
|
+
address?: Address;
|
|
106
108
|
/** Application ID whose GlobalState may be read by the executing ApprovalProgram or ClearStateProgram. */
|
|
107
109
|
appId?: bigint;
|
|
108
110
|
/** Asset ID whose AssetParams may be read by the executing ApprovalProgram or ClearStateProgram. */
|
|
@@ -113,7 +115,7 @@ export interface ResourceReference {
|
|
|
113
115
|
locals?: LocalsReference;
|
|
114
116
|
/** Defines a box by its name and the application ID it belongs to. */
|
|
115
117
|
box?: BoxReference;
|
|
116
|
-
}
|
|
118
|
+
};
|
|
117
119
|
/** Allows management of application information. */
|
|
118
120
|
export declare class AppManager {
|
|
119
121
|
private _algod;
|
package/types/app-manager.js
CHANGED
|
@@ -108,6 +108,7 @@ class AppManager {
|
|
|
108
108
|
globalByteSlices: Number(app.params.globalStateSchema?.numByteSlice ?? 0),
|
|
109
109
|
extraProgramPages: Number(app.params.extraProgramPages ?? 0),
|
|
110
110
|
globalState: AppManager.decodeAppState(app.params.globalState ?? []),
|
|
111
|
+
version: app.params.version,
|
|
111
112
|
};
|
|
112
113
|
}
|
|
113
114
|
/**
|