@reclaimprotocol/browser-extension-sdk
Version:
This guide will walk you through integrating the Reclaim Protocol Browser Extension SDK into your own browser extension or web application. It covers installation, manifest configuration, background initialization, content script setup, and how to trigg
168 lines (167 loc) • 4.98 kB
JSON
{
"name": "@reclaimprotocol/browser-extension-sdk",
"version": "0.0.4",
"module": "build/ReclaimExtensionSDK.bundle.js",
"exports": {
".": {
"import": "./build/ReclaimExtensionSDK.bundle.js",
"types": "./index.d.ts"
},
"./background": "./build/background/background.bundle.js",
"./content": "./build/content/content.bundle.js",
"./offscreen": "./build/offscreen/offscreen.bundle.js",
"./interceptor/network": "./build/interceptor/network-interceptor.bundle.js",
"./interceptor/injection": "./build/interceptor/injection-scripts.bundle.js",
"./download-circuits": "./build/scripts/download-circuits.js"
},
"types": "./index.d.ts",
"files": [
"build/",
"src/types/",
"index.d.ts"
],
"scripts": {
"prebuild": "prettier --write .",
"build": "NODE_ENV=production node webpack-build-utils/build.js",
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall1": "./script.sh",
"format": "prettier --write .",
"prepublishOnly": "npm run build"
},
"keywords": [
"reclaimprotocol",
"reclaim",
"sdk",
"browser-extension-sdk",
"browser-extension",
"webextension",
"manifest-v3",
"chrome-extension",
"firefox-extension",
"content-script",
"background-service-worker",
"offscreen-document",
"zero-knowledge",
"zkp",
"proofs",
"proof-generation",
"verification",
"identity",
"attestor",
"verifiable-claims",
"network-interceptor",
"vite",
"crx",
"ethers",
"typescript"
],
"author": "sajjad21990",
"license": "MIT",
"dependencies": {
"@extism/extism": "^1.0.3",
"@reclaimprotocol/attestor-core": "4.0.3",
"@reclaimprotocol/tls": "git+https://git@github.com/reclaimprotocol/tls.git#8e0669a220341432673a20bb51f9339555701ef4",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"child_process": "^1.0.2",
"crypto-browserify": "3.12.1",
"ethers": "^6.13.1",
"os-browserify": "^0.3.0",
"p-queue": "^8.0.1",
"path-browserify": "1.0.1",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.2",
"react-router": "^6.15.0",
"react-router-dom": "^6.15.0",
"redux": "^4.2.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.4.2",
"snarkjs": "^0.7.5",
"stream-browserify": "^3.0.0",
"tailwindcss": "^3.3.3",
"web-vitals": "^2.1.4",
"web3": "^4.10.0"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@types/chrome": "^0.0.202",
"@types/node": "^20.4.10",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/react-router-dom": "^5.3.3",
"@types/redux-logger": "^3.0.9",
"@types/webextension-polyfill": "^0.10.7",
"assert": "^2.1.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.2",
"babel-preset-react-app": "^10.0.1",
"browserify-zlib": "^0.2.0",
"clean-webpack-plugin": "^4.0.0",
"constants-browserify": "^1.0.0",
"copy-webpack-plugin": "^11.0.0",
"crypto-browserify": "^3.12.0",
"css-loader": "^6.7.3",
"eslint": "^8.31.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.4",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.32.0",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"fs-extra": "^11.1.0",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.5.0",
"https-browserify": "^1.0.0",
"node-polyfill-webpack-plugin": "4.1.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.1.1",
"prettier": "^3.0.2",
"react-refresh": "^0.14.0",
"react-refresh-typescript": "^2.0.7",
"sass": "^1.57.1",
"sass-loader": "^13.2.0",
"source-map-loader": "^3.0.1",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.6",
"text-encoding": "^0.7.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.4",
"url": "^0.11.3",
"util": "^0.12.5",
"vm-browserify": "^1.1.2",
"webextension-polyfill": "^0.10.0",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "5.2.2",
"webpack-ext-reloader": "^1.1.12",
"zip-webpack-plugin": "^4.0.1"
},
"overrides": {
"koffi": false,
"re2": false,
"snarkjs": false
},
"browser": {
"fs": false,
"child_process": false,
"koffi": false,
"re2": false,
"worker_threads": false,
"snarkjs": false,
"node:url": "url/"
}
}