UNPKG

@zkpass/zkfetch

Version:

zkFetch using zkTLS is a system that enables verifiable fetching of HTTPS data using zero-knowledge proofs (ZKPs). It ensures that the response from a remote TLS server (like a Web2 API) is authentic, integrity-preserved, and can be publicly verified—with

88 lines (87 loc) 2.6 kB
{ "name": "@zkpass/zkfetch", "version": "1.0.3", "description": "zkFetch using zkTLS is a system that enables verifiable fetching of HTTPS data using zero-knowledge proofs (ZKPs). It ensures that the response from a remote TLS server (like a Web2 API) is authentic, integrity-preserved, and can be publicly verified—without trusting the data fetcher or exposing sensitive content.", "main": "lib/index.js", "exports": { "import": "./lib/index.js", "types": "./lib/index.d.ts" }, "type": "module", "scripts": { "build": "tsup", "test": "vitest", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/zkPassOfficial/zkPass-zkFetch.git" }, "files": [ "lib/**/*" ], "keywords": [ "zkFetch", "zkTLS", "Zero-Knowledge", "Proof", "ZKProof", "zkVM", "zkKYC" ], "author": "Stone", "license": "ISC", "bugs": { "url": "https://github.com/zkPassOfficial/zkPass-zkFetch/issues" }, "homepage": "https://github.com/zkPassOfficial/zkPass-zkFetch#readme", "dependencies": { "@noble/curves": "^1.2.0", "@types/lodash": "^4.17.10", "@types/pako": "^2.0.3", "@zkpass/vole-node": "^1.0.1", "aes-js": "^3.1.2", "asn1js": "^3.0.5", "assert": "^2.1.0", "bigint-crypto-utils": "^3.3.0", "borsh": "^2.0.0", "buffer": "^6.0.3", "chardet": "^2.0.0", "crypto-browserify": "^3.12.0", "elliptic": "^6.5.4", "ethers": "^6.15.0", "iconv-lite": "^0.6.3", "json-bigint": "^1.0.0", "json-sorted-stringify": "^1.0.1", "json-stable-stringify": "^1.1.1", "libsodium-wrappers-sumo": "^0.7.11", "lodash": "^4.17.21", "paillier-bigint": "^3.4.3", "pako": "^2.1.0", "pkijs": "^3.0.15", "process": "^0.11.10" }, "devDependencies": { "@swc/core": "^1.13.1", "@types/aes-js": "^3.1.1", "@types/elliptic": "^6.4.14", "@types/json-bigint": "^1.0.1", "@types/json-stable-stringify": "^1.0.36", "@types/libsodium-wrappers-sumo": "^0.7.5", "@types/node": "^20.9.2", "@types/secp256k1": "^4.0.6", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "prettier": "^3.1.0", "ts-node": "^10.9.2", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "tsup": "^8.5.0", "typescript": "^5.8.3", "vitest": "^3.2.4" } }