"license": "(GPL-3.0-or-later AND MIT)",
"dependencies": {
"blake2b": "^2.1.4",
+ "blake2b-wasm": "^2.4.0",
"blakejs": "^1.2.1"
},
"devDependencies": {
- "@types/blake2b": "^2.1.3",
+ "@types/blake2b-wasm": "^2.4.3",
"@types/node": "^22.8.6",
"@types/w3c-web-hid": "^1.0.6",
"@types/w3c-web-usb": "^1.0.10",
"license": "Apache-2.0",
"optional": true
},
- "node_modules/@types/blake2b": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/@types/blake2b/-/blake2b-2.1.3.tgz",
- "integrity": "sha512-MFCdX0MNxFBP/xEILO5Td0kv6nI7+Q2iRWZbTL/yzH2/eDVZS5Wd1LHdsmXClvsCyzqaZfHFzZaN6BUeUCfSDA==",
+ "node_modules/@types/blake2b-wasm": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/@types/blake2b-wasm/-/blake2b-wasm-2.4.3.tgz",
+ "integrity": "sha512-emsOJOuF5shxg5zhN3CHOy4BO/a26O++yk0ncFW9fePquKSGs1g6PIps8u8zFmApJjIkMQr7neVUqvoic4BRFw==",
"dev": true,
"license": "MIT"
},
},
"scripts": {
"build": "rm -rf dist && tsc && esbuild main.min=dist/main.js global.min=dist/global.js ckd=dist/lib/ckd.js --outdir=dist --target=es2022 --format=esm --platform=node --bundle --minify --sourcemap",
- "test": "npm run build && node --test --env-file .env",
+ "test": "npm run build && node --test --test-force-exit --env-file .env",
"test:coverage": "npm run test -- --experimental-test-coverage",
"test:coverage:report": "npm run test:coverage -- --test-reporter=lcov --test-reporter-destination=coverage.info && genhtml coverage.info --output-directory test/coverage && rm coverage.info && xdg-open test/coverage/index.html"
},
"dependencies": {
"blake2b": "^2.1.4",
+ "blake2b-wasm": "^2.4.0",
"blakejs": "^1.2.1"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-webusb": "^6.29.4"
},
"devDependencies": {
- "@types/blake2b": "^2.1.3",
+ "@types/blake2b-wasm": "^2.4.3",
"@types/node": "^22.8.6",
"@types/w3c-web-hid": "^1.0.6",
"@types/w3c-web-usb": "^1.0.10",