@waiaas/sdk 2.3.0 → 2.4.0-rc.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/README.md +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -93,13 +93,13 @@ const client = new WAIaaSClient({
|
|
|
93
93
|
});
|
|
94
94
|
|
|
95
95
|
const balance = await client.getBalance();
|
|
96
|
-
console.log(`Balance: ${balance.
|
|
96
|
+
console.log(`Balance: ${balance.balance} ${balance.symbol}`);
|
|
97
97
|
|
|
98
98
|
const tx = await client.sendToken({
|
|
99
99
|
to: 'recipient-address...',
|
|
100
100
|
amount: '0.1',
|
|
101
101
|
});
|
|
102
|
-
console.log(`Transaction: ${tx.
|
|
102
|
+
console.log(`Transaction: ${tx.id}`);
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
## Admin UI
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waiaas/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0-rc.1",
|
|
4
4
|
"description": "WAIaaS TypeScript SDK - client library for the wallet daemon API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
|
-
"dist"
|
|
28
|
+
"dist",
|
|
29
|
+
"README.md"
|
|
29
30
|
],
|
|
30
31
|
"engines": {
|
|
31
32
|
"node": ">=22.0.0"
|