@algorandfoundation/algokit-utils 9.2.0-beta.1 → 9.2.0-beta.10

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 (41) hide show
  1. package/package.json +1 -1
  2. package/testing/fixtures/algorand-fixture.d.ts +3 -3
  3. package/testing/fixtures/algorand-fixture.js.map +1 -1
  4. package/testing/fixtures/algorand-fixture.mjs.map +1 -1
  5. package/transaction/transaction.d.ts +1 -1
  6. package/transaction/transaction.js +27 -4
  7. package/transaction/transaction.js.map +1 -1
  8. package/transaction/transaction.mjs +27 -4
  9. package/transaction/transaction.mjs.map +1 -1
  10. package/types/algorand-client-transaction-creator.d.ts +12 -2
  11. package/types/algorand-client-transaction-creator.js +8 -0
  12. package/types/algorand-client-transaction-creator.js.map +1 -1
  13. package/types/algorand-client-transaction-creator.mjs +8 -0
  14. package/types/algorand-client-transaction-creator.mjs.map +1 -1
  15. package/types/algorand-client-transaction-sender.d.ts +108 -16
  16. package/types/algorand-client-transaction-sender.js +8 -0
  17. package/types/algorand-client-transaction-sender.js.map +1 -1
  18. package/types/algorand-client-transaction-sender.mjs +8 -0
  19. package/types/algorand-client-transaction-sender.mjs.map +1 -1
  20. package/types/app-client.d.ts +74 -37
  21. package/types/app-deployer.js +3 -3
  22. package/types/app-deployer.js.map +1 -1
  23. package/types/app-deployer.mjs +3 -3
  24. package/types/app-deployer.mjs.map +1 -1
  25. package/types/app-factory.d.ts +36 -18
  26. package/types/app-manager.d.ts +3 -5
  27. package/types/app-manager.js +1 -26
  28. package/types/app-manager.js.map +1 -1
  29. package/types/app-manager.mjs +3 -27
  30. package/types/app-manager.mjs.map +1 -1
  31. package/types/composer.d.ts +12 -2
  32. package/types/composer.js +39 -3
  33. package/types/composer.js.map +1 -1
  34. package/types/composer.mjs +40 -4
  35. package/types/composer.mjs.map +1 -1
  36. package/types/kmd-account-manager.d.ts +1 -0
  37. package/types/kmd-account-manager.js +33 -14
  38. package/types/kmd-account-manager.js.map +1 -1
  39. package/types/kmd-account-manager.mjs +33 -14
  40. package/types/kmd-account-manager.mjs.map +1 -1
  41. package/types/testing.d.ts +2 -2
