Breaking changes
Starknet V6
We upgraded to Starknet v6 See this guide for more details: https://starknetjs.com/docs/guides/migrate/ There are no code changes required on the Dynamic SDK side, however if you have installed the starknet package, you will need to upgrade to >= v6.11.0.Walletbook methods
isWalletMethodSupported and isWalletEventSupported have been removed from wallet-book as part of a refactor to improve the way the SDK operates.eventsCallbacks removed
In V2, we deprecated the eventsCallbacks prop on the DynamicContextProvider in favour of a prop calledevents
which has the same purpose. In V4 we are removing the old prop entirely.
authToken and minAuthToken
In V4 we stopped exporting authToken and minAuthToken from the dynamic context. You can still get these values by callinggetAuthToken
and getMinAuthToken
.
Note that if you just want to know if the user is logged in or not, you can use the useIsLoggedIn
hook.