@1sat/wallet-toolbox 0.0.52 → 0.0.54
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/dist/api/ordinals/index.js +0 -13
- package/package.json +5 -5
|
@@ -203,7 +203,6 @@ export async function buildTransferOrdinals(ctx, request) {
|
|
|
203
203
|
lockingScript: new P2PKH().lock(recipientAddress).toHex(),
|
|
204
204
|
satoshis: 1,
|
|
205
205
|
outputDescription: "Ordinal transfer to external address",
|
|
206
|
-
tags: [],
|
|
207
206
|
});
|
|
208
207
|
}
|
|
209
208
|
}
|
|
@@ -334,18 +333,6 @@ export const transferOrdinals = {
|
|
|
334
333
|
},
|
|
335
334
|
},
|
|
336
335
|
async execute(ctx, input) {
|
|
337
|
-
console.log("[transferOrdinals] EXECUTE START - input:", JSON.stringify({
|
|
338
|
-
transferCount: input.transfers?.length,
|
|
339
|
-
hasBEEF: !!input.inputBEEF,
|
|
340
|
-
beefLength: input.inputBEEF?.length,
|
|
341
|
-
transfers: input.transfers?.map(t => ({
|
|
342
|
-
outpoint: t.ordinal?.outpoint,
|
|
343
|
-
hasAddress: !!t.address,
|
|
344
|
-
hasCounterparty: !!t.counterparty,
|
|
345
|
-
tags: t.ordinal?.tags,
|
|
346
|
-
customInstructions: t.ordinal?.customInstructions,
|
|
347
|
-
})),
|
|
348
|
-
}, null, 2));
|
|
349
336
|
try {
|
|
350
337
|
const params = await buildTransferOrdinals(ctx, input);
|
|
351
338
|
if ("error" in params) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1sat/wallet-toolbox",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.54",
|
|
4
4
|
"description": "BSV wallet library extending @bsv/wallet-toolbox with 1Sat Ordinals protocol support",
|
|
5
5
|
"author": "1Sat Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"tester": "bun run build && bun run tester:build && bun ./tester/server.ts"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@1sat/wallet-toolbox": "0.0.
|
|
40
|
+
"@1sat/wallet-toolbox": "0.0.52",
|
|
41
41
|
"@bopen-io/templates": "^1.1.6",
|
|
42
42
|
"@bsv/sdk": "^1.10.1",
|
|
43
43
|
"@msgpack/msgpack": "^3.1.3",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"fflate": "^0.8.2"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@bsv/wallet-toolbox-mobile": "npm:@bopen-io/wallet-toolbox-mobile@^1.7.20-idb-fix.
|
|
48
|
+
"@bsv/wallet-toolbox-mobile": "npm:@bopen-io/wallet-toolbox-mobile@^1.7.20-idb-fix.30"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@bsv/wallet-toolbox-mobile": {
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@biomejs/biome": "^1.9.4",
|
|
57
|
-
"@bsv/wallet-toolbox": "npm:@bopen-io/wallet-toolbox@^1.7.20-idb-fix.
|
|
58
|
-
"@bsv/wallet-toolbox-mobile": "npm:@bopen-io/wallet-toolbox-mobile@^1.7.20-idb-fix.
|
|
57
|
+
"@bsv/wallet-toolbox": "npm:@bopen-io/wallet-toolbox@^1.7.20-idb-fix.30",
|
|
58
|
+
"@bsv/wallet-toolbox-mobile": "npm:@bopen-io/wallet-toolbox-mobile@^1.7.20-idb-fix.30",
|
|
59
59
|
"@types/bun": "^1.3.4",
|
|
60
60
|
"@types/chrome": "^0.1.32",
|
|
61
61
|
"typescript": "^5.9.3"
|