@@ -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;
@@ -440,7 +441,7 @@ export declare class AppClient {
440
441
  appReferences?: bigint[] | undefined;
441
442
  assetReferences?: bigint[] | undefined;
442
443
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
443
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
444
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
444
445
  sender?: string | algosdk.Address | undefined;
445
446
  method: string;
446
447
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -466,7 +468,7 @@ export declare class AppClient {
466
468
  appReferences?: bigint[] | undefined;
467
469
  assetReferences?: bigint[] | undefined;
468
470
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
469
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
471
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
470
472
  sender?: string | algosdk.Address | undefined;
471
473
  method: string;
472
474
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -500,7 +503,7 @@ export declare class AppClient {
500
503
  appReferences?: bigint[] | undefined;
501
504
  assetReferences?: bigint[] | undefined;
502
505
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
503
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
506
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
504
507
  approvalProgram: string | Uint8Array;
505
508
  clearStateProgram: string | Uint8Array;
506
509
  schema?: {
@@ -529,7 +532,8 @@ export declare class AppClient {
529
532
  appReferences?: bigint[] | undefined;
530
533
  assetReferences?: bigint[] | undefined;
531
534
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
532
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
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;
@@ -555,7 +560,7 @@ export declare class AppClient {
555
560
  appReferences?: bigint[] | undefined;
556
561
  assetReferences?: bigint[] | undefined;
557
562
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
558
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
563
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
559
564
  sender?: string | algosdk.Address | undefined;
560
565
  method: string;
561
566
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -581,7 +587,7 @@ export declare class AppClient {
581
587
  appReferences?: bigint[] | undefined;
582
588
  assetReferences?: bigint[] | undefined;
583
589
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
584
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
590
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
585
591
  sender?: string | algosdk.Address | undefined;
586
592
  method: string;
587
593
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -606,7 +613,7 @@ export declare class AppClient {
606
613
  appReferences?: bigint[] | undefined;
607
614
  assetReferences?: bigint[] | undefined;
608
615
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
609
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
616
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
610
617
  sender?: string | algosdk.Address | undefined;
611
618
  method: string;
612
619
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -631,7 +639,7 @@ export declare class AppClient {
631
639
  appReferences?: bigint[] | undefined;
632
640
  assetReferences?: bigint[] | undefined;
633
641
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
634
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
642
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
635
643
  sender?: string | algosdk.Address | undefined;
636
644
  method: string;
637
645
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -655,7 +664,7 @@ export declare class AppClient {
655
664
  appReferences?: bigint[] | undefined;
656
665
  assetReferences?: bigint[] | undefined;
657
666
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
658
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
667
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
659
668
  sender?: string | algosdk.Address | undefined;
660
669
  } & AppClientCompilationParams) | undefined) => Promise<{
661
670
  sender: string | algosdk.Address;
@@ -676,7 +685,8 @@ export declare class AppClient {
676
685
  appReferences?: bigint[] | undefined;
677
686
  assetReferences?: bigint[] | undefined;
678
687
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
679
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
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;
@@ -697,7 +708,7 @@ export declare class AppClient {
697
708
  appReferences?: bigint[] | undefined;
698
709
  assetReferences?: bigint[] | undefined;
699
710
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
700
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
711
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
701
712
  sender?: string | algosdk.Address | undefined;
702
713
  } | undefined) => AppCallParams;
703
714
  /** Return params for a delete call */
@@ -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;
@@ -717,7 +729,7 @@ export declare class AppClient {
717
729
  appReferences?: bigint[] | undefined;
718
730
  assetReferences?: bigint[] | undefined;
719
731
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
720
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
732
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
721
733
  sender?: string | algosdk.Address | undefined;
722
734
  } | undefined) => AppDeleteParams;
723
735
  /** Return params for a clear state call */
@@ -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;
@@ -737,7 +750,7 @@ export declare class AppClient {
737
750
  appReferences?: bigint[] | undefined;
738
751
  assetReferences?: bigint[] | undefined;
739
752
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
740
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
753
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
741
754
  sender?: string | algosdk.Address | undefined;
742
755
  } | undefined) => AppCallParams;
743
756
  /** Return params for a close out call */
@@ -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;
@@ -757,7 +771,7 @@ export declare class AppClient {
757
771
  appReferences?: bigint[] | undefined;
758
772
  assetReferences?: bigint[] | undefined;
759
773
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
760
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
774
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
761
775
  sender?: string | algosdk.Address | undefined;
762
776
  } | undefined) => AppCallParams;
763
777
  /** Return params for a call (defaults to no-op) */
@@ -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;
@@ -777,7 +792,7 @@ export declare class AppClient {
777
792
  appReferences?: bigint[] | undefined;
778
793
  assetReferences?: bigint[] | undefined;
779
794
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
780
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
795
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
781
796
  sender?: string | algosdk.Address | undefined;
782
797
  } & CallOnComplete) | undefined) => AppCallParams;
783
798
  };
@@ -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;
@@ -828,7 +844,7 @@ export declare class AppClient {
828
844
  appReferences?: bigint[] | undefined;
829
845
  assetReferences?: bigint[] | undefined;
830
846
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
831
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
847
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
832
848
  sender?: string | algosdk.Address | undefined;
833
849
  method: string;
834
850
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -858,7 +875,7 @@ export declare class AppClient {
858
875
  appReferences?: bigint[] | undefined;
859
876
  assetReferences?: bigint[] | undefined;
860
877
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
861
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
878
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
862
879
  sender?: string | algosdk.Address | undefined;
863
880
  method: string;
864
881
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -888,7 +906,7 @@ export declare class AppClient {
888
906
  appReferences?: bigint[] | undefined;
889
907
  assetReferences?: bigint[] | undefined;
890
908
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
891
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
909
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
892
910
  sender?: string | algosdk.Address | undefined;
893
911
  method: string;
894
912
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -918,7 +937,7 @@ export declare class AppClient {
918
937
  appReferences?: bigint[] | undefined;
919
938
  assetReferences?: bigint[] | undefined;
920
939
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
921
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
940
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
922
941
  sender?: string | algosdk.Address | undefined;
923
942
  method: string;
924
943
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -948,7 +968,7 @@ export declare class AppClient {
948
968
  appReferences?: bigint[] | undefined;
949
969
  assetReferences?: bigint[] | undefined;
950
970
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
951
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
971
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
952
972
  sender?: string | algosdk.Address | undefined;
953
973
  method: string;
954
974
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -976,7 +997,7 @@ export declare class AppClient {
976
997
  appReferences?: bigint[] | undefined;
977
998
  assetReferences?: bigint[] | undefined;
978
999
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
979
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1000
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
980
1001
  sender?: string | algosdk.Address | undefined;
981
1002
  } & AppClientCompilationParams) | undefined) => Promise<algosdk.Transaction>;
982
1003
  /** Returns a transaction for an opt-in call */
@@ -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;
@@ -996,7 +1018,7 @@ export declare class AppClient {
996
1018
  appReferences?: bigint[] | undefined;
997
1019
  assetReferences?: bigint[] | undefined;
998
1020
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
999
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1021
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1000
1022
  sender?: string | algosdk.Address | undefined;
1001
1023
  } | undefined) => Promise<algosdk.Transaction>;
1002
1024
  /** Returns a transaction for a delete call */
@@ -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;
@@ -1016,7 +1039,7 @@ export declare class AppClient {
1016
1039
  appReferences?: bigint[] | undefined;
1017
1040
  assetReferences?: bigint[] | undefined;
1018
1041
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1019
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1042
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1020
1043
  sender?: string | algosdk.Address | undefined;
1021
1044
  } | undefined) => Promise<algosdk.Transaction>;
1022
1045
  /** Returns a transaction for a clear state call */
@@ -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;
@@ -1036,7 +1060,7 @@ export declare class AppClient {
1036
1060
  appReferences?: bigint[] | undefined;
1037
1061
  assetReferences?: bigint[] | undefined;
1038
1062
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1039
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1063
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1040
1064
  sender?: string | algosdk.Address | undefined;
1041
1065
  } | undefined) => Promise<algosdk.Transaction>;
1042
1066
  /** Returns a transaction for a close out call */
@@ -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;
@@ -1056,7 +1081,7 @@ export declare class AppClient {
1056
1081
  appReferences?: bigint[] | undefined;
1057
1082
  assetReferences?: bigint[] | undefined;
1058
1083
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1059
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1084
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1060
1085
  sender?: string | algosdk.Address | undefined;
1061
1086
  } | undefined) => Promise<algosdk.Transaction>;
1062
1087
  /** Returns a transaction for a call (defaults to no-op) */
@@ -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;
@@ -1076,7 +1102,7 @@ export declare class AppClient {
1076
1102
  appReferences?: bigint[] | undefined;
1077
1103
  assetReferences?: bigint[] | undefined;
1078
1104
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1079
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1105
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1080
1106
  sender?: string | algosdk.Address | undefined;
1081
1107
  } & CallOnComplete) | undefined) => Promise<algosdk.Transaction>;
