@1sat/wallet-toolbox 0.0.43 → 0.0.44

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.
@@ -47,8 +47,14 @@ export async function fullSync(options) {
47
47
  // DEBUG CHECKPOINT 2: Log PUSH chunk contents
48
48
  const pushBaskets = chunk.outputBaskets || [];
49
49
  const pushOutputs = chunk.outputs || [];
50
+ const pushTransactions = chunk.transactions || [];
50
51
  const push1SatOutputs = pushOutputs.filter((o) => o.satoshis === 1);
51
52
  console.log("=== CHECKPOINT 2: PUSH CHUNK ===");
53
+ console.log("[PUSH] Chunk #:", chunkCount + 1);
54
+ console.log("[PUSH] Transactions:", pushTransactions.length);
55
+ for (const t of pushTransactions) {
56
+ console.log(` Tx: transactionId=${t.transactionId}, txid=${t.txid?.slice(0, 16) ?? "null"}..., status=${t.status}`);
57
+ }
52
58
  console.log("[PUSH] Output Baskets:", pushBaskets.length);
53
59
  for (const b of pushBaskets) {
54
60
  console.log(` Basket: id=${b.basketId}, name="${b.name}"`);
@@ -62,7 +68,9 @@ export async function fullSync(options) {
62
68
  }
63
69
  console.log("=== END CHECKPOINT 2 ===");
64
70
  // Send chunk to remote
71
+ console.log("[PUSH] Sending chunk to remote...");
65
72
  const result = await remoteStorage.processSyncChunk(args, chunk);
73
+ console.log(`[PUSH] Server response: inserts=${result.inserts}, updates=${result.updates}, done=${result.done}`);
66
74
  pushInserts += result.inserts;
67
75
  pushUpdates += result.updates;
68
76
  chunkCount++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1sat/wallet-toolbox",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "description": "BSV wallet library extending @bsv/wallet-toolbox with 1Sat Ordinals protocol support",
5
5
  "author": "1Sat Team",
6
6
  "license": "MIT",