{"_id":"@archprotocol/wagmi-magic-connector","_rev":"14-f3ce7f161db4e6b1a646ff65d22e4fd1","name":"@archprotocol/wagmi-magic-connector","dist-tags":{"latest":"2.3.3"},"versions":{"2.1.3":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.3","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.3","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"036c27d68bb6e6767863169fd1377ca5c5faea34","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.3.tgz","fileCount":20,"integrity":"sha512-bY1zY9aFoBJMpF5wPaebsVIapP1Gfc2zX5WH6xTe7SY3Vbo2DUO4tkxROTVfzaeHswHe33Ow6GlEMpayjlc6Mw==","signatures":[{"sig":"MEUCID85ds2W37WeUA5sjsUMkS5+b5X2Ig024qsiqpHuLLh8AiEAh9PrIEAWQzQfwmsimAb32lPKv32cWdnviksoY1kodRA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98437},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"71326b0190e3545e5aad2769e8c6904724d425a2","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.2.3","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"18.19.0","dependencies":{"magic-sdk":"^28.0.7","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.0.7","@magic-sdk/provider":"^28.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.3_1719950614145_0.2756788137604351","host":"s3://npm-registry-packages"}},"2.1.4":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.4","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.4","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"821aa7a181f89d138ec0e604669f9407a3067c65","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.4.tgz","fileCount":22,"integrity":"sha512-Qw/jm6sWZU1QcRl50USAEwqV+mQmaNX8u8gGryQlRvePRLG9C0PHh+qD/fEVXJt3BMTREeYqvsr6U8Uo8xgqjw==","signatures":[{"sig":"MEUCIQDIhLYv4uwy8i9f/MjFeORwUqMVDTiysxu6JrBh1YLqZQIge6WXRx79EtiZxvJTWEHNI5bE/+gL9rbj4xA7K3yMBOA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98965},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"5095513a93df8e8c39883d7cde339a26a75d623b","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.7.0","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"18.20.3","dependencies":{"magic-sdk":"^28.0.7","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.0.7","@magic-sdk/provider":"^28.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.4_1719955375109_0.1666646595649086","host":"s3://npm-registry-packages"}},"2.1.5":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.5","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.5","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"4a6a609ca45aa9c4ffe707c1260a08ff52c10268","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.5.tgz","fileCount":24,"integrity":"sha512-hVOzhTGEM+GNY60iC3Y3A86RlS5wlU4ow0BcyHKmvJcEvJcYJaD4s1byS3ZFBKRY5PjvPL93DCH9ZzUeuc3U+g==","signatures":[{"sig":"MEUCIHgCGgmkhc/XZe1fAi/6qCGSnRNvL0zosBOsofNhq5k3AiEAqdfNBCPqOlTw5lgzHUmTRZmiPjsz03NYmAsw4yW1KUc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99073},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"7a09670a4eb17006310099a7e0b6f4f6fcf01176","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.7.0","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.15.0","dependencies":{"magic-sdk":"^28.0.7","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.0.7","@magic-sdk/provider":"^28.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.5_1720019561768_0.3116376372265315","host":"s3://npm-registry-packages"}},"2.1.6":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.6","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.6","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"a5b378698c53b6c61bd7e8d4d9a0b6ff59d03e6e","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.6.tgz","fileCount":24,"integrity":"sha512-V0pzwx5HBJGCcGLxY1oiAH7K0arUO6j2cQ+bj3fbsdLINJ1L5EZ08fY6op8ERi5G+bCN5cjSAICNlffSN1j+qg==","signatures":[{"sig":"MEYCIQC2rObiM0lVZbxz3dwdEoLNXPknUDRSzVwP7RtdfXGgFAIhAMIIzeKgaKhcaV1SucKiNdJDpilSAwtpxzi8mT/qp5jv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99127},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"6ef45cd0436581167da11eb29af683cf3e298a39","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.7.0","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.15.0","dependencies":{"magic-sdk":"^28.0.7","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.0.7","@magic-sdk/provider":"^28.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.6_1720029494553_0.8095009228113537","host":"s3://npm-registry-packages"}},"2.1.7":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.7","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.7","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"11abb51eeaf99f09286e110f84e097a02e268a0c","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.7.tgz","fileCount":24,"integrity":"sha512-qrBNeBWHimSQDbncfRhc68A0/zdPh6kNBbS/KHBU3NP6jE7NA0MhML/fnncfDx+p1kXBFcdCnuNNT7vG7L8ysw==","signatures":[{"sig":"MEYCIQDOhBHrJ+U+BGYEigvdXvylOv+gya4eCryrXdvAdcIiQAIhAP0QKYjR5IVkaj+PhPkvkOo5Tz/1bAqHxyeZbXct1PBx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99391},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"ab798d1af86dcd98d7f2e55dc3f223ab19526dc3","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.7.0","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.15.0","dependencies":{"magic-sdk":"^28.0.7","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.0.7","@magic-sdk/provider":"^28.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.7_1720032590574_0.9118601425865771","host":"s3://npm-registry-packages"}},"2.1.8":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.8","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.8","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"9694749583b78c6343cd48e2046fd94459fb797e","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.8.tgz","fileCount":24,"integrity":"sha512-tdtcvzfHRZXQ+A+RqZd8uxHKbmvTQn4LZ2NwZH3Yf2k3rBJKnEzpF6faX5QerH2XKeUQuNELXLMVbhv9T+U5bA==","signatures":[{"sig":"MEQCIHrCBw3s4mn03MYTqWBOzcVNPSePrLjNQafPVMgXXmPCAiAaSKVZc4jr7X3Po8zRkjIgBMK8cwaXdNEm67d2cWWilg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99533},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"bd5008c6ad7136ddcf162bc80ca3603dd822c6a4","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.7.0","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.15.0","dependencies":{"magic-sdk":"^28.0.7","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.0.7","@magic-sdk/provider":"^28.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.8_1720657056018_0.07464145256739863","host":"s3://npm-registry-packages"}},"2.1.9":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.9","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.9","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"7d68c0af026c8daab9c303b015d1e8d5eaeeccf2","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.9.tgz","fileCount":24,"integrity":"sha512-Y3bTXLpADbfTkj60RgTFA3LxDeMsRKL0twTM2KxgTKhPwbT+6kZAbCcNbgTpz1M1uxSWrpTCN1uJ+GLlnerHmg==","signatures":[{"sig":"MEUCIQC74dAWaHnGeXm8U3Zzhqkpz4xBrdEK1SLBPNsF4s/CEQIgE2siMYYVvfHARch18AjQoDqhVPOmF7AOeEwzufqd9Ak=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":644741},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"e4c401840242783192f02e40315a2ed8ad9f763f","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.8.1","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.16.0","dependencies":{"magic-sdk":"^28.5.0","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.0.7","@magic-sdk/provider":"^28.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.9_1724087512459_0.9860815226823523","host":"s3://npm-registry-packages"}},"2.1.10":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.10","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.10","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"4050508210c0d1b6122663eb719dfac8111a01fc","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.10.tgz","fileCount":24,"integrity":"sha512-KnTQaQ3bAIYvnHqrKAqrfk+LnBNJduUNsulzvAAgOCr958Ptr/PlN3GPYOiYksk+bhpMLYKOzKkyNPjHQnABYQ==","signatures":[{"sig":"MEUCIQCfye3I+4yfRXp7DCrmMY2EIp0eUGvO1Sm5h21si8JquQIgbUTZ0hP6HO81Hzd6zLJ/wCg9K8EH98RPZ05TaDiCMV4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":644742},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"cf2e7279a13f4f4f1b49a07c5645ff861c7f8433","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.8.1","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.16.0","dependencies":{"magic-sdk":"^28.5.0","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.5.0","@magic-sdk/provider":"^28.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.10_1724092026165_0.3102499167338091","host":"s3://npm-registry-packages"}},"2.1.11":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.11","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.11","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"648161355a4d94b4793d3f082bad901921100dd8","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.11.tgz","fileCount":24,"integrity":"sha512-KuccrsfXDFXJsB/TOtPom5iNqESXTU0GXUVMdEXMdQw8KmSpeiHvdGMoraKiO/Db8PDXQfx2UXIkRngPoFgdiA==","signatures":[{"sig":"MEUCIQDKTDcPoobqMiSg4MNlbdRCWihlJuj22OSuKPd/0A65ZAIgdGSpExCGc3CF41Kyni7IhPIa+PHnK+OPBirC5D0wP1I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":644750},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"30919e2fd9a3e564f6dd2b4d1e78a0a27613aac3","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.8.1","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.16.0","dependencies":{"magic-sdk":"^28.5.0","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth2":"^9.5.0","@magic-sdk/provider":"^28.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.11_1724101209158_0.5272263927834788","host":"s3://npm-registry-packages"}},"2.1.12":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.12","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.12","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"bf5a11543750c2f5a5e698bc8578aea2442f5a4a","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.12.tgz","fileCount":24,"integrity":"sha512-GxBL+s4L1SIQDHQkacaHj2ddUAMfXvVKsdwO/NEpkQnVjudvHdZjVw6zLUIKco6Bra/odZBxQ0LO2v8ZTGFm3A==","signatures":[{"sig":"MEQCIFwhAO9LpF//F4s0+6IAE2rwroPXRZ422zXswWxL4RSSAiB0CaH/16NV+gHniUd1uFXU8okUqRLqaFIvu728C/MIjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":644742},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"f0b80730fb017c1649c82ec0194de429c6af61d0","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.8.1","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.16.0","dependencies":{"magic-sdk":"^28.5.0","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.5.0","@magic-sdk/provider":"^28.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.12_1724871990755_0.749381757542821","host":"s3://npm-registry-packages"}},"2.1.13":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.13","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.13","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"619d22044800913b93ad9d773e9475bdf5942338","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.13.tgz","fileCount":24,"integrity":"sha512-QWqA2ymqEmduhESO3ruhrKOJJAYoNB8ATMGC+8p+unkcVKbQHebSeyeb2ECOOxmr1txx7OiZpd8I2yJj82vF0Q==","signatures":[{"sig":"MEYCIQCKZChKw8JnfxY1SMc8hGBVbHDlCL556TVQOpnc4NC3fgIhAN2FjLN2FcUL1AToF9hUi4s5DPsHVI6cW0LO12ywprr0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":644750},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"6180334f9e706eaf9ffae88c7041b2429428dc30","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.8.2","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.17.0","dependencies":{"magic-sdk":"^28.5.0","@wagmi/core":"^2.11.6","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth2":"^9.5.0","@magic-sdk/provider":"^28.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.13_1724880515923_0.9598103815597285","host":"s3://npm-registry-packages"}},"2.1.14":{"name":"@archprotocol/wagmi-magic-connector","version":"2.1.14","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.1.14","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"8b0abcf1b16dfc73ecc89055dc14220cbc77efaf","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.1.14.tgz","fileCount":24,"integrity":"sha512-1O6/yqXlJYew9p3GI64oFtnG+6q1TUZTpAjU3YDTdFXXt32fHn3Zwv2JVfEq6fxFnOT3xvE4Zy+5kKCnC/wHlg==","signatures":[{"sig":"MEYCIQDLMQ3e2A2ZKXuT9Nr1iJXhPeQr8krJk6EES1AbZtPsYQIhANRE0BQZ8xMlGpMF+QHds+2uTqm7KJYc5RLOUvFfFhwu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":645317},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"9db355c3a2fcf33b615b22c5d9adc35f6dfee68a","scripts":{"lint":"rome check .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","format":"rome format . --write","release":"yarn build && changeset publish","lint:fix":"yarn lint --apply","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.8.2","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.17.0","dependencies":{"magic-sdk":"^28.7.0","@wagmi/core":"^2.13.5","tsc-esm-fix":"^2.20.10","@changesets/cli":"^2.24.0","@magic-ext/oauth":"^22.7.0","@magic-sdk/provider":"^28.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rome":"12.0.0","viem":"2.x","changeset":"^0.2.6","typescript":"^5.0.4","@types/node":"^20.11.24"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.1.14_1726078823080_0.36805111502513665","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"@archprotocol/wagmi-magic-connector","version":"2.3.2","keywords":["wagmi","extension","magic"],"license":"MIT","_id":"@archprotocol/wagmi-magic-connector@2.3.2","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"dist":{"shasum":"452f6dc8c8e5658a995626d184cd35a011c30261","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.3.2.tgz","fileCount":22,"integrity":"sha512-/ZPk+61oRfQxsIAW79t5XzWy1j1h6tXmFs/lwi2jcVBQywfBFnn9wQqrdA7FFugjWC2iBpH72g7/phMuYIJBEg==","signatures":[{"sig":"MEYCIQDRLOTGcO9AW2hTb0pDyDCXvSPfG/dUxfGFXqh9hwrTtgIhAMTYHCVIMFbCkcM5Cqng9ftYp3ekFMwZQEGJrPY/dpgf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":348790},"main":"dist/index.js","type":"module","_from":"file:archprotocol-wagmi-magic-connector-2.3.2.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"lint":"eslint .","build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","release":"pnpm build && changeset publish","lint:fix":"eslint . --fix","watch:build":"tsc -p tsconfig.json -w"},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"_resolved":"/tmp/8cd81fdb6c8ff1f25859afe728217c69/archprotocol-wagmi-magic-connector-2.3.2.tgz","_integrity":"sha512-/ZPk+61oRfQxsIAW79t5XzWy1j1h6tXmFs/lwi2jcVBQywfBFnn9wQqrdA7FFugjWC2iBpH72g7/phMuYIJBEg==","repository":{"url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git","type":"git"},"_npmVersion":"10.8.2","description":"wagmi connector to connect with Magic SDK","directories":{},"_nodeVersion":"20.19.5","dependencies":{"magic-sdk":"29.4.2","@wagmi/core":"^2.10.4","@magic-ext/oauth2":"^11.4.1","@wagmi/connectors":"^5.0.6","@magic-sdk/provider":"^29.4.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"viem":"2.x","eslint":"^9.19.0","globals":"^15.14.0","prettier":"^3.3.3","changeset":"^0.2.6","@eslint/js":"^9.19.0","typescript":"^5.0.4","@types/node":"^20.11.24","tsc-esm-fix":"^2.20.27","@changesets/cli":"^2.24.0","typescript-eslint":"^8.23.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"^8.18.1","eslint-plugin-unused-imports":"^4.1.4","@typescript-eslint/eslint-plugin":"^8.18.1"},"peerDependencies":{"viem":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/wagmi-magic-connector_2.3.2_1758118556836_0.5323914992949781","host":"s3://npm-registry-packages-npm-production"}},"2.3.3":{"name":"@archprotocol/wagmi-magic-connector","version":"2.3.3","description":"wagmi connector to connect with Magic SDK","main":"dist/index.js","types":"dist/index.d.ts","type":"module","repository":{"type":"git","url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git"},"license":"MIT","keywords":["wagmi","extension","magic"],"engines":{"node":">=18"},"dependencies":{"@magic-ext/oauth2":"^11.4.1","@magic-sdk/provider":"^29.4.2","@wagmi/connectors":"^5.0.6","@wagmi/core":"^2.10.4","magic-sdk":"29.4.2"},"devDependencies":{"@changesets/cli":"^2.24.0","@eslint/js":"^9.19.0","@types/node":"^20.11.24","@typescript-eslint/eslint-plugin":"^8.18.1","@typescript-eslint/parser":"^8.18.1","changeset":"^0.2.6","eslint":"^9.19.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-unused-imports":"^4.1.4","globals":"^15.14.0","prettier":"^3.3.3","tsc-esm-fix":"^2.20.27","typescript":"^5.0.4","typescript-eslint":"^8.23.0","viem":"2.x"},"peerDependencies":{"viem":"2.x"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'","lint":"eslint .","lint:fix":"eslint . --fix","watch:build":"tsc -p tsconfig.json -w","release":"pnpm build && changeset publish"},"_id":"@archprotocol/wagmi-magic-connector@2.3.3","bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","_integrity":"sha512-TUFtDX7/WrpnAk57tkJg6FMP5vX1DToi738ikGhIj/vNUGdwpBczoB1qKX0EOhvd5D1rIT3s7KEkZkWDlP541A==","_resolved":"/tmp/3ff35e334be11a9e7119fcbb8c7fff80/archprotocol-wagmi-magic-connector-2.3.3.tgz","_from":"file:archprotocol-wagmi-magic-connector-2.3.3.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-TUFtDX7/WrpnAk57tkJg6FMP5vX1DToi738ikGhIj/vNUGdwpBczoB1qKX0EOhvd5D1rIT3s7KEkZkWDlP541A==","shasum":"e613fc09c134098a008407072bece35b9c9760de","tarball":"https://registry.npmjs.org/@archprotocol/wagmi-magic-connector/-/wagmi-magic-connector-2.3.3.tgz","fileCount":22,"unpackedSize":348790,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAwUx/a2HAagpBJtYjDzeasiWCPXG2dK3hX3nfIdydMOAiEA/x8TMyiy8pepGWnSNQ4yF9IbUi32ZGnPcnUDYqLazyk="}]},"_npmUser":{"name":"archprotocol","email":"tech@arch.finance"},"directories":{},"maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wagmi-magic-connector_2.3.3_1758118896602_0.6158340001272087"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-02T20:03:34.017Z","modified":"2025-09-17T14:21:36.986Z","2.1.3":"2024-07-02T20:03:34.331Z","2.1.4":"2024-07-02T21:22:55.313Z","2.1.5":"2024-07-03T15:12:42.634Z","2.1.6":"2024-07-03T17:58:14.748Z","2.1.7":"2024-07-03T18:49:50.745Z","2.1.8":"2024-07-11T00:17:36.240Z","2.1.9":"2024-08-19T17:11:52.625Z","2.1.10":"2024-08-19T18:27:06.381Z","2.1.11":"2024-08-19T21:00:09.386Z","2.1.12":"2024-08-28T19:06:30.912Z","2.1.13":"2024-08-28T21:28:36.172Z","2.1.14":"2024-09-11T18:20:23.240Z","2.3.2":"2025-09-17T14:15:57.030Z","2.3.3":"2025-09-17T14:21:36.801Z"},"bugs":{"url":"https://github.com/arch-protocol/wagmi-magic-connector/issues"},"license":"MIT","homepage":"https://github.com/arch-protocol/wagmi-magic-connector#readme","keywords":["wagmi","extension","magic"],"repository":{"type":"git","url":"git+https://github.com/arch-protocol/wagmi-magic-connector.git"},"description":"wagmi connector to connect with Magic SDK","maintainers":[{"name":"archprotocol","email":"tech@arch.finance"}],"readme":"# WAGMI Magic Connector\n\n[WAGMI](https://wagmi.sh/) Connector to connect with [Magic](https://magic.link/). Magic is a developer SDK that you can integrate into your application to enable passwordless authentication using magic links, OTPs, OAuth from third-party services, and more for your web3 App.\n\nSpecial thanks to the [Everipedia](https://github.com/EveripediaNetwork) team for creating the connector and working with us for ongoing support and maintenance.\n\n![Frame 184 (4)](https://user-images.githubusercontent.com/52039218/174133833-fc63f237-63bf-4134-a22b-ce77ae0f2a9b.png)\n\n# Table of Contents\n\n- [WAGMI Magic Connector](#wagmi-magic-connector)\n- [Table of Contents](#table-of-contents)\n- [⬇️ Install](#️-install)\n- [🔎 Package TL;DR](#-package-tldr)\n- [⭐ Usage](#-usage)\n- [📖 API](#-api)\n  - [`options`](#options)\n  - [`options.OAuthOptions`](#optionsoauthoptions)\n    - [Providers](#providers)\n    - [Callback URL](#callback-url)\n- [🍀 Supported Logins](#-supported-logins)\n- [🔆 Examples](#-examples)\n  - [🌟 Enable Login by Socials (OAuth)](#-enable-login-by-socials-oauth)\n  - [📲 Enable SMS Authentication](#-enable-sms-authentication)\n  - [📧 Disable Email Authentication](#-disable-email-authentication)\n  - [🎨 Modal Customization](#-modal-customization)\n- [📚 Additional Resources](#-additional-resources)\n  - [Usage with RainbowKit](#usage-with-rainbowkit)\n  - [**Example repositories:**](#example-repositories)\n\n# ⬇️ Install\nTwo versions of the `wagmi-magic-connector` are available, each designed to support different WAGMI versions. \n\nNote: **It is crucial not to mix up these versions to ensure compatibility and functionality.**\n\n**V1**\nThis version utilizes WAGMI version 1. To install, use the following command:\n\n`npm install @magiclabs/wagmi-connector@1.1.5`\nor\n`yarn install @magiclabs/wagmi-connector@1.1.5`\n\n**V2 (Beta)**\nThis version utilizes and includes the latest WAGMI v2 features.\n\nTo install, use the following command:\n\n`npm install @magiclabs/wagmi-connector`\nor\n`yarn install @magiclabs/wagmi-connector`\n\nWe actively encourage the community to participate in testing the versions of `wagmi-magic-connector` and to report [any issues or suggestions](https://github.com/magiclabs/wagmi-magic-connector/issues/new/choose) for improvement. Your feedback is invaluable in helping us enhance the quality and stability of the connector.\n\n# 🔎 Package TL;DR\n\nThe package contains two main connector classes: `DedicatedWalletConnector` & `UniversalWalletConnector`\n\n`DedicatedWalletConnector` is a connector integrated to the [Dedicated Wallet](https://magic.link/docs/dedicated/overview)\nproduct. It is useful if you need to assign an address to your user. \n\n`UniversalWalletConnector` is a connector integrated to the [Universal Wallet](https://magic.link/docs/universal/overview)\nproduct. It can be used to assign a read-write wallet to your user.\n\nDEPRECATED: `MagicAuthConnector` and `MagicConnectConnector` have been replaced by `DedicatedWalletConnector` and `UniversalWalletConnector` in order to line up with Magic's [product names changes](https://magic.link/docs/universal/resources/faqs#why-were-magic-product-names-changed-from-magic-connect-and-magic-auth). However, they are still usable and will function as they did before.\n\n# ⭐ Usage\n\n```javascript\nimport { dedicatedWalletConnector, universalWalletConnector } from '@magiclabs/wagmi-connector';\n\n// Dedicated Wallet integration\nconst connector = dedicatedWalletConnector({\n  options: {\n    apiKey: YOUR_MAGIC_PUBLISHABLE_API_KEY, //required\n    //...Other options\n  },\n});\n\n// Universal Wallet integration \nconst connector = universalWalletConnector({\n  options: {\n    apiKey: YOUR_MAGIC_PUBLISHABLE_API_KEY, //required\n    //...Other options\n  },\n});\n```\n\n# 📖 API\n\n## `options`\n\nThe following can be passed to connector options object:\n\n| Key                   | Value                      | `DedicatedWalletConnector` support | `UniversalWalletConnector` support | Description                                                                                                                                                                    |\n|-----------------------|----------------------------|------------------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| accentColor           | css color (hex/rgb/etc...) | ✔️\t                          | ✔️                              | 🎨 (Optional) Makes modal to use the custom accentColor instead of default purple                                                                                              |\n| isDarkMode            | true / false               | ✔️\t                          | ✔️                              | 🎨 (Optional) Makes modal dark mode if true. Default value is false                                                                                                            |\n| customLogo            | path_to_logo / url         | ✔️\t                          | ✔️                              | 🎨 (Optional) Makes modal to use the custom logo instead of default magic logo                                                                                                 |\n| customHeaderText            | string                     | ✔️\t                          | ✔️                              | 🎨 (Optional) Makes modal to use the custom header text instead of default text at the bottom of logo                                                                          |\n| enableSMSLogin        | true / false               | ✔️\t                          | ❌                               | 🌟 (Optional) Makes modal to enable SMS login if true. Default value is false                                                                                                  |\n| enableEmailLogin      | true / false               | ✔️\t                          | ❌                               | 🌟 (Optional) Makes modal to disable Email login if false. Default value is true                                                                                               |\n| OAuthOptions          | object                     | ✔️\t                          | ❌                               | 🌟 (Optional) Makes modal to enable OAuth login according to configuration passed.                                                                                             |\n| magicSdkConfiguration | object                     | ✔️\t                          | ✔️                              | 🛠️ (Optional) Pass additional options to Magic constructor (refer [Magic API documentation](https://magic.link/docs/api-reference/client-side-sdks/web#constructor) for more) |\n| networks              | array of EthNetworkConfiguration | ❌                     | ✔️                              | 🛠️ (Optional) Pass the list of network compatible to switch networks |\n\n## `options.OAuthOptions`\n\nThe following can be passed to options.OAuthOptions object to configure OAuth login:\n\n| Key         | Value           | Description                                                                                               |\n|-------------|------------------|-----------------------------------------------------------------------------------------------------------|\n| providers   | array of strings | 🌟 (Required) List of providers to enable. check out all possible providers in OAuthOptions section above |\n| callbackUrl | string           | 🌟 (Optional) Callback URL to redirect to after authentication. Default value is current URL.             |\n\n### Providers\n\nHere are all the possible providers:\n\n- google\n- facebook\n- apple\n- github\n- bitbucket\n- gitlab\n- linkedin\n- twitter\n- discord\n- twitch\n- microsoft\n\n### Callback URL\n\nYou can provide a callback URL to redirect the user to after authentication. the default callback URL is set to the current URL.\n\n# 🍀 Supported Logins\n\n| Key                        | `DedicatedWalletConnector` support | `UniversalWalletConnector` support |\n|----------------------------|------------------------------|---------------------------------|\n| Email                      | ✔️\t                          | ✔️\t                             |\n| SMS                        | ✔️\t                          | ❌                               |\n| Social Logins              | ✔️\t                          | ❌                               |\n| WebAuthn                   | ❌                            | ❌                               |\n| Multifactor Authentication | ❌                            | ❌                               |\n\n# 🔆 Examples\n\n## 🌟 Enable Login by Socials (OAuth)\n\nYou configure OAuth with magic by adding the following options to the connector:\n\n```javascript\nconst connector = dedicatedWalletConnector({\n  options: {\n    apiKey: YOUR_MAGIC_PUBLISHABLE_API_KEY, //required\n    oauthOptions : {\n      providers: ['facebook', 'google', 'twitter'],\n      callbackUrl: 'https://your-callback-url.com', //optional\n    }\n  },\n})\n```\n\nTo retrieve the Magic redirect result when a user is authenticated and logged in, use `JSON.parse(localStorage.getItem(\"magicRedirectResult\"))`. This will give you access to the redirect result object. The object will be removed from localStorage once the user disconnects.\n\n\n## 📲 Enable SMS Authentication\n\nYou can enable SMS authentication by adding the following options to the connector:\n\n```javascript\nconst connector = dedicatedWalletConnector({\n  options: {\n    apiKey: YOUR_MAGIC_PUBLISHABLE_API_KEY, //required\n    enableSMSLogin: true, //optional (default: false)\n    //...Other options\n  },\n});\n```\n\nYou have to enable SMS authentication in your [Magic dashboard](https://dashboard.magic.link) first to make it work.\n\n## 📧 Disable Email Authentication\n\nBy default Email is set to true as default. if you wish to remove Email OTP, pass `enableEmailLogin: false` in options object as follows :\n\n```javascript\nconst connector = dedicatedWalletConnector({\n  options: {\n    apiKey: YOUR_MAGIC_PUBLISHABLE_API_KEY, //required\n    enableEmailLogin: false, //optional (default: true)\n    //...Other options\n  },\n});\n```\n  \n\n## 🎨 Modal Customization\n\nYou can customize the modal's theme, default accent color, logo and header text.\n\n```javascript\nimport { dedicatedWalletConnector } from '@magiclabs/wagmi-connector';\n\nconst connector = dedicatedWalletConnector({\n  options: {\n    apiKey: YOUR_MAGIC_PUBLISHABLE_API_KEY,\n    accentColor: '#ff0000',\n    customLogo: 'https://example.com/logo.png',\n    headerText: 'Login to your account',\n    isDarkMode: true,\n  },\n});\n```\n\ncheck out the [API Section](#-api) for more information.\nfor complete styling, you can override styles of the modal with ```! important```.\n\n# 📚 Additional Resources\n\n## Usage with RainbowKit\n\nTo use the connector with Rainbow kit, create a new file `RainbowMagicConnector.ts` with following contents:\n\n```javascript\n// RainbowMagicConnector.ts\n\nimport { dedicatedWalletConnector } from '@magiclabs/wagmi-connector'\nimport { Wallet, WalletDetailsParams } from '@rainbow-me/rainbowkit'\nimport { CreateWalletFn } from '@rainbow-me/rainbowkit/dist/wallets/Wallet'\nimport { Chain } from 'wagmi/chains'\nimport { createConnector as createWagmiConnector } from 'wagmi'\n\nexport const getRainbowMagicWallet = (options): CreateWalletFn => {\n  return () => rainbowMagicWallet(options)\n}\n\nexport const rainbowMagicWallet = ({\n  chains,\n  apiKey\n}: {\n  chains: Chain[]\n  apiKey: string\n}): Wallet => ({\n  id: 'magic',\n  name: 'Magic',\n  rdns: 'Magic',\n  iconUrl: 'https://dashboard.magic.link/images/logo.svg',\n  iconBackground: '#fff',\n  installed: true,\n  downloadUrls: {},\n  createConnector: (walletDetails: WalletDetailsParams) =>\n    createWagmiConnector((config) => ({\n      ...dedicatedWalletConnector({\n        chains: chains,\n        options: {\n          apiKey: apiKey,\n          magicSdkConfiguration: {\n            network: {\n              rpcUrl: '<RPC_URL>',\n              chainId: 1\n            }\n          }\n          //...Other options (check out full API below)\n        }\n      })(config),\n      ...walletDetails\n    }))\n})\n```\n\n> Note: `options.magicSdkConfiguration.network.chainId` is mandatory for the integration with RainbowKit\n> to properly work.\n\nImport the above file to your application root where you wrap your application with `WagmiConfig` component.\npass the ```client``` prop with ```createClient``` instance to the `WagmiConfig` component as shown below:\n\n```javascript\n// App.tsx\n\n// ...\nconst { chains, publicClient, webSocketPublicClient } =\n  configureChains(YOUR_CHAIN_CONFIG);\n\nconst magicApiKey = process.env.NEXT_PUBLIC_MAGIC_API_KEY\nconst magicWallet = getRainbowMagicWallet({\n  chains: wagmiChains,\n  apiKey: magicApiKey\n})\n\nconst connectors = connectorsForWallets([\n  {\n    groupName: 'Recommended',\n    wallets: [\n      //... other wallets connectors\n      magicWallet,\n    ],\n  },\n]);\nconst wagmiConfig = createConfig({\n\tautoConnect: false,\n\tconnectors,\n\tpublicClient,\n\twebSocketPublicClient\n});\nfunction MyApp({ Component, pageProps }: AppProps) {\n  return (\n    <WagmiConfig config={wagmiConfig}>\n      <RainbowKitProvider chains={chains}>\n        <Component {...pageProps} />\n      </RainbowKitProvider>\n    </WagmiConfig>\n  );\n}\nexport default MyApp;\n```\n\nThis procedure might change depending on the version of Rainbow kit you are using so please check the documentation of the Rainbow kit if it is not working.\n\n## **Example repositories:** \n- https://github.com/Royal-lobster/vanilla-magic-example\n- https://github.com/Royal-lobster/rainbow-magic-example (With Rainbowkit 🌈)\n","readmeFilename":"README.md"}