@algorandfoundation/algokit-utils 10.0.0-alpha.38 → 10.0.0-alpha.39
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;
|
|
@@ -569,8 +569,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
569
569
|
*/
|
|
570
570
|
appCreateMethodCall: (params: {
|
|
571
571
|
appId?: 0 | undefined;
|
|
572
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | 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;
|
|
@@ -650,8 +650,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
650
650
|
*/
|
|
651
651
|
appUpdateMethodCall: (params: {
|
|
652
652
|
appId: bigint;
|
|
653
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
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;
|
|
@@ -722,8 +722,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
722
722
|
*/
|
|
723
723
|
appDeleteMethodCall: (params: {
|
|
724
724
|
appId: bigint;
|
|
725
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
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;
|
|
@@ -792,8 +792,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
792
792
|
*/
|
|
793
793
|
appCallMethodCall: (params: {
|
|
794
794
|
appId: bigint;
|
|
795
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
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;
|
|
@@ -473,8 +473,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
473
473
|
* @returns The result of the app create transaction and the transaction that was sent
|
|
474
474
|
*/
|
|
475
475
|
appCreate: (params: {
|
|
476
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
477
476
|
sender: SendingAddress;
|
|
477
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
478
478
|
rekeyTo?: ReadableAddress | undefined;
|
|
479
479
|
note?: (Uint8Array | string) | undefined;
|
|
480
480
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -747,8 +747,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
747
747
|
*/
|
|
748
748
|
appCreateMethodCall: (params: {
|
|
749
749
|
appId?: 0 | undefined;
|
|
750
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
751
750
|
sender: SendingAddress;
|
|
751
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
752
752
|
rekeyTo?: ReadableAddress | undefined;
|
|
753
753
|
note?: (Uint8Array | string) | undefined;
|
|
754
754
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -835,8 +835,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
835
835
|
*/
|
|
836
836
|
appUpdateMethodCall: (params: {
|
|
837
837
|
appId: bigint;
|
|
838
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
839
838
|
sender: SendingAddress;
|
|
839
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
840
840
|
rekeyTo?: ReadableAddress | undefined;
|
|
841
841
|
note?: (Uint8Array | string) | undefined;
|
|
842
842
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -914,8 +914,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
914
914
|
*/
|
|
915
915
|
appDeleteMethodCall: (params: {
|
|
916
916
|
appId: bigint;
|
|
917
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
918
917
|
sender: SendingAddress;
|
|
918
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
919
919
|
rekeyTo?: ReadableAddress | undefined;
|
|
920
920
|
note?: (Uint8Array | string) | undefined;
|
|
921
921
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -991,8 +991,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
991
991
|
*/
|
|
992
992
|
appCallMethodCall: (params: {
|
|
993
993
|
appId: bigint;
|
|
994
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
995
994
|
sender: SendingAddress;
|
|
995
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
996
996
|
rekeyTo?: ReadableAddress | undefined;
|
|
997
997
|
note?: (Uint8Array | string) | undefined;
|
|
998
998
|
lease?: (Uint8Array | string) | undefined;
|
package/app-client.d.ts
CHANGED
|
@@ -458,9 +458,9 @@ declare class AppClient {
|
|
|
458
458
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
459
459
|
method: ABIMethod;
|
|
460
460
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
461
|
-
args: (Transaction | TransactionWithSigner | ABIValue | AppMethodCall<{
|
|
462
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
461
|
+
args: (Transaction | TransactionWithSigner | Promise<Transaction> | ABIValue | AppMethodCall<{
|
|
463
462
|
sender: SendingAddress;
|
|
463
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
464
464
|
rekeyTo?: ReadableAddress | undefined;
|
|
465
465
|
note?: (Uint8Array | string) | undefined;
|
|
466
466
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -511,7 +511,7 @@ declare class AppClient {
|
|
|
511
511
|
rejectVersion?: number | undefined;
|
|
512
512
|
approvalProgram: string | Uint8Array;
|
|
513
513
|
clearStateProgram: string | Uint8Array;
|
|
514
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
514
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
515
515
|
}>;
|
|
516
516
|
/**
|
|
517
517
|
* Return params for an opt-in ABI call
|
|
@@ -520,8 +520,8 @@ declare class AppClient {
|
|
|
520
520
|
*/
|
|
521
521
|
optIn: (params: AppClientMethodCallParams) => Promise<{
|
|
522
522
|
appId: bigint;
|
|
523
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
524
523
|
sender: SendingAddress;
|
|
524
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
525
525
|
rekeyTo?: ReadableAddress | undefined;
|
|
526
526
|
note?: (Uint8Array | string) | undefined;
|
|
527
527
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -548,8 +548,8 @@ declare class AppClient {
|
|
|
548
548
|
*/
|
|
549
549
|
delete: (params: AppClientMethodCallParams) => Promise<{
|
|
550
550
|
appId: bigint;
|
|
551
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
552
551
|
sender: SendingAddress;
|
|
552
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
553
553
|
rekeyTo?: ReadableAddress | undefined;
|
|
554
554
|
note?: (Uint8Array | string) | undefined;
|
|
555
555
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -575,8 +575,8 @@ declare class AppClient {
|
|
|
575
575
|
*/
|
|
576
576
|
closeOut: (params: AppClientMethodCallParams) => Promise<{
|
|
577
577
|
appId: bigint;
|
|
578
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
579
578
|
sender: SendingAddress;
|
|
579
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
580
580
|
rekeyTo?: ReadableAddress | undefined;
|
|
581
581
|
note?: (Uint8Array | string) | undefined;
|
|
582
582
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -602,8 +602,8 @@ declare class AppClient {
|
|
|
602
602
|
*/
|
|
603
603
|
call: (params: AppClientMethodCallParams & CallOnComplete) => Promise<{
|
|
604
604
|
appId: bigint;
|
|
605
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
606
605
|
sender: SendingAddress;
|
|
606
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
607
607
|
rekeyTo?: ReadableAddress | undefined;
|
|
608
608
|
note?: (Uint8Array | string) | undefined;
|
|
609
609
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -709,8 +709,8 @@ declare class AppClient {
|
|
|
709
709
|
update: (params: AppClientMethodCallParams & AppClientCompilationParams & SendParams) => Promise<{
|
|
710
710
|
compiledApproval?: CompiledTeal | undefined;
|
|
711
711
|
compiledClear?: CompiledTeal | undefined;
|
|
712
|
-
confirmations: PendingTransactionResponse[];
|
|
713
712
|
transactions: Transaction[];
|
|
713
|
+
confirmations: PendingTransactionResponse[];
|
|
714
714
|
groupId: string | undefined;
|
|
715
715
|
txIds: string[];
|
|
716
716
|
returns?: ABIReturn[] | undefined;
|
package/app-factory.d.ts
CHANGED
|
@@ -211,9 +211,9 @@ declare class AppFactory {
|
|
|
211
211
|
sender: Address;
|
|
212
212
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
213
213
|
method: ABIMethod;
|
|
214
|
-
args: (Transaction | TransactionWithSigner | ABIValue | AppMethodCall<{
|
|
215
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
214
|
+
args: (Transaction | TransactionWithSigner | Promise<Transaction> | ABIValue | AppMethodCall<{
|
|
216
215
|
sender: SendingAddress;
|
|
216
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
217
217
|
rekeyTo?: ReadableAddress | undefined;
|
|
218
218
|
note?: (Uint8Array | string) | undefined;
|
|
219
219
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -264,7 +264,7 @@ declare class AppFactory {
|
|
|
264
264
|
rejectVersion?: number | undefined;
|
|
265
265
|
approvalProgram: string | Uint8Array;
|
|
266
266
|
clearStateProgram: string | Uint8Array;
|
|
267
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
267
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
268
268
|
onComplete: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication;
|
|
269
269
|
}>;
|
|
270
270
|
/** Return params for a deployment update ABI call */
|
|
@@ -293,9 +293,9 @@ declare class AppFactory {
|
|
|
293
293
|
sender: Address;
|
|
294
294
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
295
295
|
method: ABIMethod;
|
|
296
|
-
args: (Transaction | TransactionWithSigner | ABIValue | AppMethodCall<{
|
|
297
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
296
|
+
args: (Transaction | TransactionWithSigner | Promise<Transaction> | ABIValue | AppMethodCall<{
|
|
298
297
|
sender: SendingAddress;
|
|
298
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
299
299
|
rekeyTo?: ReadableAddress | undefined;
|
|
300
300
|
note?: (Uint8Array | string) | undefined;
|
|
301
301
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -346,7 +346,7 @@ declare class AppFactory {
|
|
|
346
346
|
rejectVersion?: number | undefined;
|
|
347
347
|
approvalProgram: string | Uint8Array;
|
|
348
348
|
clearStateProgram: string | Uint8Array;
|
|
349
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
349
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
350
350
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
351
351
|
};
|
|
352
352
|
/** Return params for a deployment delete ABI call */
|
|
@@ -375,9 +375,9 @@ declare class AppFactory {
|
|
|
375
375
|
sender: Address;
|
|
376
376
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
377
377
|
method: ABIMethod;
|
|
378
|
-
args: (Transaction | TransactionWithSigner | ABIValue | AppMethodCall<{
|
|
379
|
-
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
378
|
+
args: (Transaction | TransactionWithSigner | Promise<Transaction> | ABIValue | AppMethodCall<{
|
|
380
379
|
sender: SendingAddress;
|
|
380
|
+
signer?: (TransactionSigner | AddressWithTransactionSigner) | undefined;
|
|
381
381
|
rekeyTo?: ReadableAddress | undefined;
|
|
382
382
|
note?: (Uint8Array | string) | undefined;
|
|
383
383
|
lease?: (Uint8Array | string) | undefined;
|
|
@@ -428,7 +428,7 @@ declare class AppFactory {
|
|
|
428
428
|
rejectVersion?: number | undefined;
|
|
429
429
|
approvalProgram: string | Uint8Array;
|
|
430
430
|
clearStateProgram: string | Uint8Array;
|
|
431
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
431
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
432
432
|
onComplete: OnApplicationComplete.DeleteApplication;
|
|
433
433
|
};
|
|
434
434
|
bare: {
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"**"
|
|
7
7
|
],
|
|
8
8
|
"name": "@algorandfoundation/algokit-utils",
|
|
9
|
-
"version": "10.0.0-alpha.
|
|
9
|
+
"version": "10.0.0-alpha.39",
|
|
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",
|