@omnisat/lasereyes 0.0.52 → 0.0.54
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -616,7 +616,7 @@ var LaserEyesProvider = ({
|
|
|
616
616
|
accounts: []
|
|
617
617
|
});
|
|
618
618
|
const self = selfRef.current;
|
|
619
|
-
const [library, setLibrary] = (0, import_usehooks_ts.useLocalStorage)("library",
|
|
619
|
+
const [library, setLibrary] = (0, import_usehooks_ts.useLocalStorage)("library", {});
|
|
620
620
|
const [provider, setProvider] = (0, import_usehooks_ts.useLocalStorage)("provider", void 0);
|
|
621
621
|
const [isInitializing, setIsInitializing] = (0, import_react.useState)(true);
|
|
622
622
|
const [connected, setConnected] = (0, import_usehooks_ts.useLocalStorage)("connected", false);
|
|
@@ -1133,7 +1133,7 @@ var LaserEyesProvider = ({
|
|
|
1133
1133
|
setPaymentPublicKey("");
|
|
1134
1134
|
setAccounts([]);
|
|
1135
1135
|
setProvider(void 0);
|
|
1136
|
-
setLibrary(
|
|
1136
|
+
setLibrary({});
|
|
1137
1137
|
setConnected(false);
|
|
1138
1138
|
setBalance(void 0);
|
|
1139
1139
|
localStorage == null ? void 0 : localStorage.removeItem(LOCAL_STORAGE_DEFAULT_WALLET);
|
package/dist/index.mjs
CHANGED
|
@@ -521,7 +521,7 @@ var LaserEyesProvider = ({
|
|
|
521
521
|
accounts: []
|
|
522
522
|
});
|
|
523
523
|
const self = selfRef.current;
|
|
524
|
-
const [library, setLibrary] = useLocalStorage("library",
|
|
524
|
+
const [library, setLibrary] = useLocalStorage("library", {});
|
|
525
525
|
const [provider, setProvider] = useLocalStorage("provider", void 0);
|
|
526
526
|
const [isInitializing, setIsInitializing] = useState(true);
|
|
527
527
|
const [connected, setConnected] = useLocalStorage("connected", false);
|
|
@@ -1038,7 +1038,7 @@ var LaserEyesProvider = ({
|
|
|
1038
1038
|
setPaymentPublicKey("");
|
|
1039
1039
|
setAccounts([]);
|
|
1040
1040
|
setProvider(void 0);
|
|
1041
|
-
setLibrary(
|
|
1041
|
+
setLibrary({});
|
|
1042
1042
|
setConnected(false);
|
|
1043
1043
|
setBalance(void 0);
|
|
1044
1044
|
localStorage == null ? void 0 : localStorage.removeItem(LOCAL_STORAGE_DEFAULT_WALLET);
|