@algorandfoundation/algokit-utils 10.0.0-alpha.12 → 10.0.0-alpha.14

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.
Files changed (103) hide show
  1. package/algod-client/index.d.ts +2 -3
  2. package/algod-client/index.js +2 -5
  3. package/algod-client/index.mjs +2 -2
  4. package/indexer-client/index.d.ts +1 -2
  5. package/indexer-client/index.js +0 -5
  6. package/indexer-client/index.mjs +1 -2
  7. package/kmd-client/index.d.ts +1 -2
  8. package/kmd-client/index.js +0 -5
  9. package/kmd-client/index.mjs +1 -2
  10. package/package.json +1 -1
  11. package/packages/algod_client/src/apis/api-service.js +2 -2
  12. package/packages/algod_client/src/apis/api-service.mjs +2 -2
  13. package/packages/algod_client/src/core/model-runtime.js +2 -2
  14. package/packages/algod_client/src/core/model-runtime.js.map +1 -1
  15. package/packages/algod_client/src/core/model-runtime.mjs +2 -2
  16. package/packages/algod_client/src/core/model-runtime.mjs.map +1 -1
  17. package/packages/algod_client/src/models/simulate-request.js +1 -1
  18. package/packages/algod_client/src/models/simulate-request.mjs +1 -1
  19. package/packages/algod_client/src/models/simulate-response.d.ts +2 -1
  20. package/packages/algod_client/src/models/simulate-response.js +6 -1
  21. package/packages/algod_client/src/models/simulate-response.js.map +1 -1
  22. package/packages/algod_client/src/models/simulate-response.mjs +6 -2
  23. package/packages/algod_client/src/models/simulate-response.mjs.map +1 -1
  24. package/packages/indexer_client/src/core/model-runtime.js +0 -15
  25. package/packages/indexer_client/src/core/model-runtime.js.map +1 -1
  26. package/packages/indexer_client/src/core/model-runtime.mjs +1 -13
  27. package/packages/indexer_client/src/core/model-runtime.mjs.map +1 -1
  28. package/packages/kmd_client/src/core/model-runtime.js +2 -12
  29. package/packages/kmd_client/src/core/model-runtime.js.map +1 -1
  30. package/packages/kmd_client/src/core/model-runtime.mjs +3 -11
  31. package/packages/kmd_client/src/core/model-runtime.mjs.map +1 -1
  32. package/packages/transact/src/transactions/app-call.d.ts +1 -6
  33. package/packages/transact/src/transactions/asset-config.d.ts +1 -6
  34. package/packages/transact/src/transactions/asset-config.js.map +1 -1
  35. package/packages/transact/src/transactions/asset-config.mjs.map +1 -1
  36. package/packages/transact/src/transactions/asset-freeze.d.ts +1 -6
  37. package/packages/transact/src/transactions/asset-transfer.d.ts +1 -6
  38. package/packages/transact/src/transactions/key-registration.d.ts +1 -8
  39. package/packages/transact/src/transactions/signed-transaction.d.ts +5 -1
  40. package/packages/transact/src/transactions/signed-transaction.js +1 -1
  41. package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
  42. package/packages/transact/src/transactions/signed-transaction.mjs +1 -2
  43. package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
  44. package/packages/transact/src/transactions/transaction.d.ts +5 -1
  45. package/packages/transact/src/transactions/transaction.js +0 -1
  46. package/packages/transact/src/transactions/transaction.js.map +1 -1
  47. package/packages/transact/src/transactions/transaction.mjs +0 -1
  48. package/packages/transact/src/transactions/transaction.mjs.map +1 -1
  49. package/transact/index.d.ts +9 -9
  50. package/transact/index.js +3 -10
  51. package/transact/index.mjs +5 -9
  52. package/transactions/app-call.d.ts +1 -1
  53. package/transactions/app-call.js.map +1 -1
  54. package/transactions/app-call.mjs.map +1 -1
  55. package/transactions/key-registration.d.ts +1 -1
  56. package/transactions/key-registration.js.map +1 -1
  57. package/transactions/key-registration.mjs.map +1 -1
  58. package/transactions/method-call.d.ts +1 -1
  59. package/transactions/method-call.js.map +1 -1
  60. package/transactions/method-call.mjs.map +1 -1
  61. package/types/account-manager.js +1 -1
  62. package/types/account-manager.mjs +1 -1
  63. package/types/algorand-client-transaction-creator.d.ts +94 -94
  64. package/types/algorand-client-transaction-creator.js.map +1 -1
  65. package/types/algorand-client-transaction-creator.mjs.map +1 -1
  66. package/types/algorand-client-transaction-sender.d.ts +96 -96
  67. package/types/app-client.d.ts +192 -192
  68. package/types/app-client.js.map +1 -1
  69. package/types/app-client.mjs.map +1 -1
  70. package/types/app-deployer.d.ts +1 -1
  71. package/types/app-deployer.js.map +1 -1
  72. package/types/app-deployer.mjs.map +1 -1
  73. package/types/app-factory.d.ts +97 -97
  74. package/types/app-factory.js.map +1 -1
  75. package/types/app-factory.mjs.map +1 -1
  76. package/types/app.d.ts +1 -1
  77. package/types/app.js.map +1 -1
  78. package/types/app.mjs.map +1 -1
  79. package/types/async-event-emitter.d.ts +3 -6
  80. package/types/async-event-emitter.js.map +1 -1
  81. package/types/async-event-emitter.mjs.map +1 -1
  82. package/types/client-manager.d.ts +1 -1
  83. package/types/client-manager.js.map +1 -1
  84. package/types/client-manager.mjs.map +1 -1
  85. package/types/composer.d.ts +1 -1
  86. package/types/composer.js +12 -5
  87. package/types/composer.js.map +1 -1
  88. package/types/composer.mjs +14 -7
  89. package/types/composer.mjs.map +1 -1
  90. package/types/debugging.d.ts +13 -9
  91. package/types/debugging.js.map +1 -1
  92. package/types/debugging.mjs.map +1 -1
  93. package/types/lifecycle-events.d.ts +0 -1
  94. package/types/lifecycle-events.js.map +1 -1
  95. package/types/lifecycle-events.mjs.map +1 -1
  96. package/types/transaction.d.ts +1 -1
  97. package/packages/algod_client/src/core/model-runtime.d.ts +0 -10
  98. package/packages/indexer_client/src/core/model-runtime.d.ts +0 -10
  99. package/packages/kmd_client/src/core/model-runtime.d.ts +0 -10
  100. package/packages/transact/src/transactions/common.d.ts +0 -37
  101. package/types/expand.d.ts +0 -9
  102. package/types/expand.js +0 -0
  103. package/types/expand.mjs +0 -0
