Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/pink-starfishes-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@thirdweb-dev/react-native-adapter": patch
"thirdweb": patch
---

update dependencies
24 changes: 12 additions & 12 deletions apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tooltip": "1.1.2",
"@sentry/nextjs": "8.30.0",
"@sentry/nextjs": "8.32.0",
"@shazow/whatsabi": "^0.14.1",
"@stripe/react-stripe-js": "^2.7.3",
"@stripe/stripe-js": "^3.5.0",
Expand All @@ -61,7 +61,7 @@
"compare-versions": "^6.1.0",
"date-fns": "^3.6.0",
"flat": "^6.0.1",
"framer-motion": "11.5.6",
"framer-motion": "11.9.0",
"fuse.js": "7.0.0",
"ioredis": "^5.4.1",
"ipaddr.js": "^2.2.0",
Expand Down Expand Up @@ -109,21 +109,21 @@
"@next/bundle-analyzer": "14.2.13",
"@next/eslint-plugin-next": "14.2.13",
"@playwright/test": "1.47.2",
"@storybook/addon-essentials": "8.3.2",
"@storybook/addon-essentials": "8.3.4",
"@storybook/addon-interactions": "8.3.4",
"@storybook/addon-links": "8.3.2",
"@storybook/addon-onboarding": "8.3.2",
"@storybook/addon-viewport": "8.3.2",
"@storybook/addon-links": "8.3.4",
"@storybook/addon-onboarding": "8.3.4",
"@storybook/addon-viewport": "8.3.4",
"@storybook/blocks": "8.3.4",
"@storybook/nextjs": "8.3.2",
"@storybook/nextjs": "8.3.4",
"@storybook/react": "8.3.4",
"@storybook/test": "8.3.2",
"@storybook/test": "8.3.4",
"@types/color": "^3.0.6",
"@types/node": "20.14.9",
"@types/papaparse": "^5.3.14",
"@types/pluralize": "^0.0.33",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.3.8",
"@types/react": "^18.3.10",
"@types/react-dom": "^18",
"@types/react-table": "^7.7.20",
"@types/spdx-correct": "^3.1.3",
Expand All @@ -136,11 +136,11 @@
"eslint-config-biome": "1.8.4",
"eslint-plugin-react-compiler": "0.0.0-experimental-ca16900-20240916",
"eslint-plugin-storybook": "^0.9.0",
"knip": "^5.30.5",
"knip": "^5.30.6",
"next-sitemap": "^4.2.3",
"postcss": "8.4.47",
"storybook": "8.3.2",
"tailwindcss": "3.4.12",
"storybook": "8.3.4",
"tailwindcss": "3.4.13",
"typescript": "5.6.2"
}
}
4 changes: 2 additions & 2 deletions apps/playground-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
},
"devDependencies": {
"@types/node": "20.14.9",
"@types/react": "^18.3.8",
"@types/react": "^18.3.10",
"@types/react-dom": "^18",
"eslint": "8.57.0",
"eslint-config-next": "14.2.13",
"eslint-plugin-react-compiler": "0.0.0-experimental-ca16900-20240916",
"postcss": "8.4.47",
"tailwindcss": "3.4.12",
"tailwindcss": "3.4.13",
"tailwindcss-animate": "^1.0.7",
"typescript": "5.6.2"
}
Expand Down
4 changes: 2 additions & 2 deletions apps/portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@types/flexsearch": "^0.7.6",
"@types/mdx": "^2.0.13",
"@types/node": "20.14.9",
"@types/react": "^18.3.8",
"@types/react": "^18.3.10",
"@types/react-dom": "^18",
"@types/react-html-parser": "^2.0.6",
"@types/tryghost__content-api": "^1.3.16",
Expand All @@ -72,7 +72,7 @@
"eslint-plugin-tailwindcss": "^3.15.1",
"next-sitemap": "^4.2.3",
"postcss": "8.4.47",
"tailwindcss": "3.4.12",
"tailwindcss": "3.4.13",
"tsx": "^4.19.1",
"typescript": "5.6.2"
}
Expand Down
4 changes: 2 additions & 2 deletions apps/wallet-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
},
"devDependencies": {
"@types/node": "20.14.9",
"@types/react": "^18.3.8",
"@types/react": "^18.3.10",
"@types/react-dom": "^18",
"eslint": "8.57.0",
"eslint-config-next": "14.2.13",
"postcss": "8.4.47",
"tailwindcss": "3.4.12",
"tailwindcss": "3.4.13",
"typescript": "5.6.2"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@manypkg/cli": "0.21.4",
"@manypkg/get-packages": "2.2.2",
"@types/node": "20.14.9",
"turbo": "2.1.2",
"turbo": "2.1.3",
"typescript": "5.6.2"
},
"manypkg": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
],
"dependencies": {
"@aws-sdk/client-lambda": "3.659.0",
"@aws-sdk/credential-providers": "3.654.0",
"@aws-sdk/credential-providers": "3.658.1",
"@mobile-wallet-protocol/client": "0.0.3",
"@walletconnect/react-native-compat": "2.13.2"
"@walletconnect/react-native-compat": "2.16.3"
},
"devDependencies": {
"rimraf": "6.0.1"
Expand Down
30 changes: 15 additions & 15 deletions packages/thirdweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"!tsconfig.build.json"
],
"dependencies": {
"@coinbase/wallet-sdk": "4.0.4",
"@coinbase/wallet-sdk": "4.1.0",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@google/model-viewer": "2.1.1",
Expand All @@ -211,14 +211,14 @@
"@radix-ui/react-icons": "1.3.0",
"@radix-ui/react-tooltip": "1.1.2",
"@tanstack/react-query": "5.56.2",
"@walletconnect/ethereum-provider": "2.16.2",
"@walletconnect/ethereum-provider": "2.16.3",
"@walletconnect/sign-client": "2.16.3",
"abitype": "1.0.5",
"fuse.js": "7.0.0",
"input-otp": "^1.2.4",
"mipd": "0.0.7",
"uqr": "0.1.2",
"viem": "2.21.12"
"viem": "2.21.16"
},
"peerDependencies": {
"@aws-sdk/client-lambda": "^3",
Expand Down Expand Up @@ -316,28 +316,28 @@
},
"devDependencies": {
"@aws-sdk/client-lambda": "3.659.0",
"@aws-sdk/credential-providers": "3.654.0",
"@aws-sdk/credential-providers": "3.658.1",
"@biomejs/biome": "1.9.2",
"@chromatic-com/storybook": "2.0.2",
"@codspeed/vitest-plugin": "3.1.1",
"@coinbase/wallet-mobile-sdk": "1.1.2",
"@mobile-wallet-protocol/client": "0.0.3",
"@react-native-async-storage/async-storage": "1.24.0",
"@size-limit/preset-big-lib": "11.1.5",
"@storybook/addon-essentials": "8.3.2",
"@size-limit/preset-big-lib": "11.1.6",
"@storybook/addon-essentials": "8.3.4",
"@storybook/addon-interactions": "8.3.4",
"@storybook/addon-links": "8.3.2",
"@storybook/addon-onboarding": "8.3.2",
"@storybook/addon-links": "8.3.4",
"@storybook/addon-onboarding": "8.3.4",
"@storybook/react": "8.3.4",
"@storybook/react-vite": "8.3.4",
"@storybook/test": "8.3.2",
"@storybook/test": "8.3.4",
"@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.8",
"@types/react": "^18.3.10",
"@viem/anvil": "0.0.10",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.3.2",
"@vitest/coverage-v8": "2.1.1",
"@vitest/ui": "2.1.1",
"cross-spawn": "7.0.3",
Expand All @@ -347,7 +347,7 @@
"expo-linking": "6.3.1",
"expo-web-browser": "13.0.3",
"happy-dom": "^15.7.4",
"knip": "^5.30.5",
"knip": "^5.30.6",
"msw": "^2.4.9",
"prettier": "^3.3.2",
"react": "18.3.1",
Expand All @@ -358,11 +358,11 @@
"react-native-svg": "15.7.1",
"rimraf": "6.0.1",
"sharp": "^0.33.5",
"size-limit": "11.1.5",
"storybook": "8.3.2",
"size-limit": "11.1.6",
"storybook": "8.3.4",
"typedoc": "0.26.7",
"typescript": "5.6.2",
"vite": "5.4.7",
"vite": "5.4.8",
"vitest": "2.1.1"
}
}
13 changes: 11 additions & 2 deletions packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import {
type SignTypedDataParameters,
getTypesForEIP712Domain,
isHex,
serializeTypedData,
validateTypedData,
} from "viem";
Expand Down Expand Up @@ -314,10 +315,14 @@
return message.raw;
})();

return await provider.request({
const res = await provider.request({

Check warning on line 318 in packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts#L318

Added line #L318 was not covered by tests
method: "personal_sign",
params: [messageToSign, account.address],
});
if (!isHex(res)) {
throw new Error("Invalid signature returned");
}
return res;

Check warning on line 325 in packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts#L322-L325

Added lines #L322 - L325 were not covered by tests
},
async signTypedData(_typedData) {
if (!account.address) {
Expand All @@ -343,10 +348,14 @@
types,
});

return await provider.request({
const res = await provider.request({

Check warning on line 351 in packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts#L351

Added line #L351 was not covered by tests
method: "eth_signTypedData_v4",
params: [account.address, stringifiedData],
});
if (!isHex(res)) {
throw new Error("Invalid signed payload returned");
}
return res;

Check warning on line 358 in packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts#L355-L358

Added lines #L355 - L358 were not covered by tests
},
onTransactionRequested: async () => {
// make sure to show the coinbase popup BEFORE doing any transaction preprocessing
Expand Down
Loading
Loading