Add authenticated protocol 2 and TypeScript WASM client

This commit is contained in:
sergeych committed 2026-10-19 04:17:34 +04:00
1 parent 88ceeb2ae9
commit 237d404bcd
52 files changed
+3249 -150

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
{
"name": "@sergeych/kiloparsec",
"version": "0.8.0",
"private": true,
"type": "module",
"description": "TypeScript client for the full Kiloparsec protocol with libsodium WASM",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"docs",
"evaluation/measurements.json",
"evaluation/artifacts.json",
"evaluation/measurements-v2.json"
],
"scripts": {
"build": "tsc",
"test": "npm run build && node --test test/*.test.mjs",
"test:interop": "npm run build && npm run fixture:build && node scripts/interop.mjs",
"measure": "npm run build && node scripts/measure.mjs",
"fixture:build": "../gradlew -p evaluation :server:installDist",
"test:all": "npm test && npm run test:interop",
"baseline:build": "../gradlew -p evaluation :baseline:jsProductionExecutableCompileSync",
"wasm:build": "../gradlew -p evaluation :wasm-baseline:wasmJsProductionExecutableCompileSync",
"measure:wasm": "node scripts/measure-wasm.mjs",
"test:wasm-baseline": "node evaluation/wasm-smoke.mjs"
},
"engines": {
"node": ">=22"
},
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"libsodium-wrappers-sumo": "0.7.15"
},
"devDependencies": {
"typescript": "5.9.3",
"esbuild": "0.25.12",
"@types/libsodium-wrappers-sumo": "0.7.8",
"ws": "8.18.3"
}
}