@algorandfoundation/algokit-utils 10.0.0-alpha.46 → 10.0.0-alpha.47

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.
@@ -348,8 +348,8 @@ declare class AlgorandClientTransactionCreator {
348
348
  * @returns The application create transaction
349
349
  */
350
350
  appCreate: (params: {
351
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
352
351
  sender: SendingAddress;
352
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
353
353
  rekeyTo?: ReadableAddress | undefined;
354
354
  note?: (Uint8Array | string) | undefined;
355
355
  lease?: (Uint8Array | string) | undefined;
@@ -359,8 +359,8 @@ declare class AlgorandClientTransactionCreator {
359
359
  validityWindow?: number | bigint | undefined;
360
360
  firstValidRound?: bigint | undefined;
361
361
  lastValidRound?: bigint | undefined;
362
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
363
362
  args?: Uint8Array[] | undefined;
363
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
364
364
  accountReferences?: ReadableAddress[] | undefined;
365
365
  appReferences?: bigint[] | undefined;
366
366
  assetReferences?: bigint[] | undefined;
@@ -568,9 +568,9 @@ declare class AlgorandClientTransactionCreator {
568
568
  * @returns The application ABI method create transaction
569
569
  */
570
570
  appCreateMethodCall: (params: {
571
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
572
571
  appId?: 0 | undefined;
573
572
  sender: SendingAddress;
573
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
574
574
  rekeyTo?: ReadableAddress | undefined;
575
575
  note?: (Uint8Array | string) | undefined;
576
576
  lease?: (Uint8Array | string) | undefined;
@@ -649,9 +649,9 @@ declare class AlgorandClientTransactionCreator {
649
649
  * @returns The application ABI method update transaction
650
650
  */
651
651
  appUpdateMethodCall: (params: {
652
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
653
652
  appId: bigint;
654
653
  sender: SendingAddress;
654
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
655
655
  rekeyTo?: ReadableAddress | undefined;
656
656
  note?: (Uint8Array | string) | undefined;
657
657
  lease?: (Uint8Array | string) | undefined;
@@ -721,9 +721,9 @@ declare class AlgorandClientTransactionCreator {
721
721
  * @returns The application ABI method delete transaction
722
722
  */
723
723
  appDeleteMethodCall: (params: {
724
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
725
724
  appId: bigint;
726
725
  sender: SendingAddress;
726
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
727
727
  rekeyTo?: ReadableAddress | undefined;
728
728
  note?: (Uint8Array | string) | undefined;
729
729
  lease?: (Uint8Array | string) | undefined;
@@ -791,9 +791,9 @@ declare class AlgorandClientTransactionCreator {
791
791
  * @returns The application ABI method call transaction
792
792
  */
793
793
  appCallMethodCall: (params: {
794
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
795
794
  appId: bigint;
796
795
  sender: SendingAddress;
796
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
797
797
  rekeyTo?: ReadableAddress | undefined;
798
798
  note?: (Uint8Array | string) | undefined;
799
799
  lease?: (Uint8Array | string) | undefined;
@@ -472,8 +472,8 @@ declare class AlgorandClientTransactionSender {
472
472
  * @returns The result of the app create transaction and the transaction that was sent
473
473
  */
474
474
  appCreate: (params: {
475
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
476
475
  sender: SendingAddress;
476
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
477
477
  rekeyTo?: ReadableAddress | undefined;
478
478
  note?: (Uint8Array | string) | undefined;
479
479
  lease?: (Uint8Array | string) | undefined;
@@ -483,8 +483,8 @@ declare class AlgorandClientTransactionSender {
483
483
  validityWindow?: number | bigint | undefined;
484
484
  firstValidRound?: bigint | undefined;
485
485
  lastValidRound?: bigint | undefined;
486
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
487
486
  args?: Uint8Array[] | undefined;
487
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
488
488
  accountReferences?: ReadableAddress[] | undefined;
489
489
  appReferences?: bigint[] | undefined;
490
490
  assetReferences?: bigint[] | undefined;
@@ -745,9 +745,9 @@ declare class AlgorandClientTransactionSender {
745
745
  * @returns The result of the application ABI method create transaction and the transaction that was sent
746
746
  */
747
747
  appCreateMethodCall: (params: {
748
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
749
748
  appId?: 0 | undefined;
750
749
  sender: SendingAddress;
750
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
751
751
  rekeyTo?: ReadableAddress | undefined;
752
752
  note?: (Uint8Array | string) | undefined;
753
753
  lease?: (Uint8Array | string) | undefined;
@@ -833,9 +833,9 @@ declare class AlgorandClientTransactionSender {
833
833
  * @returns The result of the application ABI method update transaction and the transaction that was sent
834
834
  */
835
835
  appUpdateMethodCall: (params: {
836
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
837
836
  appId: bigint;
838
837
  sender: SendingAddress;
838
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
839
839
  rekeyTo?: ReadableAddress | undefined;
840
840
  note?: (Uint8Array | string) | undefined;
841
841
  lease?: (Uint8Array | string) | undefined;
@@ -912,9 +912,9 @@ declare class AlgorandClientTransactionSender {
912
912
  * @returns The result of the application ABI method delete transaction and the transaction that was sent
913
913
  */
914
914
  appDeleteMethodCall: (params: {
915
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
916
915
  appId: bigint;
917
916
  sender: SendingAddress;
917
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
918
918
  rekeyTo?: ReadableAddress | undefined;
919
919
  note?: (Uint8Array | string) | undefined;
920
920
  lease?: (Uint8Array | string) | undefined;
@@ -989,9 +989,9 @@ declare class AlgorandClientTransactionSender {
989
989
  * @returns The result of the application ABI method call transaction and the transaction that was sent
990
990
  */
991
991
  appCallMethodCall: (params: {
992
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
993
992
  appId: bigint;
994
993
  sender: SendingAddress;
994
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
995
995
  rekeyTo?: ReadableAddress | undefined;
996
996
  note?: (Uint8Array | string) | undefined;
997
997
  lease?: (Uint8Array | string) | undefined;
package/app-client.d.ts CHANGED
@@ -441,9 +441,9 @@ declare class AppClient {
441
441
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
442
442
  method: ABIMethod;
443
443
  onComplete: OnApplicationComplete.UpdateApplication;
444
- args: (Transaction | TransactionWithSigner | ABIValue | AppMethodCall<{
445
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
444
+ args: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<{
446
445
  sender: SendingAddress;
446
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
447
447
  rekeyTo?: ReadableAddress | undefined;
448
448
  note?: (Uint8Array | string) | undefined;
449
449
  lease?: (Uint8Array | string) | undefined;
@@ -453,7 +453,8 @@ declare class AppClient {
453
453
  validityWindow?: number | bigint | undefined;
454
454
  firstValidRound?: bigint | undefined;
455
455
  lastValidRound?: bigint | undefined;
456
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
456
+ appId: bigint;
457
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
457
458
  args?: Uint8Array[] | undefined;
458
459
  accountReferences?: ReadableAddress[] | undefined;
459
460
  appReferences?: bigint[] | undefined;
@@ -461,17 +462,9 @@ declare class AppClient {
461
462
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
462
463
  accessReferences?: ResourceReference[] | undefined;
463
464
  rejectVersion?: number | undefined;
464
- appId?: 0 | undefined;
465
465
  approvalProgram: string | Uint8Array;
466
466
  clearStateProgram: string | Uint8Array;
467
- schema?: {
468
- globalInts: number;
469
- globalByteSlices: number;
470
- localInts: number;
471
- localByteSlices: number;
472
- } | undefined;
473
- extraProgramPages?: number | undefined;
474
- }> | AppMethodCall<{
467
+ }> | Promise<Transaction> | AppMethodCall<{
475
468
  sender: SendingAddress;
476
469
  signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
477
470
  rekeyTo?: ReadableAddress | undefined;
@@ -483,18 +476,25 @@ declare class AppClient {
483
476
  validityWindow?: number | bigint | undefined;
484
477
  firstValidRound?: bigint | undefined;
485
478
  lastValidRound?: bigint | undefined;
486
- appId: bigint;
487
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
488
479
  args?: Uint8Array[] | undefined;
480
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
489
481
  accountReferences?: ReadableAddress[] | undefined;
490
482
  appReferences?: bigint[] | undefined;
491
483
  assetReferences?: bigint[] | undefined;
492
484
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
493
485
  accessReferences?: ResourceReference[] | undefined;
494
486
  rejectVersion?: number | undefined;
487
+ appId?: 0 | undefined;
495
488
  approvalProgram: string | Uint8Array;
496
489
  clearStateProgram: string | Uint8Array;
497
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
490
+ schema?: {
491
+ globalInts: number;
492
+ globalByteSlices: number;
493
+ localInts: number;
494
+ localByteSlices: number;
495
+ } | undefined;
496
+ extraProgramPages?: number | undefined;
497
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
498
498
  }>;
499
499
  /**
500
500
  * Return params for an opt-in ABI call
@@ -502,9 +502,9 @@ declare class AppClient {
502
502
  * @returns The parameters which can be used to create an opt-in ABI method call
503
503
  */
504
504
  optIn: (params: AppClientMethodCallParams) => Promise<{
505
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
506
505
  appId: bigint;
507
506
  sender: SendingAddress;
507
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
508
508
  rekeyTo?: ReadableAddress | undefined;
509
509
  note?: (Uint8Array | string) | undefined;
510
510
  lease?: (Uint8Array | string) | undefined;
@@ -530,9 +530,9 @@ declare class AppClient {
530
530
  * @returns The parameters which can be used to create a delete ABI method call
531
531
  */
532
532
  delete: (params: AppClientMethodCallParams) => Promise<{
533
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
534
533
  appId: bigint;
535
534
  sender: SendingAddress;
535
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
536
536
  rekeyTo?: ReadableAddress | undefined;
537
537
  note?: (Uint8Array | string) | undefined;
538
538
  lease?: (Uint8Array | string) | undefined;
@@ -557,9 +557,9 @@ declare class AppClient {
557
557
  * @returns The parameters which can be used to create a close out ABI method call
558
558
  */
559
559
  closeOut: (params: AppClientMethodCallParams) => Promise<{
560
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
561
560
  appId: bigint;
562
561
  sender: SendingAddress;
562
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
563
563
  rekeyTo?: ReadableAddress | undefined;
564
564
  note?: (Uint8Array | string) | undefined;
565
565
  lease?: (Uint8Array | string) | undefined;
@@ -584,9 +584,9 @@ declare class AppClient {
584
584
  * @returns The parameters which can be used to create an ABI method call
585
585
  */
586
586
  call: (params: AppClientMethodCallParams & CallOnComplete) => Promise<{
587
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
588
587
  appId: bigint;
589
588
  sender: SendingAddress;
589
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
590
590
  rekeyTo?: ReadableAddress | undefined;
591
591
  note?: (Uint8Array | string) | undefined;
592
592
  lease?: (Uint8Array | string) | undefined;
@@ -692,8 +692,8 @@ declare class AppClient {
692
692
  update: (params: AppClientMethodCallParams & AppClientCompilationParams & SendParams) => Promise<{
693
693
  compiledApproval?: CompiledTeal | undefined;
694
694
  compiledClear?: CompiledTeal | undefined;
695
- confirmations: PendingTransactionResponse[];
696
695
  transactions: Transaction[];
696
+ confirmations: PendingTransactionResponse[];
697
697
  groupId: string | undefined;
698
698
  txIds: string[];
699
699
  returns?: ABIReturn[] | undefined;
package/app-factory.d.ts CHANGED
@@ -197,9 +197,9 @@ declare class AppFactory {
197
197
  sender: Address;
198
198
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
199
199
  method: ABIMethod;
200
- args: (Transaction | TransactionWithSigner | ABIValue | AppMethodCall<{
201
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
200
+ args: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<{
202
201
  sender: SendingAddress;
202
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
203
203
  rekeyTo?: ReadableAddress | undefined;
204
204
  note?: (Uint8Array | string) | undefined;
205
205
  lease?: (Uint8Array | string) | undefined;
@@ -209,7 +209,8 @@ declare class AppFactory {
209
209
  validityWindow?: number | bigint | undefined;
210
210
  firstValidRound?: bigint | undefined;
211
211
  lastValidRound?: bigint | undefined;
212
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
212
+ appId: bigint;
213
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
213
214
  args?: Uint8Array[] | undefined;
214
215
  accountReferences?: ReadableAddress[] | undefined;
215
216
  appReferences?: bigint[] | undefined;
@@ -217,17 +218,9 @@ declare class AppFactory {
217
218
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
218
219
  accessReferences?: ResourceReference[] | undefined;
219
220
  rejectVersion?: number | undefined;
220
- appId?: 0 | undefined;
221
221
  approvalProgram: string | Uint8Array;
222
222
  clearStateProgram: string | Uint8Array;
223
- schema?: {
224
- globalInts: number;
225
- globalByteSlices: number;
226
- localInts: number;
227
- localByteSlices: number;
228
- } | undefined;
229
- extraProgramPages?: number | undefined;
230
- }> | AppMethodCall<{
223
+ }> | Promise<Transaction> | AppMethodCall<{
231
224
  sender: SendingAddress;
232
225
  signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
233
226
  rekeyTo?: ReadableAddress | undefined;
@@ -239,18 +232,25 @@ declare class AppFactory {
239
232
  validityWindow?: number | bigint | undefined;
240
233
  firstValidRound?: bigint | undefined;
241
234
  lastValidRound?: bigint | undefined;
242
- appId: bigint;
243
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
244
235
  args?: Uint8Array[] | undefined;
236
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
245
237
  accountReferences?: ReadableAddress[] | undefined;
246
238
  appReferences?: bigint[] | undefined;
247
239
  assetReferences?: bigint[] | undefined;
248
240
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
249
241
  accessReferences?: ResourceReference[] | undefined;
250
242
  rejectVersion?: number | undefined;
243
+ appId?: 0 | undefined;
251
244
  approvalProgram: string | Uint8Array;
252
245
  clearStateProgram: string | Uint8Array;
253
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
246
+ schema?: {
247
+ globalInts: number;
248
+ globalByteSlices: number;
249
+ localInts: number;
250
+ localByteSlices: number;
251
+ } | undefined;
252
+ extraProgramPages?: number | undefined;
253
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
254
254
  onComplete: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication;
255
255
  }>; /** Return params for a deployment update ABI call */
256
256
  deployUpdate: (params: AppClientMethodCallParams) => {
@@ -278,9 +278,9 @@ declare class AppFactory {
278
278
  sender: Address;
279
279
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
280
280
  method: ABIMethod;
281
- args: (Transaction | TransactionWithSigner | ABIValue | AppMethodCall<{
282
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
281
+ args: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<{
283
282
  sender: SendingAddress;
283
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
284
284
  rekeyTo?: ReadableAddress | undefined;
285
285
  note?: (Uint8Array | string) | undefined;
286
286
  lease?: (Uint8Array | string) | undefined;
@@ -290,7 +290,8 @@ declare class AppFactory {
290
290
  validityWindow?: number | bigint | undefined;
291
291
  firstValidRound?: bigint | undefined;
292
292
  lastValidRound?: bigint | undefined;
293
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
293
+ appId: bigint;
294
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
294
295
  args?: Uint8Array[] | undefined;
295
296
  accountReferences?: ReadableAddress[] | undefined;
296
297
  appReferences?: bigint[] | undefined;
@@ -298,17 +299,9 @@ declare class AppFactory {
298
299
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
299
300
  accessReferences?: ResourceReference[] | undefined;
300
301
  rejectVersion?: number | undefined;
301
- appId?: 0 | undefined;
302
302
  approvalProgram: string | Uint8Array;
303
303
  clearStateProgram: string | Uint8Array;
304
- schema?: {
305
- globalInts: number;
306
- globalByteSlices: number;
307
- localInts: number;
308
- localByteSlices: number;
309
- } | undefined;
310
- extraProgramPages?: number | undefined;
311
- }> | AppMethodCall<{
304
+ }> | Promise<Transaction> | AppMethodCall<{
312
305
  sender: SendingAddress;
313
306
  signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
314
307
  rekeyTo?: ReadableAddress | undefined;
@@ -320,18 +313,25 @@ declare class AppFactory {
320
313
  validityWindow?: number | bigint | undefined;
321
314
  firstValidRound?: bigint | undefined;
322
315
  lastValidRound?: bigint | undefined;
323
- appId: bigint;
324
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
325
316
  args?: Uint8Array[] | undefined;
317
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
326
318
  accountReferences?: ReadableAddress[] | undefined;
327
319
  appReferences?: bigint[] | undefined;
328
320
  assetReferences?: bigint[] | undefined;
329
321
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
330
322
  accessReferences?: ResourceReference[] | undefined;
331
323
  rejectVersion?: number | undefined;
324
+ appId?: 0 | undefined;
332
325
  approvalProgram: string | Uint8Array;
333
326
  clearStateProgram: string | Uint8Array;
334
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
327
+ schema?: {
328
+ globalInts: number;
329
+ globalByteSlices: number;
330
+ localInts: number;
331
+ localByteSlices: number;
332
+ } | undefined;
333
+ extraProgramPages?: number | undefined;
334
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
335
335
  onComplete: OnApplicationComplete.UpdateApplication;
336
336
  }; /** Return params for a deployment delete ABI call */
337
337
  deployDelete: (params: AppClientMethodCallParams) => {
@@ -359,9 +359,9 @@ declare class AppFactory {
359
359
  sender: Address;
360
360
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
361
361
  method: ABIMethod;
362
- args: (Transaction | TransactionWithSigner | ABIValue | AppMethodCall<{
363
- signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
362
+ args: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<{
364
363
  sender: SendingAddress;
364
+ signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
365
365
  rekeyTo?: ReadableAddress | undefined;
366
366
  note?: (Uint8Array | string) | undefined;
367
367
  lease?: (Uint8Array | string) | undefined;
@@ -371,7 +371,8 @@ declare class AppFactory {
371
371
  validityWindow?: number | bigint | undefined;
372
372
  firstValidRound?: bigint | undefined;
373
373
  lastValidRound?: bigint | undefined;
374
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
374
+ appId: bigint;
375
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
375
376
  args?: Uint8Array[] | undefined;
376
377
  accountReferences?: ReadableAddress[] | undefined;
377
378
  appReferences?: bigint[] | undefined;
@@ -379,17 +380,9 @@ declare class AppFactory {
379
380
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
380
381
  accessReferences?: ResourceReference[] | undefined;
381
382
  rejectVersion?: number | undefined;
382
- appId?: 0 | undefined;
383
383
  approvalProgram: string | Uint8Array;
384
384
  clearStateProgram: string | Uint8Array;
385
- schema?: {
386
- globalInts: number;
387
- globalByteSlices: number;
388
- localInts: number;
389
- localByteSlices: number;
390
- } | undefined;
391
- extraProgramPages?: number | undefined;
392
- }> | AppMethodCall<{
385
+ }> | Promise<Transaction> | AppMethodCall<{
393
386
  sender: SendingAddress;
394
387
  signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
395
388
  rekeyTo?: ReadableAddress | undefined;
@@ -401,18 +394,25 @@ declare class AppFactory {
401
394
  validityWindow?: number | bigint | undefined;
402
395
  firstValidRound?: bigint | undefined;
403
396
  lastValidRound?: bigint | undefined;
404
- appId: bigint;
405
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
406
397
  args?: Uint8Array[] | undefined;
398
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
407
399
  accountReferences?: ReadableAddress[] | undefined;
408
400
  appReferences?: bigint[] | undefined;
409
401
  assetReferences?: bigint[] | undefined;
410
402
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
411
403
  accessReferences?: ResourceReference[] | undefined;
412
404
  rejectVersion?: number | undefined;
405
+ appId?: 0 | undefined;
413
406
  approvalProgram: string | Uint8Array;
414
407
  clearStateProgram: string | Uint8Array;
415
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
408
+ schema?: {
409
+ globalInts: number;
410
+ globalByteSlices: number;
411
+ localInts: number;
412
+ localByteSlices: number;
413
+ } | undefined;
414
+ extraProgramPages?: number | undefined;
415
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
416
416
  onComplete: OnApplicationComplete.DeleteApplication;
417
417
  };
418
418
  bare: {
@@ -628,7 +628,6 @@ declare class AppFactory {
628
628
  compiledApproval?: CompiledTeal | undefined;
629
629
  compiledClear?: CompiledTeal | undefined;
630
630
  operationPerformed: "create";
631
- version: string;
632
631
  updatable?: boolean | undefined;
633
632
  deletable?: boolean | undefined;
634
633
  createdRound: bigint;
@@ -636,6 +635,7 @@ declare class AppFactory {
636
635
  createdMetadata: AppDeployMetadata;
637
636
  deleted: boolean;
638
637
  name: string;
638
+ version: string;
639
639
  groupId: string | undefined;
640
640
  txIds: string[];
641
641
  returns?: ABIReturn[] | undefined;
@@ -674,7 +674,6 @@ declare class AppFactory {
674
674
  compiledApproval?: CompiledTeal | undefined;
675
675
  compiledClear?: CompiledTeal | undefined;
676
676
  operationPerformed: "replace";
677
- version: string;
678
677
  updatable?: boolean | undefined;
679
678
  deletable?: boolean | undefined;
680
679
  createdRound: bigint;
@@ -682,6 +681,7 @@ declare class AppFactory {
682
681
  createdMetadata: AppDeployMetadata;
683
682
  deleted: boolean;
684
683
  name: string;
684
+ version: string;
685
685
  groupId: string | undefined;
686
686
  txIds: string[];
687
687
  returns?: ABIReturn[] | undefined;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "**"
7
7
  ],
8
8
  "name": "@algorandfoundation/algokit-utils",
9
- "version": "10.0.0-alpha.46",
9
+ "version": "10.0.0-alpha.47",
10
10
  "private": false,
11
11
  "description": "A set of core Algorand utilities written in TypeScript and released via npm that make it easier to build solutions on Algorand.",
12
12
  "author": "Algorand Foundation",
@@ -16,7 +16,7 @@
16
16
  "url": "https://github.com/algorandfoundation/algokit-utils-ts.git"
17
17
  },
18
18
  "engines": {
19
- "node": ">=20.0"
19
+ "node": ">=24.0"
20
20
  },
21
21
  "type": "commonjs",
22
22
  "module": "index.mjs",