monoidentity 0.3.0 → 0.5.0
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/storage.d.ts +1 -1
- package/dist/storage.js +1 -1
- package/package.json +2 -2
package/dist/storage.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Login } from "./utils-callback.js";
|
|
2
2
|
export declare const setup: (i: Record<string, string>, a: string) => void;
|
|
3
3
|
export declare const getLogin: () => Login;
|
|
4
|
-
export declare const getStorage: (realm: "cache") => import("./_createstore.js").Dict;
|
|
4
|
+
export declare const getStorage: (realm: "config" | "cache") => import("./_createstore.js").Dict;
|
package/dist/storage.js
CHANGED
|
@@ -16,7 +16,7 @@ export const getLogin = () => {
|
|
|
16
16
|
return JSON.parse(decode(login));
|
|
17
17
|
};
|
|
18
18
|
export const getStorage = (realm) => {
|
|
19
|
-
const prefix = (text) => `.${realm}/${app}/${text}`;
|
|
19
|
+
const prefix = (text) => `.${realm}/${app}/${text}.devalue`;
|
|
20
20
|
if (!app)
|
|
21
21
|
throw new Error("No app set");
|
|
22
22
|
return createStore({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monoidentity",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"repository": "KTibow/monoidentity",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "KTibow"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"types": "./dist/index.d.ts",
|
|
23
23
|
"import": "./dist/index.js"
|
|
24
24
|
},
|
|
25
|
-
"./Monoidentity": {
|
|
25
|
+
"./Monoidentity.svelte": {
|
|
26
26
|
"types": "./dist/Monoidentity.svelte.d.ts",
|
|
27
27
|
"svelte": "./dist/Monoidentity.svelte"
|
|
28
28
|
}
|