@1sat/cli 0.0.24 → 0.0.26
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/package.json +6 -6
- package/src/commands/tokens.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1sat/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "CLI for 1Sat Ordinals SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/cli.ts",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
],
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@1sat/actions": "0.0.
|
|
27
|
-
"@1sat/client": "0.0.
|
|
28
|
-
"@1sat/types": "0.0.
|
|
29
|
-
"@1sat/wallet-node": "0.0.
|
|
30
|
-
"@bsv/sdk": "^2.0.
|
|
26
|
+
"@1sat/actions": "0.0.94",
|
|
27
|
+
"@1sat/client": "0.0.21",
|
|
28
|
+
"@1sat/types": "0.0.17",
|
|
29
|
+
"@1sat/wallet-node": "0.0.25",
|
|
30
|
+
"@bsv/sdk": "^2.0.13",
|
|
31
31
|
"chalk": "^5.0.0",
|
|
32
32
|
"@clack/prompts": "^0.8.0",
|
|
33
33
|
"bitcoin-backup": "^0.0.11",
|
package/src/commands/tokens.ts
CHANGED
|
@@ -162,8 +162,7 @@ async function tokenSend(args: string[], opts: GlobalFlags): Promise<void> {
|
|
|
162
162
|
try {
|
|
163
163
|
const result = await sendBsv21.execute(ctx, {
|
|
164
164
|
tokenId,
|
|
165
|
-
amount: amountStr,
|
|
166
|
-
address: to,
|
|
165
|
+
recipients: [{ amount: amountStr, address: to }],
|
|
167
166
|
})
|
|
168
167
|
|
|
169
168
|
if (result.error) {
|