@qntx/wallet-worker 0.2.0 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qntx/wallet-worker",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Web Worker and worker_threads hosts for @qntx/wallet",
5
5
  "keywords": [
6
6
  "nostr",
@@ -45,29 +45,35 @@
45
45
  "access": "public"
46
46
  },
47
47
  "scripts": {
48
- "build": "vp run @qntx/wallet#build && vp pack && bun build --target node --outfile dist/kernel.node.js src/worker/node.ts && bun build --target browser --outfile dist/kernel.worker.js src/worker/browser.ts",
49
- "test": "vp run @qntx/wallet#build && bun build --target node --outfile dist/kernel.node.js src/worker/node.ts && vp test",
50
- "test:browser": "bun run build && playwright test --config tests/browser/playwright.config.ts",
48
+ "build": "vp run @qntx/wallet#build && vp pack && bun build --target node --splitting --outdir dist --entry-naming \"kernel.[name].js\" src/worker/node.ts && bun build --target browser --splitting --outdir dist --entry-naming \"kernel.[name].js\" src/worker/worker.ts && bun scripts/copy-spark-wasm.ts && bun scripts/kernel-manifest.ts",
49
+ "test": "vp test",
50
+ "test:coverage": "vp test --coverage",
51
+ "test:browser": "playwright test --config tests/browser/playwright.config.ts",
51
52
  "smoke:hermes": "vp run @qntx/wallet#build && bun scripts/hermes-smoke.ts",
52
- "typecheck": "vp run @qntx/wallet#build && tsc --noEmit && tsc --noEmit -p tsconfig.src.json && tsc --noEmit -p src/browser/tsconfig.json && tsc --noEmit -p src/worker/tsconfig.json && tsc --noEmit -p tests/browser/page/tsconfig.json",
53
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.src.json && tsc --noEmit -p src/browser/tsconfig.json && tsc --noEmit -p src/worker/tsconfig.json && tsc --noEmit -p tests/browser/page/tsconfig.json",
53
54
  "check:pkg": "bun run build && publint && attw --pack . --profile esm-only",
54
- "pack:local": "bun run build && bun pm pack"
55
+ "pack:local": "bun run build && bun pm pack",
56
+ "test:consumer": "bun scripts/consumer-smoke.ts"
55
57
  },
56
58
  "devDependencies": {
57
59
  "@arethetypeswrong/cli": "0.18.5",
58
60
  "@noble/hashes": "2.4.0",
59
61
  "@playwright/test": "1.63.0",
60
- "@qntx/nostr": "0.14.0",
62
+ "@qntx/nostr": "0.15.0",
63
+ "@qntx/spark": "0.5.0",
64
+ "@qntx/spark-wasm": "0.5.0",
61
65
  "@qntx/tsconfig": "1.0.1",
62
- "@qntx/wallet": "0.2.0",
63
- "@qntx/wallet-kernel": "0.2.0",
64
- "@types/node": "26.6.4",
66
+ "@qntx/wallet": "0.4.0",
67
+ "@qntx/wallet-kernel": "0.4.0",
68
+ "@scure/base": "2.4.0",
69
+ "@scure/btc-signer": "2.4.1",
70
+ "@types/node": "26.6.5",
65
71
  "publint": "0.3.25",
66
72
  "typescript": "7.0.2",
67
- "vite-plus": "1.0.0"
73
+ "vite-plus": "1.3.0"
68
74
  },
69
75
  "peerDependencies": {
70
- "@qntx/wallet": "0.2.0"
76
+ "@qntx/wallet": "0.4.0"
71
77
  },
72
78
  "devEngines": {
73
79
  "packageManager": {