@aptos-labs/ts-sdk 5.1.1-side-effect-free.0 → 5.1.1-side-effect-free.1
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/dist/common/index.d.ts +80 -13
- package/dist/common/index.js +27 -27
- package/dist/esm/api/account.d.mts +1 -1
- package/dist/esm/api/aptos.d.mts +81 -14
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptos.mjs.map +1 -1
- package/dist/esm/api/index.d.mts +2 -2
- package/dist/esm/index.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +2 -2
- package/package.json +1 -1
- package/src/api/aptos.ts +189 -58
package/dist/common/index.d.ts
CHANGED
|
@@ -9277,18 +9277,20 @@ declare class AptosObject {
|
|
|
9277
9277
|
*/
|
|
9278
9278
|
declare class Aptos {
|
|
9279
9279
|
readonly config: AptosConfig;
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9280
|
+
private _account?;
|
|
9281
|
+
private _abstraction?;
|
|
9282
|
+
private _ans?;
|
|
9283
|
+
private _coin?;
|
|
9284
|
+
private _digitalAsset?;
|
|
9285
|
+
private _faucet?;
|
|
9286
|
+
private _fungibleAsset?;
|
|
9287
|
+
private _general?;
|
|
9288
|
+
private _staking?;
|
|
9289
|
+
private _transaction?;
|
|
9290
|
+
private _table?;
|
|
9291
|
+
private _keyless?;
|
|
9292
|
+
private _object?;
|
|
9293
|
+
static mixinsApplied: Set<string>;
|
|
9292
9294
|
/**
|
|
9293
9295
|
* Initializes a new instance of the Aptos client with the provided configuration settings.
|
|
9294
9296
|
* This allows you to interact with various Aptos functionalities such as accounts, transactions, and events.
|
|
@@ -9311,9 +9313,74 @@ declare class Aptos {
|
|
|
9311
9313
|
* @group Client
|
|
9312
9314
|
*/
|
|
9313
9315
|
constructor(config?: AptosConfig);
|
|
9316
|
+
/**
|
|
9317
|
+
* Lazy-loaded getter for Account functionality.
|
|
9318
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9319
|
+
*/
|
|
9320
|
+
get account(): Account$1;
|
|
9321
|
+
/**
|
|
9322
|
+
* Lazy-loaded getter for AccountAbstraction functionality.
|
|
9323
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9324
|
+
*/
|
|
9325
|
+
get abstraction(): AccountAbstraction;
|
|
9326
|
+
/**
|
|
9327
|
+
* Lazy-loaded getter for ANS functionality.
|
|
9328
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9329
|
+
*/
|
|
9330
|
+
get ans(): ANS;
|
|
9331
|
+
/**
|
|
9332
|
+
* Lazy-loaded getter for Coin functionality.
|
|
9333
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9334
|
+
*/
|
|
9335
|
+
get coin(): Coin;
|
|
9336
|
+
/**
|
|
9337
|
+
* Lazy-loaded getter for DigitalAsset functionality.
|
|
9338
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9339
|
+
*/
|
|
9340
|
+
get digitalAsset(): DigitalAsset;
|
|
9341
|
+
/**
|
|
9342
|
+
* Lazy-loaded getter for Faucet functionality.
|
|
9343
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9344
|
+
*/
|
|
9345
|
+
get faucet(): Faucet;
|
|
9346
|
+
/**
|
|
9347
|
+
* Lazy-loaded getter for FungibleAsset functionality.
|
|
9348
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9349
|
+
*/
|
|
9350
|
+
get fungibleAsset(): FungibleAsset;
|
|
9351
|
+
/**
|
|
9352
|
+
* Lazy-loaded getter for General functionality.
|
|
9353
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9354
|
+
*/
|
|
9355
|
+
get general(): General;
|
|
9356
|
+
/**
|
|
9357
|
+
* Lazy-loaded getter for Staking functionality.
|
|
9358
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9359
|
+
*/
|
|
9360
|
+
get staking(): Staking;
|
|
9361
|
+
/**
|
|
9362
|
+
* Lazy-loaded getter for Transaction functionality.
|
|
9363
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9364
|
+
*/
|
|
9365
|
+
get transaction(): Transaction;
|
|
9366
|
+
/**
|
|
9367
|
+
* Lazy-loaded getter for Table functionality.
|
|
9368
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9369
|
+
*/
|
|
9370
|
+
get table(): Table;
|
|
9371
|
+
/**
|
|
9372
|
+
* Lazy-loaded getter for Keyless functionality.
|
|
9373
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9374
|
+
*/
|
|
9375
|
+
get keyless(): Keyless;
|
|
9376
|
+
/**
|
|
9377
|
+
* Lazy-loaded getter for AptosObject functionality.
|
|
9378
|
+
* Only instantiates and applies mixin when first accessed.
|
|
9379
|
+
*/
|
|
9380
|
+
get object(): AptosObject;
|
|
9314
9381
|
setIgnoreTransactionSubmitter(ignore: boolean): void;
|
|
9315
9382
|
}
|
|
9316
|
-
interface Aptos extends Account$1, ANS, Coin, DigitalAsset,
|
|
9383
|
+
interface Aptos extends Account$1, AccountAbstraction, ANS, Coin, DigitalAsset, Faucet, FungibleAsset, General, Keyless, Staking, Table, AptosObject, Omit<Transaction, "build" | "simulate" | "submit" | "batch"> {
|
|
9317
9384
|
}
|
|
9318
9385
|
|
|
9319
9386
|
/**
|