Breaking changes
setShowAuthFlow
opens dynamic profile in non-multi-wallet, logged in states
Packages
- sdk-api to sdk-api-core
- Wagmi V2
- Viem V2
Renamed variables/props
- useConnectWithEmailOtp to useConnectWithOtp
- fetchPublicAddress to getAddress
- hideEmbeddedWalletUIs prop to hideEmbeddedWalletTransactionUIs
- canConnectViaEmail to requiresNonDynamicEmailOtp
Removed variables/props
- isVerificationInProgress
- isFullyConnected
Replaced variables/props
- enableForcedNetworkValidation -> networkValidationMode
- onEmailVerificationSuccess & onEmailVerificationFailure -> onOtpVerificationResult
onOtpVerificationResult
so you can easily listen to success and failure for email and sms.
The signature of this new callback looks like the following
Moved variables/props
- setShowLinkNewWalletModal
const {setShowLinkNewWalletModal} = useDynamicContext();
- evmNetworks
overrides
prop on the DynamicContextProvider settings object, whereas before it lived directly in the settings object.
ERC 1155 support
Our NFT Gating feature helps you gate by NFT ownership. We’ve now added support for ERC 1155 tokens, so you can now gate by NFT ownership for both ERC 721 and ERC 1155 token types!New webhooks added
- user.passkeyRecovery.started
- user.passkeyRecovery.completed
- user.social.linked
- user.social.unlinked
- wallet.transferred
- visit.created
userId in all webhook payloads
You wanted an easier way to always have the userId of the user that triggered the event - now we also include the userId of the trigger in all webhook event objects!New hooks & methods
- showDynamicUserProfile Currently the setShowDynamicUserProfile method exists on useDynamicContext which helps you trigger the user profile modal, however you had no way of knowing if the modal was open or not. Now you can use the showDynamicUserProfile boolean to get this information.
-
useConnectWithEmailOtp
Now you can handle headless email signup with the useConnectWithEmailOtp hook! It exposes
connectWithEmail
andverifyOneTimePassword
functions. It supports both Dynamic native login and our Magic integration. -
setShowLinkNewWalletModal
This new method comes as part of
useDynamicContext
and allows you to trigger the link new wallet method programmatically.
- setAuthMode
Previously, you could set the auth mode via the
initialAuthenticationMode
prop onDynamicContextProvider
but this would be set in stone once the app loads. Now you can also set it programmatically via thesetAuthMode
method onuseDynamicContext
.
New callbacks
- onAuthFlowCancel This callback is triggered when the user cancels the auth flow before successful completion. It will get called alongside onAuthFlowClose.
Extra text in the signup/login UI
- Additional views section for extra text in the signup/login UI If you use Programmable Views, you can now insert extra text:

Multi-wallet prompts without userProfile widget
This allows you to use the multi wallet prompts without needing the full user profile which in which these prompts are normally bundled.