@@ -1,4 +1,5 @@
1
1
  import { Address, ReadableAddress } from "../packages/common/src/address.js";
2
+ import { Expand } from "../packages/common/src/expand.js";
2
3
  import { ABIValue } from "../packages/abi/src/abi-value.js";
3
4
  import { Arc56Contract } from "../packages/abi/src/arc56-contract.js";
4
5
  import { ABIMethod, ABIReturn } from "../packages/abi/src/abi-method.js";
@@ -8,7 +9,6 @@ import { AddressWithTransactionSigner, SendingAddress, TransactionSigner } from
8
9
  import { PendingTransactionResponse } from "../packages/algod_client/src/models/pending-transaction-response.js";
9
10
  import { AlgoAmount } from "./amount.js";
10
11
  import { BoxIdentifier, BoxReference } from "./app-manager.js";
11
- import { Expand } from "./expand.js";
12
12
  import { AppMethodCallParams } from "../transactions/app-call.js";
13
13
  import { AppMethodCall, AppMethodCallTransactionArgument } from "../transactions/method-call.js";
14
14
  import { ConfirmedTransactionResult, SendParams } from "./transaction.js";
@@ -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?: TransactionSigner | AddressWithTransactionSigner | undefined;
174
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
175
175
  rekeyTo?: ReadableAddress | undefined;
176
176
  note?: string | Uint8Array | undefined;
177
177
  lease?: string | Uint8Array | undefined;
