Files
anonklub/ui/package.json
sripwoud 7319796951 chore: merge staging (#465)
* feat(discord-bot): integrate with spartan-ecdsa (#462)

* chore: remove uneeded deps/files

* chore: fix deps

* feat: use en vars for VERIFICATION_CHANNEL_ID and VERIFIED_ROLE_ID

* refactor: change formatting of messages sent by bot

link to channels
use different font style

* chore: remove unused deps

* feat: verify spartan proof with discord bot

* fix: bump @types/node

Need > 20 to have fetch typings

* chore: update comment

* ci: remove debug step

* docs: update .env.example

* docs: update discord/bot/README

* refactor: update error message if missing env var

* fix(ui): do not pre render /api/verify route

* refactor: use verifier object to load wasm async

* fix: link wasm files to `server/static`

webpack 5 breaks dynamic import of wasm
https://github.com/vercel/next.js/issues/25852

* ci: link wasm files to `.next/server/static` in Dockerfile

* chore: debug

* fix(ui): set CORS headers

* refactor: add info logs

* ci: refactor Dockerfile and fly toml

* fix: remove remaining merge hints

* feat: restrict verification request to discord bot origin (#466)

* refactor: add info logs

* wip

* fix  import

* refactor: remove wallet connect id from fly config

Set already in Dockerfile

* ci: refactor setting of env vars in Dockerfile and fly configs (#469)

ci: update dockerfiles and fly env vars
2024-08-03 21:07:31 +02:00

57 lines
1.6 KiB
JSON

{
"name": "@anonklub/ui",
"browser": {
"fs": false,
"tls": false,
"net": false
},
"dependencies": {
"@anonklub/merkle-tree-worker": "~1.1.3",
"@anonklub/proof": "~2.1.1",
"@anonklub/spartan-ecdsa-wasm": "~1.1.0",
"@anonklub/spartan-ecdsa-worker": "~1.1.1",
"@heroicons/react": "^2.0.18",
"@typebot.io/js": "^0.2.41",
"@typebot.io/nextjs": "^0.2.41",
"@web3modal/ethereum": "2.4.1",
"@web3modal/react": "2.4.1",
"autoprefixer": "10.4.14",
"easy-peasy": "^6.0.0",
"million": "2.6.4",
"next": "14.1.0",
"postcss": "8.4.23",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-use": "^17.5.0",
"swr": "^2.1.5",
"tailwindcss": "3.3.2",
"viem": "0.3.27",
"wagmi": "1.0.5"
},
"devDependencies": {
"@babel/preset-env": ">=7.1.6 <8.0.0-0",
"@types/react": "^18.2.6",
"encoding": "^0.1.13",
"lokijs": "^1.5.12",
"prettier-plugin-tailwindcss": "0.3.0"
},
"peerDependencies": {
"@babel/preset-env": ">=7.1.6 <8.0.0-0",
"@wagmi/core": "1.0.5",
"encoding": "^0.1.13",
"lokijs": "^1.5.12",
"pino-pretty": "^10.0.0",
"pinojs": "^1.0.0"
},
"scripts": {
"build": "next build && pnpm linkwasm",
"build.ci": "next build",
"dev": "next dev",
"linkwasm": "echo 'Linking wasm files to .next/server/static as webpack5 breaks dynamic imports, see https://github.com/vercel/next.js/issues/25852#issuecomment-1057059000' && ln -s $(pwd)/.next/server/{chunks/,}static",
"start": "next start",
"typecheck": "tsc"
},
"private": true,
"version": null
}