@algorandfoundation/algokit-utils 10.0.0-alpha.23 → 10.0.0-alpha.24

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.
@@ -171,7 +171,7 @@ declare class AppFactory {
171
171
  get params(): {
172
172
  /** Return params for a create ABI call, including deploy-time TEAL template replacements and compilation if provided */
173
173
  create: (params: {
174
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
174
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
175
175
  rekeyTo?: ReadableAddress | undefined;
176
176
  note?: string | Uint8Array | undefined;
177
177
  lease?: string | Uint8Array | undefined;
@@ -219,7 +219,7 @@ declare class AppFactory {
219
219
  };
220
220
  approvalProgram: Uint8Array;
221
221
  clearStateProgram: Uint8Array;
222
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
222
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
223
223
  rekeyTo?: ReadableAddress | undefined;
224
224
  note?: string | Uint8Array | undefined;
225
225
  lease?: string | Uint8Array | undefined;
@@ -244,11 +244,11 @@ declare class AppFactory {
244
244
  extraProgramPages?: number | undefined;
245
245
  } & {
246
246
  sender: Address;
247
- signer: AddressWithTransactionSigner | TransactionSigner | undefined;
247
+ signer: TransactionSigner | AddressWithTransactionSigner | undefined;
248
248
  method: ABIMethod;
249
- args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
249
+ args: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
250
250
  sender: SendingAddress;
251
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
251
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
252
252
  rekeyTo?: ReadableAddress | undefined;
253
253
  note?: string | Uint8Array | undefined;
254
254
  lease?: string | Uint8Array | undefined;
@@ -258,8 +258,7 @@ declare class AppFactory {
258
258
  validityWindow?: number | bigint | undefined;
259
259
  firstValidRound?: bigint | undefined;
260
260
  lastValidRound?: bigint | undefined;
261
- appId: bigint;
262
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
261
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
263
262
  args?: Uint8Array[] | undefined;
264
263
  accountReferences?: ReadableAddress[] | undefined;
265
264
  appReferences?: bigint[] | undefined;
@@ -267,11 +266,19 @@ declare class AppFactory {
267
266
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
268
267
  accessReferences?: ResourceReference[] | undefined;
269
268
  rejectVersion?: number | undefined;
269
+ appId?: 0 | undefined;
270
270
  approvalProgram: string | Uint8Array;
271
271
  clearStateProgram: string | Uint8Array;
272
+ schema?: {
273
+ globalInts: number;
274
+ globalByteSlices: number;
275
+ localInts: number;
276
+ localByteSlices: number;
277
+ } | undefined;
278
+ extraProgramPages?: number | undefined;
272
279
  }> | AppMethodCall<{
273
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
274
280
  sender: SendingAddress;
281
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
275
282
  rekeyTo?: ReadableAddress | undefined;
276
283
  note?: string | Uint8Array | undefined;
277
284
  lease?: string | Uint8Array | undefined;
@@ -281,30 +288,23 @@ declare class AppFactory {
281
288
  validityWindow?: number | bigint | undefined;
282
289
  firstValidRound?: bigint | undefined;
283
290
  lastValidRound?: bigint | undefined;
291
+ appId: bigint;
292
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
284
293
  args?: Uint8Array[] | undefined;
285
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
286
294
  accountReferences?: ReadableAddress[] | undefined;
287
295
  appReferences?: bigint[] | undefined;
288
296
  assetReferences?: bigint[] | undefined;
289
297
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
290
298
  accessReferences?: ResourceReference[] | undefined;
291
299
  rejectVersion?: number | undefined;
292
- appId?: 0 | undefined;
293
300
  approvalProgram: string | Uint8Array;
294
301
  clearStateProgram: string | Uint8Array;
295
- schema?: {
296
- globalInts: number;
297
- globalByteSlices: number;
298
- localInts: number;
299
- localByteSlices: number;
300
- } | undefined;
301
- extraProgramPages?: number | undefined;
302
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
302
+ }> | Promise<Transaction> | 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 */
306
306
  deployUpdate: (params: {
307
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
307
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
308
308
  rekeyTo?: ReadableAddress | undefined;
309
309
  note?: string | Uint8Array | undefined;
310
310
  lease?: string | Uint8Array | undefined;
@@ -325,7 +325,7 @@ declare class AppFactory {
325
325
  method: string;
326
326
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
327
327
  }) => {
328
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
328
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
329
329
  rekeyTo?: ReadableAddress | undefined;
330
330
  note?: string | Uint8Array | undefined;
331
331
  lease?: string | Uint8Array | undefined;
@@ -347,11 +347,11 @@ declare class AppFactory {
347
347
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
348
348
  } & {
349
349
  sender: Address;
350
- signer: AddressWithTransactionSigner | TransactionSigner | undefined;
350
+ signer: TransactionSigner | AddressWithTransactionSigner | undefined;
351
351
  method: ABIMethod;
352
- args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
352
+ args: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
353
353
  sender: SendingAddress;
354
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
354
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
355
355
  rekeyTo?: ReadableAddress | undefined;
356
356
  note?: string | Uint8Array | undefined;
357
357
  lease?: string | Uint8Array | undefined;
@@ -361,8 +361,7 @@ declare class AppFactory {
361
361
  validityWindow?: number | bigint | undefined;
362
362
  firstValidRound?: bigint | undefined;
363
363
  lastValidRound?: bigint | undefined;
364
- appId: bigint;
365
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
364
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
366
365
  args?: Uint8Array[] | undefined;
367
366
  accountReferences?: ReadableAddress[] | undefined;
368
367
  appReferences?: bigint[] | undefined;
@@ -370,11 +369,19 @@ declare class AppFactory {
370
369
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
371
370
  accessReferences?: ResourceReference[] | undefined;
372
371
  rejectVersion?: number | undefined;
372
+ appId?: 0 | undefined;
373
373
  approvalProgram: string | Uint8Array;
374
374
  clearStateProgram: string | Uint8Array;
375
+ schema?: {
376
+ globalInts: number;
377
+ globalByteSlices: number;
378
+ localInts: number;
379
+ localByteSlices: number;
380
+ } | undefined;
381
+ extraProgramPages?: number | undefined;
375
382
  }> | AppMethodCall<{
376
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
377
383
  sender: SendingAddress;
384
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
378
385
  rekeyTo?: ReadableAddress | undefined;
379
386
  note?: string | Uint8Array | undefined;
380
387
  lease?: string | Uint8Array | undefined;
@@ -384,30 +391,23 @@ declare class AppFactory {
384
391
  validityWindow?: number | bigint | undefined;
385
392
  firstValidRound?: bigint | undefined;
386
393
  lastValidRound?: bigint | undefined;
394
+ appId: bigint;
395
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
387
396
  args?: Uint8Array[] | undefined;
388
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
389
397
  accountReferences?: ReadableAddress[] | undefined;
390
398
  appReferences?: bigint[] | undefined;
391
399
  assetReferences?: bigint[] | undefined;
392
400
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
393
401
  accessReferences?: ResourceReference[] | undefined;
394
402
  rejectVersion?: number | undefined;
395
- appId?: 0 | undefined;
396
403
  approvalProgram: string | Uint8Array;
397
404
  clearStateProgram: string | Uint8Array;
398
- schema?: {
399
- globalInts: number;
400
- globalByteSlices: number;
401
- localInts: number;
402
- localByteSlices: number;
403
- } | undefined;
404
- extraProgramPages?: number | undefined;
405
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
405
+ }> | Promise<Transaction> | undefined)[] | undefined;
406
406
  onComplete: OnApplicationComplete.UpdateApplication;
407
407
  };
408
408
  /** Return params for a deployment delete ABI call */
409
409
  deployDelete: (params: {
410
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
410
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
411
411
  rekeyTo?: ReadableAddress | undefined;
412
412
  note?: string | Uint8Array | undefined;
413
413
  lease?: string | Uint8Array | undefined;
@@ -428,7 +428,7 @@ declare class AppFactory {
428
428
  method: string;
429
429
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
430
430
  }) => {
431
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
431
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
432
432
  rekeyTo?: ReadableAddress | undefined;
433
433
  note?: string | Uint8Array | undefined;
434
434
  lease?: string | Uint8Array | undefined;
@@ -450,11 +450,11 @@ declare class AppFactory {
450
450
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
451
451
  } & {
452
452
  sender: Address;
453
- signer: AddressWithTransactionSigner | TransactionSigner | undefined;
453
+ signer: TransactionSigner | AddressWithTransactionSigner | undefined;
454
454
  method: ABIMethod;
455
- args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
455
+ args: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
456
456
  sender: SendingAddress;
457
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
457
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
458
458
  rekeyTo?: ReadableAddress | undefined;
459
459
  note?: string | Uint8Array | undefined;
460
460
  lease?: string | Uint8Array | undefined;
@@ -464,8 +464,7 @@ declare class AppFactory {
464
464
  validityWindow?: number | bigint | undefined;
465
465
  firstValidRound?: bigint | undefined;
466
466
  lastValidRound?: bigint | undefined;
467
- appId: bigint;
468
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
467
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
469
468
  args?: Uint8Array[] | undefined;
470
469
  accountReferences?: ReadableAddress[] | undefined;
471
470
  appReferences?: bigint[] | undefined;
@@ -473,11 +472,19 @@ declare class AppFactory {
473
472
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
474
473
  accessReferences?: ResourceReference[] | undefined;
475
474
  rejectVersion?: number | undefined;
475
+ appId?: 0 | undefined;
476
476
  approvalProgram: string | Uint8Array;
477
477
  clearStateProgram: string | Uint8Array;
478
+ schema?: {
479
+ globalInts: number;
480
+ globalByteSlices: number;
481
+ localInts: number;
482
+ localByteSlices: number;
483
+ } | undefined;
484
+ extraProgramPages?: number | undefined;
478
485
  }> | AppMethodCall<{
479
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
480
486
  sender: SendingAddress;
487
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
481
488
  rekeyTo?: ReadableAddress | undefined;
482
489
  note?: string | Uint8Array | undefined;
483
490
  lease?: string | Uint8Array | undefined;
@@ -487,31 +494,24 @@ declare class AppFactory {
487
494
  validityWindow?: number | bigint | undefined;
488
495
  firstValidRound?: bigint | undefined;
489
496
  lastValidRound?: bigint | undefined;
497
+ appId: bigint;
498
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
490
499
  args?: Uint8Array[] | undefined;
491
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
492
500
  accountReferences?: ReadableAddress[] | undefined;
493
501
  appReferences?: bigint[] | undefined;
494
502
  assetReferences?: bigint[] | undefined;
495
503
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
496
504
  accessReferences?: ResourceReference[] | undefined;
497
505
  rejectVersion?: number | undefined;
498
- appId?: 0 | undefined;
499
506
  approvalProgram: string | Uint8Array;
500
507
  clearStateProgram: string | Uint8Array;
501
- schema?: {
502
- globalInts: number;
503
- globalByteSlices: number;
504
- localInts: number;
505
- localByteSlices: number;
506
- } | undefined;
507
- extraProgramPages?: number | undefined;
508
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
508
+ }> | Promise<Transaction> | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
514
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
515
515
  rekeyTo?: ReadableAddress | undefined;
516
516
  note?: string | Uint8Array | undefined;
517
517
  lease?: string | Uint8Array | undefined;
@@ -560,7 +560,7 @@ declare class AppFactory {
560
560
  /** The number of byte slices saved in local state. */
561
561
  localByteSlices: number;
562
562
  };
563
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
563
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
564
564
  rekeyTo?: ReadableAddress | undefined;
565
565
  note?: string | Uint8Array | undefined;
566
566
  lease?: string | Uint8Array | undefined;
@@ -584,12 +584,12 @@ declare class AppFactory {
584
584
  extraProgramPages?: number | undefined;
585
585
  } & {
586
586
  sender: Address;
587
- signer: AddressWithTransactionSigner | TransactionSigner | undefined;
587
+ signer: TransactionSigner | AddressWithTransactionSigner | undefined;
588
588
  onComplete: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication;
589
589
  }>;
590
590
  /** Return params for a deployment update bare call */
591
591
  deployUpdate: (params?: {
592
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
592
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
593
593
  rekeyTo?: ReadableAddress | undefined;
594
594
  note?: string | Uint8Array | undefined;
595
595
  lease?: string | Uint8Array | undefined;
@@ -608,7 +608,7 @@ declare class AppFactory {
608
608
  rejectVersion?: number | undefined;
609
609
  sender?: ReadableAddress | undefined;
610
610
  } | undefined) => {
611
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
611
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
612
612
  rekeyTo?: ReadableAddress | undefined;
613
613
  note?: string | Uint8Array | undefined;
614
614
  lease?: string | Uint8Array | undefined;
@@ -628,12 +628,12 @@ declare class AppFactory {
628
628
  sender?: ReadableAddress | undefined;
629
629
  } & {
630
630
  sender: Address;
631
- signer: AddressWithTransactionSigner | TransactionSigner | undefined;
631
+ signer: TransactionSigner | AddressWithTransactionSigner | undefined;
632
632
  onComplete: OnApplicationComplete.UpdateApplication;
633
633
  };
634
634
  /** Return params for a deployment delete bare call */
635
635
  deployDelete: (params?: {
636
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
636
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
637
637
  rekeyTo?: ReadableAddress | undefined;
638
638
  note?: string | Uint8Array | undefined;
639
639
  lease?: string | Uint8Array | undefined;
@@ -652,7 +652,7 @@ declare class AppFactory {
652
652
  rejectVersion?: number | undefined;
653
653
  sender?: ReadableAddress | undefined;
654
654
  } | undefined) => {
655
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
655
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
656
656
  rekeyTo?: ReadableAddress | undefined;
657
657
  note?: string | Uint8Array | undefined;
658
658
  lease?: string | Uint8Array | undefined;
@@ -672,7 +672,7 @@ declare class AppFactory {
672
672
  sender?: ReadableAddress | undefined;
673
673
  } & {
674
674
  sender: Address;
675
- signer: AddressWithTransactionSigner | TransactionSigner | undefined;
675
+ signer: TransactionSigner | AddressWithTransactionSigner | undefined;
676
676
  onComplete: OnApplicationComplete.DeleteApplication;
677
677
  };
678
678
  };
@@ -802,14 +802,14 @@ declare class AppFactory {
802
802
  compiledApproval?: CompiledTeal | undefined;
803
803
  compiledClear?: CompiledTeal | undefined;
804
804
  operationPerformed: "create";
805
+ version: string;
806
+ updatable?: boolean | undefined;
807
+ deletable?: boolean | undefined;
805
808
  createdRound: bigint;
806
809
  updatedRound: bigint;
807
810
  createdMetadata: AppDeployMetadata;
808
811
  deleted: boolean;
809
812
  name: string;
810
- 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
+ version: string;
852
+ updatable?: boolean | undefined;
853
+ deletable?: boolean | undefined;
851
854
  createdRound: bigint;
852
855
  updatedRound: bigint;
853
856
  createdMetadata: AppDeployMetadata;
854
857
  deleted: boolean;
855
858
  name: string;
856
- version: string;
857
- deletable?: boolean | undefined;
858
- updatable?: boolean | undefined;
859
859
  groupId: string | undefined;
860
860
  txIds: string[];
861
861
  returns?: ABIReturn[] | undefined;