@algorandfoundation/algokit-utils 8.2.0-beta.2 → 8.2.0-beta.3
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 +3 -2
- package/types/account-manager.d.ts +33 -18
- package/types/account-manager.js +33 -18
- package/types/account-manager.js.map +1 -1
- package/types/account-manager.mjs +33 -18
- package/types/account-manager.mjs.map +1 -1
- package/types/account.d.ts +5 -0
- package/types/account.js +5 -0
- package/types/account.js.map +1 -1
- package/types/account.mjs +5 -0
- package/types/account.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +103 -70
- package/types/algorand-client-transaction-creator.js +103 -70
- package/types/algorand-client-transaction-creator.js.map +1 -1
- package/types/algorand-client-transaction-creator.mjs +103 -70
- package/types/algorand-client-transaction-creator.mjs.map +1 -1
- package/types/algorand-client-transaction-sender.d.ts +107 -20
- package/types/algorand-client-transaction-sender.js +107 -21
- package/types/algorand-client-transaction-sender.js.map +1 -1
- package/types/algorand-client-transaction-sender.mjs +107 -21
- package/types/algorand-client-transaction-sender.mjs.map +1 -1
- package/types/algorand-client.d.ts +108 -24
- package/types/algorand-client.js +107 -23
- package/types/algorand-client.js.map +1 -1
- package/types/algorand-client.mjs +107 -23
- package/types/algorand-client.mjs.map +1 -1
- package/types/amount.d.ts +10 -0
- package/types/amount.js +10 -0
- package/types/amount.js.map +1 -1
- package/types/amount.mjs +10 -0
- package/types/amount.mjs.map +1 -1
- package/types/app-client.d.ts +128 -8
- package/types/app-client.js +128 -8
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs +128 -8
- package/types/app-client.mjs.map +1 -1
- package/types/app-deployer.d.ts +33 -1
- package/types/app-deployer.js +33 -1
- package/types/app-deployer.js.map +1 -1
- package/types/app-deployer.mjs +33 -1
- package/types/app-deployer.mjs.map +1 -1
- package/types/app-factory.d.ts +74 -4
- package/types/app-factory.js +74 -4
- package/types/app-factory.js.map +1 -1
- package/types/app-factory.mjs +74 -4
- package/types/app-factory.mjs.map +1 -1
- package/types/app-manager.d.ts +64 -0
- package/types/app-manager.js +64 -0
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +64 -0
- package/types/app-manager.mjs.map +1 -1
- package/types/app-spec.d.ts +9 -0
- package/types/app-spec.js +9 -0
- package/types/app-spec.js.map +1 -1
- package/types/app-spec.mjs +9 -0
- package/types/app-spec.mjs.map +1 -1
- package/types/asset-manager.d.ts +5 -5
- package/types/asset-manager.js +5 -5
- package/types/asset-manager.js.map +1 -1
- package/types/asset-manager.mjs +5 -5
- package/types/asset-manager.mjs.map +1 -1
- package/types/client-manager.d.ts +79 -18
- package/types/client-manager.js +79 -18
- package/types/client-manager.js.map +1 -1
- package/types/client-manager.mjs +79 -18
- package/types/client-manager.mjs.map +1 -1
- package/types/composer.d.ts +599 -1
- package/types/composer.js +575 -1
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +575 -1
- package/types/composer.mjs.map +1 -1
package/types/app-client.d.ts
CHANGED
|
@@ -284,18 +284,43 @@ export declare class AppClient {
|
|
|
284
284
|
private _paramsMethods;
|
|
285
285
|
private _createTransactionsMethods;
|
|
286
286
|
private _sendMethods;
|
|
287
|
+
/**
|
|
288
|
+
* Create a new app client.
|
|
289
|
+
* @param params The parameters to create the app client
|
|
290
|
+
* @returns The `AppClient` instance
|
|
291
|
+
* @example
|
|
292
|
+
* ```typescript
|
|
293
|
+
* const appClient = new AppClient({
|
|
294
|
+
* appId: 12345678n,
|
|
295
|
+
* appSpec: appSpec,
|
|
296
|
+
* algorand: AlgorandClient.mainNet(),
|
|
297
|
+
* })
|
|
298
|
+
*/
|
|
287
299
|
constructor(params: AppClientParams);
|
|
288
300
|
/**
|
|
289
301
|
* Clone this app client with different params
|
|
290
302
|
*
|
|
291
303
|
* @param params The params to use for the the cloned app client. Omit a param to keep the original value. Set a param to override the original value. Setting to undefined will clear the original value.
|
|
292
304
|
* @returns A new app client with the altered params
|
|
305
|
+
* @example
|
|
306
|
+
* ```typescript
|
|
307
|
+
* const appClient2 = appClient.clone({ defaultSender: 'NEW_SENDER_ADDRESS' })
|
|
308
|
+
* ```
|
|
293
309
|
*/
|
|
294
310
|
clone(params: CloneAppClientParams): AppClient;
|
|
295
311
|
/**
|
|
296
312
|
* Returns a new `AppClient` client, resolving the app by creator address and name
|
|
297
313
|
* using AlgoKit app deployment semantics (i.e. looking for the app creation transaction note).
|
|
298
314
|
* @param params The parameters to create the app client
|
|
315
|
+
* @returns The `AppClient` instance
|
|
316
|
+
* @example
|
|
317
|
+
* ```typescript
|
|
318
|
+
* const appClient = await AppClient.fromCreatorAndName({
|
|
319
|
+
* creatorAddress: 'CREATOR_ADDRESS',
|
|
320
|
+
* name: 'APP_NAME',
|
|
321
|
+
* appSpec: appSpec,
|
|
322
|
+
* algorand: AlgorandClient.mainNet(),
|
|
323
|
+
* })
|
|
299
324
|
*/
|
|
300
325
|
static fromCreatorAndName(params: ResolveAppClientByCreatorAndName): Promise<AppClient>;
|
|
301
326
|
/**
|
|
@@ -304,6 +329,13 @@ export declare class AppClient {
|
|
|
304
329
|
*
|
|
305
330
|
* If no IDs are in the app spec or the network isn't recognised, an error is thrown.
|
|
306
331
|
* @param params The parameters to create the app client
|
|
332
|
+
* @returns The `AppClient` instance
|
|
333
|
+
* @example
|
|
334
|
+
* ```typescript
|
|
335
|
+
* const appClient = await AppClient.fromNetwork({
|
|
336
|
+
* appSpec: appSpec,
|
|
337
|
+
* algorand: AlgorandClient.mainNet(),
|
|
338
|
+
* })
|
|
307
339
|
*/
|
|
308
340
|
static fromNetwork(params: ResolveAppClientByNetwork): Promise<AppClient>;
|
|
309
341
|
/**
|
|
@@ -311,6 +343,10 @@ export declare class AppClient {
|
|
|
311
343
|
* normalises it into a parsed ARC-56 contract object.
|
|
312
344
|
* @param spec The spec to normalise
|
|
313
345
|
* @returns The normalised ARC-56 contract object
|
|
346
|
+
* @example
|
|
347
|
+
* ```typescript
|
|
348
|
+
* const arc56AppSpec = AppClient.normaliseAppSpec(appSpec)
|
|
349
|
+
* ```
|
|
314
350
|
*/
|
|
315
351
|
static normaliseAppSpec(spec: Arc56Contract | AppSpec | string): Arc56Contract;
|
|
316
352
|
/** The ID of the app instance this client is linked to. */
|
|
@@ -339,7 +375,11 @@ export declare class AppClient {
|
|
|
339
375
|
* ```
|
|
340
376
|
*/
|
|
341
377
|
get params(): {
|
|
342
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* Return params for a payment transaction to fund the app account
|
|
380
|
+
* @param params The parameters for the fund app accont payment transaction
|
|
381
|
+
* @returns The parameters which can be used to create a fund app account payment transaction
|
|
382
|
+
*/
|
|
343
383
|
fundAppAccount: (params: {
|
|
344
384
|
maxFee?: AlgoAmount | undefined;
|
|
345
385
|
note?: string | Uint8Array | undefined;
|
|
@@ -378,7 +418,11 @@ export declare class AppClient {
|
|
|
378
418
|
populateAppCallResources?: boolean | undefined;
|
|
379
419
|
coverAppCallInnerTransactionFees?: boolean | undefined;
|
|
380
420
|
};
|
|
381
|
-
/**
|
|
421
|
+
/**
|
|
422
|
+
* Return params for an update ABI call, including deploy-time TEAL template replacements and compilation if provided
|
|
423
|
+
* @param params The parameters for the update ABI method call
|
|
424
|
+
* @returns The parameters which can be used to create an update ABI method call
|
|
425
|
+
*/
|
|
382
426
|
update: (params: {
|
|
383
427
|
maxFee?: AlgoAmount | undefined;
|
|
384
428
|
note?: string | Uint8Array | undefined;
|
|
@@ -485,7 +529,11 @@ export declare class AppClient {
|
|
|
485
529
|
clearStateProgram: string | Uint8Array;
|
|
486
530
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
487
531
|
}>;
|
|
488
|
-
/**
|
|
532
|
+
/**
|
|
533
|
+
* Return params for an opt-in ABI call
|
|
534
|
+
* @param params The parameters for the opt-in ABI method call
|
|
535
|
+
* @returns The parameters which can be used to create an opt-in ABI method call
|
|
536
|
+
*/
|
|
489
537
|
optIn: (params: {
|
|
490
538
|
maxFee?: AlgoAmount | undefined;
|
|
491
539
|
note?: string | Uint8Array | undefined;
|
|
@@ -506,7 +554,11 @@ export declare class AppClient {
|
|
|
506
554
|
method: string;
|
|
507
555
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
508
556
|
}) => Promise<AppCallMethodCall>;
|
|
509
|
-
/**
|
|
557
|
+
/**
|
|
558
|
+
* Return params for an delete ABI call
|
|
559
|
+
* @param params The parameters for the delete ABI method call
|
|
560
|
+
* @returns The parameters which can be used to create a delete ABI method call
|
|
561
|
+
*/
|
|
510
562
|
delete: (params: {
|
|
511
563
|
maxFee?: AlgoAmount | undefined;
|
|
512
564
|
note?: string | Uint8Array | undefined;
|
|
@@ -527,7 +579,10 @@ export declare class AppClient {
|
|
|
527
579
|
method: string;
|
|
528
580
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
529
581
|
}) => Promise<AppDeleteMethodCall>;
|
|
530
|
-
/** Return params for an close out ABI call
|
|
582
|
+
/** Return params for an close out ABI call
|
|
583
|
+
* @param params The parameters for the close out ABI method call
|
|
584
|
+
* @returns The parameters which can be used to create a close out ABI method call
|
|
585
|
+
*/
|
|
531
586
|
closeOut: (params: {
|
|
532
587
|
maxFee?: AlgoAmount | undefined;
|
|
533
588
|
note?: string | Uint8Array | undefined;
|
|
@@ -548,7 +603,10 @@ export declare class AppClient {
|
|
|
548
603
|
method: string;
|
|
549
604
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
550
605
|
}) => Promise<AppCallMethodCall>;
|
|
551
|
-
/** Return params for an ABI call
|
|
606
|
+
/** Return params for an ABI call
|
|
607
|
+
* @param params The parameters for the ABI method call
|
|
608
|
+
* @returns The parameters which can be used to create an ABI method call
|
|
609
|
+
*/
|
|
552
610
|
call: (params: {
|
|
553
611
|
maxFee?: AlgoAmount | undefined;
|
|
554
612
|
note?: string | Uint8Array | undefined;
|
|
@@ -710,7 +768,10 @@ export declare class AppClient {
|
|
|
710
768
|
};
|
|
711
769
|
/** Create transactions for the current app */
|
|
712
770
|
get createTransaction(): {
|
|
713
|
-
/** Return transaction for a payment transaction to fund the app account
|
|
771
|
+
/** Return transaction for a payment transaction to fund the app account
|
|
772
|
+
* @param params The parameters for the fund app account payment transaction
|
|
773
|
+
* @returns A transaction which can be used to fund the app account
|
|
774
|
+
*/
|
|
714
775
|
fundAppAccount: (params: {
|
|
715
776
|
maxFee?: AlgoAmount | undefined;
|
|
716
777
|
note?: string | Uint8Array | undefined;
|
|
@@ -732,6 +793,8 @@ export declare class AppClient {
|
|
|
732
793
|
}) => Promise<algosdk.Transaction>;
|
|
733
794
|
/**
|
|
734
795
|
* Return transactions for an update ABI call, including deploy-time TEAL template replacements and compilation if provided
|
|
796
|
+
* @param params The parameters for the update ABI method call
|
|
797
|
+
* @returns The transactions which can be used to create an update ABI method call
|
|
735
798
|
*/
|
|
736
799
|
update: (params: {
|
|
737
800
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -759,6 +822,8 @@ export declare class AppClient {
|
|
|
759
822
|
}>;
|
|
760
823
|
/**
|
|
761
824
|
* Return transactions for an opt-in ABI call
|
|
825
|
+
* @param params The parameters for the opt-in ABI method call
|
|
826
|
+
* @returns The transactions which can be used to create an opt-in ABI method call
|
|
762
827
|
*/
|
|
763
828
|
optIn: (params: {
|
|
764
829
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -786,6 +851,8 @@ export declare class AppClient {
|
|
|
786
851
|
}>;
|
|
787
852
|
/**
|
|
788
853
|
* Return transactions for a delete ABI call
|
|
854
|
+
* @param params The parameters for the delete ABI method call
|
|
855
|
+
* @returns The transactions which can be used to create a delete ABI method call
|
|
789
856
|
*/
|
|
790
857
|
delete: (params: {
|
|
791
858
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -813,6 +880,8 @@ export declare class AppClient {
|
|
|
813
880
|
}>;
|
|
814
881
|
/**
|
|
815
882
|
* Return transactions for a close out ABI call
|
|
883
|
+
* @param params The parameters for the close out ABI method call
|
|
884
|
+
* @returns The transactions which can be used to create a close out ABI method call
|
|
816
885
|
*/
|
|
817
886
|
closeOut: (params: {
|
|
818
887
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -840,6 +909,8 @@ export declare class AppClient {
|
|
|
840
909
|
}>;
|
|
841
910
|
/**
|
|
842
911
|
* Return transactions for an ABI call (defaults to no-op)
|
|
912
|
+
* @param params The parameters for the ABI method call
|
|
913
|
+
* @returns The transactions which can be used to create an ABI method call
|
|
843
914
|
*/
|
|
844
915
|
call: (params: {
|
|
845
916
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -985,7 +1056,10 @@ export declare class AppClient {
|
|
|
985
1056
|
};
|
|
986
1057
|
/** Send transactions to the current app */
|
|
987
1058
|
get send(): {
|
|
988
|
-
/** Sign and send transactions for a payment transaction to fund the app account
|
|
1059
|
+
/** Sign and send transactions for a payment transaction to fund the app account
|
|
1060
|
+
* @param params The parameters for the fund app account payment transaction
|
|
1061
|
+
* @returns The result of send the fund app account payment transaction
|
|
1062
|
+
*/
|
|
989
1063
|
fundAppAccount: (params: {
|
|
990
1064
|
maxFee?: AlgoAmount | undefined;
|
|
991
1065
|
note?: string | Uint8Array | undefined;
|
|
@@ -1015,6 +1089,8 @@ export declare class AppClient {
|
|
|
1015
1089
|
}>;
|
|
1016
1090
|
/**
|
|
1017
1091
|
* Sign and send transactions for an update ABI call, including deploy-time TEAL template replacements and compilation if provided
|
|
1092
|
+
* @param params The parameters for the update ABI method call
|
|
1093
|
+
* @returns The result of sending the update ABI method call
|
|
1018
1094
|
*/
|
|
1019
1095
|
update: (params: {
|
|
1020
1096
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -1049,6 +1125,8 @@ export declare class AppClient {
|
|
|
1049
1125
|
}>;
|
|
1050
1126
|
/**
|
|
1051
1127
|
* Sign and send transactions for an opt-in ABI call
|
|
1128
|
+
* @param params The parameters for the opt-in ABI method call
|
|
1129
|
+
* @returns The result of sending the opt-in ABI method call
|
|
1052
1130
|
*/
|
|
1053
1131
|
optIn: (params: {
|
|
1054
1132
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -1081,6 +1159,8 @@ export declare class AppClient {
|
|
|
1081
1159
|
}, "return"> & AppReturn<algosdk.ABIValue | ABIStruct | undefined>>;
|
|
1082
1160
|
/**
|
|
1083
1161
|
* Sign and send transactions for a delete ABI call
|
|
1162
|
+
* @param params The parameters for the delete ABI method call
|
|
1163
|
+
* @returns The result of sending the delete ABI method call
|
|
1084
1164
|
*/
|
|
1085
1165
|
delete: (params: {
|
|
1086
1166
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -1113,6 +1193,8 @@ export declare class AppClient {
|
|
|
1113
1193
|
}, "return"> & AppReturn<algosdk.ABIValue | ABIStruct | undefined>>;
|
|
1114
1194
|
/**
|
|
1115
1195
|
* Sign and send transactions for a close out ABI call
|
|
1196
|
+
* @param params The parameters for the close out ABI method call
|
|
1197
|
+
* @returns The result of sending the close out ABI method call
|
|
1116
1198
|
*/
|
|
1117
1199
|
closeOut: (params: {
|
|
1118
1200
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -1145,6 +1227,8 @@ export declare class AppClient {
|
|
|
1145
1227
|
}, "return"> & AppReturn<algosdk.ABIValue | ABIStruct | undefined>>;
|
|
1146
1228
|
/**
|
|
1147
1229
|
* Sign and send transactions for a call (defaults to no-op)
|
|
1230
|
+
* @param params The parameters for the ABI method call
|
|
1231
|
+
* @returns The result of sending the ABI method call
|
|
1148
1232
|
*/
|
|
1149
1233
|
call: (params: {
|
|
1150
1234
|
maxFee?: AlgoAmount | undefined;
|
|
@@ -1455,6 +1539,10 @@ export declare class AppClient {
|
|
|
1455
1539
|
* An alias for `appClient.send.fundAppAccount(params)`.
|
|
1456
1540
|
* @param params The parameters for the funding transaction
|
|
1457
1541
|
* @returns The result of the funding
|
|
1542
|
+
* @example
|
|
1543
|
+
* ```typescript
|
|
1544
|
+
* await appClient.fundAppAccount({ amount: algo(1) })
|
|
1545
|
+
* ```
|
|
1458
1546
|
*/
|
|
1459
1547
|
fundAppAccount(params: FundAppParams): Promise<{
|
|
1460
1548
|
groupId: string;
|
|
@@ -1468,23 +1556,39 @@ export declare class AppClient {
|
|
|
1468
1556
|
/**
|
|
1469
1557
|
* Returns raw global state for the current app.
|
|
1470
1558
|
* @returns The global state
|
|
1559
|
+
* @example
|
|
1560
|
+
* ```typescript
|
|
1561
|
+
* const globalState = await appClient.getGlobalState()
|
|
1562
|
+
* ```
|
|
1471
1563
|
*/
|
|
1472
1564
|
getGlobalState(): Promise<AppState>;
|
|
1473
1565
|
/**
|
|
1474
1566
|
* Returns raw local state for the given account address.
|
|
1475
1567
|
* @param address The address of the account to get the local state for
|
|
1476
1568
|
* @returns The local state
|
|
1569
|
+
* @example
|
|
1570
|
+
* ```typescript
|
|
1571
|
+
* const localState = await appClient.getLocalState('ACCOUNT_ADDRESS')
|
|
1572
|
+
* ```
|
|
1477
1573
|
*/
|
|
1478
1574
|
getLocalState(address: Address | string): Promise<AppState>;
|
|
1479
1575
|
/**
|
|
1480
1576
|
* Returns the names of all current boxes for the current app.
|
|
1481
1577
|
* @returns The names of the boxes
|
|
1578
|
+
* @example
|
|
1579
|
+
* ```typescript
|
|
1580
|
+
* const boxNames = await appClient.getBoxNames()
|
|
1581
|
+
* ```
|
|
1482
1582
|
*/
|
|
1483
1583
|
getBoxNames(): Promise<BoxName[]>;
|
|
1484
1584
|
/**
|
|
1485
1585
|
* Returns the value of the given box for the current app.
|
|
1486
1586
|
* @param name The identifier of the box to return
|
|
1487
1587
|
* @returns The current box value as a byte array
|
|
1588
|
+
* @example
|
|
1589
|
+
* ```typescript
|
|
1590
|
+
* const boxValue = await appClient.getBoxValue('boxName')
|
|
1591
|
+
* ```
|
|
1488
1592
|
*/
|
|
1489
1593
|
getBoxValue(name: BoxIdentifier): Promise<Uint8Array>;
|
|
1490
1594
|
/**
|
|
@@ -1492,6 +1596,10 @@ export declare class AppClient {
|
|
|
1492
1596
|
* @param name The identifier of the box to return
|
|
1493
1597
|
* @param type
|
|
1494
1598
|
* @returns The current box value as a byte array
|
|
1599
|
+
* @example
|
|
1600
|
+
* ```typescript
|
|
1601
|
+
* const boxValue = await appClient.getBoxValueFromABIType('boxName', new ABIUintType(32))
|
|
1602
|
+
* ```
|
|
1495
1603
|
*/
|
|
1496
1604
|
getBoxValueFromABIType(name: BoxIdentifier, type: ABIType): Promise<ABIValue>;
|
|
1497
1605
|
/**
|
|
@@ -1499,6 +1607,10 @@ export declare class AppClient {
|
|
|
1499
1607
|
* Note: This will issue multiple HTTP requests (one per box) and it's not an atomic operation so values may be out of sync.
|
|
1500
1608
|
* @param filter Optional filter to filter which boxes' values are returned
|
|
1501
1609
|
* @returns The (name, value) pair of the boxes with values as raw byte arrays
|
|
1610
|
+
* @example
|
|
1611
|
+
* ```typescript
|
|
1612
|
+
* const boxValues = await appClient.getBoxValues()
|
|
1613
|
+
* ```
|
|
1502
1614
|
*/
|
|
1503
1615
|
getBoxValues(filter?: (name: BoxName) => boolean): Promise<{
|
|
1504
1616
|
name: BoxName;
|
|
@@ -1510,6 +1622,10 @@ export declare class AppClient {
|
|
|
1510
1622
|
* @param type The ABI type to decode the values with
|
|
1511
1623
|
* @param filter Optional filter to filter which boxes' values are returned
|
|
1512
1624
|
* @returns The (name, value) pair of the boxes with values as the ABI Value
|
|
1625
|
+
* @example
|
|
1626
|
+
* ```typescript
|
|
1627
|
+
* const boxValues = await appClient.getBoxValuesFromABIType(new ABIUintType(32))
|
|
1628
|
+
* ```
|
|
1513
1629
|
*/
|
|
1514
1630
|
getBoxValuesFromABIType(type: ABIType, filter?: (name: BoxName) => boolean): Promise<{
|
|
1515
1631
|
name: BoxName;
|
|
@@ -1559,6 +1675,8 @@ export declare class AppClient {
|
|
|
1559
1675
|
* If no TEAL templates provided it will use any byte code provided in the app spec.
|
|
1560
1676
|
*
|
|
1561
1677
|
* Will store any generated source maps for later use in debugging.
|
|
1678
|
+
* @param compilation Any compilation parameters to use
|
|
1679
|
+
* @returns The compiled code and any compilation results (including source maps)
|
|
1562
1680
|
*/
|
|
1563
1681
|
compile(compilation?: AppClientCompilationParams): Promise<AppClientCompilationResult>;
|
|
1564
1682
|
/**
|
|
@@ -1586,7 +1704,9 @@ export declare class AppClient {
|
|
|
1586
1704
|
*
|
|
1587
1705
|
* Will store any generated source maps for later use in debugging.
|
|
1588
1706
|
* @param appSpec The app spec for the app
|
|
1707
|
+
* @param appManager The app manager to use for compilation
|
|
1589
1708
|
* @param compilation Any compilation parameters to use
|
|
1709
|
+
* @returns The compiled code and any compilation results (including source maps)
|
|
1590
1710
|
*/
|
|
1591
1711
|
static compile(appSpec: Arc56Contract, appManager: AppManager, compilation?: AppClientCompilationParams): Promise<AppClientCompilationResult>;
|
|
1592
1712
|
/**
|