1082
1108
  };
@@ -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;
@@ -1135,7 +1162,7 @@ export declare class AppClient {
1135
1162
  appReferences?: bigint[] | undefined;
1136
1163
  assetReferences?: bigint[] | undefined;
1137
1164
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1138
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1165
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1139
1166
  sender?: string | algosdk.Address | undefined;
1140
1167
  method: string;
1141
1168
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -1172,7 +1200,7 @@ export declare class AppClient {
1172
1200
  appReferences?: bigint[] | undefined;
1173
1201
  assetReferences?: bigint[] | undefined;
1174
1202
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1175
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1203
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1176
1204
  sender?: string | algosdk.Address | undefined;
1177
1205
  method: string;
1178
1206
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -1207,7 +1236,7 @@ export declare class AppClient {
1207
1236
  appReferences?: bigint[] | undefined;
1208
1237
  assetReferences?: bigint[] | undefined;
1209
1238
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1210
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1239
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1211
1240
  sender?: string | algosdk.Address | undefined;
1212
1241
  method: string;
1213
1242
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -1242,7 +1272,7 @@ export declare class AppClient {
1242
1272
  appReferences?: bigint[] | undefined;
1243
1273
  assetReferences?: bigint[] | undefined;
1244
1274
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1245
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1275
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1246
1276
  sender?: string | algosdk.Address | undefined;
1247
1277
  method: string;
1248
1278
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -1277,7 +1308,7 @@ export declare class AppClient {
1277
1308
  appReferences?: bigint[] | undefined;
1278
1309
  assetReferences?: bigint[] | undefined;
1279
1310
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1280
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1311
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1281
1312
  sender?: string | algosdk.Address | undefined;
1282
1313
  method: string;
1283
1314
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | 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;
@@ -1310,7 +1342,7 @@ export declare class AppClient {
1310
1342
  appReferences?: bigint[] | undefined;
1311
1343
  assetReferences?: bigint[] | undefined;
1312
1344
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1313
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1345
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1314
1346
  sender?: string | algosdk.Address | undefined;
1315
1347
  } & AppClientCompilationParams & SendParams) | undefined) => Promise<{
1316
1348
  compiledApproval?: import("./app").CompiledTeal | 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;
@@ -1341,7 +1374,7 @@ export declare class AppClient {
1341
1374
  appReferences?: bigint[] | undefined;
1342
1375
  assetReferences?: bigint[] | undefined;
1343
1376
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1344
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1377
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1345
1378
  sender?: string | algosdk.Address | undefined;
1346
1379
  } & SendParams) | undefined) => Promise<{
1347
1380
  groupId: string;
@@ -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;
@@ -1370,7 +1404,7 @@ export declare class AppClient {
1370
1404
  appReferences?: bigint[] | undefined;
1371
1405
  assetReferences?: bigint[] | undefined;
1372
1406
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1373
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1407
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1374
1408
  sender?: string | algosdk.Address | undefined;
1375
1409
  } & SendParams) | undefined) => Promise<{
1376
1410
  groupId: string;
@@ -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;
@@ -1399,7 +1434,7 @@ export declare class AppClient {
1399
1434
  appReferences?: bigint[] | undefined;
1400
1435
  assetReferences?: bigint[] | undefined;
1401
1436
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1402
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1437
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1403
1438
  sender?: string | algosdk.Address | undefined;
1404
1439
  } & SendParams) | undefined) => Promise<{
1405
1440
  groupId: string;
@@ -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;
@@ -1428,7 +1464,7 @@ export declare class AppClient {
1428
1464
  appReferences?: bigint[] | undefined;
1429
1465
  assetReferences?: bigint[] | undefined;
1430
1466
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1431
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1467
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1432
1468
  sender?: string | algosdk.Address | undefined;
1433
1469
  } & SendParams) | undefined) => Promise<{
1434
1470
  groupId: string;
@@ -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;
@@ -1457,7 +1494,7 @@ export declare class AppClient {
1457
1494
  appReferences?: bigint[] | undefined;
1458
1495
  assetReferences?: bigint[] | undefined;
1459
1496
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1460
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1497
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1461
1498
  sender?: string | algosdk.Address | undefined;
1462
1499
  } & CallOnComplete & SendParams) | undefined) => Promise<{
1463
1500
  groupId: string;
@@ -202,7 +202,7 @@ class AppDeployer {
202
202
  const existingAppRecord = await this._appManager.getById(existingApp.appId);
203
203
  const existingApproval = Buffer.from(existingAppRecord.approvalProgram).toString('base64');
204
204
  const existingClear = Buffer.from(existingAppRecord.clearStateProgram).toString('base64');
205
- const existingExtraPages = util.calculateExtraProgramPages(existingAppRecord.approvalProgram, existingAppRecord.clearStateProgram);
205
+ const extraPages = existingAppRecord.extraProgramPages ?? 0;
206
206
  const newApprovalBytes = Buffer.from(approvalProgram);
207
207
  const newClearBytes = Buffer.from(clearStateProgram);
208
208
  const newApproval = newApprovalBytes.toString('base64');
@@ -214,7 +214,7 @@ class AppDeployer {
214
214
  existingAppRecord.globalInts < (createParams.schema?.globalInts ?? 0) ||
215
215
  existingAppRecord.localByteSlices < (createParams.schema?.localByteSlices ?? 0) ||
216
216
  existingAppRecord.globalByteSlices < (createParams.schema?.globalByteSlices ?? 0) ||
217
- existingExtraPages < newExtraPages;
217
+ extraPages < newExtraPages;
218
218
  if (isSchemaBreak) {
219
219
  config.Config.getLogger(sendParams?.suppressLog).warn(`Detected a breaking app schema change in app ${existingApp.appId}:`, {
220
220
  from: {
@@ -222,7 +222,7 @@ class AppDeployer {
222
222
  globalByteSlices: existingAppRecord.globalByteSlices,
223
223
  localInts: existingAppRecord.localInts,
224
224
  localByteSlices: existingAppRecord.localByteSlices,
225
- extraProgramPages: existingExtraPages,
225
+ extraProgramPages: extraPages,
226
226
  },
227
227
  to: { ...createParams.schema, extraProgramPages: newExtraPages },
228
228
  });