@ar.io/sdk 2.5.0-alpha.1 → 2.5.0-alpha.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/README.md +18 -9
- package/bundles/web.bundle.min.js +51 -51
- package/lib/cjs/common/ant.js +4 -3
- package/lib/cjs/constants.js +1 -1
- package/lib/cjs/types/ant.js +3 -1
- package/lib/cjs/utils/ao.js +27 -1
- package/lib/cjs/version.js +1 -1
- package/lib/esm/common/ant.js +6 -5
- package/lib/esm/constants.js +1 -1
- package/lib/esm/types/ant.js +2 -0
- package/lib/esm/utils/ao.js +25 -0
- package/lib/esm/version.js +1 -1
- package/lib/types/common/ant.d.ts +3 -3
- package/lib/types/constants.d.ts +1 -1
- package/lib/types/types/ant.d.ts +34 -1
- package/lib/types/types/io.d.ts +6 -1
- package/lib/types/utils/ao.d.ts +6 -1
- package/lib/types/version.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1249,6 +1249,8 @@ const vaults = await io.getDelegations({
|
|
|
1249
1249
|
}
|
|
1250
1250
|
```
|
|
1251
1251
|
|
|
1252
|
+
</details>
|
|
1253
|
+
|
|
1252
1254
|
#### `instantWithdrawal({ gatewayAddress, vaultId })`
|
|
1253
1255
|
|
|
1254
1256
|
Instantly withdraws an existing vault on a gateway. If no `gatewayAddress` is provided, the signer's address will be used.
|
|
@@ -1597,36 +1599,43 @@ const records = await ant.getRecords();
|
|
|
1597
1599
|
<summary>Output</summary>
|
|
1598
1600
|
|
|
1599
1601
|
```json
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
+
[
|
|
1603
|
+
{
|
|
1604
|
+
"name": "@",
|
|
1602
1605
|
"transactionId": "nOXJjj_vk0Dc1yCgdWD8kti_1iHruGzLQLNNBHVpN0Y",
|
|
1603
1606
|
"ttlSeconds": 3600
|
|
1604
1607
|
},
|
|
1605
|
-
|
|
1608
|
+
{
|
|
1609
|
+
"name": "cn",
|
|
1606
1610
|
"transactionId": "_HquerT6pfGFXrVxRxQTkJ7PV5RciZCqvMjLtUY0C1k",
|
|
1607
1611
|
"ttlSeconds": 3300
|
|
1608
1612
|
},
|
|
1609
|
-
|
|
1613
|
+
{
|
|
1614
|
+
"name": "dapp",
|
|
1610
1615
|
"transactionId": "hxlxVgAG0K4o3fVD9T6Q4VBWpPmMZwMWgRh1kcuh3WU",
|
|
1611
1616
|
"ttlSeconds": 3600
|
|
1612
1617
|
},
|
|
1613
|
-
|
|
1618
|
+
{
|
|
1619
|
+
"name": "logo",
|
|
1614
1620
|
"transactionId": "KKmRbIfrc7wiLcG0zvY1etlO0NBx1926dSCksxCIN3A",
|
|
1615
1621
|
"ttlSeconds": 3600
|
|
1616
1622
|
},
|
|
1617
|
-
|
|
1623
|
+
{
|
|
1624
|
+
"name": "og",
|
|
1618
1625
|
"transactionId": "YzD_Pm5VAfYpMD3zQCgMUcKKuleGhEH7axlrnrDCKBo",
|
|
1619
1626
|
"ttlSeconds": 3600
|
|
1620
1627
|
},
|
|
1621
|
-
|
|
1628
|
+
{
|
|
1629
|
+
"name": "og_dapp",
|
|
1622
1630
|
"transactionId": "5iR4wBu4KUV1pUz1YpYE1ARXSRHUT5G2ptMuoN2JDlI",
|
|
1623
1631
|
"ttlSeconds": 3600
|
|
1624
1632
|
},
|
|
1625
|
-
|
|
1633
|
+
{
|
|
1634
|
+
"name": "og_logo",
|
|
1626
1635
|
"transactionId": "TB2wJyKrPnkAW79DAwlJYwpgdHKpijEJWQfcwX715Co",
|
|
1627
1636
|
"ttlSeconds": 3600
|
|
1628
1637
|
}
|
|
1629
|
-
|
|
1638
|
+
]
|
|
1630
1639
|
```
|
|
1631
1640
|
|
|
1632
1641
|
</details>
|