@algorandfoundation/algokit-utils 10.0.0-alpha.14 → 10.0.0-alpha.15
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/algod_client/src/models/block.d.ts +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +77 -77
- package/types/algorand-client-transaction-sender.d.ts +77 -77
- package/types/app-client.d.ts +91 -91
- package/types/app-factory.d.ts +50 -50
package/types/app-factory.d.ts
CHANGED
|
@@ -246,7 +246,8 @@ declare class AppFactory {
|
|
|
246
246
|
sender: Address;
|
|
247
247
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
248
248
|
method: ABIMethod;
|
|
249
|
-
args: (
|
|
249
|
+
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
250
|
+
args?: Uint8Array[] | undefined;
|
|
250
251
|
sender: SendingAddress;
|
|
251
252
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
252
253
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -258,21 +259,26 @@ declare class AppFactory {
|
|
|
258
259
|
validityWindow?: number | bigint | undefined;
|
|
259
260
|
firstValidRound?: bigint | undefined;
|
|
260
261
|
lastValidRound?: bigint | undefined;
|
|
261
|
-
|
|
262
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
263
|
-
args?: Uint8Array[] | undefined;
|
|
262
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
264
263
|
accountReferences?: ReadableAddress[] | undefined;
|
|
265
264
|
appReferences?: bigint[] | undefined;
|
|
266
265
|
assetReferences?: bigint[] | undefined;
|
|
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
|
-
args?: Uint8Array[] | undefined;
|
|
274
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
275
280
|
sender: SendingAddress;
|
|
281
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
276
282
|
rekeyTo?: ReadableAddress | undefined;
|
|
277
283
|
note?: string | Uint8Array | undefined;
|
|
278
284
|
lease?: string | Uint8Array | undefined;
|
|
@@ -282,24 +288,18 @@ declare class AppFactory {
|
|
|
282
288
|
validityWindow?: number | bigint | undefined;
|
|
283
289
|
firstValidRound?: bigint | undefined;
|
|
284
290
|
lastValidRound?: bigint | undefined;
|
|
285
|
-
|
|
291
|
+
appId: bigint;
|
|
292
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
293
|
+
args?: Uint8Array[] | 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
|
-
|
|
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
|
+
}> | AppMethodCall<AppMethodCallParams> | 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 */
|
|
@@ -349,7 +349,8 @@ declare class AppFactory {
|
|
|
349
349
|
sender: Address;
|
|
350
350
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
351
351
|
method: ABIMethod;
|
|
352
|
-
args: (
|
|
352
|
+
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
353
|
+
args?: Uint8Array[] | undefined;
|
|
353
354
|
sender: SendingAddress;
|
|
354
355
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
355
356
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -361,21 +362,26 @@ declare class AppFactory {
|
|
|
361
362
|
validityWindow?: number | bigint | undefined;
|
|
362
363
|
firstValidRound?: bigint | undefined;
|
|
363
364
|
lastValidRound?: bigint | undefined;
|
|
364
|
-
|
|
365
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
366
|
-
args?: Uint8Array[] | undefined;
|
|
365
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
367
366
|
accountReferences?: ReadableAddress[] | undefined;
|
|
368
367
|
appReferences?: bigint[] | undefined;
|
|
369
368
|
assetReferences?: bigint[] | undefined;
|
|
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
|
-
args?: Uint8Array[] | undefined;
|
|
377
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
378
383
|
sender: SendingAddress;
|
|
384
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
379
385
|
rekeyTo?: ReadableAddress | undefined;
|
|
380
386
|
note?: string | Uint8Array | undefined;
|
|
381
387
|
lease?: string | Uint8Array | undefined;
|
|
@@ -385,24 +391,18 @@ declare class AppFactory {
|
|
|
385
391
|
validityWindow?: number | bigint | undefined;
|
|
386
392
|
firstValidRound?: bigint | undefined;
|
|
387
393
|
lastValidRound?: bigint | undefined;
|
|
388
|
-
|
|
394
|
+
appId: bigint;
|
|
395
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
396
|
+
args?: Uint8Array[] | 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
|
-
|
|
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
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
406
406
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
407
407
|
};
|
|
408
408
|
/** Return params for a deployment delete ABI call */
|
|
@@ -452,7 +452,8 @@ declare class AppFactory {
|
|
|
452
452
|
sender: Address;
|
|
453
453
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
454
454
|
method: ABIMethod;
|
|
455
|
-
args: (
|
|
455
|
+
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
456
|
+
args?: Uint8Array[] | undefined;
|
|
456
457
|
sender: SendingAddress;
|
|
457
458
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
458
459
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -464,21 +465,26 @@ declare class AppFactory {
|
|
|
464
465
|
validityWindow?: number | bigint | undefined;
|
|
465
466
|
firstValidRound?: bigint | undefined;
|
|
466
467
|
lastValidRound?: bigint | undefined;
|
|
467
|
-
|
|
468
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
469
|
-
args?: Uint8Array[] | undefined;
|
|
468
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
470
469
|
accountReferences?: ReadableAddress[] | undefined;
|
|
471
470
|
appReferences?: bigint[] | undefined;
|
|
472
471
|
assetReferences?: bigint[] | undefined;
|
|
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
|
-
args?: Uint8Array[] | undefined;
|
|
480
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
481
486
|
sender: SendingAddress;
|
|
487
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
482
488
|
rekeyTo?: ReadableAddress | undefined;
|
|
483
489
|
note?: string | Uint8Array | undefined;
|
|
484
490
|
lease?: string | Uint8Array | undefined;
|
|
@@ -488,24 +494,18 @@ declare class AppFactory {
|
|
|
488
494
|
validityWindow?: number | bigint | undefined;
|
|
489
495
|
firstValidRound?: bigint | undefined;
|
|
490
496
|
lastValidRound?: bigint | undefined;
|
|
491
|
-
|
|
497
|
+
appId: bigint;
|
|
498
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
499
|
+
args?: Uint8Array[] | 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
|
-
|
|
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
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
509
509
|
onComplete: OnApplicationComplete.DeleteApplication;
|
|
510
510
|
};
|
|
511
511
|
bare: {
|
|
@@ -802,12 +802,12 @@ declare class AppFactory {
|
|
|
802
802
|
compiledApproval?: CompiledTeal | undefined;
|
|
803
803
|
compiledClear?: CompiledTeal | undefined;
|
|
804
804
|
operationPerformed: "create";
|
|
805
|
+
version: string;
|
|
805
806
|
createdRound: bigint;
|
|
806
807
|
updatedRound: bigint;
|
|
807
808
|
createdMetadata: AppDeployMetadata;
|
|
808
809
|
deleted: boolean;
|
|
809
810
|
name: string;
|
|
810
|
-
version: string;
|
|
811
811
|
deletable?: boolean | undefined;
|
|
812
812
|
updatable?: boolean | undefined;
|
|
813
813
|
groupId: string | undefined;
|
|
@@ -848,12 +848,12 @@ declare class AppFactory {
|
|
|
848
848
|
compiledApproval?: CompiledTeal | undefined;
|
|
849
849
|
compiledClear?: CompiledTeal | undefined;
|
|
850
850
|
operationPerformed: "replace";
|
|
851
|
+
version: string;
|
|
851
852
|
createdRound: bigint;
|
|
852
853
|
updatedRound: bigint;
|
|
853
854
|
createdMetadata: AppDeployMetadata;
|
|
854
855
|
deleted: boolean;
|
|
855
856
|
name: string;
|
|
856
|
-
version: string;
|
|
857
857
|
deletable?: boolean | undefined;
|
|
858
858
|
updatable?: boolean | undefined;
|
|
859
859
|
groupId: string | undefined;
|