Update Dependencies (#3551)

<!-- start pr-codex -->

## PR-Codex overview
This PR updates various dependencies across different packages to their latest versions.

### Detailed summary
- Updated `webpack` to `5.92.1`
- Updated `@types/node` to `20.14.9`
- Updated `@microsoft/api-documenter` to `^7.25.4`
- Updated `abitype` to `1.0.5`
- Updated `@babel/preset-react` to `^7.24.7`
- Updated `eslint-config-turbo` to `2.0.6`
- Updated `@typescript-eslint/eslint-plugin` to `7.14.1`
- Updated `viem` to `2.16.4`
- Updated various other dependencies across packages

> The following files were skipped due to too many changes: `apps/dashboard/package.json`, `packages/thirdweb/package.json`, `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
This commit is contained in:
jnsdls
2024-06-29 02:14:34 +00:00
parent 31775dc1dc
commit b6ab038802
23 changed files with 5125 additions and 2410 deletions
+7
View File
@@ -0,0 +1,7 @@
---
"eslint-config-thirdweb": patch
"@thirdweb-dev/service-utils": patch
"thirdweb": patch
---
update dependencies
+12 -12
View File
@@ -30,18 +30,18 @@
"@hookform/resolvers": "^3.6.0",
"@n8tb1t/use-scroll-position": "^2.0.3",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-checkbox": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-radio-group": "^1.2.0",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-tooltip": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@react-icons/all-files": "^4.1.0",
"@sentry/nextjs": "^8.8.0",
"@stripe/react-stripe-js": "^2.7.1",
"@stripe/react-stripe-js": "^2.7.2",
"@stripe/stripe-js": "^3.5.0",
"@tanstack/query-async-storage-persister": "^4.36.1",
"@tanstack/react-query": "^4.36.1",
@@ -55,7 +55,7 @@
"@thirdweb-dev/storage": "workspace:*",
"@thirdweb-dev/wallets": "workspace:*",
"@vercel/og": "^0.6.2",
"abitype": "1.0.4",
"abitype": "1.0.5",
"chakra-react-select": "^4.7.6",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
@@ -64,11 +64,11 @@
"date-fns": "^3.6.0",
"ethers": "^5.7.2",
"flat": "^6.0.1",
"framer-motion": "^11.2.11",
"framer-motion": "^11.2.12",
"fuse.js": "^7.0.0",
"idb-keyval": "^6.2.1",
"lottie-react": "^2.4.0",
"lucide-react": "^0.395.0",
"lucide-react": "^0.399.0",
"next": "14.2.4",
"next-plausible": "^3.12.0",
"next-seo": "^6.5.0",
@@ -115,7 +115,7 @@
"@next/eslint-plugin-next": "^14.2.4",
"@playwright/test": "^1.44.1",
"@types/color": "^3.0.6",
"@types/node": "^20.14.6",
"@types/node": "^20.14.9",
"@types/papaparse": "^5.3.14",
"@types/pluralize": "^0.0.33",
"@types/qrcode": "^1.5.5",
@@ -124,10 +124,10 @@
"@types/react-table": "^7.7.20",
"@types/spdx-correct": "^3.1.3",
"@types/swagger-ui-react": "^4.18.3",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"autoprefixer": "^10.4.19",
"checkly": "^4.6.3",
"checkly": "^4.7.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-biome": "^1.7.3",
@@ -139,7 +139,7 @@
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-compiler": "0.0.0-experimental-51a85ea-20240601",
"eslint-plugin-react-hooks": "^4.6.2",
"knip": "^5.22.0",
"knip": "^5.23.1",
"next-sitemap": "^4.2.3",
"next-unused": "^0.0.6",
"tailwindcss": "^3.4.4",
+6 -6
View File
@@ -12,26 +12,26 @@
},
"dependencies": {
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-dialog": "^1.1.0",
"@radix-ui/react-dropdown-menu": "^2.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@shikijs/twoslash": "^1.7.0",
"@shikijs/twoslash": "^1.10.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.395.0",
"lucide-react": "^0.399.0",
"next": "14.2.4",
"next-themes": "^0.3.0",
"prettier": "^3.3.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"server-only": "^0.0.1",
"shiki": "^1.7.0",
"shiki": "^1.10.0",
"tailwind-merge": "^2.3.0",
"thirdweb": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.14.6",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18",
"babel-plugin-react-compiler": "0.0.0-experimental-592953e-20240517",
+1 -1
View File
@@ -15,7 +15,7 @@
},
"devDependencies": {
"ora": "^8.0.1",
"webpack": "^5.91.0",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4"
}
}
+5 -5
View File
@@ -80,17 +80,17 @@
}
},
"devDependencies": {
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.25.4",
"@microsoft/api-extractor": "^7.47.0",
"@microsoft/tsdoc": "^0.15.0",
"@preconstruct/cli": "2.7.0",
"@swc-node/register": "^1.9.2",
"@swc-node/register": "^1.10.0",
"@swc/core": "^1.6.5",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/cookie": "^0.6.0",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^4.17.21",
"@types/uuid": "^9.0.8",
"@types/uuid": "^10.0.0",
"cookie-parser": "^1.4.6",
"eslint": "8.57.0",
"eslint-config-thirdweb": "workspace:*",
@@ -100,8 +100,8 @@
"eslint-plugin-tsdoc": "^0.3.0",
"ethers": "^5.7.2",
"express": "^4.19.2",
"fastify": "^4.26.2",
"next": "^14.1.1",
"fastify": "^4.28.0",
"next": "^14.2.4",
"next-auth": "^4.24.7",
"typescript": "5.5.2"
},
+3 -1
View File
@@ -20,7 +20,9 @@
"typescript": "5.5.2"
},
"preconstruct": {
"entrypoints": ["index.ts"],
"entrypoints": [
"index.ts"
],
"exports": true
},
"sideEffects": false,
+1 -1
View File
@@ -15,7 +15,7 @@
"@types/cross-spawn": "^6.0.6",
"@types/inquirer": "^8.2.10",
"@types/js-yaml": "^4.0.9",
"@types/node": "20.14.6",
"@types/node": "20.14.9",
"@types/prompts": "^2.4.9",
"@types/tar": "^6.1.12",
"@types/update-notifier": "^6.0.8",
+7 -3
View File
@@ -16,9 +16,13 @@
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"files": ["dist/"],
"files": [
"dist/"
],
"preconstruct": {
"entrypoints": ["index.ts"],
"entrypoints": [
"index.ts"
],
"exports": true
},
"sideEffects": false,
@@ -37,7 +41,7 @@
"js-awe": "^1.0.65",
"tinybench": "^2.6.0",
"typescript": "5.5.2",
"viem": "2.16.0"
"viem": "2.16.4"
},
"scripts": {
"format": "biome format ./src --write",
@@ -4,11 +4,11 @@
"main": "index.js",
"license": "Apache-2.0",
"dependencies": {
"@typescript-eslint/eslint-plugin": "7.13.1",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.14.1",
"eslint-config-next": "14.2.4",
"eslint-config-prettier": "9.1.0",
"eslint-config-turbo": "2.0.4",
"eslint-config-turbo": "2.0.6",
"eslint-plugin-react": "7.34.3"
},
"publishConfig": {
+6 -2
View File
@@ -16,9 +16,13 @@
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"files": ["dist/"],
"files": [
"dist/"
],
"preconstruct": {
"entrypoints": ["index.ts"],
"entrypoints": [
"index.ts"
],
"exports": true
},
"sideEffects": false,
+8 -2
View File
@@ -20,9 +20,15 @@
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"files": ["dist/", "integrations/"],
"files": [
"dist/",
"integrations/"
],
"preconstruct": {
"entrypoints": ["index.ts", "integrations/**"],
"entrypoints": [
"index.ts",
"integrations/**"
],
"exports": true
},
"sideEffects": false,
+9 -3
View File
@@ -23,11 +23,17 @@
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"files": ["dist/"],
"files": [
"dist/"
],
"preconstruct": {
"entrypoints": ["index.ts"],
"entrypoints": [
"index.ts"
],
"exports": {
"envConditions": ["browser"]
"envConditions": [
"browser"
]
}
},
"sideEffects": false,
+1 -1
View File
@@ -59,7 +59,7 @@
"devDependencies": {
"@babel/preset-react": "^7.24.7",
"@babel/runtime": "^7.24.5",
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.25.4",
"@microsoft/api-extractor": "^7.47.0",
"@microsoft/tsdoc": "^0.15.0",
"@preconstruct/cli": "2.7.0",
@@ -32,7 +32,7 @@ import type {
import type { NFTDrop } from "@thirdweb-dev/sdk";
import type { SignatureDrop } from "@thirdweb-dev/sdk";
import type { SmartContract } from "@thirdweb-dev/sdk";
import type { providers } from "ethers";
import type { BigNumber, providers } from "ethers";
import invariant from "tiny-invariant";
/** **********************/
@@ -202,7 +202,7 @@ export function useClaimedNFTs(
*/
export function useUnclaimedNFTSupply(
contract: RequiredParam<NFTDrop | SignatureDrop | SmartContract | null>,
) {
): UseQueryResult<BigNumber, unknown> {
const contractAddress = contract?.getAddress();
const { erc721 } = getErcs(contract);
return useQueryWithNetwork(
@@ -245,7 +245,7 @@ export function useUnclaimedNFTSupply(
*/
export function useClaimedNFTSupply(
contract: RequiredParam<NFTDrop | SignatureDrop | SmartContract | null>,
) {
): UseQueryResult<BigNumber, unknown> {
const contractAddress = contract?.getAddress();
const { erc721 } = getErcs(contract);
return useQueryWithNetwork(
@@ -14,7 +14,7 @@ import {
ThirdwebWalletContext,
useWalletContext,
} from "../../core/providers/thirdweb-wallet-provider";
import { BigNumber } from "ethers";
import { BigNumber, type Signer } from "ethers";
/**
* Hook for getting a wallet's current balance of native or (optional) ERC20 token balance
@@ -125,7 +125,7 @@ export function useBalanceForAddress(walletAddress: string): UseQueryResult<
/**
* @internal
*/
export function useConnectedWallet() {
export function useConnectedWallet(): Signer | undefined {
const context = useContext(ThirdwebConnectedWalletContext);
invariant(
context,
+5 -5
View File
@@ -73,7 +73,7 @@
"sideEffects:": false,
"devDependencies": {
"@babel/runtime": "^7.24.5",
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.25.4",
"@microsoft/api-extractor": "^7.47.0",
"@microsoft/tsdoc": "^0.15.0",
"@preconstruct/cli": "2.7.0",
@@ -83,7 +83,7 @@
"@types/qrcode": "^1.5.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18",
"@types/uuid": "^9.0.8",
"@types/uuid": "^10.0.0",
"eslint": "8.57.0",
"eslint-config-thirdweb": "workspace:*",
"eslint-plugin-better-tree-shaking": "0.0.4",
@@ -106,12 +106,12 @@
"@google/model-viewer": "^2.1.1",
"@headlessui/react": "1.7.18",
"@radix-ui/colors": "^0.1.9",
"@radix-ui/react-dialog": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-focus-scope": "^1.0.4",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-popover": "^1.1.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@tanstack/react-query": "^4.36.1",
"@thirdweb-dev/chains": "workspace:*",
"@thirdweb-dev/payments": "workspace:*",
+6 -6
View File
@@ -77,22 +77,22 @@
"devDependencies": {
"@aws-sdk/client-secrets-manager": "^3.549.0",
"@ethersproject/abstract-provider": "^5.7.0",
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.25.4",
"@microsoft/api-extractor": "^7.47.0",
"@microsoft/tsdoc": "^0.15.0",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@preconstruct/cli": "2.7.0",
"@swc-node/register": "^1.9.2",
"@swc-node/register": "^1.10.0",
"@swc/core": "^1.6.5",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/bn.js": "^5.1.5",
"@types/chai": "^4.3.14",
"@types/deep-equal-in-any-order": "^1.0.3",
"@types/mocha": "^10.0.7",
"@types/node": "20.14.6",
"@types/uuid": "^9.0.8",
"@types/node": "20.14.9",
"@types/uuid": "^10.0.0",
"chai": "^5.1.1",
"deep-equal-in-any-order": "^1.1.20",
"deep-equal-in-any-order": "^2.0.6",
"dotenv-mono": "^1.3.14",
"eslint": "8.57.0",
"eslint-config-thirdweb": "workspace:*",
@@ -136,7 +136,7 @@
"@thirdweb-dev/generated-abis": "workspace:*",
"@thirdweb-dev/merkletree": "workspace:*",
"@thirdweb-dev/storage": "workspace:*",
"abitype": "1.0.4",
"abitype": "1.0.5",
"bn.js": "5.2.1",
"bs58": "^5.0.0",
"buffer": "^6.0.3",
+6 -4
View File
@@ -24,18 +24,20 @@
"push": "yalc push",
"typedoc": "node scripts/typedoc.mjs"
},
"files": ["dist/"],
"files": [
"dist/"
],
"preconstruct": {
"exports": true
},
"devDependencies": {
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.25.4",
"@microsoft/api-extractor": "^7.47.0",
"@microsoft/tsdoc": "^0.15.0",
"@preconstruct/cli": "2.7.0",
"@swc-node/register": "^1.9.2",
"@swc-node/register": "^1.10.0",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/uuid": "^9.0.8",
"@types/uuid": "^10.0.0",
"eslint": "8.57.0",
"eslint-config-thirdweb": "workspace:*",
"eslint-plugin-tsdoc": "^0.3.0",
+1 -1
View File
@@ -587,7 +587,7 @@
"@preconstruct/cli": "2.7.0",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/bn.js": "^5.1.5",
"abitype": "1.0.4",
"abitype": "1.0.5",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"bs58": "^5.0.0",
"cross-env": "^7.0.3",
+5 -5
View File
@@ -42,11 +42,11 @@
},
"dependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.5",
"@changesets/cli": "2.27.6",
"@manypkg/cli": "0.21.4",
"@manypkg/get-packages": "2.2.1",
"@manypkg/get-packages": "2.2.2",
"@playwright/test": "1.44.1",
"@types/node": "20.14.6",
"@types/node": "20.14.9",
"turbo": "2.0.6",
"yalc": "1.0.0-pre.53"
},
@@ -56,7 +56,7 @@
"@babel/plugin-transform-private-methods": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@biomejs/biome": "1.8.1",
"@biomejs/biome": "1.8.3",
"@codspeed/vitest-plugin": "3.1.0",
"@size-limit/preset-big-lib": "11.1.4",
"@types/bun": "1.0.12",
@@ -71,7 +71,7 @@
"eslint-plugin-tsdoc": "^0.3.0",
"ethers5": "npm:[email protected]",
"ethers6": "npm:[email protected]",
"knip": "5.22.0",
"knip": "5.23.1",
"mitata": "0.1.11",
"react": "18.3.1",
"rimraf": "5.0.7",
+3 -11
View File
@@ -24,17 +24,9 @@
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"files": [
"dist/",
"node/",
"cf-worker/"
],
"files": ["dist/", "node/", "cf-worker/"],
"preconstruct": {
"entrypoints": [
"index.ts",
"cf-worker/index.ts",
"node/index.ts"
],
"entrypoints": ["index.ts", "cf-worker/index.ts", "node/index.ts"],
"exports": true
},
"sideEffects": false,
@@ -46,7 +38,7 @@
"@cloudflare/workers-types": "4.20240405.0",
"@preconstruct/cli": "2.7.0",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/node": "20.14.6",
"@types/node": "20.14.9",
"typescript": "5.5.2"
},
"scripts": {
+20 -52
View File
@@ -117,54 +117,22 @@
},
"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"
]
"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": {
@@ -190,21 +158,21 @@
"@noble/curves": "1.4.0",
"@noble/hashes": "1.4.0",
"@passwordless-id/webauthn": "^1.6.1",
"@radix-ui/react-dialog": "1.1.0",
"@radix-ui/react-dialog": "1.1.1",
"@radix-ui/react-focus-scope": "1.0.4",
"@radix-ui/react-icons": "1.3.0",
"@radix-ui/react-tooltip": "1.1.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.4",
"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.16.0"
"viem": "2.16.4"
},
"peerDependencies": {
"@aws-sdk/client-lambda": "^3",
+5006 -2282
View File
File diff suppressed because it is too large Load Diff