@@ -185,7 +185,7 @@ declare class AppFactory {
185
185
  accountReferences?: ReadableAddress[] | undefined;
186
186
  appReferences?: bigint[] | undefined;
187
187
  assetReferences?: bigint[] | undefined;
188
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
188
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
189
189
  accessReferences?: ResourceReference[] | undefined;
190
190
  rejectVersion?: number | undefined;
191
191
  sender?: ReadableAddress | undefined;
@@ -219,7 +219,7 @@ declare class AppFactory {
219
219
  };
220
220
  approvalProgram: Uint8Array;
221
221
  clearStateProgram: Uint8Array;
222
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
222
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
223
223
  rekeyTo?: ReadableAddress | undefined;
224
224
  note?: string | Uint8Array | undefined;
225
225
  lease?: string | Uint8Array | undefined;
@@ -233,7 +233,7 @@ declare class AppFactory {
233
233
  accountReferences?: ReadableAddress[] | undefined;
234
234
  appReferences?: bigint[] | undefined;
235
235
  assetReferences?: bigint[] | undefined;
236
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
236
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
237
237
  accessReferences?: ResourceReference[] | undefined;
238
238
  rejectVersion?: number | undefined;
239
239
  sender?: ReadableAddress | undefined;
@@ -244,11 +244,11 @@ declare class AppFactory {
244
244
  extraProgramPages?: number | undefined;
245
245
  } & {
246
246
  sender: Address;
247
- signer: TransactionSigner | AddressWithTransactionSigner | undefined;
247
+ signer: AddressWithTransactionSigner | TransactionSigner | undefined;
248
248
  method: ABIMethod;
249
- args: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
250
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
249
+ args: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
251
250
  sender: SendingAddress;
251
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
252
252
  rekeyTo?: ReadableAddress | undefined;
253
253
  note?: string | Uint8Array | undefined;
254
254
  lease?: string | Uint8Array | undefined;
@@ -258,27 +258,21 @@ declare class AppFactory {
258
258
  validityWindow?: number | bigint | undefined;
259
259
  firstValidRound?: bigint | undefined;
260
260
  lastValidRound?: bigint | undefined;
261
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
261
+ appId: bigint;
262
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
262
263
  args?: Uint8Array[] | undefined;
263
264
  accountReferences?: ReadableAddress[] | undefined;
264
265
  appReferences?: bigint[] | undefined;
265
266
  assetReferences?: bigint[] | undefined;
266
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
267
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
267
268
  accessReferences?: ResourceReference[] | undefined;
268
269
  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;
279
272
  }> | AppMethodCall<{
273
+ args?: Uint8Array[] | undefined;
274
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
280
275
  sender: SendingAddress;
281
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
282
276
  rekeyTo?: ReadableAddress | undefined;
283
277
  note?: string | Uint8Array | undefined;
284
278
  lease?: string | Uint8Array | undefined;
@@ -288,23 +282,29 @@ declare class AppFactory {
288
282
  validityWindow?: number | bigint | undefined;
289
283
  firstValidRound?: bigint | undefined;
290
284
  lastValidRound?: bigint | undefined;
291
- appId: bigint;
292
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
293
- args?: Uint8Array[] | undefined;
285
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
294
286
  accountReferences?: ReadableAddress[] | undefined;
295
287
  appReferences?: bigint[] | undefined;
296
288
  assetReferences?: bigint[] | undefined;
297
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
289
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
298
290
  accessReferences?: ResourceReference[] | undefined;
299
291
  rejectVersion?: number | undefined;
292
+ appId?: 0 | undefined;
300
293
  approvalProgram: string | Uint8Array;
301
294
  clearStateProgram: string | Uint8Array;
302
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
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;
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?: TransactionSigner | AddressWithTransactionSigner | undefined;
307
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
308
308
  rekeyTo?: ReadableAddress | undefined;
309
309
  note?: string | Uint8Array | undefined;
310
310
  lease?: string | Uint8Array | undefined;
@@ -318,14 +318,14 @@ declare class AppFactory {
318
318
  accountReferences?: ReadableAddress[] | undefined;
319
319
  appReferences?: bigint[] | undefined;
320
320
  assetReferences?: bigint[] | undefined;
321
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
321
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
322
322
  accessReferences?: ResourceReference[] | undefined;
323
323
  rejectVersion?: number | undefined;
324
324
  sender?: ReadableAddress | undefined;
325
325
  method: string;
326
326
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
327
327
  }) => {
328
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
328
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
329
329
  rekeyTo?: ReadableAddress | undefined;
330
330
  note?: string | Uint8Array | undefined;
331
331
  lease?: string | Uint8Array | undefined;
@@ -339,7 +339,7 @@ declare class AppFactory {
339
339
  accountReferences?: ReadableAddress[] | undefined;
340
340
  appReferences?: bigint[] | undefined;
341
341
  assetReferences?: bigint[] | undefined;
342
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
342
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
343
343
  accessReferences?: ResourceReference[] | undefined;
344
344
  rejectVersion?: number | undefined;
345
345
  sender?: ReadableAddress | undefined;
@@ -347,11 +347,11 @@ declare class AppFactory {
347
347
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
348
348
  } & {
349
349
  sender: Address;
350
- signer: TransactionSigner | AddressWithTransactionSigner | undefined;
350
+ signer: AddressWithTransactionSigner | TransactionSigner | undefined;
351
351
  method: ABIMethod;
352
- args: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
353
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
352
+ args: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
354
353
  sender: SendingAddress;
354
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
355
355
  rekeyTo?: ReadableAddress | undefined;
356
356
  note?: string | Uint8Array | undefined;
357
357
  lease?: string | Uint8Array | undefined;
@@ -361,27 +361,21 @@ declare class AppFactory {
361
361
  validityWindow?: number | bigint | undefined;
362
362
  firstValidRound?: bigint | undefined;
363
363
  lastValidRound?: bigint | undefined;
364
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
364
+ appId: bigint;
365
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
365
366
  args?: Uint8Array[] | undefined;
366
367
  accountReferences?: ReadableAddress[] | undefined;
367
368
  appReferences?: bigint[] | undefined;
368
369
  assetReferences?: bigint[] | undefined;
369
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
370
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
370
371
  accessReferences?: ResourceReference[] | undefined;
371
372
  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;
382
375
  }> | AppMethodCall<{
376
+ args?: Uint8Array[] | undefined;
377
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
383
378
  sender: SendingAddress;
384
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
385
379
  rekeyTo?: ReadableAddress | undefined;
386
380
  note?: string | Uint8Array | undefined;
387
381
  lease?: string | Uint8Array | undefined;
@@ -391,23 +385,29 @@ declare class AppFactory {
391
385
  validityWindow?: number | bigint | undefined;
392
386
  firstValidRound?: bigint | undefined;
393
387
  lastValidRound?: bigint | undefined;
394
- appId: bigint;
395
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
396
- args?: Uint8Array[] | undefined;
388
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
397
389
  accountReferences?: ReadableAddress[] | undefined;
398
390
  appReferences?: bigint[] | undefined;
399
391
  assetReferences?: bigint[] | undefined;
400
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
392
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
401
393
  accessReferences?: ResourceReference[] | undefined;
402
394
  rejectVersion?: number | undefined;
395
+ appId?: 0 | undefined;
403
396
  approvalProgram: string | Uint8Array;
404
397
  clearStateProgram: string | Uint8Array;
405
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
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;
406
406
  onComplete: OnApplicationComplete.UpdateApplication;
407
407
  };
408
408
  /** Return params for a deployment delete ABI call */
409
409
  deployDelete: (params: {
410
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
410
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
411
411
  rekeyTo?: ReadableAddress | undefined;
412
412
  note?: string | Uint8Array | undefined;
413
413
  lease?: string | Uint8Array | undefined;
@@ -421,14 +421,14 @@ declare class AppFactory {
421
421
  accountReferences?: ReadableAddress[] | undefined;
422
422
  appReferences?: bigint[] | undefined;
423
423
  assetReferences?: bigint[] | undefined;
424
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
424
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
425
425
  accessReferences?: ResourceReference[] | undefined;
426
426
  rejectVersion?: number | undefined;
427
427
  sender?: ReadableAddress | undefined;
428
428
  method: string;
429
429
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
430
430
  }) => {
431
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
431
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
432
432
  rekeyTo?: ReadableAddress | undefined;
433
433
  note?: string | Uint8Array | undefined;
434
434
  lease?: string | Uint8Array | undefined;
@@ -442,7 +442,7 @@ declare class AppFactory {
442
442
  accountReferences?: ReadableAddress[] | undefined;
443
443
  appReferences?: bigint[] | undefined;
444
444
  assetReferences?: bigint[] | undefined;
445
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
445
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
446
446
  accessReferences?: ResourceReference[] | undefined;
447
447
  rejectVersion?: number | undefined;
448
448
  sender?: ReadableAddress | undefined;
@@ -450,11 +450,11 @@ declare class AppFactory {
450
450
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
451
451
  } & {
452
452
  sender: Address;
453
- signer: TransactionSigner | AddressWithTransactionSigner | undefined;
453
+ signer: AddressWithTransactionSigner | TransactionSigner | undefined;
454
454
  method: ABIMethod;
455
- args: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
456
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
455
+ args: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
457
456
  sender: SendingAddress;
457
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
458
458
  rekeyTo?: ReadableAddress | undefined;
459
459
  note?: string | Uint8Array | undefined;
460
460
  lease?: string | Uint8Array | undefined;
@@ -464,27 +464,21 @@ declare class AppFactory {
464
464
  validityWindow?: number | bigint | undefined;
465
465
  firstValidRound?: bigint | undefined;
466
466
  lastValidRound?: bigint | undefined;
467
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
467
+ appId: bigint;
468
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
468
469
  args?: Uint8Array[] | undefined;
469
470
  accountReferences?: ReadableAddress[] | undefined;
470
471
  appReferences?: bigint[] | undefined;
471
472
  assetReferences?: bigint[] | undefined;
472
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
473
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
473
474
  accessReferences?: ResourceReference[] | undefined;
474
475
  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;
485
478
  }> | AppMethodCall<{
479
+ args?: Uint8Array[] | undefined;
480
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
486
481
  sender: SendingAddress;
487
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
488
482
  rekeyTo?: ReadableAddress | undefined;
489
483
  note?: string | Uint8Array | undefined;
490
484
  lease?: string | Uint8Array | undefined;
@@ -494,24 +488,31 @@ declare class AppFactory {
494
488
  validityWindow?: number | bigint | undefined;
495
489
  firstValidRound?: bigint | undefined;
496
490
  lastValidRound?: bigint | undefined;
497
- appId: bigint;
498
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
499
- args?: Uint8Array[] | undefined;
491
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
500
492
  accountReferences?: ReadableAddress[] | undefined;
501
493
  appReferences?: bigint[] | undefined;
502
494
  assetReferences?: bigint[] | undefined;
503
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
495
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
504
496
  accessReferences?: ResourceReference[] | undefined;
505
497
  rejectVersion?: number | undefined;
498
+ appId?: 0 | undefined;
506
499
  approvalProgram: string | Uint8Array;
507
500
  clearStateProgram: string | Uint8Array;
508
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
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;
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?: TransactionSigner | AddressWithTransactionSigner | undefined;
514
+ args?: Uint8Array[] | undefined;
515
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
515
516
  rekeyTo?: ReadableAddress | undefined;
516
517
  note?: string | Uint8Array | undefined;
517
518
  lease?: string | Uint8Array | undefined;
@@ -521,11 +522,10 @@ declare class AppFactory {
521
522
  validityWindow?: number | bigint | undefined;
522
523
  firstValidRound?: bigint | undefined;
523
524
  lastValidRound?: bigint | undefined;
524
- args?: Uint8Array[] | undefined;
525
525
  accountReferences?: ReadableAddress[] | undefined;
526
526
  appReferences?: bigint[] | undefined;
527
527
  assetReferences?: bigint[] | undefined;
528
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
528
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
529
529
  accessReferences?: ResourceReference[] | undefined;
530
530
  rejectVersion?: number | undefined;
531
531
  sender?: ReadableAddress | undefined;
@@ -560,7 +560,8 @@ declare class AppFactory {
560
560
  /** The number of byte slices saved in local state. */
561
561
  localByteSlices: number;
562
562
  };
563
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
563
+ args?: Uint8Array[] | undefined;
564
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
564
565
  rekeyTo?: ReadableAddress | undefined;
565
566
  note?: string | Uint8Array | undefined;
566
567
  lease?: string | Uint8Array | undefined;
@@ -570,11 +571,10 @@ declare class AppFactory {
570
571
  validityWindow?: number | bigint | undefined;
571
572
  firstValidRound?: bigint | undefined;
572
573
  lastValidRound?: bigint | undefined;
573
- args?: Uint8Array[] | undefined;
574
574
  accountReferences?: ReadableAddress[] | undefined;
575
575
  appReferences?: bigint[] | undefined;
576
576
  assetReferences?: bigint[] | undefined;
577
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
577
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
578
578
  accessReferences?: ResourceReference[] | undefined;
579
579
  rejectVersion?: number | undefined;
580
580
  sender?: ReadableAddress | undefined;
@@ -584,12 +584,13 @@ declare class AppFactory {
584
584
  extraProgramPages?: number | undefined;
585
585
  } & {
586
586
  sender: Address;
587
- signer: TransactionSigner | AddressWithTransactionSigner | undefined;
587
+ signer: AddressWithTransactionSigner | TransactionSigner | 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?: TransactionSigner | AddressWithTransactionSigner | undefined;
592
+ args?: Uint8Array[] | undefined;
593
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
593
594
  rekeyTo?: ReadableAddress | undefined;
594
595
  note?: string | Uint8Array | undefined;
595
596
  lease?: string | Uint8Array | undefined;
@@ -599,16 +600,16 @@ declare class AppFactory {
599
600
  validityWindow?: number | bigint | undefined;
600
601
  firstValidRound?: bigint | undefined;
601
602
  lastValidRound?: bigint | undefined;
602
- args?: Uint8Array[] | undefined;
603
603
  accountReferences?: ReadableAddress[] | undefined;
604
604
  appReferences?: bigint[] | undefined;
605
605
  assetReferences?: bigint[] | undefined;
606
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
606
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
607
607
  accessReferences?: ResourceReference[] | undefined;
608
608
  rejectVersion?: number | undefined;
609
609
  sender?: ReadableAddress | undefined;
610
610
  } | undefined) => {
611
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
611
+ args?: Uint8Array[] | undefined;
612
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
612
613
  rekeyTo?: ReadableAddress | undefined;
613
614
  note?: string | Uint8Array | undefined;
614
615
  lease?: string | Uint8Array | undefined;
@@ -618,22 +619,22 @@ declare class AppFactory {
618
619
  validityWindow?: number | bigint | undefined;
619
620
  firstValidRound?: bigint | undefined;
620
621
  lastValidRound?: bigint | undefined;
621
- args?: Uint8Array[] | undefined;
622
622
  accountReferences?: ReadableAddress[] | undefined;
623
623
  appReferences?: bigint[] | undefined;
624
624
  assetReferences?: bigint[] | undefined;
625
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
625
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
626
626
  accessReferences?: ResourceReference[] | undefined;
627
627
  rejectVersion?: number | undefined;
628
628
  sender?: ReadableAddress | undefined;
629
629
  } & {
630
630
  sender: Address;
631
- signer: TransactionSigner | AddressWithTransactionSigner | undefined;
631
+ signer: AddressWithTransactionSigner | TransactionSigner | undefined;
632
632
  onComplete: OnApplicationComplete.UpdateApplication;
633
633
  };
634
634
  /** Return params for a deployment delete bare call */
635
635
  deployDelete: (params?: {
636
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
636
+ args?: Uint8Array[] | undefined;
637
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
637
638
  rekeyTo?: ReadableAddress | undefined;
638
639
  note?: string | Uint8Array | undefined;
639
640
  lease?: string | Uint8Array | undefined;
@@ -643,16 +644,16 @@ declare class AppFactory {
643
644
  validityWindow?: number | bigint | undefined;
644
645
  firstValidRound?: bigint | undefined;
645
646
  lastValidRound?: bigint | undefined;
646
- args?: Uint8Array[] | undefined;
647
647
  accountReferences?: ReadableAddress[] | undefined;
648
648
  appReferences?: bigint[] | undefined;
649
649
  assetReferences?: bigint[] | undefined;
650
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
650
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
651
651
  accessReferences?: ResourceReference[] | undefined;
652
652
  rejectVersion?: number | undefined;
653
653
  sender?: ReadableAddress | undefined;
654
654
  } | undefined) => {
655
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
655
+ args?: Uint8Array[] | undefined;
656
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
656
657
  rekeyTo?: ReadableAddress | undefined;
657
658
  note?: string | Uint8Array | undefined;
658
659
  lease?: string | Uint8Array | undefined;
@@ -662,17 +663,16 @@ declare class AppFactory {
662
663
  validityWindow?: number | bigint | undefined;
663
664
  firstValidRound?: bigint | undefined;
664
665
  lastValidRound?: bigint | undefined;
665
- args?: Uint8Array[] | undefined;
666
666
  accountReferences?: ReadableAddress[] | undefined;
667
667
  appReferences?: bigint[] | undefined;
668
668
  assetReferences?: bigint[] | undefined;
669
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
669
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
670
670
  accessReferences?: ResourceReference[] | undefined;
671
671
  rejectVersion?: number | undefined;
672
672
  sender?: ReadableAddress | undefined;
673
673
  } & {
674
674
  sender: Address;
675
- signer: TransactionSigner | AddressWithTransactionSigner | undefined;
675
+ signer: AddressWithTransactionSigner | TransactionSigner | 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;
808
805
  createdRound: bigint;
809
806
  updatedRound: bigint;
810
807
  createdMetadata: AppDeployMetadata;
811
808
  deleted: boolean;
812
809
  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;
854
851
  createdRound: bigint;
855
852
  updatedRound: bigint;
856
853
  createdMetadata: AppDeployMetadata;
857
854
  deleted: boolean;
858
855
  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;