@ar.io/sdk 2.1.0-alpha.3 → 2.1.0-alpha.5
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 +1 -1
- package/bundles/web.bundle.min.js +105 -105
- package/lib/cjs/common/ant.js +2 -1
- package/lib/cjs/common/contracts/ao-process.js +1 -18
- package/lib/cjs/common/io.js +4 -3
- package/lib/cjs/utils/ao.js +24 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/common/ant.js +2 -1
- package/lib/esm/common/contracts/ao-process.js +1 -18
- package/lib/esm/common/io.js +4 -3
- package/lib/esm/utils/ao.js +23 -2
- package/lib/esm/version.js +1 -1
- package/lib/types/common/contracts/ao-process.d.ts +2 -15
- package/lib/types/common.d.ts +2 -2
- package/lib/types/contract-state.d.ts +6 -4
- package/lib/types/io.d.ts +3 -3
- package/lib/types/token.d.ts +13 -0
- package/lib/types/utils/ao.d.ts +4 -3
- package/lib/types/version.d.ts +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -286,7 +286,7 @@ const balance = await io
|
|
|
286
286
|
.getBalance({
|
|
287
287
|
address: 'QGWqtJdLLgm2ehFWiiPzMaoFLD50CnGuzZIPEdoDRGQ',
|
|
288
288
|
})
|
|
289
|
-
.then((balance) => new mIOToken().toIO()); // convert it to IO for readability
|
|
289
|
+
.then((balance: number) => new mIOToken(balance).toIO()); // convert it to IO for readability
|
|
290
290
|
```
|
|
291
291
|
|
|
292
292
|
<details>
|