@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 +1 -1
- package/package.json +1 -1
- package/src/lib/scanner.ts +1 -1
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
package/src/lib/scanner.ts
CHANGED
|
@@ -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(
|