@1sat/sweep-ui 0.0.2 → 0.0.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SweepApp.d.ts","sourceRoot":"","sources":["../../src/components/SweepApp.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAIhD,MAAM,WAAW,aAAa;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;CAChC;AAED,wBAAgB,QAAQ,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"SweepApp.d.ts","sourceRoot":"","sources":["../../src/components/SweepApp.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAIhD,MAAM,WAAW,aAAa;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;CAChC;AAED,wBAAgB,QAAQ,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,aAAa,2CAiQ1F"}
|
package/dist/index.js
CHANGED
|
@@ -2156,6 +2156,7 @@ function SweepApp({ legacyKeys: initialKeys, wallet: externalWallet }) {
|
|
|
2156
2156
|
else if (result.locked.length > 0)
|
|
2157
2157
|
setActiveTab("locks");
|
|
2158
2158
|
} catch (e) {
|
|
2159
|
+
console.error("Scan failed:", e);
|
|
2159
2160
|
toast.error(e instanceof Error ? e.message : "Scan failed");
|
|
2160
2161
|
} finally {
|
|
2161
2162
|
setScanning(false);
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1sat/sweep-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Sweep UI components for migrating legacy BSV assets",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./
|
|
6
|
+
"main": "./src/index.ts",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./
|
|
11
|
+
"import": "./src/index.ts"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"files": ["dist", "src"],
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"@1sat/actions": "0.0.64",
|
|
23
23
|
"@1sat/client": "0.0.17",
|
|
24
24
|
"@1sat/connect": "0.0.27",
|
|
25
|
+
"@1sat/sweep-ui": "0.0.3",
|
|
25
26
|
"@1sat/types": "0.0.14",
|
|
26
27
|
"@1sat/utils": "0.0.12",
|
|
27
28
|
"bitcoin-backup": "^0.0.11",
|
|
@@ -102,6 +102,7 @@ export function SweepApp({ legacyKeys: initialKeys, wallet: externalWallet }: Sw
|
|
|
102
102
|
else if (result.bsv20Tokens.length > 0) setActiveTab("bsv20");
|
|
103
103
|
else if (result.locked.length > 0) setActiveTab("locks");
|
|
104
104
|
} catch (e) {
|
|
105
|
+
console.error("Scan failed:", e);
|
|
105
106
|
toast.error(e instanceof Error ? e.message : "Scan failed");
|
|
106
107
|
} finally {
|
|
107
108
|
setScanning(false);
|