@ticatec/dyna-js 0.1.3 → 0.1.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.
- package/dist/ModuleLoader.esm.js +1 -1
- package/dist/ModuleLoader.js +1 -1
- package/package.json +1 -1
package/dist/ModuleLoader.esm.js
CHANGED
|
@@ -27,7 +27,7 @@ const saveModule = (data) => {
|
|
|
27
27
|
window.localStorage.setItem(getDigestKey(key), data.digest);
|
|
28
28
|
window.localStorage.setItem(getScriptKey(key), data.scriptText ?? '');
|
|
29
29
|
if (data.uiLayout) {
|
|
30
|
-
window.localStorage.setItem(key, data.uiLayout);
|
|
30
|
+
window.localStorage.setItem(getLayoutKey(key), data.uiLayout);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
/**
|
package/dist/ModuleLoader.js
CHANGED
|
@@ -30,7 +30,7 @@ const saveModule = (data) => {
|
|
|
30
30
|
window.localStorage.setItem(getDigestKey(key), data.digest);
|
|
31
31
|
window.localStorage.setItem(getScriptKey(key), (_a = data.scriptText) !== null && _a !== void 0 ? _a : '');
|
|
32
32
|
if (data.uiLayout) {
|
|
33
|
-
window.localStorage.setItem(key, data.uiLayout);
|
|
33
|
+
window.localStorage.setItem(getLayoutKey(key), data.uiLayout);
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ticatec/dyna-js",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A TypeScript library for dynamic code execution using new Function() that works in both Node.js and browser environments",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|