@ai-matrx/vault 0.1.30 → 0.1.32

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.
@@ -0,0 +1,14 @@
1
+ "use client";
2
+
3
+ // src/io/keepass-xml-worker-client.ts
4
+ function createKeePassXmlWorker() {
5
+ return new Worker(new URL("./io/keepass-xml.worker.js", import.meta.url), { type: "module" });
6
+ }
7
+ function cancelKeePassXmlWorker(worker, requestId) {
8
+ worker.postMessage({ type: "cancel", requestId });
9
+ }
10
+ export {
11
+ cancelKeePassXmlWorker,
12
+ createKeePassXmlWorker
13
+ };
14
+ //# sourceMappingURL=keepass-xml-worker-client-NKUQ7IDA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/io/keepass-xml-worker-client.ts"],"sourcesContent":["/** Kept out of the dialog module so the worker boundary remains independently testable. */\nexport function createKeePassXmlWorker(): Worker {\n return new Worker(new URL(\"./keepass-xml.worker.ts\", import.meta.url), { type: \"module\" });\n}\n\nexport function cancelKeePassXmlWorker(\n worker: Worker,\n requestId: string,\n): void {\n worker.postMessage({ type: \"cancel\", requestId });\n}\n"],"mappings":";;;AACO,SAAS,yBAAiC;AAC/C,SAAO,IAAI,OAAO,IAAI,IAAI,2BAA2B,YAAY,GAAG,GAAG,EAAE,MAAM,SAAS,CAAC;AAC3F;AAEO,SAAS,uBACd,QACA,WACM;AACN,SAAO,YAAY,EAAE,MAAM,UAAU,UAAU,CAAC;AAClD;","names":[]}
@@ -0,0 +1,14 @@
1
+ "use client";
2
+
3
+ // src/io/onepux-worker-client.ts
4
+ function createOnePuxWorker() {
5
+ return new Worker(new URL("./io/onepux.worker.js", import.meta.url), { type: "module" });
6
+ }
7
+ function cancelOnePuxWorker(worker, requestId) {
8
+ worker.postMessage({ type: "cancel", requestId });
9
+ }
10
+ export {
11
+ cancelOnePuxWorker,
12
+ createOnePuxWorker
13
+ };
14
+ //# sourceMappingURL=onepux-worker-client-3GDLM4BG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/io/onepux-worker-client.ts"],"sourcesContent":["export function createOnePuxWorker(): Worker {\n return new Worker(new URL(\"./onepux.worker.ts\", import.meta.url), { type: \"module\" });\n}\n\n/** Abort an in-flight parse before the caller terminates or replaces its worker. */\nexport function cancelOnePuxWorker(worker: Worker, requestId: string): void {\n worker.postMessage({ type: \"cancel\", requestId });\n}\n"],"mappings":";;;AAAO,SAAS,qBAA6B;AAC3C,SAAO,IAAI,OAAO,IAAI,IAAI,sBAAsB,YAAY,GAAG,GAAG,EAAE,MAAM,SAAS,CAAC;AACtF;AAGO,SAAS,mBAAmB,QAAgB,WAAyB;AAC1E,SAAO,YAAY,EAAE,MAAM,UAAU,UAAU,CAAC;AAClD;","names":[]}
@@ -0,0 +1,14 @@
1
+ "use client";
2
+
3
+ // src/io/proton-pass-worker-client.ts
4
+ function createProtonPassWorker() {
5
+ return new Worker(new URL("./io/proton-pass.worker.js", import.meta.url), { type: "module" });
6
+ }
7
+ function cancelProtonPassWorker(worker, requestId) {
8
+ worker.postMessage({ type: "cancel", requestId });
9
+ }
10
+ export {
11
+ cancelProtonPassWorker,
12
+ createProtonPassWorker
13
+ };
14
+ //# sourceMappingURL=proton-pass-worker-client-6E77NB63.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/io/proton-pass-worker-client.ts"],"sourcesContent":["export function createProtonPassWorker(): Worker {\n return new Worker(new URL(\"./proton-pass.worker.ts\", import.meta.url), { type: \"module\" });\n}\nexport function cancelProtonPassWorker(\n worker: Worker,\n requestId: string,\n): void {\n worker.postMessage({ type: \"cancel\", requestId });\n}\n"],"mappings":";;;AAAO,SAAS,yBAAiC;AAC/C,SAAO,IAAI,OAAO,IAAI,IAAI,2BAA2B,YAAY,GAAG,GAAG,EAAE,MAAM,SAAS,CAAC;AAC3F;AACO,SAAS,uBACd,QACA,WACM;AACN,SAAO,YAAY,EAAE,MAAM,UAAU,UAAU,CAAC;AAClD;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/vault",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "description": "The AI Matrx Vault: one password-manager workspace (logins, API keys, secrets, one-time passwords, sharing, import/export) for the web app, the browser extension and the desktop app. Hosts supply an Api, an identity and optional abilities; the package owns every screen and the one client.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -16,6 +16,16 @@
16
16
  "default": "./dist/index.cjs"
17
17
  }
18
18
  },
19
+ "./identity": {
20
+ "import": {
21
+ "types": "./dist/identity.d.ts",
22
+ "default": "./dist/identity.js"
23
+ },
24
+ "require": {
25
+ "types": "./dist/identity.d.cts",
26
+ "default": "./dist/identity.cjs"
27
+ }
28
+ },
19
29
  "./package.json": "./package.json"
20
30
  },
21
31
  "dependencies": {
@@ -23,10 +33,10 @@
23
33
  "lossless-json": "4.3.1",
24
34
  "saxes": "6.0.0",
25
35
  "@ai-matrx/api": "latest",
26
- "@ai-matrx/data": "latest",
27
- "@ai-matrx/kit": "latest",
28
36
  "@ai-matrx/capture": "latest",
29
- "@ai-matrx/design-system": "latest"
37
+ "@ai-matrx/design-system": "latest",
38
+ "@ai-matrx/kit": "latest",
39
+ "@ai-matrx/data": "latest"
30
40
  },
31
41
  "peerDependencies": {
32
42
  "react": ">=18.0.0",
@@ -76,12 +86,12 @@
76
86
  "registry": "https://registry.npmjs.org/"
77
87
  },
78
88
  "scripts": {
79
- "build": "pnpm clean && tsup && node ./scripts/point-workers-at-dist.mjs && node ../scripts/check-node-env-not-inlined.mjs",
89
+ "build": "pnpm clean && tsup && node ./scripts/point-workers-at-dist.mjs && node ../scripts/check-ships-once.mjs --strict && node ../scripts/check-reexport-order.mjs . && node ../scripts/guard-exit.mjs ../scripts/check-node-env-not-inlined.mjs",
80
90
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
81
91
  "check:package": "pnpm build && node ../scripts/check-exports-agreement.mjs && publint && pnpm verify:tarball && node ../scripts/check-tarball-relative-imports.mjs --pack . && node ../scripts/check-package-rules.mjs --self-test && node ../scripts/check-package-rules.mjs .",
82
92
  "typecheck": "tsc -p tsconfig.json --noEmit",
83
93
  "verify:tarball": "node ./scripts/verify-tarball.mjs",
84
94
  "test": "vitest run"
85
95
  },
86
- "gitHead": "fca9e3321e49e655fdb63ef233cade0a38561013"
96
+ "gitHead": "0e7ef77cdca43cb6a24b887275b2f339c14efa23"
87
97
  }