{"_id":"@biuauth/metamask-adapter","name":"@biuauth/metamask-adapter","dist-tags":{"latest":"6.1.1"},"versions":{"6.1.1":{"name":"@biuauth/metamask-adapter","version":"6.1.1","description":"metamask wallet adapter for web3auth","keywords":["web3Auth/metamask-adapter","web3Auth","multichainWallet","blockchain","ethereum","metamask"],"main":"dist/metamaskAdapter.cjs.js","module":"dist/metamaskAdapter.esm.js","unpkg":"dist/metamaskAdapter.umd.min.js","jsdelivr":"dist/metamaskAdapter.umd.min.js","types":"dist/types/index.d.ts","author":{"name":"Torus Labs"},"homepage":"https://github.com/Web3Auth/Web3Auth/tree/master/packages/adapters/metamask-adapter#readme","license":"ISC","scripts":{"test":"mocha --config ../../../.mocharc.json test/**.ts","test-debugger":"mocha --config ../../../.mocharc.json --inspect-brk test/**.ts","dev":"torus-scripts start","build":"torus-scripts build","lint":"eslint --fix 'src/**/*.ts'","prepack":"npm run build","pre-commit":"lint-staged --cwd ."},"peerDependencies":{"@babel/runtime":"^7.x"},"dependencies":{"@metamask/detect-provider":"^2.0.0","@biuauth/base":"^6.1.1","@biuauth/base-evm-adapter":"^6.1.1"},"lint-staged":{"!(*d).ts":["eslint --cache --fix","prettier --write"]},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Web3Auth/Web3Auth.git"},"bugs":{"url":"https://github.com/Web3Auth/Web3Auth/issues"},"engines":{"node":">=16.18.1","npm":">=8.x"},"gitHead":"b7f9d6aac4f456cce7e595d7a9425bd14e918f4c","_id":"@biuauth/metamask-adapter@6.1.1","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-Of1IvlE1Rtqjgeie9OXKLr769eKeVl+xYlMoXMa+JvlwiLZScyiUzjklAeZ7ib46btIHFviqgXJ/5YbVBT9nrw==","shasum":"4d91109e1e1c015426bcbf13ddd176777c36bdb7","tarball":"https://registry.npmjs.org/@biuauth/metamask-adapter/-/metamask-adapter-6.1.1.tgz","fileCount":8,"unpackedSize":26383,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs9gTRVYtHdDfZUA0lH8t4KLDy8Y641FZbJCfWoxFPUgIgabun/jHzZNFOqjjf/HDsCH8eaJlYdts8Lh3qviMPqDc="}]},"_npmUser":{"name":"leekone","email":"fengwang8888888@gmail.com"},"directories":{},"maintainers":[{"name":"leekone","email":"fengwang8888888@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/metamask-adapter_6.1.1_1688566470516_0.8751687201143803"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-05T14:14:30.422Z","6.1.1":"2023-07-05T14:14:30.746Z","modified":"2023-07-05T14:14:31.027Z"},"maintainers":[{"name":"leekone","email":"fengwang8888888@gmail.com"}],"description":"metamask wallet adapter for web3auth","homepage":"https://github.com/Web3Auth/Web3Auth/tree/master/packages/adapters/metamask-adapter#readme","keywords":["web3Auth/metamask-adapter","web3Auth","multichainWallet","blockchain","ethereum","metamask"],"repository":{"type":"git","url":"git+https://github.com/Web3Auth/Web3Auth.git"},"author":{"name":"Torus Labs"},"bugs":{"url":"https://github.com/Web3Auth/Web3Auth/issues"},"license":"ISC","readme":"# Web3Auth Metamask Adapter\n\n[![npm version](https://img.shields.io/npm/v/@biuauth/metamask-adapter?label=%22%22)](https://www.npmjs.com/package/@biuauth/metamask-adapter/v/latest)\n[![minzip](https://img.shields.io/bundlephobia/minzip/@biuauth/metamask-adapter?label=%22%22)](https://bundlephobia.com/result?p=@biuauth/metamask-adapter@latest)\n\n> Web3Auth is where passwordless auth meets non-custodial key infrastructure for Web3 apps and wallets. By aggregating OAuth (Google, Twitter, Discord) logins, different wallets and innovative Multi Party Computation (MPC) - Web3Auth provides a seamless login experience to every user on your application.\n\nMetamask Adapter allows your Web3Auth Instance to connect to login with Metamask Wallet. \n\n## 📖 Documentation\n\nRead more about the Web3Auth Metamask Adapter in the [official Web3Auth Documentation](https://web3auth.io/docs/sdk/web/adapters/metamask).\n\n## 💡 Features\n- Plug and Play, OAuth based Web3 Authentication Service\n- Fully decentralized, non-custodial key infrastructure\n- End to end Whitelabelable solution\n- Threshold Cryptography based Key Reconstruction\n- Multi Factor Authentication Setup & Recovery (Includes password, backup phrase, device factor editing/deletion etc)\n- Support for WebAuthn & Passwordless Login\n- Support for connecting to multiple wallets\n- DApp Active Session Management\n\n...and a lot more\n\n## 📄 Basic Details\n\n- Adapter Name: `metamask`\n\n- Package Name: [`@biuauth/metamask-adapter`](https://web3auth.io/docs/sdk/web/adapters/metamask)\n\n- authMode: `DAPP`\n\n- chainNamespace: `EIP155`\n\n- Default: `YES`\n\n## 🔗 Installation\n\n```shell\nnpm install --save @biuauth/metamask-adapter\n```\n\n## 🩹 Example\n\n```ts\nimport { MetamaskAdapter } from \"@biuauth/metamask-adapter\";\nconst metamaskAdapter = new MetamaskAdapter();\n\n// it will add/update  the metamask adapter in to web3auth class\nweb3auth.configureAdapter(metamaskAdapter);\n```\n\nCheckout the examples for your preferred blockchain and platform in our [examples repository](https://github.com/Web3Auth/examples/)\n\n## 🌐 Demo\n\nCheckout the [Web3Auth Demo](https://demo-app.web3auth.io/) to see how Web3Auth can be used in your application.\n\n## 💬 Troubleshooting and Support\n\n- Have a look at our [Community Portal](https://community.web3auth.io/) to see if anyone has any questions or issues you might be having. Feel free to reate new topics and we'll help you out as soon as possible.\n- Checkout our [Troubleshooting Documentation Page](https://web3auth.io/docs/troubleshooting) to know the common issues and solutions.\n- For Priority Support, please have a look at our [Pricing Page](https://web3auth.io/pricing.html) for the plan that suits your needs.\n","readmeFilename":"README.md"}