@ar.io/sdk 3.1.0 → 3.2.0-alpha.2
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 +9 -0
- package/bundles/web.bundle.min.js +2 -2
- package/lib/cjs/common/ant.js +7 -0
- package/lib/cjs/version.js +1 -1
- package/lib/esm/common/ant.js +7 -0
- package/lib/esm/version.js +1 -1
- package/lib/types/cli/commands/readCommands.d.ts +3 -0
- package/lib/types/common/ant.d.ts +4 -0
- package/lib/types/types/ant.d.ts +1 -0
- package/lib/types/types/io.d.ts +3 -0
- package/lib/types/version.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,6 +93,7 @@ This is the home of [ar.io] SDK. This SDK provides functionality for interacting
|
|
|
93
93
|
- [`setTicker({ ticker })`](#setticker-ticker-)
|
|
94
94
|
- [`setDescription({ description })`](#setdescription-description-)
|
|
95
95
|
- [`setKeywords({ keywords })`](#setkeywords-keywords-)
|
|
96
|
+
- [`getLogo()`](#getlogo)
|
|
96
97
|
- [`setLogo({ txId })`](#setlogo-txid-)
|
|
97
98
|
- [`releaseName({ name, arioProcessId })`](#releasename-name-arioprocessid-)
|
|
98
99
|
- [`reassignName({ name, arioProcessId, antProcessId })`](#reassignname-name-arioprocessid-antprocessid-)
|
|
@@ -2025,6 +2026,14 @@ const { id: txId } = await ant.setDescription(
|
|
|
2025
2026
|
);
|
|
2026
2027
|
```
|
|
2027
2028
|
|
|
2029
|
+
#### `getLogo()`
|
|
2030
|
+
|
|
2031
|
+
Returns the TX ID of the logo set for the ANT.
|
|
2032
|
+
|
|
2033
|
+
```typescript
|
|
2034
|
+
const logoTxId = await ant.getLogo();
|
|
2035
|
+
```
|
|
2036
|
+
|
|
2028
2037
|
#### `setLogo({ txId })`
|
|
2029
2038
|
|
|
2030
2039
|
Sets the Logo of the ANT - logo should be an Arweave transaction ID.
|