UNPKG

@randombits/use-siwe

Version:

React hook and API endpoints that provide Sign In With Ethereum support

110 lines (109 loc) 2.32 kB
{ "name": "@randombits/use-siwe", "version": "2.0.2", "description": "React hook and API endpoints that provide Sign In With Ethereum support", "module": "./dist/index.js", "main": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "files": [ "dist/**", "README.md", "LICENSE.md" ], "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" }, "./*": { "import": "./dist/*/index.js", "require": "./dist/*/index.cjs", "types": "./dist/*/index.d.ts" } }, "typesVersions": { "*": { "next": [ "./dist/next/index.d.ts" ], "express": [ "./dist/express/index.d.ts" ] } }, "scripts": { "build": "tsup", "prepare": "husky install", "lint": "prettier --check ." }, "repository": { "type": "git", "url": "git+https://github.com/random-bits-studio/use-siwe.git" }, "keywords": [ "SIWE", "Next.js", "auth", "authentication", "Iron Session", "Session", "Ethereum", "Web3" ], "author": "AJ May <aj@randombits.studio>", "license": "MIT", "bugs": { "url": "https://github.com/random-bits-studio/use-siwe/issues" }, "homepage": "https://github.com/random-bits-studio/use-siwe#readme", "devDependencies": { "@types/express": "^4.17.15", "@types/react": "^18.0.20", "husky": "^8.0.3", "iron-session": "^6.3.1", "lint-staged": "^13.1.0", "next": "^13.1.2", "prettier": "^2.8.3", "tsup": "^6.5.0", "typescript": "^4.9.4", "wagmi": "^0.10.10" }, "dependencies": { "@tanstack/react-query": "^4.22.0", "siwe": "^2.0.5", "zod": "^3.20.2", "zod-validation-error": "^0.3.0" }, "peerDependencies": { "express": ">=4", "iron-session": ">=6", "next": ">=10", "react": ">=17", "wagmi": ">=0.9.0" }, "peerDependenciesMeta": { "wagmi": { "optional": true }, "iron-session": { "optional": true }, "next": { "optional": true }, "express": { "optional": true }, "react": { "optional": true } }, "publishConfig": { "access": "public" }, "lint-staged": { "*.{js,json,css,md}": "prettier --write" } }