Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <[email protected]>
187 KiB
@thirdweb-dev/react
4.4.2
Patch Changes
- Updated dependencies [
39e79282,69c3eb91]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.4.1
Patch Changes
-
#2219
3dfc0039Thanks @MananTank! - Allow uppercase letters in email in embeddedWallet, magicLink, paperWallet in ConnectWallet UI -
#2217
7f35caffThanks @MananTank! - Update defaultTokens used in ConnectWallet component's Send Funds screen -
Updated dependencies [
a5653f07,b34737d2,bf90fa50,627d2099,3d63a2cb,6fdade6c,4d89dc1e]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.4.0
Minor Changes
-
#2197
212b2e7bThanks @MananTank! - - Change ConnectWallet Details dropdown to a Modal with a few UI improvements.-
Because of this the
dropdownPositionprop has been removed fromConnectWalletcomponent -
The "Request Testnet funds" button is now hidden by default in the new Modal UI.
- You can add it back by setting
hideTestnetFaucettofalsein theConnectWalletcomponent.
- You can add it back by setting
-
Patch Changes
-
#2209
f29f91d7Thanks @joaquim-verges! - Show specific error message for embedded wallet limits reached -
Updated dependencies [
3f2ee85a,ba978f55]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.3.2
Patch Changes
-
#1884
89641e33Thanks @tommaay! - Add propswitchNetworkBtnTitletoConnectWalletandWeb3Buttoncomponents to allow changing the "Switch Network" label on the button which is displayed when user needs to switch the network in the connected wallet.<ConnectWallet switchNetworkBtnTitle="Switch Chain" /><Web3Button switchNetworkBtnTitle="Switch Chain" contractAddress="0x..." action={someAction} /> -
#2193
0efd0f9dThanks @MananTank! - adduseSetWalletModalConfighook to customize the ConnectWallet Modal to programmatically open the modal without using theConnectWalletcomponent along withuseSetIsWalletModalOpenimport { useSetWalletModalConfig, useSetIsWalletModalOpen, } from "@thirdweb-dev/react"; function Example() { const setWalletModalConfig = useSetWalletModalConfig(); const setIsWalletModalOpen = useSetIsWalletModalOpen(); return ( <button onClick={() => { // customize the modal setWalletModalConfig({ modalSize: "wide", theme: "light", }); // open the modal setIsWalletModalOpen(true); }} > open connect modal </button> ); } -
#2177
e11e645cThanks @dependabot! - Bump fuse.js from 6.6.2 to 7.0.0 -
Updated dependencies [
9a23de2b,e21f7bb1]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.3.1
Patch Changes
-
#2169
e249a568Thanks @MananTank! - AddonConnectprop toConnectWalletandConnectEmbedcomponents.<ConnectWallet onConnect={() => { console.log("connected"); }} /><ConnectEmbed onConnect={() => { console.log("connected"); }} /> -
Updated dependencies []:
- @thirdweb-dev/[email protected]
4.3.0
Minor Changes
-
#2055
0f9b88abThanks @MananTank! - ### NewConnectEmbedcomponent anduseShowConnectEmbedhook-
Add
ConnectEmbedcomponent anduseShowConnectEmbedhook allow embedding theConnectWallet's Modal directly into the page. -
useShowConnectEmbedreturnstrueif the<ConnectEmbed />should be rendered. It returnstrueif either one of the following conditions are met:- Wallet is NOT connected
- Wallet IS connected but the user is NOT signed in and
authis required ( loginOptional is NOT set to false )
function Example() { const loginOptional = false; const showConnectEmbed = useShowConnectEmbed(loginOptional); if (!showConnectEmbed) { return <div> Wallet is connected </div>; } return ( <ConnectEmbed auth={{ loginOptional, }} /> ); }
ConnectWalletcomponent changes- Fix double connection issue when Connecting a Safe / Smart Wallet. Now the personal wallet will not be set as the active wallet - only the final wallet will be set as the active wallet. This fixes the issue of hooks like
useWallet,useAddress,useConnectionStatusetc showing the wrong wallet / address / connection status for a brief moment when connecting a Safe / Smart Wallet. - Add "Disconnect Wallet" button in "Sign in" Screen and don't disconnect wallet when the "Sign in" screen is dismissed by closing the modal. This makes this screen reusable for both
ConnectWalletandConnectEmbedcomponents and also improves the user experience.
API changed for creating wallet configurator
This is only relevant if you are creating your own wallet configurator - If you are using the wallet configurators provided by thirdweb such as
metamaskWallet(),coinbaseWallet()etc - This API change does not affect youTo Fix the above mentioned "double connection" issue in the
ConnectWalletcomponent, We have introduce a few changes to how the wallet configurator should be created.Do not use any wallet connection hooks in the wallet configurator. Only use the
propspassed in theconnectUIandselectUI. The wallet configurator'sconnectUIandselectUInow gets below mentioned additional props so that you can avoid using the wallet connection hooksprops.connect- replaces theuseConnecthook usageprops.connectionStatus- replaces theuseConnectionStatushook usageprops.setConnectionStatus- replaces theuseSetConnectionStatushook usageprops.setConnectedWallet- replaces theuseSetConnectedWallethook usageprops.createWalletInstance- replaces theuseCreateWalletInstancehook usageprops.connectedWalletAddress- replaces theuseAddresshook usage
Example
import { WalletConfig } from "@thirdweb-dev/react"; import { MyCustomWallet } from "./MyCustomWallet"; // your custom wallet class // your custom wallet configurator function myCustomWallet(): WalletConfig<MyCustomWallet> { return { id: "MyCustomWallet", meta: { name: "FooBar", iconURL: "https://link-to-the-wallet-icon.png", }, create(walletOptions) { return new MyCustomWallet(walletOptions); }, // only use the props passed in the connectUI and selectUI // do not use any wallet connection hooks that read or write to the wallet connection state connectUI(props) { // const connect = useConnect(); -> old const connect = props.connect; // new return <div> .... </div>; }, selectUI(props) { return <div> .... </div>; }, }; } -
Patch Changes
-
#1964
5d567008Thanks @warengonzaga! - Add Filipino language to React and React Native SDK -
#2138
6047d67dThanks @MananTank! - Enforce react-hooks/exhaustive-deps lint rule -
Updated dependencies [
90a2f2d4,e1001689,d3637a16,27c00ef7,30f16cac,0f9b88ab,eb6544ff,756d5cc9]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.2.3
Patch Changes
-
#2122
0ff90b8fThanks @b-bot! - AddhideDisconnectprop onConnectWalletcomponent to hide the "Disconnect Wallet" option from the ConnectWallet dropdown<ConnectWallet hideDisconnect={true} /> -
Updated dependencies [
b3cf65b9,22571ba0,e66e9066]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.2.2
Patch Changes
-
#2119
cf606665Thanks @MananTank! - Update Links to Docs website -
Updated dependencies [
cf606665]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.2.1
Patch Changes
- Updated dependencies [
d00ca7fd]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.2.0
Minor Changes
-
#1913
ed3afd41Thanks @IDubuque! - Migrated@paperxyz/react-client-sdkinto@thirdweb-dev/reactto provide checkout components under the thirdweb react sdk. The@paperxyz/react-client-sdkpackage will be continued within the@thirdweb-dev/reactpackage, aligning with the new branding and expanded capabilities under thirdweb. It inherits the core functionality and components of Paper's developer-first NFT checkout solution.Added
- Integrated the
@paper-xyz/react-client-sdkcomponents into@thirdweb-dev/react. This update brings all the Paper.xyz React components into the thirdweb ecosystem, providing a seamless developer experience for building NFT-powered applications. - New components from Paper.xyz for NFT checkouts, enhancing the existing thirdweb SDK capabilities.
- Integrated the
Patch Changes
- Updated dependencies [
b808e942,e46dd025,ed3afd41]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.17
Patch Changes
-
#2084
c410a1c1Thanks @MananTank! - JSDoc comments Improvements -
Updated dependencies [
c410a1c1,fed1313a,f369bffe,81c46e22,23db97cc]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.16
Patch Changes
- Updated dependencies [
c701c388,699f31c2]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.15
Patch Changes
- Updated dependencies [
33c9f6b1,de5ebc90,e10173bf,09bafa9a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.14
Patch Changes
- Updated dependencies [
bcfa9463]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.13
Patch Changes
-
#2029
b50e4a41Thanks @MananTank! - Connect to MetaMask on mobile device using WalletConnect instead of opening the web app in MetaMask browser by defaultThis behavior can be changed by setting
connectionMethodoption tometamaskWallet<ThirdwebProvider supportedWallets={[ metamaskWallet({ connectionMethod: "walletConnect", // default }), ]} > <App /> </ThirdwebProvider>this is same as not setting
connectionMethodoption:<ThirdwebProvider supportedWallets={[metamaskWallet()]}> <App /> </ThirdwebProvider>If you want to revert to old behavior of opening the web app in Metamask browser, set
connectionMethodtometamaskBrowser<ThirdwebProvider supportedWallets={[ metamaskWallet({ connectionMethod: "metamaskBrowser", }), ]} > <App /> </ThirdwebProvider> -
#2063
c8ba5cf8Thanks @MananTank! - - Add option to only show the Official WalletConnect Modal forwalletConnectin ConnectWallet ModalwalletConnect({ qrModal: "walletConnect", // hide the ConnectWallet Modal and only show the WalletConnect Modal });If no,
qrModalis set, it defaults to"custom"as shown below:walletConnect({ qrModal: "custom", // render QR code in ConnectWallet Modal });- Stop Focus trapping the ConnectWallet Modal when it is rendered but hidden
-
#2058
15ae5e7fThanks @MananTank! - Add option to open the official wallet connect modal in ConnectWallet -
Updated dependencies [
d2001ca4,85842c15,e595d4d9,497677f3,94966069,15ae5e7f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.12
Patch Changes
-
#1842
a36c7e83Thanks @MananTank! - JSDoc improvements -
#2045
a135857cThanks @MananTank! - Fix type EmbeddedWalletConfigOptions -
#2042
61c62b3fThanks @MananTank! - Improved JSDoc comments and Type exports -
Updated dependencies [
cfe81b44,34546c24,72c0bb10,ca618ea0,aefc4cda,a36c7e83,4ae1cd63,61c62b3f,7bb054e4,cd87be4a,d20e7898]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.11
Patch Changes
-
#1926
8c2d4e5eThanks @kien-ngo! - Add Rabby browser extension -
#2031
fdf19b0aThanks @MananTank! - Do not swallow errors in useEmbeddedWallet().connect -
#1997
50749662Thanks @MananTank! - - Fixes issue #1708- Fixes smart wallet icon shown even after clicking on "Switch to Personal wallet" in ConnectWallet dropdown
-
#1987
b3394277Thanks @MananTank! - Improved JSDoc comments and type exports -
#1928
2b4f1c8eThanks @kien-ngo! - Add Crypto.com Defi wallet -
Updated dependencies [
e79b2935,8c2d4e5e,b0ecfd2d,a27b10c5,d28097f5,94559129,b8332500,8bf3be88,b02fb91a,2861dff1,61b6a002,28fc3736,50749662,b3394277,06805217,2b4f1c8e,4c488aa3]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.10
Patch Changes
-
#1996
4bb8f5b1Thanks @MananTank! - Revert commitfb0cb676b9 -
#1994
68288436Thanks @kien-ngo! - Removeoverridesprops from Web3ButtonProps -
Updated dependencies [
4bb8f5b1,47b0ed51,d4ce855e,b5bbe2bd]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.9
Patch Changes
-
#1952
fb0cb676Thanks @MananTank! - - Add `ConnectEmbed`` component to embed the ConnectWallet's Modal UI directly in page- Fix
ConnectWalletcomponent setting personal wallet as "connected" wallet when connecting a Safe / Smart Wallet
- Fix
-
Updated dependencies [
fb0cb676,1094a03a,7c45941b,12d85dec]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.8
Patch Changes
- Updated dependencies [
6832b19f,7abb36a7,1c4cbedb,e43beec3]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.7
Patch Changes
-
#1969
4c5e40aeThanks @MananTank! - Fix text alignment issue in embedded-wallet/paper -
#1965
13029e32Thanks @MananTank! - - Fix Minor Safari / iOS UI issues- Adjust Magic Link's social icons UI to match EmbeddedWallet's social icons UI
- expose hook
useEmbeddedWalletUserEmailfor fetching email from connected embeddedWallet. The hook returns thereact-queryquery object. See example below:
const emailQuery = useEmbeddedWalletUserEmail(); const email = emailQuery.data; const isFetchingEmail = emailQuery.isFetching; -
Updated dependencies [
ab2dfd4f,ab2dfd4f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.6
Patch Changes
-
#1954
7912c263Thanks @MananTank! - use Custom Theme context in styled components to prevent theme conflicts -
#1945
69d68f5aThanks @iketw! - Enable Facebook Sign In for embedded wallet -
Updated dependencies [
69d68f5a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.5
Patch Changes
- Updated dependencies [
9f993dcc]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.4
Patch Changes
-
#1944
6fcdec7cThanks @iketw! - Adds tsdoc warnings to enforce a common comments format -
#1948
42c74368Thanks @iketw! - Deprecates PaperWallet in favor of EmbeddedWallet -
Updated dependencies [
23ab897e,a3f3e160,e79a9520,6fcdec7c,42c74368,6fcdec7c,480ed721,16e9e8b6,b1190914]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.3
Patch Changes
-
#1943
30ea9c6bThanks @iketw! - Adds tsdoc warnings to enforce a common comments format -
#1929
06e59cf9Thanks @iketw! - Move addresses' utils to the core package -
#1920
a81a5285Thanks @ElasticBottle! - feat: add apple auth to embedded wallet<ThirdwebProvider supportedWallets={[ embeddedWallet({ auth: { options: ["google", "email", "apple"], // <- new apple option! } }) ]} > -
Updated dependencies [
3f3a484a,a81a5285,30ea9c6b,06e59cf9,97fdbc8f,3f3a484a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.2
Patch Changes
-
#1906
b90d3af5Thanks @kien-ngo! - AddhideSwitchToPersonalWalletprop onConnectWalletcomponent to hide the "switch to Personal wallet" option in the ConnectWallet dropdown which is shown when wallet is connected to either Smart Wallet or Safe<ConnectWallet hideSwitchToPersonalWallet={true} > // default: false -
#1891
20d0f53bThanks @kien-ngo! - Add Core wallet (Avalanche) -
#1847
c34ac468Thanks @MananTank! - Add Localization API to change language used in componentsConnectWalletandWeb3Buttonand/or override the default textsJapanese
import { ja } from "@thirdweb-dev/react"; const japanese = ja(); <ThirdwebProvider locale={japanese}> <App /> </ThirdwebProvider>;Spanish
import { es } from "@thirdweb-dev/react"; const spanish = es(); <ThirdwebProvider locale={spanish}> <App /> </ThirdwebProvider>;English ( default )
import { en } from "@thirdweb-dev/react"; const english = en(); <ThirdwebProvider locale={english}> <App /> </ThirdwebProvider>;This API also allows overriding the default texts in the locale object. You can override all the texts or just some parts
import { en } from "@thirdweb-dev/react"; // override some texts const english = en({ connectWallet: { confirmInWallet: "Confirm in your wallet", }, wallets: { metamaskWallet: { connectionScreen: { inProgress: "Awaiting Confirmation", instruction: "Accept connection request in your MetaMask wallet", }, }, }, }); <ThirdwebProvider locale={english}> <App /> </ThirdwebProvider>; -
Updated dependencies [
0dcb15b7,fefeaeef,20d0f53b,91c2352b]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.1.1
Patch Changes
-
#1888
789700cfThanks @joaquim-verges! - Fix sign in connect button display logic -
Updated dependencies []:
- @thirdweb-dev/[email protected]
4.1.0
Minor Changes
-
#1846
0acc530fThanks @joaquim-verges! - New API to configure authentication options onembeddedWallet// default - google sign in is enabled embeddedWallet(); // this is same as embeddedWallet({ auth: { options: ["email", "google"], }, }); // only email embeddedWallet({ auth: { options: ["email"], }, }); // only google sign in embeddedWallet({ auth: { options: ["google"], }, });
Patch Changes
-
#1885
961ef644Thanks @joaquim-verges! - ImproveduseSmartWallet()hookExample with metamask:
const { connect } = useSmartWallet(metamaskWallet(), { factoryAddress: factoryAddress, gasless: true, }); const onClick = async () => { // nothing to do here, all handled internally await connect(); };Example with localWallet: const { connect } = useSmartWallet(localWallet(), { factoryAddress: factoryAddress, gasless: true, }); const onClick = async () => { // function to 'load' the local wallet before using it await connect({ connectPersonalWallet: async (w) => { await w.generate(); await w.connect(); } }); }Example with embeddedWallet: const { connect } = useSmartWallet(embeddedWallet(), { factoryAddress: factoryAddress, gasless: true, }); const onClick = async () => { // function to 'auth' the embedded wallet before using it await connect({ connectPersonalWallet: async (w) => { const authResult = await w.authenticate({ strategy: "google" }); await w.connect({ authResult }); } }); } -
#1886
6fcd09ddThanks @edwardysun! - Fix for user address and active wallet address out of sync -
Updated dependencies [
a9d32f3c,0acc530f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.10
Patch Changes
- Updated dependencies [
a75e4cc8,3faa9f21]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.9
Patch Changes
-
#1855
b6f72c56Thanks @jnsdls! - require minimum node version:>=18 -
Updated dependencies [
d1743a32,4fa09df6,6028a881,0358722c,db0bbf51,4cb6e287,80def43d,5917e626,44f258d6,7ff0b4d5,b6f72c56,042459fe,cc651135,1934ef5f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.8
Patch Changes
-
#1797
246b0d4aThanks @MananTank! - Fix wrong Icon size of few icons in Firefox in ConnectWallet Modal -
#1787
ff996646Thanks @MananTank! - Enable typedoc for packages -
#1815
5ffbcfc3Thanks @ElasticBottle! - Add onAuthSuccess for paperWallet -
#1826
2307f11aThanks @MananTank! - Add OKX wallet -
Updated dependencies [
5ffbcfc3,42ba15f2,d27a3dee,ff996646,d8d48a95,aa9f48d1,fd7a9f09,fd7a9f09,2307f11a,64138642,6d1eabe9]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.7
Patch Changes
- Updated dependencies [
137f46a5]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.6
Patch Changes
- Updated dependencies [
07544252]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.5
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.4
Patch Changes
-
#1769
010955ffThanks @MananTank! - Fix OTP input not working well with Japanese keyboard -
Updated dependencies [
956b5645]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.3
Patch Changes
-
#1766
dd7d0fcaThanks @MananTank! - Fix Continue as Guest button missing when Social + Guest login is setup in ConnectWallet Modal -
#1692
fb0f12aeThanks @etnlbck! - Refactored OTPInput component to be simpler to read -
Updated dependencies [
526176c4,d1f8e951,09120c92,08e9cd20,6573556d]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.2
Patch Changes
-
#1750
bb1666b9Thanks @MananTank! - ConnectWallet UI tweaks/fixes -
Updated dependencies [
1f3c64d3,74941603,4b98e487,693f349d,dcdb0dcb,0f12d1f9,b3b9edca,63ad0050]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.1
Patch Changes
-
#1742
e684d05eThanks @MananTank! - Apply ConnectWallet theme to Google Sign in popup opened from paperWallet, embeddedWallet -
Updated dependencies [
e684d05e]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
4.0.0
Major Changes
-
#1630
ce4608bfThanks @jnsdls! - Dropped Support for Solana:- We've decided to drop support for Solana across our SDKs.
- Starting with this version of our SDKs all previous solana related functionality will be removed.
- Previous versions of our SDKs will continue to work with Solana. However, we will not be providing any further updates or bug fixes for Solana.
- You can read a detailed explanation of our decision on our blog.
Patch Changes
- #1645
79f91ee2Thanks @MananTank! - - Fix the Modal closing and opening again when connecting to wallets like Smart Wallet and Safe ( EOA wrappers )- Prompt for signing directly in the Modal instead of closing the Modal and rendering a "Sign in" Button
- Lot of UI improvements
- Updated dependencies [
ce4608bf,79f91ee2,ce4608bf]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.16.5
Patch Changes
- Updated dependencies [
ec36b13a,6abb8459,a6c36724]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].5
- @thirdweb-dev/[email protected]
3.16.4
Patch Changes
-
#1713
46672a49Thanks @nachoiacovino! - Update upsell link -
#1717
ffb1bb0aThanks @MananTank! - Add spinner in the Google Sign in popup instead of blank page -
Updated dependencies [
9bd01de5,93127047,d3c8626a,f35fbec1,9bd01de5]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].4
- @thirdweb-dev/[email protected]
3.16.3
Patch Changes
-
#1707
6d3d76cfThanks @MananTank! - Fix Unchecked Index accesses -
Updated dependencies [
6d3d76cf,04f2f7b8,15fe4779]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].3
3.16.2
Patch Changes
- Updated dependencies [
f64b7236]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].2
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.16.1
Patch Changes
-
#1637
54f83a50Thanks @MananTank! - add SignerWallet -
#1682
eb9e9f0cThanks @MananTank! - - Always show "Connected to Smart Wallet" text in ConnectWallet dropdown but only link to dashboard if it is deployed- Show QR code in the Receive funds screen on mobile too
-
#1687
fd378ec3Thanks @MananTank! - ConnectWallet UI Improvements for OTP screen and other minor UI tweaks -
Updated dependencies [
54f83a50,a9b4b0c5,c7e7ec95,96e832cc,b16c09df,6897ad65,ee028e12,d28b1c0f,c085d690,de05c2da,bdb2ccc7,c7e7ec95]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].1
3.16.0
Minor Changes
-
#1618
64528263Thanks @MananTank! - ## New smartWallet() API (Breaking Change)Before
In the previous API, adding a smart wallet created it's own new entry called "Smart wallet" in the ConnectWallet Modal and you had to pass in the personal wallets which was shown to the user when they clicked on the "Smart wallet".
<ThirdwebProvider supportedWallets={[ smartWalet({ personalWallets: [metamaskWallet(), coinbaseWallet()], factoryAddress: "....", gassless: true, }), ]} />After
Since most users don't know what a smart wallet is, this was confusing. So with the new API, you can just use smart wallet under the hood for any wallet you want and it will just show up as that wallet and not a "smart wallet" in ConnectWallet Modal to improve the user experience.
Once the user is connected, the ConnectWallet Details button shows to the user that they are infact connected to a smart wallet.
const config = { factoryAddress: "....", gassless: true, } <ThirdwebProvider supportedWallets={[ smartWalet(metamaskWallet(), config), smartWalet(coinbaseWallet(), config), ]} />New Features added to
ConnectWalletcomponent- ENS Name + Avatar support added
- New 'Send funds' button added to ConnectWallet which users can use to send various tokens.
- New "Receive funds" button added to ConnectWallet which users scan the QR code from their wallet app on phone to send funds to their other wallet on desktop
- Added
supportedTokensprop to customize the list of tokens for each network in for the "Send Funds" screen. - "Transaction history" button added to ConnectWallet which opens the block explorer
- New wallet
embededWallet()to sign in with Google / Email - Ability to show balance of any token instead of just native token in the ConnectWallet details button using the
displayBalanceTokenprop
-
#1622
4268775fThanks @ElasticBottle! - feat(react): addembeddedWalletwallet type -
#1598
43f188c8Thanks @ElasticBottle! - feat(wallets): AddEmbeddedWalletandEmbeddedWalletConnectorto@thirdweb-dev/walletsfor use in vanilla JS clients
Patch Changes
-
#1650
1018eb56Thanks @MananTank! - - show the first token given tosupportedTokensas the default selected token in the "Send Funds" screen- Show smart wallet icon in "Receive Funds" screen when connected to a smart wallet
- only show "Connected to smart wallet" link if the smart wallet is deployed
-
#1653
bd18e4f5Thanks @MananTank! - NetworkSelector component UI tweaks -
#1659
ea5b9c3eThanks @ElasticBottle! - fix(wallets/react): Show recovery modal forUSER_MANAGEDwallets inpaperWalletimplementation -
#1664
a9854e69Thanks @MananTank! - Fix Img component crashing app on invalid URL -
Updated dependencies [
64528263,dd3d1a87,9d553746,64528263,d5fafdde,c29042b7,b5b7e524,b6df6b89,94bdcc14,48906a9d,43f188c8,ea5b9c3e,def6d400]:- @thirdweb-dev/[email protected].0
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.15.0
Minor Changes
-
#1550
3f3c63c0Thanks @MananTank! - # New ConnectWallet UI and APIsThis introduces a new UI for the ConnectWallet modal and some new APIs along with it.
modalSize
ConnectWallet modal now has two sizes - "wide" and "compact".
The default is “wide” for desktop. Note that it's always “compact” on mobile device no matter what you pass in.
<ConnectWallet modalSize="wide" /><ConnectWallet modalSize="compact" />New default wallets
- MetaMask
- Coinbase Wallet
- WalletConnect
- Trust Wallet
- Rainbow
- Zerion Wallet
- Phantom
Theme Customization
ConnectWallet,Web3ButtonandThirdwebProvider'sthemeprop now also takes an object which you can use to create a custom theme.To do this, there are two new functions
darkTheme()andlightTheme()to create this theme objectimport { darkTheme } from '@thirdweb-dev/react' const customDarkTheme = darkTheme({ fontFamily: 'Inter, sans-serif', color: { modalBg: 'black', accentText: 'red', // ...etc } }) <ConnectWallet theme={customDarkTheme} />Show a wallet as “recommended”
call the wallet configurator function with
{ recommended: true }recommended wallets are shown at the top of the list
<ThirdwebProvider supportedWallets={[ metamaskWallet({ recommended: true, }), coinbaseWalletWallet({ recommended: true, }), ]} > <App /> </ThirdwebProvider>Show Terms of Service and/or Privacy policy links
<ConnectWallet termsOfServiceUrl="https://...." privacyPolicyUrl="https://...." />Customize the “Welcome Screen” or Render your own
The "wide" ConnectWallet modal renders a default welcome screen on the right side which you can customize the texts and image of or completely replace with your own component.
// Customize texts and logo <ConnectWallet welcomeScreen={{ title: "YOUR TITLE", subtitle: "YOUR SUBTITLE", img: { src: "https://...", width: 300, height: 50, }, }} /> // or render your own component <ConnectWallet welcomeScreen={() => { return <div> ... </div> }} />ConnectWallet’s props are exposed to Web3Button as well
Web3Button`` renders aConnectWallet``component when the user is not connected, now you can customize thatConnectWalletby passing props for it viaconnectWalletobject<Web3Button connectWallet={{ modalTitle: "Login", modalSize: "compact", // etc.. }} />
Patch Changes
-
#1615
f5991387Thanks @MananTank! - Code cleanup -
#1621
bab39980Thanks @MananTank! - ConnectWallet minor UI fixes -
Updated dependencies [
3fd39cea,3f3c63c0,48295c06,48295c06]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].0
- @thirdweb-dev/[email protected]
3.14.41
Patch Changes
-
#1587
4a7f41b3Thanks @iketw! - Remove signer from ThirdwebProvider as it is not being usedThe idea of the React/RN ThirdwebProvider is to provider support for wallets. If devs want to pass their own signer they can directly use ThirdwebSDKProvider
-
#1597
f9042765Thanks @ElasticBottle! - chore(wallets,react): add ability to use thirdweb's client ID with paperWallet -
#1588
0307671cThanks @MananTank! - Fix SmartWallet and Safe connection issues -
#1577
d37c3a75Thanks @MananTank! - Fix Rainbow wallet connection in mobile -
Updated dependencies [
c0070c2c,f55fd291,2a873d2f,d50863f4,f9042765,6df24a2e,8b73abfd,3056c34c,defe5fce,2f187d13,7e564163,931ee793]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.40
Patch Changes
3.14.39
Patch Changes
- Updated dependencies [
926dd7b0,e00dd123]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.38
Patch Changes
-
#1532
b29ec675Thanks @MananTank! - Export ConnectModalInline component -
#1544
eb463735Thanks @iketw! - Adds support for Rainbow's new browser extension -
Updated dependencies [
eb463735,adec589e,b30566c6,0f027069,f5aed34d]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.37
Patch Changes
- Updated dependencies [
f59b729f,911e14fc,cd6b07b5]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.36
Patch Changes
- #1522
088547f7Thanks @MananTank! - - New propswitchToActiveChainadded toConnectWallet`` component to show "Switch Network" button if wallet is not connected to theactiveChainpassed to theThirdwebProvider`- Add max-height on
ConnectWalletmodal - Local Wallet UI adjustments
- Add max-height on
- Updated dependencies [
586e91db,34a3bb8a,91f0245b,5a373a75,ae74b8ef,bc003c2f,447d9846,f65578d6,088547f7]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.35
Patch Changes
- Updated dependencies [
184c325a,c12f0874]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.34
Patch Changes
- Updated dependencies [
f97ddf4c]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.33
Patch Changes
3.14.32
Patch Changes
- Updated dependencies [
07fb1b5f,300a3c6f,d248aa2c,8f3b685a,28975765,b91d3e99]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.31
Patch Changes
3.14.30
Patch Changes
3.14.29
Patch Changes
-
#1458
588b2106Thanks @kien-ngo! - AddhideTestnetFaucetto hide the "Request Testnet funds" button in ConnectWallet details dropdown in@thirdweb-dev/react-nativeand@thirdweb-dev/react.<ConnectWallet hideTestnetFaucet={true} /> -
Updated dependencies [
73462ef1,cb1c9937,70c4a119,a1732663,f0443bd9,cb1c9937,588b2106,269e68c0]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.28
Patch Changes
- Updated dependencies [
4b0e63dc]:
3.14.27
Patch Changes
- Updated dependencies [
262edc6a,262edc6a,dfd120a3]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.26
Patch Changes
- Updated dependencies [
2a91113a]:
3.14.25
Patch Changes
-
#1429
ab36d84fThanks @iketw! - Pass secretKey in the React SDK for server-side rendering -
#1430
a9f2ff73Thanks @MananTank! - - Add base-gor as a valid safe address prefix- Log failed to autoconnect error on react-core too
-
Updated dependencies [
a5d0be93,c0a6d2f1,a9f2ff73,fd981655,becbb637,2283d210,fd981655,ab36d84f,c9bf4f05,67b145b9,5ee700e8,9f5adc5c]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.24
Patch Changes
3.14.23
Patch Changes
- Updated dependencies [
fbde927a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.22
Patch Changes
-
#1415
256ee0d5Thanks @joaquim-verges! - Downgrade preconstruct to 2.7.0 -
Updated dependencies [
256ee0d5]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.21
Patch Changes
-
#1396
9a329178Thanks @MananTank! - Auto select localWallet if that's the only option for Safe/Smart wallet in ConnectWallet Modal -
#1361
06b4f298Thanks @q20274982! - [Wallets/React] Add Blocto Walletimport { ThirdwebProvider, bloctoWallet } from "@thirdweb-dev/react"; import { Polygon } from "@thirdweb-dev/chains"; <ThirdwebProvider activeChain={Polygon} supportedWallets={[bloctoWallet()]}> <App /> </ThirdwebProvider>; -
#1334
9acf6854Thanks @MananTank! - Add social login support in Magic wallet -
#1379
60fbb767Thanks @MananTank! - Set theme in Coinbase Native modal to match ConnectWallet component -
#1295
277cfd5cThanks @MananTank! - - Fix wallet connection on mobile for rainbowWallet(), trustWallet(), zerionWallet()- update @WalletConnect packages
-
Updated dependencies [
09b3b339,0a5eb19d,98009cb3,06b4f298,72fa3d22,b1e8c8e2,2025b8cb,cbf486c2,01cc5408,53400858,385895ca,9acf6854,48ca58b7,aface46d,60fbb767,3152d4e9,5fe3cec8,8e6e55b1,aa6bdd08,277cfd5c,75587c8b,2025b8cb,cc5e2ec5,a9f9a403,7ae9f4cd,5a02c5ec]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.20
Patch Changes
- Updated dependencies [
7cb55e70]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.19
Patch Changes
- Updated dependencies [
d665954f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.18
Patch Changes
- Updated dependencies [
02ab92cc,6cc4b8d2]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.17
Patch Changes
-
#1316
d8447146Thanks @iketw! - Adds newclientIdprop to access thirdweb's services.You can create a free
clientIdon the thirdweb Dashboard<ThirdwebProvider clientId="your-client-id" /> -
Updated dependencies [
d8447146,d8447146,d8447146,d8447146]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.16
Patch Changes
-
#1350
b96a2282Thanks @MananTank! - Disable autofocus for the Paper/Magic email/phone input in Connect Wallet Modal to avoid keyboard popup on mobile -
Updated dependencies [
7a6534d1,dac8fa7d,c5761b99,b96a2282]:
3.14.15
Patch Changes
- Updated dependencies [
8dd7540c]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.14
Patch Changes
- Updated dependencies [
0407b2c2]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.13
Patch Changes
- Updated dependencies [
a9093bcf]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.12
Patch Changes
- Updated dependencies [
4393b228]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.11
Patch Changes
- Updated dependencies [
40682191]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.10
Patch Changes
-
#1310
3df86ad1Thanks @MananTank! - ConnectWallet UI fixes- Hide Back button when not required
- Fix Rainbow wallet meta
- Fix backbutton not working on get-started screen when there's a single supported wallet
- Remove switchAccount button on mobile for metamask
-
Updated dependencies [
db68bd04,fd74d791,35f20ceb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.9
Patch Changes
-
Updated dependencies [
7e044c66,72ada475,2c0bb078,b5c6eedb,10b3a717,b4aee9b5,4961b597]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].9
3.14.8
Patch Changes
-
#1282
7054f9f0Thanks @kien-ngo! - Fix issue #1201 - MediaRenderer HTML MimeType -
#1278
8a389f12Thanks @jnsdls! - updated various dependencies -
Updated dependencies [
8a389f12,a3bb17cb]:- @thirdweb-dev/[email protected].8
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.7
Patch Changes
-
#1210
d794b8f9Thanks @konojunya! - Add zerion to useInstalledWallets -
#1269
998e5217Thanks @MananTank! - - ExposeadvancedOptionsandstylesfor paper wallet- Allow using "+" in paper email
- Allow using "+" in magic email
- Update Paper SDK version
-
Updated dependencies [
2b113539,c9535715,be606dd3,edcd22d6,5882091e,998e5217]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].7
- @thirdweb-dev/[email protected]
3.14.6
Patch Changes
- Updated dependencies [
ed711c8c,05a7495a,e78da6b3]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].6
3.14.5
Patch Changes
- Updated dependencies [
efb3546e]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].5
3.14.4
Patch Changes
-
#1215
3c5dc480Thanks @iketw! - Migrate wallets to WCV2 and remove WCV1 support.Please, check our changelogs for more info: https://blog.thirdweb.com/changelog/
-
Updated dependencies [
ef4cb092,06ca1c40,620e89dc,ac3e019c,30ac3aef,3c5dc480,ad7dae3b,620e89dc,0fd8aa04]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].4
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.3
Patch Changes
-
#1238
6e1fe6e5Thanks @iketw! - '[React] Adds Rainbow and Trust wallets hooks'import { useRainbowWallet, useTrustWallet } from "@thirdweb-dev/react"; const connectWithRainbow = useRainbowWallet(); const connectWithTrust = useTrustWallet(); -
#1237
536b0f12Thanks @iketw! - [React] Add Rainbow Wallet (implementing the WalletConnect wallet)import { ThirdwebProvider, rainbowWallet } from "@thirdweb-dev/react"; const activeChain = "ethereum"; <ThirdwebProvider activeChain={activeChain} supportedWallets={[rainbowWallet()]} > <App /> </ThirdwebProvider>; -
#1236
b626782bThanks @iketw! - [Wallets/React] Add Trust Walletimport { ThirdwebProvider, trustWallet } from "@thirdweb-dev/react"; const activeChain = "mumbai"; <ThirdwebProvider activeChain={activeChain} autoSwitch={true} supportedWallets={[trustWallet()]} > <App /> </ThirdwebProvider>; -
Updated dependencies [
536b0f12,1d76334d,b626782b,d498c79a,9af346ee]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].3
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.2
Patch Changes
-
#1226
a388d07aThanks @MananTank! - Add Magic Connect support -
Updated dependencies [
6816219a,48065bcd,3cb298ac,b5e1d3bb,6aa6f7e0,f7f4f207,3ce5f9a0,d4d95507,a388d07a,1ce8558d,483e2b91,c08e6ba9,60fb1889,3d615a62]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].2
3.14.1
Patch Changes
-
#1206
3d62278aThanks @MananTank! - Add eslint-plugin-better-tree-shaking -
Updated dependencies [
d9b7360d,8a2d9204,990c665d,3d62278a,c6f44722,45ae105e,f41f1a29,bb7ca20e,23d61cfe,8941b226,e0ce4a37]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].1
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.14.0
Minor Changes
Patch Changes
-
#1000
329bccecThanks @goosewobbler! - '[Wallets/React] Adds Frame as a supported wallet.'You can now use Frame by adding
frameWallet()in the ThirdwebProvider'ssupportedWalletsprop.import { ThirdwebProvider, localWallet, frameWallet, } from "@thirdweb-dev/react"; <ThirdwebProvider activeChain={activeChain} supportedWallets={[frameWallet(), localWallet()]} > <App /> </ThirdwebProvider>; -
#1172
ecdcf82cThanks @nachoiacovino! - Add data-test to passworrd inputs -
#1164
a5578abfThanks @kienngo98! - reduce circular dependencies -
Updated dependencies [
cc20f93e,08403dd9,654b8ab3,a430160e,12b07aad,d60e544a,7d2a446e,088f2567,8e28b0f5,01293857,329bccec,20bbad1a,36f3191f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].0
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.13.1
Patch Changes
-
#1151
2a0294d8Thanks @MananTank! - Fix wrong balance in ConnectWallet -
#1149
65ecf072Thanks @MananTank! - Improve rendering of long network list in ConnectWallet Modal -
#1144
9ce3eb6aThanks @MananTank! - Remove WalletConfig.config object from wallets -
Updated dependencies [
2a443365,3bf7f375,6a194262,16232de9,54cfd6d8,8687d6ac,645b0303,522453fd,9a015a23,6803c3e9,0cba69ca,56f85e57,197a6838,6a91b6a0,e32faeb5,a5f16b6d,b6728603,ed47fd53,9ce3eb6a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].1
- @thirdweb-dev/[email protected]
3.13.0
Patch Changes
-
#1115
b4c95159Thanks @nachoiacovino! - Add hooks for smart wallet factory -
#1116
356f7aa6Thanks @MananTank! - - Fix Local wallet connection issue with Safe & Smart Wallet- Fix Metamask QR connection issue with Safe & Smart Wallet
-
#1118
9b20fc9aThanks @MananTank! - - Remove chain restriction in paper wallet- Fix Email validation in Paper and Magic wallet
-
#1114
2283e71aThanks @adam-maj! - Update ConnectWallet button with new auth -
Updated dependencies [
ce36322b,c60658ed,aa9e952c,564eaccf,6aee0413,21627c03,2283e71a,e93aa70e,51bbd3d1,9b20fc9a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].0
- @thirdweb-dev/[email protected]
3.12.4
Patch Changes
- Updated dependencies [
23d90b3e,cc56037e]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].4
- @thirdweb-dev/[email protected]
3.12.3
Patch Changes
-
#1068
fd7111d5Thanks @MananTank! - addthemeinWalletConfig.selectUIto allow creating selection UI that follows the theme of the wallet Modal -
#1084
74f898acThanks @MananTank! - Fix Local Wallet Backup throwing error when wallet is not connected -
#1078
f5ae61aeThanks @MananTank! - Fixes the issue of Magic Link's "Switch Network" not working with Smart Wallet and Safe -
#1067
e21bdd03Thanks @MananTank! - FixusePaperWallethook's type definition -
Updated dependencies [
2f1df0b5,189daf02,afae0873,bba9767a,c6e74ef0,fd7111d5,ee4c7de2,bd86661f,68fa1896,e21bdd03,f7b352a5,4a1d7581,bdabbef7,59206233,292a321a,98efd090,8eecf4c2,bd86661f,f3b2ae3f,d5651006,4f99ccb4,da576108,c85810ee,6fd10f94,5f1e6abb,a034b032,35984362]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].3
- @thirdweb-dev/[email protected]
3.12.2
Patch Changes
- Updated dependencies [
30e5593d,30e5593d]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].2
- @thirdweb-dev/[email protected]
3.12.1
Patch Changes
-
#1030
61212d27Thanks @adam-maj! - Add ability to configure gatewayUrl and pull gatewayUrl from storage in MediaRenderer -
Updated dependencies [
b6f48e10,d5123044,3c8c5d56,907d97be]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].1
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.12.0
Minor Changes
- #993
b1ede491Thanks @0xfrosty! - Add React hook useBuyDirectListing() to buy a direct listing in a MarketplaceV3 contract
Patch Changes
-
#1001
2b0fb9d2Thanks @MananTank! - Fix Flaky coinbase QR code scan -
#1015
39bd9630Thanks @MananTank! - - addselectUIapi inWalletConfigto allow rendering a custom UI for selecting a wallet- Render an input for paper wallet and magic link using
selectUIapi - add prop
modalTitleonConnectWalletto configure a custom title for the modal - add props
selectionData,setSelectionDataandsupportedWalletsonconnectUI
- Render an input for paper wallet and magic link using
-
#996
c3645c45Thanks @MananTank! - - addthemeinConfiguredWallet.connectUI's props - to use theme aware UI for wallets- add
useWalletConfighook to get theConfiguredWalletobject for active wallet - add hooks
useSetConnectedWallet,useSetConnectionStatus - rename
useActiveChaintouseChain- keep theuseActiveChainalso with deprecated tag - make
useSafehook await-able by returning the promise of connect() call - add hook
useSmartWallet - allow rendering custom wallet details button via
<ConnectWallet detailsButton={} />prop - Rename "Export" to "Backup" in local wallet UI
- add
-
#1011
470e0a14Thanks @MananTank! - rename ConfiguredWallet to WalletConfig- import { ConfiguredWallet } from '@thirdweb-dev/react'; + import { WalletConfig } from '@thirdweb-dev/react'; -
#1022
738c0ec6Thanks @mmeigooni! - Update Paper SDK version -
#1002
d495a4b8Thanks @MananTank! - Expose Web3Modal QRModalOptions in WalletConnect V2 -
#989
8db78299Thanks @iketw! - [React/ReactNative] Updated useThirdwebWallet to useWalletContext -
#998
4f843833Thanks @MananTank! - - skip wallet-selector screen if there's a single wallet- Fix "Can't close Safe screen" issue
- Fix magicSdkConfiguration type
-
Updated dependencies [
e9b69300,39bd9630,49ec2d17,799d98e8,c3645c45,470e0a14,b1ede491,738c0ec6,d495a4b8,482f6d1b,e4356e76,9886c858,8db78299,4f843833]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].0
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.11.11
Patch Changes
- Updated dependencies [
32908b76,6a4aab0b,6a4aab0b]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.11.10
Patch Changes
-
#967
7d7685e3Thanks @MananTank! - - Fix type of connect() for magic wallet- enforce smsLogin, emailLogin restriction for magic wallet
- update the icon for local wallet
-
#966
87021ceeThanks @MananTank! - Connect Wallet UI improvements- Allow from EOA => smart wallet / safe
- Add warning to backup wallet for guest wallet
- Show "Guest" instead of address for guest wallet
-
#977
93bd5733Thanks @MananTank! - Fix Connect Wallet Open/Close issues -
Updated dependencies [
93bdec06,ea0f9479,05ebbc15,5305b42d,4ca557ae,7d7685e3,87021cee,eb521d24,af4b5356,93bd5733,a2df187b,aa9b6acc]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.11.9
Patch Changes
-
#941
5d67b280Thanks @MananTank! - Add Magic Link -
#955
c7c2530cThanks @MananTank! - Local wallet UI refactor and other fixes -
#930
e22e4a47Thanks @MananTank! - suggest first supportedWallet for getting started in ConnectWallet -
#942
1e4ac672Thanks @joaquim-verges! - Simplify and generalize SmartWallet API -
#960
5ffb1cbaThanks @frogeth! - Added a onLogout Function to the connect wallet button -
#927
1e9fad77Thanks @MananTank! - safe, deviceWallet and smartWallet autoconnect -
#940
a8b79065Thanks @0xHendrix! - Added onLogin callback to ConnectWallet authOptions props -
Updated dependencies [
7012513b,5d67b280,f12a80a4,5a67d5d8,d2c7f6d7,c7c2530c,f12a80a4,bf6df267,e22e4a47,1e4ac672,fc96e147,4a69f8c8,26cd91ff,8f962bc1,28b5d1eb,0186721b,0bf29745,f0279c22,1e9fad77,7af99d9a,00d0d01e,fc96e147,8cfb4f38]:- @thirdweb-dev/[email protected].9
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.11.8
Patch Changes
-
#892
4acb2b55Thanks @MananTank! - Add Switch Account button for MetaMask -
#919
81770647Thanks @MananTank! - improved device wallet password input autocomplete -
#914
ec36df5fThanks @MananTank! - Add "Request Testnet funds" for LocalHost -
#895
06cc1df3Thanks @MananTank! - Fix supportedChains not having the activeChain for wallets -
#887
430a5f79Thanks @MananTank! - export Configurable NetworkSelector -
#918
26644d63Thanks @MananTank! - Fix Connect Wallet Modal width on tablet size viewport -
#917
09fae984Thanks @MananTank! - Device Wallet and other Connect Wallet UI improvements -
#920
3010d845Thanks @MananTank! - Improved autocomplete for imported device wallet -
#910
c2fec930Thanks @joaquim-verges! - Allow passing any EVMWallet to SafeWallet as personal signer -
#909
d8b54a6fThanks @MananTank! - Add back device wallet UI -
Updated dependencies [
abe88599,49922de9,4acb2b55,82bea3fa,ea04edf4,77224646,c9ee9b32,00f4355f,a6610f12,06cc1df3,29146e00,77224646,430a5f79,664d1cd0,bfdd8493,c2fec930,477324ec]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].8
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.11.7
Patch Changes
-
#859
229a4741Thanks @MananTank! - Fix Error when connecting to Safe in Vite -
#879
59434aacThanks @MananTank! - [react] add style prop on ConnectWallet and Web3Button -
Updated dependencies [
ac8fa0b3,b616dca7,2545a440,b75bcef5,229a4741,c9027fce,0db0cc75]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].7
3.11.6
Patch Changes
3.11.5
Patch Changes
- Updated dependencies [
1547d76c,235eb046,b5648aee,1b8f812f,235eb046]:- @thirdweb-dev/[email protected].8
- @thirdweb-dev/[email protected].5
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.11.4
Patch Changes
-
#851
c5c2d947Thanks @MananTank! - Fix wallet autoconnect issuesFixes
- infinite loading spinner on connect wallet button when wallet is locked or connection to app is closed
- network switch popup on page load when wallet is connected to different network than it was previously connected
- removed autoconnect timeout - don't need it anymore
-
#855
2dd192a5Thanks @MananTank! - Add auth in Connect Wallet button -
Updated dependencies [
c5c2d947,2dd192a5]:- @thirdweb-dev/[email protected].4
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].7
3.11.3
Patch Changes
-
#844
48fe2ce5Thanks @MananTank! - connect wallet UI and text adjustments -
Updated dependencies [
1137a20d,1137a20d]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].3
- @thirdweb-dev/[email protected].7
- @thirdweb-dev/[email protected]
3.11.2
Patch Changes
- Updated dependencies [
b7fcae6e,b7fcae6e,1f2df55b,839fce1f,839fce1f]:- @thirdweb-dev/[email protected].2
- @thirdweb-dev/[email protected].6
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.11.1
Patch Changes
- Updated dependencies [
e2581f21,9b303829]:- @thirdweb-dev/[email protected].1
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].5
- @thirdweb-dev/[email protected]
3.11.0
Minor Changes
-
#584
d01b135dThanks @MananTank! - [Wallets, RN, React, ReactCore] New Wallets SDK implementationBreaking changes:
React and React Native
- Replaced
walletConnectorswithsupportedWalletsin the ThirdwebProvider.
import { coinbaseWallet, metamaskWallet, ThirdwebProvider } from "@thirdweb-dev/react"; const App = () => { - return <ThirdwebProvider walletConnectors={["metamask", "coinbaseWallet"]}>{...}</ThirdwebProvider> + return <ThirdwebProvider supportedWallets={[metamaskWallet(), coinbaseWallet()]}>{...}</ThirdwebProvider> }-
magicLinkConnectornot yet implemented in this version -
Removed
desiredChainId, useactiveChaininstead -
DAppMetaDatatype now requires theurlfield to be passed in -
Removed
chainRpcprop from the ThirdwebProvider. You can pass custom rpcs in the Chain object through theactiveChainandsupportedChainsprops. -
Replaced the
useNetworkhook foruseChainanduseSwitchChain -
Updated
ConnectWalletbutton in React:
- Removed
accentColorandcolorMode - Added a
themeprop withdarkandlightvalues
- Updated the
Web3Buttonbutton in React:
- Removed
accentColorandcolorMode - Added a
themeprop withdarkandlightvalues
Patch Changes
- You can now pass a
themeprop to the ThirdwebProvider. Values arelightanddark
import { ThirdwebProvider } from "@thirdweb-dev/react"; const App = () => { return <ThirdwebProvider theme='light'>{...}</ThirdwebProvider> }-
New wallet hooks added
- useWallet()
- useConenct()
- useConnectionStatus()
- useSwitchChain()
-
Removed
wagmidependency from thereact-native-compatpackage and updated shims -
New
ConnectWalletandWeb3Buttoncomponents in React Native -
New wallets package with support for the most common wallets. MetaMask, Coinbase, WalletConnect V1 and V2 and PaperWallet
-
Added
autoSwitchprop to the ThirdwebProvider to control whether or not to automatically switch to wallet's network to active chain
import { ThirdwebProvider } from "@thirdweb-dev/react"; const App = () => { return <ThirdwebProvider autoSwitch>{...}</ThirdwebProvider> } - Replaced
Patch Changes
-
#757
9ea43969Thanks @iketw! - switch tothirdwebcdn.comfor default IPFS gateway -
#829
3ff8eecfThanks @MananTank! - useauthConfigprovided inuseLogin()hook -
#825
4bdeefe6Thanks @iketw! - [Core,React,RN,Wallets] Allow for wallets to be created without props where possibleYou can now create wallets without having to worry about it's params. We provide sensible defaults.
const w = new WalletConnectV1(); w.connect(); const w1 = new WalletConnect(); w1.connect(); const cb = new CoinbaseWallet() w1.connect(); const safe = new SafeWallet(); const device = new DeviceBrowserWallet(); -
#708
aad57a56Thanks @ThianHooi! - Fix unable to override chain config value in ThirdwebProvider -
#735
ba9f593bThanks @jnsdls! -New Hooks
useWatchTransactions()- watch for transactions on the blockchain (real-time)
Example: Listen to all transactions on USD Coin (USDC) contract address.
import { useWatchTransactions } from "@thirdweb-dev/react"; const MyComponent = () => { const transactions = useWatchTransactions({ network: "ethereum", contractAddress: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", }); if (!transactions.length) { return <div>No transactions, yet.</div>; } return ( <div> {transactions.map((transaction) => ( <div key={transaction.hash}> <div>Hash: {transaction.hash}</div> <div>From: {transaction.from}</div> <div>To: {transaction.to}</div> <div>Value: {transaction.value}</div> </div> ))} </div> ); };Note
This hook is available in
@thirdweb-dev/react,@thirdweb-dev/react-nativeand@thirdweb-dev/react-corepackages, the usage is the same. (The only difference is the import path.) -
#764
4b77bc9bThanks @MananTank! - paper wallet, do not save device wallet password -
#832
e47ceafeThanks @MananTank! - - Fixwallet.addListener"connect", "disconnect" event emit issue- update the paper sdk
-
#786
ddc1c33aThanks @MananTank! - Gnosis Safe -
#799
49eceaa0Thanks @iketw! - [React] update provider props -
Updated dependencies [
d01b135d,6e9b9dba,93eca1de,a6fce0f6,9ea43969,3ff8eecf,2ec28021,4bdeefe6,805896c7,b56511e2,8ef5a6f2,4cbbad98,e3161e59,d6ae520a,5f0493d0,71532e5a,33d1cc7f,de7b6196,6b145d4b,83e99dbf,1baed0b1,52d37f01,485abd06,95bcfa6d,682f1c67,4d07b4b4,4d5fdda9,d8c1c943,08507611,e2ec70c4,ba9f593b,6b31a9bc,04775954,4b77bc9b,d01b135d,1baed0b1,8463a176,e47ceafe,4d5fdda9,6c0c6538,208d97e6,ddc1c33a,49eceaa0,5c7c0923,ba9f593b,2221f97d,9fa628f8,5c7c0923,abf609a4,9a4a542c,b2d0ffb0,bd40bc2e]:- @thirdweb-dev/[email protected].0
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].4
3.10.3
Patch Changes
- Updated dependencies []:
3.10.2
Patch Changes
- Updated dependencies [
d30e3f4d,31a252a0]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected].2
3.10.1
Patch Changes
- Updated dependencies [
9efeba38]:
3.10.0
Patch Changes
-
#651
1bdb44d3Thanks @adam-maj! - Fix onError on Web3Bbutton -
#643
85250cf7Thanks @jnsdls! - invalidate queries forWeb3Button -
#665
6ef52dc9Thanks @shift4id! - Fix spelling throughout all packages -
Updated dependencies [
6ae39277,8f46a2ee,8d5b418e,7832041c,6ef52dc9,85250cf7,2676fc01,e33bd2a8,e50911bc,4355518a,3740a0bf,91f5a2fd,23cd88ec,87a101ad]:- @thirdweb-dev/[email protected].0
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.9.5
Patch Changes
- Updated dependencies [
d7deaa4,b7a5b45]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.9.4
Patch Changes
- Updated dependencies [
a3472a1,5712650]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.9.3
Patch Changes
-
#608
3d644fbThanks @jnsdls! -<MediaRenderer />now accepts an optional mime type prop -
Updated dependencies [
3d644fb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.9.2
Patch Changes
-
Updated dependencies [
66cf1fb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.9.1
Patch Changes
-
#599
f580b8aThanks @joaquim-verges! - Fix readonly chain mismatch -
Updated dependencies [
f0de81d,f580b8a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.9.0
Minor Changes
-
af8cf40Thanks @joaquim-verges! - ## Now supports Any EVM - Any Contract!- no longer requires
desiredChainIdto be passed toThirdwebProvider - apps can now pass
activeChaintoThirdwebProviderto define the chain to connect to (can be a chainId or a fully defined chain object from@thirdweb-dev/chains) - if no
activeChainis passed but a wallet is connected the SDK will be initialized with the chain of the connected wallet - (advanced) apps can now define the chains they want to support by passing
supportedChainstoThirdwebProvider
Deprecated options
desiredChainIdis now deprecated and will be removed in the next major version. Please useactiveChaininstead.chainRPCis now deprecated and will be removed in the next major version. Please usesupportedChainsinstead.
Basic Setup
import { ThirdwebProvider } from "@thirdweb-dev/react"; - import { ChainId } from "@thirdweb-dev/sdk"; const App = () => { - return <ThirdwebProvider desiredChainId={ChainId.Ethereum}>{...}</ThirdwebProvider> + return <ThirdwebProvider>{...}</ThirdwebProvider> }Use a specific chain
import { ThirdwebProvider } from "@thirdweb-dev/react"; const App = () => { // Polygon is a default chain, so you can pass the chain name without needing to define "supportedChains" return ( <ThirdwebProvider activeChain="polygon">{/* {...} */}</ThirdwebProvider> ); };Use a non-default chain
import { Sepolia } from "@thirdweb-dev/chains"; import { ThirdwebProvider } from "@thirdweb-dev/react"; const App = () => { // since there is only one supported chain defined this will automatically default the SDK to Sepolia return ( <ThirdwebProvider activeChain={Sepolia}>{/* {...} */}</ThirdwebProvider> ); }; - no longer requires
Patch Changes
-
818048dThanks @jnsdls! - enable passing of apiKeys to the provider -
#582
8694d5aThanks @adam-maj! - Update with new auth changes -
500a0e6Thanks @jnsdls! - fix deprecationWarning bug in react & react-core -
#578
f3b96e7Thanks @jnsdls! - allownumberandstringtypes foractiveChainprop on<ThirdwebSDKProvider />and<ThirdwebProvider /> -
#592
37f58b4Thanks @joaquim-verges! - Fix aligment on web3button -
#583
03e755fThanks @nachoiacovino! - No min-width requirement for html types on nft renderer -
Updated dependencies [
6a50719,af8cf40,61d41db,5d25ee1,818048d,94b120f,d0bcd2c,2b3e94f,017b0d5,500a0e6,f3b96e7,5d25ee1,500a0e6,f6ea971,bddabe0]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.8.2
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
3.8.1
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
3.8.0
Patch Changes
- Updated dependencies [
440a4ad]:- @thirdweb-dev/[email protected]
3.7.4
Patch Changes
-
#470
b59a31cThanks @JustinTime42! - Added support for displaying 3d model NFTs -
Updated dependencies []:
- @thirdweb-dev/[email protected]
3.7.3
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
3.7.2
Patch Changes
-
#527
bdd9ed2Thanks @jnsdls! - fix dependency issues with @zag-js/react -
Updated dependencies []:
- @thirdweb-dev/[email protected]
3.7.1
Patch Changes
-
#520
8c81ca5Thanks @adam-maj! - Update auth and react-core dependencies -
Updated dependencies [
8c81ca5]:- @thirdweb-dev/[email protected]
3.7.0
Minor Changes
-
#460
a6c074cThanks @adam-maj! - All Auth hooks and configuration have been upgraded along with the major upgrade to Auth. This includes changes in necessaryauthConfigto theThirdwebProvider, as well as usage of theuseLogin,useLogout, anduseUserhooks.How to upgrade
In order to upgrade your frontend setup to account for these changes, you'll need to make the following changes to your app:
1. Remove
loginRedirectfromauthConfigIn your
ThirdwebProvider, you can remove theloginRedirectoption from theauthConfigobject, as theloginendpoint no longer uses redirects.export default function MyApp({ Component, pageProps }) { return ( <ThirdwebProvider authConfig={{ domain: "example.com", authUrl: "/api/auth", // No more loginRedirect }} > <Component {...pageProps} /> </ThirdwebProvider> ); }2. Update
useLoginanduseLogoutto use object destructuringThe
useLoginanduseLogouthooks now return an object with aloginandlogoutfunction (as well asisLoadingstates), respectively. You'll need to update your usage of these hooks to use object destructuring.import { useLogin, useLogout } from "@thirdweb-dev/react"; export default function Component() { const { login } = useLogin(); const { logout } = useLogout(); return ( <div> <button onClick={login}>Login</button> <button onClick={logout}>Logout</button> </div> ); }
Patch Changes
-
#514
48893c7Thanks @jnsdls! - switch to using the new@thirdweb-dev/react-corepackage to power@thirdweb-dev/react -
#493
f37e86bThanks @joaquim-verges! - Move solana dependencies to peer dependencies, please install them separately:npm install @thirdweb-dev/sdk @thirdweb-dev/react @metaplex-foundation/js @project-serum/anchor @solana/wallet-adapter-wallets -
#512
065c4dbThanks @ikethirdweb! - Updates useClaimedNFTs to only fetch claimed NFTs -
Updated dependencies [
48893c7,a6c074c,62b7388]:- @thirdweb-dev/[email protected]
3.6.11
Patch Changes
- #507
5047686Thanks @nachoiacovino! - Fix ConnectWallet network selector showing all options three times
3.6.10
3.6.9
3.6.8
Patch Changes
-
#422
08d04feThanks @yehia67! - AddbtnTitleprop to theConnectWalletcomponent. Now you can set customized string or child component to the connect button.
3.6.7
Patch Changes
3.6.6
Patch Changes
- #443
8c6cdaaThanks @joaquim-verges! - Fix magic link connector not connecting to the right chain
3.6.5
3.6.4
Patch Changes
3.6.3
3.6.2
Patch Changes
- #405
ccb7db4Thanks @nachoiacovino! - Add updateAll param to creators and royalty update hooks for Solana
3.6.1
Patch Changes
-
#392
846022eThanks @nachoiacovino! - Fix unlimited price for useActiveClaimConditionForWallet -
#388
7c0744aThanks @adam-maj! - Add support for total supply and pagination on get all
3.6.0
Patch Changes
-
#386
612bcddThanks @jnsdls! - [Gnosis Connector] - switch to safe.global hostname & add support for bsc and optimism chains -
#364
7cb8e59Thanks @joaquim-verges! - Add experimentaluseActiveClaimConditionForWallet()hook
3.5.2
Patch Changes
-
#369
2d3fca5Thanks @nachoiacovino! - Add useClaimerProofs hook -
#378
32d91efThanks @mykcryptodev! - round borders for buttons and menus on safari
3.5.1
3.5.0
3.4.5
3.4.4
Patch Changes
- #356
cc4613bThanks @nachoiacovino! - Add Pack and Multiwrap as NFTContract types
3.4.3
Patch Changes
- #353
1c24c3cThanks @nachoiacovino! - Add useUpdateCreators hook, fix CreatorInput schema
3.4.2
Patch Changes
-
#348
7d9a4c6Thanks @nachoiacovino! - [SOL] - adduseUpdateRoyaltySettings()hook [SOL] - changeuseRoyalty()hook ->useRoyaltySettings()for consistency -
#352
3522917Thanks @joaquim-verges! - expose useExecuteAuctionSale and useAcceptDirectListingOffer -
#351
aabbb14Thanks @jnsdls! - [EVM] - fix wallet connection during dev (hot reload)
3.4.1
Patch Changes
- #343
72227b2Thanks @joaquim-verges! - Expose new useOffers and useMakeOffer hooks
3.4.0
Minor Changes
-
#327
ef27aadThanks @jnsdls! - Gnosis Safe and Magic Link connectors are no longer included in the default export. They are now available as named exports instead.Gnosis Safe
Connector
- import { GnosisSafeConnector } from "@thirdweb-dev/react"; + import { GnosisSafeConnector } from "@thirdweb-dev/react/evm/connectors/gnosis-safe";Hook
- import { useGnosis } from "@thirdweb-dev/react"; + import { useGnosis } from "@thirdweb-dev/react/evm/connectors/gnosis-safe";Magic Link
Connector
- import { MagicLink } from "@thirdweb-dev/react"; + import { MagicConnector } from "@thirdweb-dev/react/evm/connectors/magic";Hook
- import { useMagic } from "@thirdweb-dev/react"; + import { useMagic } from "@thirdweb-dev/react/evm/connectors/magic";
Patch Changes
- #339
b03a902Thanks @nachoiacovino! - Fix docs for some functions
3.3.1
3.3.0
3.2.6
Patch Changes
-
#316
6ae5266Thanks @joaquim-verges! - Fix SIWE when using an external signer -
#310
9727502Thanks @nachoiacovino! - [SOL] - add useMintNFTSupply hook in react and accomodate inputs for it in SDK -
#319
2f8ec89Thanks @joaquim-verges! - Expose total claimed and unclaimed supply for erc721 drop contracts -
#318
bb1b4e6Thanks @nachoiacovino! - Add useMinimumNextBid hook and change invariant for other marketplace hooks
3.2.5
3.2.4
Patch Changes
- #301
86f0cefThanks @joaquim-verges! - Remove useAddress hook for now
3.2.3
Patch Changes
- #299
b1218cbThanks @joaquim-verges! - Recreate SDK on wallet changes for hook propagation
3.2.2
Patch Changes
-
#289
521a49cThanks @nachoiacovino! - Standarize useClaimNFT to evm -
#274
ad06c5bThanks @adam-maj! - Add solana auth support and plugins for react and auth package -
#269
b2cadf1Thanks @jnsdls! - [EVM] - remove deprecated chains from support -
#272
2bdf198Thanks @nachoiacovino! - Add claim conditions hook for Solana -
#291
86f6083Thanks @jnsdls! - [SOL] - expose.programonuseProgram()return type to mirror.contracton EVM -
#292
492a818Thanks @jnsdls! - [SOL] exposeuseAddress()hook that returns the connected wallet address in base58 -
#290
8096c78Thanks @jnsdls! - [SOL] -useClaimNFT()allow claiming to connected wallet without passing address explicitly [EVM] -useClaimNFT()allow claiming to connected wallet without passing address explicitly -
#263
d6bb61bThanks @jnsdls! - [EVM] - add chainId getter on contracts -
#282
1f41adbThanks @jarrodwatts! - Fix useActiveClaimCondition invariant failing for token ID 0
3.2.1
Patch Changes
- #264
f669d3eThanks @nachoiacovino! - Standarize data between evm/solana for useLazyMint hook
3.2.0
Patch Changes
-
#261
c8261b7Thanks @jnsdls! - [EVM] - align behavior ofuseContract()andgetContract()across react & sdk to both allow passing optional second params of contract types or ABIs -
#236
cac373bThanks @jnsdls! - [SOL] - do not require a connection, instead handle a network directly -
#251
ea41231Thanks @jnsdls! - fix missing Buffer implementation for WalletConnect and CoinbaseWallet connectors -
#253
b6fc298Thanks @jnsdls! - [EVM] - allow passing contractType as second param touseContract() -
#258
ac232b5Thanks @nachoiacovino! - Accept SmartContract instead of erc20 instance -
#245
1972f3eThanks @jnsdls! - [SOL] - exposeuseBurnNFThook -
#255
9b92697Thanks @jnsdls! - [EVM] -useContract()and<Web3Button />can now accept an optional ABI directly and will return aSmartContractbased on it
3.1.2
Patch Changes
- #229
9c8a3fbThanks @joaquim-verges! - [SOL] Expose useClaimNFT hook
3.1.1
Patch Changes
3.1.0
Minor Changes
- #213
e187d21Thanks @joaquim-verges! - New @thirdweb-dev/react/solana entrypoint
Patch Changes
-
#208
7c86babThanks @jnsdls! - add a bunch of initial solana hooks -
#218
1eaedc2Thanks @jnsdls! - allow bothnullandundefinedto be passed as aRequiredParam -
#220
37a707fThanks @joaquim-verges! - Fix chakra zag-menu breaking update
3.0.8
Patch Changes
-
#209
1bda83bThanks @jnsdls! - fix useLayoutEffect during SSR warning -
Updated dependencies [
ce05bfd]:- @thirdweb-dev/[email protected]
3.0.7
Patch Changes
-
#197
f4f05bdThanks @jnsdls! - make it obvious when the will trigger a network switch -
Updated dependencies [
5f5ab01,5f5ab01]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.0.6
Patch Changes
-
#179
63258bcThanks @joaquim-verges! - Expose simple provider and useSDK hooks for Solana -
Updated dependencies [
a80fc97]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
3.0.5
Patch Changes
-
#167
4169b94Thanks @joaquim-verges! - Syntax changes for react native support -
#168
208b038Thanks @jnsdls! - use internals wherever possible to allow wider usecases with<ThirdwebSDKProvider>& add invariants to catch improper use of functionality that requires the full<ThirdwebProviderearlier -
#168
208b038Thanks @jnsdls! - fix case where<ConnectWallet />button would get stuck when user cancels connection -
#168
208b038Thanks @jnsdls! - allow passingclassNameto<ConnectWallet />and<Web3Button />for possible style overrides -
Updated dependencies [
4169b94,3b877ba,b54f95d,f8ab477,772f843,a9ec190,208b038,5345479]:- @thirdweb-dev/[email protected]
3.0.4
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
3.0.3
Patch Changes
-
#143
51dde28Thanks @joaquim-verges! - Fix using external signers with ThirdwebSDKProvider -
Updated dependencies [
51dde28,9d74a43,b234c58]:- @thirdweb-dev/[email protected]
3.0.2
Patch Changes
- Updated dependencies [
42c79e9,fe8751e]:- @thirdweb-dev/[email protected]
3.0.1
Patch Changes
- Updated dependencies [
98dd64a]:- @thirdweb-dev/[email protected]
3.0.0
Major Changes
-
#19
82627eaThanks @joaquim-verges! - 3.0.0 updateMAJOR VERSION CHANGE
- 85% reduction in package size!
- Custom contracts are now first class citizens
Breaking changes:
- Hooks now accept custom contracts direclty and handle the logic internally
before
const { contract } = useContract(...) const { data: nfts } = useNFTs(contract?.nft) const { mutation: claim } = useClaimNFT(contract?.nft)after
const { contract } = useContract(...) // works with any ERC721/ERC1155 contract const { data: nfts} = useNFTs(contract) const { mutation: claim } = useClaimNFT(contract)- Custom contract hooks for reading and writing have been renamed:
before
const { contract } = useContract(...) const { data } = useContractData(contract, "myReadFunction", ...args); const { mutate: myFunction } = useContractCall(contract, "myWriteFunction");after
const { contract } = useContract(...) const { data } = useContractRead(contract, "myReadFunction", ...args); const { mutate: myFunction } = useContractWrite(contract, "myWriteFunction");- Web3Button benefits from the new Extension detection API:
before
<Web3Button contractAddress={...} action={(contract) => contract.nft?.drop?.claim?.to(...)} > Claim </Web3Button>after
<Web3Button contractAddress={...} action={(contract) => contract.erc721.claim(...) } > Claim </Web3Button>
Minor Changes
Patch Changes
-
#109
f7ccc30Thanks @adam-maj! - Add enabled check to useUser -
#114
1df2deaThanks @jnsdls! - only show deprecation method once & add optimism kovan and arbitrum rinkeby to deprecated networks -
#91
2adb8ffThanks @kumaryash90! - Add arbitrum and optimism goerli; rename testnets -
Updated dependencies [
a70b590,a37bc00,b442c97,0fa6f3f,2adb8ff,5a5bc36,820a519,0fa6f3f,82627ea]:- @thirdweb-dev/[email protected]
2.9.7
Patch Changes
- Updated dependencies [
baa87a1,f2bdf47,4079326,05353fd]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.9.6
Patch Changes
-
#61
3287c2bThanks @jnsdls! - fix versions in dependencies before releasing stable -
Updated dependencies [
3287c2b]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.9.5
Patch Changes
- Updated dependencies [
6ba9cad]:- @thirdweb-dev/[email protected]
2.9.4
Patch Changes
-
Updated dependencies [
5644ccd]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.9.3
Patch Changes
-
Updated dependencies [
091f175]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.9.2
Patch Changes
- Updated dependencies [
924247a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.9.1
Patch Changes
-
#50
c903ca8Thanks @jnsdls! - apply (sane) sandboxing to<MediaRenderer /> -
Updated dependencies [
e59735b,2eb7e94]:- @thirdweb-dev/[email protected]
2.9.0
Minor Changes
- #42
46ad691Thanks @jnsdls! - removefunctionName+paramsoption from<Web3Button>- useaction={...}instead
Patch Changes
-
#45
ed639d6Thanks @jnsdls! - switch back to preconstruct for building -
#46
349b5c1Thanks @jnsdls! - imrprove babel & tsconfig settings -
Updated dependencies [
ed639d6,349b5c1,46ad691,5731ac2,5731ac2]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.8.1
Patch Changes
02c2b52: force version- Updated dependencies [
02c2b52]- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.8.0
Minor Changes
3abe26c: initialze monorepo packages
Patch Changes
- Updated dependencies [
3abe26c]- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.7.5
Patch Changes
d0a7368: mark old contract hooks as deprecated (useuseContract()instead)d4abb09: Add support for Binance chains (BSC)86e3b58: use storage helpers from @thirdweb-dev/storagecb439a9: useTotalCount always returns unclaimed and claimed tokens7fa920e:<Web3Button />now acceptsactioninstead ofcallable- Updated dependencies [
d4abb09] - Updated dependencies [
274afb5] - Updated dependencies [
86e3b58] - Updated dependencies [
86e3b58] - Updated dependencies [
0c78b16]- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]