quantum-resistant-rustykey 0.5.4 → 0.6.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/README.md +108 -130
- package/dist/index.mjs +2404 -0
- package/package.json +16 -8
- package/dist/index.js +0 -2891
- package/dist/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quantum-resistant-rustykey",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "WebAssembly ML-KEM (post-quantum) key encapsulation for Node.js and web.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|
|
@@ -12,22 +12,30 @@
|
|
|
12
12
|
".": {
|
|
13
13
|
"types": "./dist/index.d.ts",
|
|
14
14
|
"default": "./dist/index.js"
|
|
15
|
-
}
|
|
16
|
-
"./kyber_crystals_wasm_engine.js": "./dist/kyber_crystals_wasm_engine.js",
|
|
17
|
-
"./kyber_crystals_wasm_engine.wasm": "./dist/kyber_crystals_wasm_engine.wasm"
|
|
15
|
+
}
|
|
18
16
|
},
|
|
19
17
|
"files": [
|
|
20
|
-
"dist
|
|
18
|
+
"dist"
|
|
21
19
|
],
|
|
22
20
|
"scripts": {
|
|
23
21
|
"clean": "rm -rf dist",
|
|
24
|
-
"
|
|
22
|
+
"lint": "biome check . && tsc --project tsconfig.lint.json",
|
|
23
|
+
"lint:fix": "biome check --write .",
|
|
24
|
+
"build:wasm": "node scripts/build-wasm.mjs",
|
|
25
|
+
"bundle:mlkem": "node scripts/bundle-mlkem.mjs",
|
|
26
|
+
"build:vendor": "pnpm build:wasm && pnpm bundle:mlkem",
|
|
27
|
+
"build": "tsdown && node scripts/copy-assets.mjs",
|
|
28
|
+
"test": "vitest run",
|
|
29
|
+
"release": "changeset publish",
|
|
30
|
+
"example:browser": "pnpm --filter browser-demo dev"
|
|
25
31
|
},
|
|
26
32
|
"devDependencies": {
|
|
33
|
+
"@biomejs/biome": "2.4.10",
|
|
27
34
|
"@changesets/cli": "2.30.0",
|
|
28
35
|
"@types/node": "25.5.0",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
36
|
+
"esbuild": "0.27.4",
|
|
37
|
+
"tsdown": "0.21.7",
|
|
38
|
+
"typescript": "5.9.2",
|
|
31
39
|
"vitest": "4.1.2"
|
|
32
40
|
}
|
|
33
41
|
}
|