@algorandfoundation/algokit-utils 10.0.0-alpha.27 → 10.0.0-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/common/src/address.d.ts +0 -1
- package/packages/common/src/address.js +4 -3
- package/packages/common/src/address.js.map +1 -1
- package/packages/common/src/address.mjs +4 -3
- package/packages/common/src/address.mjs.map +1 -1
- package/packages/indexer_client/src/models/transaction-state-proof.d.ts +1 -1
- package/packages/indexer_client/src/models/transaction-state-proof.js +2 -2
- package/packages/indexer_client/src/models/transaction-state-proof.js.map +1 -1
- package/packages/indexer_client/src/models/transaction-state-proof.mjs +2 -2
- package/packages/indexer_client/src/models/transaction-state-proof.mjs.map +1 -1
- package/packages/transact/src/transactions/state-proof.d.ts +1 -1
- package/packages/transact/src/transactions/transaction.d.ts +0 -1
- package/packages/transact/src/transactions/transaction.js +4 -3
- package/packages/transact/src/transactions/transaction.js.map +1 -1
- package/packages/transact/src/transactions/transaction.mjs +4 -3
- package/packages/transact/src/transactions/transaction.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +28 -28
- package/types/algorand-client-transaction-sender.d.ts +28 -28
- package/types/app-client.d.ts +50 -50
- package/types/app-factory.d.ts +18 -18
package/types/app-factory.d.ts
CHANGED
|
@@ -247,9 +247,8 @@ declare class AppFactory {
|
|
|
247
247
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
248
248
|
method: ABIMethod;
|
|
249
249
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
250
|
-
args?: Uint8Array[] | undefined;
|
|
251
|
-
sender: SendingAddress;
|
|
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,6 +259,7 @@ 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;
|
|
@@ -276,7 +276,7 @@ declare class AppFactory {
|
|
|
276
276
|
localByteSlices: number;
|
|
277
277
|
} | undefined;
|
|
278
278
|
extraProgramPages?: number | undefined;
|
|
279
|
-
}> | AppMethodCall<{
|
|
279
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
280
280
|
sender: SendingAddress;
|
|
281
281
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
282
282
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -299,7 +299,7 @@ declare class AppFactory {
|
|
|
299
299
|
rejectVersion?: number | undefined;
|
|
300
300
|
approvalProgram: string | Uint8Array;
|
|
301
301
|
clearStateProgram: string | Uint8Array;
|
|
302
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
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 */
|
|
@@ -350,9 +350,8 @@ declare class AppFactory {
|
|
|
350
350
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
351
351
|
method: ABIMethod;
|
|
352
352
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
353
|
-
args?: Uint8Array[] | undefined;
|
|
354
|
-
sender: SendingAddress;
|
|
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,6 +362,7 @@ 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;
|
|
@@ -379,7 +379,7 @@ declare class AppFactory {
|
|
|
379
379
|
localByteSlices: number;
|
|
380
380
|
} | undefined;
|
|
381
381
|
extraProgramPages?: number | undefined;
|
|
382
|
-
}> | AppMethodCall<{
|
|
382
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
383
383
|
sender: SendingAddress;
|
|
384
384
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
385
385
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -402,7 +402,7 @@ declare class AppFactory {
|
|
|
402
402
|
rejectVersion?: number | undefined;
|
|
403
403
|
approvalProgram: string | Uint8Array;
|
|
404
404
|
clearStateProgram: string | Uint8Array;
|
|
405
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
405
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
406
406
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
407
407
|
};
|
|
408
408
|
/** Return params for a deployment delete ABI call */
|
|
@@ -453,9 +453,8 @@ declare class AppFactory {
|
|
|
453
453
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
454
454
|
method: ABIMethod;
|
|
455
455
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
456
|
-
args?: Uint8Array[] | undefined;
|
|
457
|
-
sender: SendingAddress;
|
|
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,6 +465,7 @@ 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;
|
|
@@ -482,7 +482,7 @@ declare class AppFactory {
|
|
|
482
482
|
localByteSlices: number;
|
|
483
483
|
} | undefined;
|
|
484
484
|
extraProgramPages?: number | undefined;
|
|
485
|
-
}> | AppMethodCall<{
|
|
485
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
486
486
|
sender: SendingAddress;
|
|
487
487
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
488
488
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -505,13 +505,12 @@ declare class AppFactory {
|
|
|
505
505
|
rejectVersion?: number | undefined;
|
|
506
506
|
approvalProgram: string | Uint8Array;
|
|
507
507
|
clearStateProgram: string | Uint8Array;
|
|
508
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
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,6 +521,7 @@ 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;
|
|
@@ -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,6 +570,7 @@ 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;
|
|
@@ -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,6 +599,7 @@ 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;
|
|
@@ -608,7 +608,6 @@ declare class AppFactory {
|
|
|
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,6 +618,7 @@ 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;
|
|
@@ -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,6 +643,7 @@ 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;
|
|
@@ -652,7 +652,6 @@ declare class AppFactory {
|
|
|
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,6 +662,7 @@ 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;
|