@algorandfoundation/algokit-utils 10.0.0-alpha.27 → 10.0.0-alpha.28

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.
@@ -185,7 +185,7 @@ declare class AppFactory {
185
185
  accountReferences?: ReadableAddress[] | undefined;
186
186
  appReferences?: bigint[] | undefined;
187
187
  assetReferences?: bigint[] | undefined;
188
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
188
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
189
189
  accessReferences?: ResourceReference[] | undefined;
190
190
  rejectVersion?: number | undefined;
191
191
  sender?: ReadableAddress | undefined;
@@ -233,7 +233,7 @@ declare class AppFactory {
233
233
  accountReferences?: ReadableAddress[] | undefined;
234
234
  appReferences?: bigint[] | undefined;
235
235
  assetReferences?: bigint[] | undefined;
236
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
236
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
237
237
  accessReferences?: ResourceReference[] | undefined;
238
238
  rejectVersion?: number | undefined;
239
239
  sender?: ReadableAddress | undefined;
@@ -246,10 +246,9 @@ declare class AppFactory {
246
246
  sender: Address;
247
247
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
248
248
  method: ABIMethod;
249
- args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
250
- args?: Uint8Array[] | undefined;
251
- sender: SendingAddress;
249
+ args: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
252
250
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
251
+ sender: SendingAddress;
253
252
  rekeyTo?: ReadableAddress | undefined;
254
253
  note?: string | Uint8Array | undefined;
255
254
  lease?: string | Uint8Array | undefined;
@@ -260,10 +259,11 @@ declare class AppFactory {
260
259
  firstValidRound?: bigint | undefined;
261
260
  lastValidRound?: bigint | undefined;
262
261
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
262
+ args?: Uint8Array[] | undefined;
263
263
  accountReferences?: ReadableAddress[] | undefined;
264
264
  appReferences?: bigint[] | undefined;
265
265
  assetReferences?: bigint[] | undefined;
266
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
266
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
267
267
  accessReferences?: ResourceReference[] | undefined;
268
268
  rejectVersion?: number | undefined;
269
269
  appId?: 0 | undefined;
@@ -294,12 +294,12 @@ declare class AppFactory {
294
294
  accountReferences?: ReadableAddress[] | undefined;
295
295
  appReferences?: bigint[] | undefined;
296
296
  assetReferences?: bigint[] | undefined;
297
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
297
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
298
298
  accessReferences?: ResourceReference[] | undefined;
299
299
  rejectVersion?: number | undefined;
300
300
  approvalProgram: string | Uint8Array;
301
301
  clearStateProgram: string | Uint8Array;
302
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
302
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
303
303
  onComplete: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication;
304
304
  }>;
305
305
  /** Return params for a deployment update ABI call */
@@ -318,7 +318,7 @@ declare class AppFactory {
318
318
  accountReferences?: ReadableAddress[] | undefined;
319
319
  appReferences?: bigint[] | undefined;
320
320
  assetReferences?: bigint[] | undefined;
321
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
321
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
322
322
  accessReferences?: ResourceReference[] | undefined;
323
323
  rejectVersion?: number | undefined;
324
324
  sender?: ReadableAddress | undefined;
@@ -339,7 +339,7 @@ declare class AppFactory {
339
339
  accountReferences?: ReadableAddress[] | undefined;
340
340
  appReferences?: bigint[] | undefined;
341
341
  assetReferences?: bigint[] | undefined;
342
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
342
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
343
343
  accessReferences?: ResourceReference[] | undefined;
344
344
  rejectVersion?: number | undefined;
345
345
  sender?: ReadableAddress | undefined;
@@ -349,10 +349,9 @@ declare class AppFactory {
349
349
  sender: Address;
350
350
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
351
351
  method: ABIMethod;
352
- args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
353
- args?: Uint8Array[] | undefined;
354
- sender: SendingAddress;
352
+ args: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
355
353
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
354
+ sender: SendingAddress;
356
355
  rekeyTo?: ReadableAddress | undefined;
357
356
  note?: string | Uint8Array | undefined;
358
357
  lease?: string | Uint8Array | undefined;
@@ -363,10 +362,11 @@ declare class AppFactory {
363
362
  firstValidRound?: bigint | undefined;
364
363
  lastValidRound?: bigint | undefined;
365
364
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
365
+ args?: Uint8Array[] | undefined;
366
366
  accountReferences?: ReadableAddress[] | undefined;
367
367
  appReferences?: bigint[] | undefined;
368
368
  assetReferences?: bigint[] | undefined;
369
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
369
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
370
370
  accessReferences?: ResourceReference[] | undefined;
371
371
  rejectVersion?: number | undefined;
372
372
  appId?: 0 | undefined;
@@ -397,12 +397,12 @@ declare class AppFactory {
397
397
  accountReferences?: ReadableAddress[] | undefined;
398
398
  appReferences?: bigint[] | undefined;
399
399
  assetReferences?: bigint[] | undefined;
400
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
400
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
401
401
  accessReferences?: ResourceReference[] | undefined;
402
402
  rejectVersion?: number | undefined;
403
403
  approvalProgram: string | Uint8Array;
404
404
  clearStateProgram: string | Uint8Array;
405
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
405
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
406
406
  onComplete: OnApplicationComplete.UpdateApplication;
407
407
  };
408
408
  /** Return params for a deployment delete ABI call */
@@ -421,7 +421,7 @@ declare class AppFactory {
421
421
  accountReferences?: ReadableAddress[] | undefined;
422
422
  appReferences?: bigint[] | undefined;
423
423
  assetReferences?: bigint[] | undefined;
424
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
424
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
425
425
  accessReferences?: ResourceReference[] | undefined;
426
426
  rejectVersion?: number | undefined;
427
427
  sender?: ReadableAddress | undefined;
@@ -442,7 +442,7 @@ declare class AppFactory {
442
442
  accountReferences?: ReadableAddress[] | undefined;
443
443
  appReferences?: bigint[] | undefined;
444
444
  assetReferences?: bigint[] | undefined;
445
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
445
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
446
446
  accessReferences?: ResourceReference[] | undefined;
447
447
  rejectVersion?: number | undefined;
448
448
  sender?: ReadableAddress | undefined;
@@ -452,10 +452,9 @@ declare class AppFactory {
452
452
  sender: Address;
453
453
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
454
454
  method: ABIMethod;
455
- args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
456
- args?: Uint8Array[] | undefined;
457
- sender: SendingAddress;
455
+ args: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
458
456
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
457
+ sender: SendingAddress;
459
458
  rekeyTo?: ReadableAddress | undefined;
460
459
  note?: string | Uint8Array | undefined;
461
460
  lease?: string | Uint8Array | undefined;
@@ -466,10 +465,11 @@ declare class AppFactory {
466
465
  firstValidRound?: bigint | undefined;
467
466
  lastValidRound?: bigint | undefined;
468
467
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
468
+ args?: Uint8Array[] | undefined;
469
469
  accountReferences?: ReadableAddress[] | undefined;
470
470
  appReferences?: bigint[] | undefined;
471
471
  assetReferences?: bigint[] | undefined;
472
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
472
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
473
473
  accessReferences?: ResourceReference[] | undefined;
474
474
  rejectVersion?: number | undefined;
475
475
  appId?: 0 | undefined;
@@ -500,18 +500,17 @@ declare class AppFactory {
500
500
  accountReferences?: ReadableAddress[] | undefined;
501
501
  appReferences?: bigint[] | undefined;
502
502
  assetReferences?: bigint[] | undefined;
503
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
503
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
504
504
  accessReferences?: ResourceReference[] | undefined;
505
505
  rejectVersion?: number | undefined;
506
506
  approvalProgram: string | Uint8Array;
507
507
  clearStateProgram: string | Uint8Array;
508
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
508
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
509
509
  onComplete: OnApplicationComplete.DeleteApplication;
510
510
  };
511
511
  bare: {
512
512
  /** Return params for a create bare call, including deploy-time TEAL template replacements and compilation if provided */
513
513
  create: (params?: {
514
- args?: Uint8Array[] | undefined;
515
514
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
516
515
  rekeyTo?: ReadableAddress | undefined;
517
516
  note?: string | Uint8Array | undefined;
@@ -522,10 +521,11 @@ declare class AppFactory {
522
521
  validityWindow?: number | bigint | undefined;
523
522
  firstValidRound?: bigint | undefined;
524
523
  lastValidRound?: bigint | undefined;
524
+ args?: Uint8Array[] | undefined;
525
525
  accountReferences?: ReadableAddress[] | undefined;
526
526
  appReferences?: bigint[] | undefined;
527
527
  assetReferences?: bigint[] | undefined;
528
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
528
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
529
529
  accessReferences?: ResourceReference[] | undefined;
530
530
  rejectVersion?: number | undefined;
531
531
  sender?: ReadableAddress | undefined;
@@ -560,7 +560,6 @@ declare class AppFactory {
560
560
  /** The number of byte slices saved in local state. */
561
561
  localByteSlices: number;
562
562
  };
563
- args?: Uint8Array[] | undefined;
564
563
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
565
564
  rekeyTo?: ReadableAddress | undefined;
566
565
  note?: string | Uint8Array | undefined;
@@ -571,10 +570,11 @@ declare class AppFactory {
571
570
  validityWindow?: number | bigint | undefined;
572
571
  firstValidRound?: bigint | undefined;
573
572
  lastValidRound?: bigint | undefined;
573
+ args?: Uint8Array[] | undefined;
574
574
  accountReferences?: ReadableAddress[] | undefined;
575
575
  appReferences?: bigint[] | undefined;
576
576
  assetReferences?: bigint[] | undefined;
577
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
577
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
578
578
  accessReferences?: ResourceReference[] | undefined;
579
579
  rejectVersion?: number | undefined;
580
580
  sender?: ReadableAddress | undefined;
@@ -589,7 +589,6 @@ declare class AppFactory {
589
589
  }>;
590
590
  /** Return params for a deployment update bare call */
591
591
  deployUpdate: (params?: {
592
- args?: Uint8Array[] | undefined;
593
592
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
594
593
  rekeyTo?: ReadableAddress | undefined;
595
594
  note?: string | Uint8Array | undefined;
@@ -600,15 +599,15 @@ declare class AppFactory {
600
599
  validityWindow?: number | bigint | undefined;
601
600
  firstValidRound?: bigint | undefined;
602
601
  lastValidRound?: bigint | undefined;
602
+ args?: Uint8Array[] | undefined;
603
603
  accountReferences?: ReadableAddress[] | undefined;
604
604
  appReferences?: bigint[] | undefined;
605
605
  assetReferences?: bigint[] | undefined;
606
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
606
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
607
607
  accessReferences?: ResourceReference[] | undefined;
608
608
  rejectVersion?: number | undefined;
609
609
  sender?: ReadableAddress | undefined;
610
610
  } | undefined) => {
611
- args?: Uint8Array[] | undefined;
612
611
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
613
612
  rekeyTo?: ReadableAddress | undefined;
614
613
  note?: string | Uint8Array | undefined;
@@ -619,10 +618,11 @@ declare class AppFactory {
619
618
  validityWindow?: number | bigint | undefined;
620
619
  firstValidRound?: bigint | undefined;
621
620
  lastValidRound?: bigint | undefined;
621
+ args?: Uint8Array[] | undefined;
622
622
  accountReferences?: ReadableAddress[] | undefined;
623
623
  appReferences?: bigint[] | undefined;
624
624
  assetReferences?: bigint[] | undefined;
625
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
625
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
626
626
  accessReferences?: ResourceReference[] | undefined;
627
627
  rejectVersion?: number | undefined;
628
628
  sender?: ReadableAddress | undefined;
@@ -633,7 +633,6 @@ declare class AppFactory {
633
633
  };
634
634
  /** Return params for a deployment delete bare call */
635
635
  deployDelete: (params?: {
636
- args?: Uint8Array[] | undefined;
637
636
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
638
637
  rekeyTo?: ReadableAddress | undefined;
639
638
  note?: string | Uint8Array | undefined;
@@ -644,15 +643,15 @@ declare class AppFactory {
644
643
  validityWindow?: number | bigint | undefined;
645
644
  firstValidRound?: bigint | undefined;
646
645
  lastValidRound?: bigint | undefined;
646
+ args?: Uint8Array[] | undefined;
647
647
  accountReferences?: ReadableAddress[] | undefined;
648
648
  appReferences?: bigint[] | undefined;
649
649
  assetReferences?: bigint[] | undefined;
650
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
650
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
651
651
  accessReferences?: ResourceReference[] | undefined;
652
652
  rejectVersion?: number | undefined;
653
653
  sender?: ReadableAddress | undefined;
654
654
  } | undefined) => {
655
- args?: Uint8Array[] | undefined;
656
655
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
657
656
  rekeyTo?: ReadableAddress | undefined;
658
657
  note?: string | Uint8Array | undefined;
@@ -663,10 +662,11 @@ declare class AppFactory {
663
662
  validityWindow?: number | bigint | undefined;
664
663
  firstValidRound?: bigint | undefined;
665
664
  lastValidRound?: bigint | undefined;
665
+ args?: Uint8Array[] | undefined;
666
666
  accountReferences?: ReadableAddress[] | undefined;
667
667
  appReferences?: bigint[] | undefined;
668
668
  assetReferences?: bigint[] | undefined;
669
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
669
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
670
670
  accessReferences?: ResourceReference[] | undefined;
671
671
  rejectVersion?: number | undefined;
672
672
  sender?: ReadableAddress | undefined;
@@ -802,14 +802,14 @@ declare class AppFactory {
802
802
  compiledApproval?: CompiledTeal | undefined;
803
803
  compiledClear?: CompiledTeal | undefined;
804
804
  operationPerformed: "create";
805
- updatable?: boolean | undefined;
806
- deletable?: boolean | undefined;
805
+ version: string;
807
806
  createdRound: bigint;
808
807
  updatedRound: bigint;
809
808
  createdMetadata: AppDeployMetadata;
810
809
  deleted: boolean;
811
810
  name: string;
812
- version: string;
811
+ deletable?: boolean | undefined;
812
+ updatable?: boolean | undefined;
813
813
  groupId: string | undefined;
814
814
  txIds: string[];
815
815
  returns?: ABIReturn[] | undefined;
@@ -848,14 +848,14 @@ declare class AppFactory {
848
848
  compiledApproval?: CompiledTeal | undefined;
849
849
  compiledClear?: CompiledTeal | undefined;
850
850
  operationPerformed: "replace";
851
- updatable?: boolean | undefined;
852
- deletable?: boolean | undefined;
851
+ version: string;
853
852
  createdRound: bigint;
854
853
  updatedRound: bigint;
855
854
  createdMetadata: AppDeployMetadata;
856
855
  deleted: boolean;
857
856
  name: string;
858
- version: string;
857
+ deletable?: boolean | undefined;
858
+ updatable?: boolean | undefined;
859
859
  groupId: string | undefined;
860
860
  txIds: string[];
861
861
  returns?: ABIReturn[] | undefined;