@1sat/wallet-toolbox 0.0.49 → 0.0.50

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.
@@ -338,6 +338,12 @@ export const transferOrdinals = {
338
338
  if ("error" in params) {
339
339
  return params;
340
340
  }
341
+ console.log("[transferOrdinals] params:", JSON.stringify({
342
+ description: params.description,
343
+ inputBEEF: params.inputBEEF ? `[${params.inputBEEF.length} bytes]` : "undefined",
344
+ inputs: params.inputs,
345
+ outputs: params.outputs?.map(o => ({ ...o, lockingScript: o.lockingScript?.slice(0, 20) + "..." })),
346
+ }, null, 2));
341
347
  const createResult = await ctx.wallet.createAction({
342
348
  ...params,
343
349
  options: { signAndProcess: false, randomizeOutputs: false },
@@ -157,6 +157,7 @@ export async function createWebWallet(config) {
157
157
  unprovenAttemptsLimitMain: 144,
158
158
  });
159
159
  monitor.addDefaultTasks();
160
+ console.log("[createWebWallet] Monitor created with tasks:", monitor["_tasks"].map((t) => t.name));
160
161
  // Helper to sync to remote backup using public updateBackups API
161
162
  const syncToBackup = async (context) => {
162
163
  if (storage.getBackupStores().length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1sat/wallet-toolbox",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "BSV wallet library extending @bsv/wallet-toolbox with 1Sat Ordinals protocol support",
5
5
  "author": "1Sat Team",
6
6
  "license": "MIT",