Skip to content

Commit e602929

Browse files
Update dependencies (#2375)
* Update dependencies * Update params
1 parent 5e7bc6a commit e602929

File tree

3 files changed

+1245
-1073
lines changed

3 files changed

+1245
-1073
lines changed

core-ui/nft-drawer/useNftDrawerTabs.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function useNFTDrawerTabs({
5858
const balanceOfQuery = useReadContract(balanceOf, {
5959
contract,
6060
owner: address || "",
61-
id: BigInt(tokenId || 0),
61+
tokenId: BigInt(tokenId || 0),
6262
});
6363

6464
const isERC1155 = detectFeatures(oldContract, ["ERC1155"]);
@@ -104,7 +104,8 @@ export function useNFTDrawerTabs({
104104
]);
105105

106106
const isOwner =
107-
(isERC1155 && balanceOfQuery?.data || 0 > 0) ||
107+
(isERC1155 && balanceOfQuery?.data) ||
108+
0 > 0 ||
108109
(isERC721 && nft?.owner === address);
109110

110111
const { erc1155 } = getErcs(oldContract);

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@
3838
"@tanstack/query-async-storage-persister": "^4.36.1",
3939
"@tanstack/react-query": "^4.36.1",
4040
"@tanstack/react-query-persist-client": "^4.36.1",
41-
"@tanstack/react-table": "^8.13.2",
42-
"@thirdweb-dev/chains": "0.1.81-nightly-863049dc0-20240316032103",
43-
"@thirdweb-dev/react": "4.4.21-nightly-863049dc0-20240316032103",
44-
"@thirdweb-dev/sdk": "4.0.48-nightly-863049dc0-20240316032103",
45-
"@thirdweb-dev/service-utils": "0.4.22-nightly-863049dc0-20240316032103",
41+
"@tanstack/react-table": "^8.14.0",
42+
"@thirdweb-dev/chains": "0.1.81-nightly-663759975-20240319182005",
43+
"@thirdweb-dev/react": "4.4.21-nightly-663759975-20240319182005",
44+
"@thirdweb-dev/sdk": "4.0.48-nightly-663759975-20240319182005",
45+
"@thirdweb-dev/service-utils": "0.4.22-nightly-663759975-20240319182005",
4646
"@thirdweb-dev/storage": "2.0.10",
4747
"@vercel/og": "^0.5.20",
4848
"airtable": "^0.12.2",
4949
"chakra-react-select": "^4.7.6",
5050
"color": "^4.2.3",
5151
"compare-versions": "^6.1.0",
52-
"date-fns": "^3.5.0",
52+
"date-fns": "^3.6.0",
5353
"ethers": "^5.7.2",
5454
"flat": "^6.0.1",
5555
"framer-motion": "^10.18.0",
@@ -62,7 +62,7 @@
6262
"next-seo": "^5.15.0",
6363
"papaparse": "^5.4.1",
6464
"pluralize": "^8.0.0",
65-
"posthog-js": "^1.116.0",
65+
"posthog-js": "^1.116.2",
6666
"posthog-js-opensource": "npm:[email protected]",
6767
"prettier": "^3.2.5",
6868
"prism-react-renderer": "^2.3.1",
@@ -72,17 +72,17 @@
7272
"react-children-utilities": "^2.10.0",
7373
"react-dom": "^18.2.0",
7474
"react-dropzone": "^14.2.3",
75-
"react-hook-form": "^7.51.0",
75+
"react-hook-form": "^7.51.1",
7676
"react-icons": "^4.12.0",
7777
"react-intersection-observer": "^9.8.1",
7878
"react-markdown": "^9.0.1",
7979
"react-otp-input": "^3.1.1",
8080
"react-table": "^7.8.0",
81-
"recharts": "^2.12.2",
81+
"recharts": "^2.12.3",
8282
"remark-gfm": "^4.0.0",
8383
"spdx-correct": "^3.2.0",
8484
"swagger-ui-react": "^5.12.0",
85-
"thirdweb": "1.0.0-beta-ed91bfafb1ea9505ebed661afbe6b4202046d42b-20240313004325",
85+
"thirdweb": "1.0.0-beta-a154db0db4c2c10b848c1a8c5bb66d496623fefe-20240319193442",
8686
"tiny-invariant": "^1.3.3",
8787
"zksync-web3": "^0.14.4",
8888
"zod": "^3.22.4"
@@ -96,19 +96,19 @@
9696
"@next/bundle-analyzer": "^14.1.3",
9797
"@next/eslint-plugin-next": "^14.1.3",
9898
"@playwright/test": "^1.42.1",
99-
"@thirdweb-dev/wallets": "2.4.14",
99+
"@thirdweb-dev/wallets": "2.4.23-nightly-663759975-20240319182005",
100100
"@types/color": "^3.0.6",
101-
"@types/node": "^20.11.28",
101+
"@types/node": "^20.11.30",
102102
"@types/papaparse": "^5.3.14",
103103
"@types/pluralize": "^0.0.33",
104104
"@types/qrcode": "^1.5.5",
105-
"@types/react": "^18.2.66",
105+
"@types/react": "^18.2.67",
106106
"@types/react-dom": "^18.2.22",
107-
"@types/react-table": "^7.7.19",
107+
"@types/react-table": "^7.7.20",
108108
"@types/spdx-correct": "^3.1.3",
109109
"@types/swagger-ui-react": "^4.18.3",
110-
"@typescript-eslint/eslint-plugin": "^7.2.0",
111-
"@typescript-eslint/parser": "^7.2.0",
110+
"@typescript-eslint/eslint-plugin": "^7.3.1",
111+
"@typescript-eslint/parser": "^7.3.1",
112112
"checkly": "^4.6.2",
113113
"dotenv": "^16.4.5",
114114
"eslint": "^8.57.0",
@@ -117,9 +117,9 @@
117117
"eslint-plugin-import": "^2.29.1",
118118
"eslint-plugin-inclusive-language": "^2.2.1",
119119
"eslint-plugin-prettier": "^5.1.3",
120-
"eslint-plugin-react": "^7.34.0",
120+
"eslint-plugin-react": "^7.34.1",
121121
"eslint-plugin-react-hooks": "^4.6.0",
122-
"knip": "^5.1.1",
122+
"knip": "^5.1.3",
123123
"next-sitemap": "^4.2.3",
124124
"next-unused": "^0.0.6",
125125
"tailwindcss": "^3.4.1",

0 commit comments

Comments
 (0)