monoidentity 0.9.0 → 0.9.1
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.
|
@@ -126,8 +126,12 @@ export const wrapWithBackup = (storage, requestBackup) => {
|
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
await traverse(dir, "");
|
|
129
|
-
|
|
129
|
+
const hasBackup = Boolean(Object.keys(backup).length);
|
|
130
|
+
if (hasBackup)
|
|
131
|
+
await load(backup);
|
|
130
132
|
localStorage["monoidentity-x/backup"] = "on";
|
|
133
|
+
if (hasBackup)
|
|
134
|
+
location.reload();
|
|
131
135
|
});
|
|
132
136
|
}
|
|
133
137
|
return proxy;
|
package/dist/trackready.js
CHANGED
|
@@ -19,7 +19,7 @@ export const trackReady = (app, intents, requestBackup, ready) => {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
if (!setup) {
|
|
22
|
-
const target = new URL("https://
|
|
22
|
+
const target = new URL("https://monoidentity.web.app");
|
|
23
23
|
target.hash = JSON.stringify({
|
|
24
24
|
intents: [{ storage: true }, ...intents],
|
|
25
25
|
redirectURI: location.origin,
|