{ "name": "thirdweb", "version": "5.48.0", "repository": { "type": "git", "url": "git+https://github.com/thirdweb-dev/js.git#main" }, "license": "Apache-2.0", "bugs": { "url": "https://github.com/thirdweb-dev/js/issues" }, "author": "thirdweb eng ", "type": "module", "bin": { "thirdweb": "./dist/esm/cli/bin.js", "thirdweb-cli": "./dist/esm/cli/bin.js" }, "main": "./dist/cjs/exports/thirdweb.js", "module": "./dist/esm/exports/thirdweb.js", "types": "./dist/types/exports/thirdweb.d.ts", "typings": "./dist/types/exports/thirdweb.d.ts", "exports": { ".": { "types": "./dist/types/exports/thirdweb.d.ts", "import": "./dist/esm/exports/thirdweb.js", "default": "./dist/cjs/exports/thirdweb.js" }, "./adapters/*": { "types": "./dist/types/exports/adapters/*.d.ts", "import": "./dist/esm/exports/adapters/*.js", "default": "./dist/cjs/exports/adapters/*.js" }, "./auth": { "types": "./dist/types/exports/auth.d.ts", "import": "./dist/esm/exports/auth.js", "default": "./dist/cjs/exports/auth.js" }, "./chains": { "types": "./dist/types/exports/chains.d.ts", "import": "./dist/esm/exports/chains.js", "default": "./dist/cjs/exports/chains.js" }, "./contract": { "types": "./dist/types/exports/contract.d.ts", "import": "./dist/esm/exports/contract.js", "default": "./dist/cjs/exports/contract.js" }, "./deploys": { "types": "./dist/types/exports/deploys.d.ts", "import": "./dist/esm/exports/deploys.js", "default": "./dist/cjs/exports/deploys.js" }, "./event": { "types": "./dist/types/exports/event.d.ts", "import": "./dist/esm/exports/event.js", "default": "./dist/cjs/exports/event.js" }, "./extensions/*": { "types": "./dist/types/exports/extensions/*.d.ts", "import": "./dist/esm/exports/extensions/*.js", "default": "./dist/cjs/exports/extensions/*.js" }, "./pay": { "types": "./dist/types/exports/pay.d.ts", "import": "./dist/esm/exports/pay.js", "default": "./dist/cjs/exports/pay.js" }, "./react": { "types": "./dist/types/exports/react.d.ts", "import": "./dist/esm/exports/react.js", "react-native": "./dist/esm/exports/react.native.js", "default": "./dist/cjs/exports/react.js" }, "./react-native": { "types": "./dist/types/exports/react-native.d.ts", "import": "./dist/esm/exports/react-native.js", "default": "./dist/cjs/exports/react-native.js" }, "./rpc": { "types": "./dist/types/exports/rpc.d.ts", "import": "./dist/esm/exports/rpc.js", "default": "./dist/cjs/exports/rpc.js" }, "./storage": { "types": "./dist/types/exports/storage.d.ts", "import": "./dist/esm/exports/storage.js", "default": "./dist/cjs/exports/storage.js" }, "./transaction": { "types": "./dist/types/exports/transaction.d.ts", "import": "./dist/esm/exports/transaction.js", "default": "./dist/cjs/exports/transaction.js" }, "./utils": { "types": "./dist/types/exports/utils.d.ts", "import": "./dist/esm/exports/utils.js", "default": "./dist/cjs/exports/utils.js" }, "./wallets": { "types": "./dist/types/exports/wallets.d.ts", "import": "./dist/esm/exports/wallets.js", "react-native": "./dist/esm/exports/wallets.native.js", "default": "./dist/cjs/exports/wallets.js" }, "./wallets/in-app": { "types": "./dist/types/exports/wallets/in-app.d.ts", "import": "./dist/esm/exports/wallets/in-app.js", "react-native": "./dist/esm/exports/wallets/in-app.native.js", "default": "./dist/cjs/exports/wallets/in-app.js" }, "./wallets/*": { "types": "./dist/types/exports/wallets/*.d.ts", "import": "./dist/esm/exports/wallets/*.js", "default": "./dist/cjs/exports/wallets/*.js" }, "./package.json": "./package.json" }, "typesVersions": { "*": { "adapters/*": [ "./dist/types/exports/adapters/*.d.ts" ], "auth": [ "./dist/types/exports/auth.d.ts" ], "chains": [ "./dist/types/exports/chains.d.ts" ], "contract": [ "./dist/types/exports/contract.d.ts" ], "deploys": [ "./dist/types/exports/deploys.d.ts" ], "event": [ "./dist/types/exports/event.d.ts" ], "extensions/*": [ "./dist/types/exports/extensions/*.d.ts" ], "pay": [ "./dist/types/exports/pay.d.ts" ], "react": [ "./dist/types/exports/react.d.ts" ], "react-native": [ "./dist/types/exports/react-native.d.ts" ], "rpc": [ "./dist/types/exports/rpc.d.ts" ], "storage": [ "./dist/types/exports/storage.d.ts" ], "transaction": [ "./dist/types/exports/transaction.d.ts" ], "utils": [ "./dist/types/exports/utils.d.ts" ], "wallets": [ "./dist/types/exports/wallets.d.ts" ], "wallets/*": [ "./dist/types/exports/wallets/*.d.ts" ] } }, "browser": { "crypto": false }, "sideEffects": false, "files": [ "dist/*", "src/*", "!**/*.tsbuildinfo", "!**/*.test.ts", "!**/*.test.tsx", "!**/*.test.ts.snap", "!**/*.test-d.ts", "!**/*.bench.ts", "!tsconfig.build.json" ], "dependencies": { "@coinbase/wallet-sdk": "4.0.3", "@emotion/react": "11.11.4", "@emotion/styled": "11.11.5", "@google/model-viewer": "2.1.1", "@noble/curves": "1.4.0", "@noble/hashes": "1.4.0", "@passwordless-id/webauthn": "^1.6.1", "@radix-ui/react-dialog": "1.1.1", "@radix-ui/react-focus-scope": "1.1.0", "@radix-ui/react-icons": "1.3.0", "@radix-ui/react-tooltip": "1.1.2", "@tanstack/react-query": "5.29.2", "@walletconnect/ethereum-provider": "2.12.2", "@walletconnect/sign-client": "^2.13.3", "abitype": "1.0.5", "fast-text-encoding": "^1.0.6", "fuse.js": "7.0.0", "input-otp": "^1.2.4", "mipd": "0.0.7", "node-libs-browser": "2.2.1", "uqr": "0.1.2", "viem": "2.19.3" }, "peerDependencies": { "@aws-sdk/client-lambda": "^3", "@aws-sdk/credential-providers": "^3", "@coinbase/wallet-mobile-sdk": "^1", "@react-native-async-storage/async-storage": "^1", "@react-native-clipboard/clipboard": "*", "amazon-cognito-identity-js": "^6", "aws-amplify": "^5", "ethers": "^5 || ^6", "expo-linking": "^6", "expo-web-browser": "^13", "react": ">=18", "react-native": "*", "react-native-aes-gcm-crypto": "^0.2", "react-native-quick-crypto": ">=0.7.0-rc.6 || >=0.7", "react-native-svg": "^15", "typescript": ">=5.0.4" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-native": { "optional": true }, "ethers": { "optional": true }, "typescript": { "optional": true }, "react-native-aes-gcm-crypto": { "optional": true }, "expo-linking": { "optional": true }, "expo-web-browser": { "optional": true }, "react-native-quick-crypto": { "optional": true }, "react-native-passkey": { "optional": true }, "react-native-svg": { "optional": true }, "aws-amplify": { "optional": true }, "@aws-sdk/client-lambda": { "optional": true }, "@aws-sdk/credential-providers": { "optional": true }, "amazon-cognito-identity-js": { "optional": true }, "@react-native-async-storage/async-storage": { "optional": true }, "@react-native-clipboard/clipboard": { "optional": true }, "@coinbase/wallet-mobile-sdk": { "optional": true } }, "scripts": { "bench:compare": "bun run ./benchmarks/run.ts", "bench": "vitest -c ./test/vitest.config.ts bench", "format": "biome format ./src --write", "lint": "biome check ./src", "fix": "biome check ./src --fix", "knip": "knip", "build:generate": "bun scripts/generate/generate.ts", "build:generate-wallets": "bun scripts/wallets/generate.ts", "dev": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm --watch", "dev:cjs": "printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false --watch", "dev:esm": "printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json && tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm --watch", "build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types", "build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json", "build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json", "build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap", "clean": "rimraf dist", "push": "yalc push", "size": "size-limit", "test:watch": "vitest -c ./test/vitest.config.ts dev", "test": "vitest run -c ./test/vitest.config.ts --coverage", "test:cov": "vitest dev -c ./test/vitest.config.ts --coverage", "test:dev": "vitest run -c ./test/vitest.config.ts", "test:react": "vitest run -c ./test/vitest.config.ts dev --ui src/react", "typedoc": "bun run scripts/typedoc.mjs", "update-version": "node scripts/version.mjs" }, "engines": { "node": ">=18" }, "devDependencies": { "@aws-sdk/client-lambda": "3.577.0", "@aws-sdk/credential-providers": "3.577.0", "@coinbase/wallet-mobile-sdk": "1.0.13", "@react-native-async-storage/async-storage": "^1.23.1", "@react-native-clipboard/clipboard": "1.14.1", "@testing-library/jest-dom": "^6.4.7", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@types/cross-spawn": "^6.0.6", "@types/react": "^18.3.3", "@vitejs/plugin-react": "^4.3.1", "@vitest/ui": "1.6.0", "amazon-cognito-identity-js": "6.3.12", "aws-amplify": "5.3.18", "cross-spawn": "7.0.3", "expo-linking": "6.3.1", "expo-web-browser": "13.0.3", "happy-dom": "^14.12.0", "msw": "^2.3.4", "react-native": "0.74.5", "react-native-aes-gcm-crypto": "0.2.2", "react-native-passkey": "3.0.0-beta2", "react-native-quick-crypto": "0.7.0-rc.6", "react-native-svg": "15.3.0", "typescript": "5.5.4", "vitest": "1.6.0" } }