@aptos-labs/js-pro 0.0.2-experimental.13 → 0.0.2-experimental.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/README.md +2 -2
- package/dist/index.cjs +30 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +156 -46
- package/dist/index.d.ts +156 -46
- package/dist/index.js +30 -25
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -36,11 +36,11 @@ This will build the package and place it in the `dist` folder. The package build
|
|
|
36
36
|
|
|
37
37
|
## Utilities
|
|
38
38
|
|
|
39
|
-
Aptos core provides the client alongside the signer, network, and account. If you need access to clients such as the indexer client,
|
|
39
|
+
Aptos core provides the client alongside the signer, network, and account. If you need access to clients such as the indexer client, or AptosClient, you can use the `getClients()` utility.
|
|
40
40
|
|
|
41
41
|
```ts
|
|
42
42
|
// Access AptosClient via `provider.aptosClient`
|
|
43
|
-
const { provider, indexerClient
|
|
43
|
+
const { provider, indexerClient } = core.getClients();
|
|
44
44
|
|
|
45
45
|
// Access to: core.account, core.network, core.signer
|
|
46
46
|
core.account
|