@1sat/sweep-ui 0.0.4 → 0.0.5

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/index.js CHANGED
@@ -497,7 +497,7 @@ async function scanAddress(address, onProgress) {
497
497
  limit: 0
498
498
  });
499
499
  onProgress?.({ phase: "categorize", detail: "Loading token details..." });
500
- return await categorizeOutputs(allOutputs);
500
+ return await categorizeOutputs(allOutputs ?? []);
501
501
  }
502
502
  async function scanAddresses(addresses, onProgress) {
503
503
  const unique = [...new Set(addresses)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1sat/sweep-ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Sweep UI components for migrating legacy BSV assets",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -199,7 +199,7 @@ export async function scanAddress(
199
199
  });
200
200
 
201
201
  onProgress?.({ phase: "categorize", detail: "Loading token details..." });
202
- return await categorizeOutputs(allOutputs);
202
+ return await categorizeOutputs(allOutputs ?? []);
203
203
  }
204
204
 
205
205
  export async function scanAddresses(