UNPKG

@reclaimprotocol/zk-symmetric-crypto

Version:
97 lines (96 loc) 2.64 kB
{ "name": "@reclaimprotocol/zk-symmetric-crypto", "version": "5.1.4", "description": "JS Wrappers for Various ZK Snark Circuits", "type": "module", "exports": { ".": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./snarkjs": { "types": "./lib/snarkjs/operator.d.ts", "default": "./lib/snarkjs/operator.js" }, "./gnark": { "types": "./lib/gnark/index.d.ts", "default": "./lib/gnark/index.js" }, "./stwo": { "types": "./lib/stwo/index.d.ts", "default": "./lib/stwo/index.js" } }, "repository": { "type": "git", "url": "https://github.com/reclaimprotocol/zk-symmetric-crypto" }, "scripts": { "test": "node --import=./src/tests/setup.ts --test --test-force-exit src/tests/*.test.ts", "bench": "node ./src/tests/benchmark", "build": "npm exec tsc -- -p tsconfig.build.json && npm run build:copy-assets", "build:copy-assets": "cp src/stwo/s2circuits.cjs src/stwo/s2circuits_bg.wasm lib/stwo/", "prepare": "npm run build", "commitlint": "commitlint --edit", "lint": "eslint ./ --ext .js,.ts,.jsx,.tsx", "lint:fix": "npm run lint -- --fix", "publish:pkg": "node ./src/scripts/publish-pkg.ts" }, "keywords": [ "circom", "chacha20", "symmetric-crypto", "zero-knowledge", "zk-snark", "cryptography", "blockchain", "privacy", "encryption", "decryption", "reclaim-protocol" ], "license": "See License in <https://github.com/reclaimprotocol/.github/blob/main/LICENSE>", "bugs": { "url": "https://github.com/reclaimprotocol/zk-symmetric-crypto/issues" }, "homepage": "https://github.com/reclaimprotocol/zk-symmetric-crypto/", "files": [ "lib" ], "peerDependencies": { "@reclaimprotocol/tls": "*", "koffi": "*", "p-queue": "*", "snarkjs": "*" }, "peerDependenciesMeta": { "snarkjs": { "optional": true }, "koffi": { "optional": true }, "p-queue": { "optional": true } }, "dependencies": { "js-base64": "^3.7.7" }, "devDependencies": { "@adiwajshing/eslint-config": "github:adiwajshing/eslint-config", "@commitlint/cli": "^17.7.1", "@commitlint/config-conventional": "^17.7.0", "@reclaimprotocol/tls": "^0.1.0", "@types/node": "^22.0.0", "circom_tester": "^0.0.20", "circomlib": "^2.0.5", "compare-versions": "^6.1.1", "eslint": "^8.57.1", "koffi": "^2.8.11", "p-queue": "^8.0.0", "snarkjs": "git+https://github.com/reclaimprotocol/snarkjs.git", "tinybench": "^3.0.3", "typescript": "^5.2.2" } }