monoidentity 0.31.1 → 0.31.3
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.d.ts
CHANGED
package/dist/+index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { parse as useSchema } from 'valibot';
|
|
|
3
3
|
import { decode } from 'base36-esm';
|
|
4
4
|
import { storageClient } from './storageclient.svelte.js';
|
|
5
5
|
import { object, pipe, email, string } from 'valibot';
|
|
6
|
+
export { SYNC_REQUEST_EVENT, STORAGE_EVENT, storageClient as _storageClient, } from './storageclient.svelte.js';
|
|
6
7
|
const loginSchema = object({ email: pipe(string(), email()), password: string() });
|
|
7
8
|
const LOGIN_RECOGNIZED_PATH = '.local/login.encjson';
|
|
8
9
|
export const getLoginRecognized = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const SYNC_REQUEST_EVENT = 'monoidentity-sync-request';
|
|
2
|
-
const STORAGE_EVENT = 'monoidentity-storage';
|
|
1
|
+
export const SYNC_REQUEST_EVENT = 'monoidentity-sync-request';
|
|
2
|
+
export const STORAGE_EVENT = 'monoidentity-storage';
|
|
3
3
|
const waitForSync = async (key) => {
|
|
4
4
|
await new Promise((resolve, reject) => window.dispatchEvent(new CustomEvent(SYNC_REQUEST_EVENT, { detail: { key, resolve, reject } })));
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monoidentity",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.3",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": "KTibow/monoidentity",
|
|
6
6
|
"author": {
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"base36-esm": "^0.1.0",
|
|
36
|
-
"devalue": "^5.6.
|
|
36
|
+
"devalue": "^5.6.3",
|
|
37
37
|
"valibot": "^1.2.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
41
|
-
"@sveltejs/kit": "^2.
|
|
41
|
+
"@sveltejs/kit": "^2.53.0",
|
|
42
42
|
"@sveltejs/package": "^2.5.7",
|
|
43
43
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
44
44
|
"publint": "^0.3.17",
|
|
45
|
-
"svelte": "^5.
|
|
46
|
-
"svelte-check": "^4.4.
|
|
45
|
+
"svelte": "^5.53.2",
|
|
46
|
+
"svelte-check": "^4.4.3",
|
|
47
47
|
"vite": "8.0.0-beta.15"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|