{"_id":"@biscottidex/connectkit-next-siwe","name":"@biscottidex/connectkit-next-siwe","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@biscottidex/connectkit-next-siwe","version":"0.0.1","author":{"name":"Biscotti Finance"},"homepage":"https://github.com/biscottilabs/biscotti-connectkit","license":"BSD-2-Clause","publishConfig":{"access":"public"},"description":"Sign-In with Ethereum helpers for Next.js apps using @biscottidex/connectkit.","repository":{"type":"git","url":"git+https://github.com/biscottilabs/biscotti-connectkit.git","directory":"packages/connectkit-next-siwe"},"type":"module","exports":{"./client":{"types":"./build/client.d.ts","import":"./build/client.es.js","default":"./build/client.es.js"},"./server":{"types":"./build/server.d.ts","import":"./build/server.es.js","default":"./build/server.es.js"}},"typesVersions":{"*":{"client":["./build/client.d.ts"],"server":["./build/server.d.ts"]}},"sideEffects":false,"engines":{"node":">=12.4"},"scripts":{"start":"rollup --config rollup.config.dev.js -w","dev":"rollup --config rollup.config.dev.js -w","build":"rm -rf build && rollup --config rollup.config.prod.js","lint":"eslint src --ext .ts,.tsx"},"keywords":["ens","react-hook","blockchain","hooks","ethereum","react"],"dependencies":{"iron-session":"^6.2.1"},"peerDependencies":{"@biscottidex/connectkit":">=0.0.1","next":">=12.x","react":"17.x || 18.x","react-dom":"17.x || 18.x","viem":">=2.13.3"},"devDependencies":{"@biscottidex/connectkit":"workspace:packages/connectkit","@types/node":"^16.11.27","@types/react":"^18.0.6","@types/react-dom":"^18.0.2","typescript":"5.3.3"},"gitHead":"e315be7295c9f061489949a7baafb4d731dd7257","_id":"@biscottidex/connectkit-next-siwe@0.0.1","bugs":{"url":"https://github.com/biscottilabs/biscotti-connectkit/issues"},"_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-qZc7sNHmhFFffmvjFYgfHJ7LO/VBMEKQJcio9KgAQWGpZhyPTYpphOxt/h9Vcdrm9C4vVa9y8gEpaHXKxGIh1g==","shasum":"6ef737c4d21fb118d7a3d207c060e93a8de0c784","tarball":"https://registry.npmjs.org/@biscottidex/connectkit-next-siwe/-/connectkit-next-siwe-0.0.1.tgz","fileCount":10,"unpackedSize":16305,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID/4SN1Ljpva6EzVVwW6jJF+K3sL5zle1OZ16LobgYMkAiBrU6BvXALoq2x/JZ6KGg+GkVVELdyBPUv/G6kfp3Mfjg=="}]},"_npmUser":{"name":"koanprotocol","email":"whizibrahim@gmail.com"},"directories":{},"maintainers":[{"name":"koanprotocol","email":"whizibrahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/connectkit-next-siwe_0.0.1_1785471257324_0.49330158351808007"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-31T04:14:17.164Z","0.0.1":"2026-07-31T04:14:17.493Z","modified":"2026-07-31T04:14:17.730Z"},"maintainers":[{"name":"koanprotocol","email":"whizibrahim@gmail.com"}],"description":"Sign-In with Ethereum helpers for Next.js apps using @biscottidex/connectkit.","homepage":"https://github.com/biscottilabs/biscotti-connectkit","keywords":["ens","react-hook","blockchain","hooks","ethereum","react"],"repository":{"type":"git","url":"git+https://github.com/biscottilabs/biscotti-connectkit.git","directory":"packages/connectkit-next-siwe"},"author":{"name":"Biscotti Finance"},"bugs":{"url":"https://github.com/biscottilabs/biscotti-connectkit/issues"},"license":"BSD-2-Clause","readme":"# @biscottidex/connectkit-next-siwe\n\nA simple solution for integrating [Sign In With Ethereum](https://login.xyz), a secure [authentication standard](https://docs.login.xyz/general-information/siwe-overview/eip-4361), into your Next.js app using [`@biscottidex/connectkit`](https://github.com/biscottilabs/biscotti-connectkit).\n\n## 1. Install\n\nOnce you've set up `@biscottidex/connectkit`, install the SIWE helper:\n\n```sh\nbun add @biscottidex/connectkit-next-siwe\n```\n\n## 2. Configure\n\nImport browser-safe configuration from the client entry point:\n\n```ts\nimport { configureClientSIWE } from '@biscottidex/connectkit-next-siwe/client';\n```\n\nImport API-route and session configuration only from the server entry point:\n\n```ts\nimport { configureServerSideSIWE } from '@biscottidex/connectkit-next-siwe/server';\n```\n\nKeeping these entry points separate prevents `iron-session` and Node.js built-ins from entering\nthe browser bundle. There is no root export — importing from\n`@biscottidex/connectkit-next-siwe` directly will fail. See\n[CHANGELOG.md](CHANGELOG.md) for the migration note.\n\n`configureServerSideSIWE` requires a session password of at least 32 characters,\ntypically supplied as `SESSION_SECRET`.\n\n## Contribute\n\nBefore starting on anything, please have a read through the\n[Contribution Guidelines](https://github.com/biscottilabs/biscotti-connectkit/blob/main/CONTRIBUTING.md).\n\n## Acknowledgements\n\nThis package is a fork of `connectkit-next-siwe` from\n[**ConnectKit**](https://github.com/family/connectkit) by **Family (LFE, Inc.)**,\nused under the BSD 2-Clause License. Not affiliated with or endorsed by Family.\n\n## License\n\nBSD 2-Clause. Copyright (c) 2022, LFE, Inc. and copyright (c) 2026, Biscotti\nFinance. See [LICENSE](LICENSE) for more information.\n","readmeFilename":"README.md","_rev":"1-b5c55cd1a13ff223fef6eda13a80594f"}