@dynamic-labs/sdk-react-core 1.1.0-alpha.0 → 1.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (424) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.cjs +3 -3
  3. package/package.js +3 -3
  4. package/package.json +13 -13
  5. package/src/index.cjs +3 -2
  6. package/src/index.js +2 -1
  7. package/src/lib/Main.cjs +1 -0
  8. package/src/lib/Main.js +1 -0
  9. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -0
  10. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -0
  11. package/src/lib/components/Alert/Alert.types.d.ts +2 -1
  12. package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -0
  13. package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -0
  14. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +1 -0
  15. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +1 -0
  16. package/src/lib/components/Button/Button.cjs +2 -2
  17. package/src/lib/components/Button/Button.d.ts +2 -1
  18. package/src/lib/components/Button/Button.js +2 -2
  19. package/src/lib/components/CopyButton/CopyButton.d.ts +2 -1
  20. package/src/lib/components/Divider/Divider.cjs +1 -0
  21. package/src/lib/components/Divider/Divider.js +1 -0
  22. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +2 -2
  23. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.d.ts +3 -2
  24. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +2 -2
  25. package/src/lib/components/DynamicConnectButton/components/ConnectButton.cjs +1 -1
  26. package/src/lib/components/DynamicConnectButton/components/ConnectButton.d.ts +2 -1
  27. package/src/lib/components/DynamicConnectButton/components/ConnectButton.js +1 -1
  28. package/src/lib/components/ErrorContainer/ErrorContainer.cjs +2 -2
  29. package/src/lib/components/ErrorContainer/ErrorContainer.d.ts +2 -1
  30. package/src/lib/components/ErrorContainer/ErrorContainer.js +2 -2
  31. package/src/lib/components/Input/Input.types.d.ts +2 -1
  32. package/src/lib/components/ListTile/ListTile.cjs +1 -1
  33. package/src/lib/components/ListTile/ListTile.js +1 -1
  34. package/src/lib/components/ListTile/ListTile.types.d.ts +2 -1
  35. package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +1 -0
  36. package/src/lib/components/MenuList/Dropdown/Dropdown.js +1 -0
  37. package/src/lib/components/Modal/Modal.cjs +1 -0
  38. package/src/lib/components/Modal/Modal.js +1 -0
  39. package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.cjs +9 -5
  40. package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.d.ts +1 -1
  41. package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.js +9 -5
  42. package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +4 -3
  43. package/src/lib/components/NeedHelpSection/NeedHelpSection.js +4 -3
  44. package/src/lib/components/NetworkPicker/NetworkPicker.cjs +1 -0
  45. package/src/lib/components/NetworkPicker/NetworkPicker.js +1 -0
  46. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +1 -0
  47. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +1 -0
  48. package/src/lib/components/NetworkPicker/components/Network/Network.cjs +1 -0
  49. package/src/lib/components/NetworkPicker/components/Network/Network.js +1 -0
  50. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +1 -0
  51. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +1 -0
  52. package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -1
  53. package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -1
  54. package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +8 -6
  55. package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +1 -1
  56. package/src/lib/components/OTPVerificationView/OTPVerificationView.js +8 -6
  57. package/src/lib/components/OverlayCard/OverlayCard.cjs +1 -0
  58. package/src/lib/components/OverlayCard/OverlayCard.js +1 -0
  59. package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +2 -1
  60. package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +2 -1
  61. package/src/lib/components/Portal/Portal.cjs +1 -0
  62. package/src/lib/components/Portal/Portal.js +1 -0
  63. package/src/lib/components/Search/Search.cjs +1 -1
  64. package/src/lib/components/Search/Search.d.ts +2 -1
  65. package/src/lib/components/Search/Search.js +1 -1
  66. package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.cjs +2 -2
  67. package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js +2 -2
  68. package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +3 -3
  69. package/src/lib/components/SendBalanceForm/SendBalanceForm.js +3 -3
  70. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
  71. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
  72. package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +1 -1
  73. package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +1 -1
  74. package/src/lib/components/SocialSignIn/SocialSignIn.cjs +1 -0
  75. package/src/lib/components/SocialSignIn/SocialSignIn.js +1 -0
  76. package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +1 -0
  77. package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +1 -0
  78. package/src/lib/components/TextButton/TextButton.d.ts +2 -1
  79. package/src/lib/components/Tooltip/Tooltip.cjs +3 -2
  80. package/src/lib/components/Tooltip/Tooltip.d.ts +2 -1
  81. package/src/lib/components/Tooltip/Tooltip.js +3 -2
  82. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +3 -3
  83. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.d.ts +2 -1
  84. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +3 -3
  85. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.cjs +1 -1
  86. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.d.ts +2 -1
  87. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js +1 -1
  88. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +2 -1
  89. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +2 -1
  90. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -0
  91. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -0
  92. package/src/lib/components/Typography/Typography.types.d.ts +2 -1
  93. package/src/lib/components/UserAddress/UserAddress.cjs +1 -0
  94. package/src/lib/components/UserAddress/UserAddress.js +1 -0
  95. package/src/lib/components/UserProfile/UserProfile.cjs +2 -2
  96. package/src/lib/components/UserProfile/UserProfile.d.ts +1 -0
  97. package/src/lib/components/UserProfile/UserProfile.js +2 -2
  98. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +3 -2
  99. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.d.ts +3 -2
  100. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +3 -2
  101. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +1 -0
  102. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +1 -0
  103. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +1 -0
  104. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +1 -0
  105. package/src/lib/context/DynamicContext/DynamicContext.cjs +10 -21
  106. package/src/lib/context/DynamicContext/DynamicContext.js +11 -22
  107. package/src/lib/context/DynamicContext/hooks/index.d.ts +2 -1
  108. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/index.d.ts +1 -0
  109. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +75 -0
  110. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.d.ts +3 -0
  111. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +71 -0
  112. package/src/lib/context/DynamicContext/types/index.d.ts +0 -3
  113. package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +3 -5
  114. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +1 -0
  115. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +1 -0
  116. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +4 -24
  117. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +1 -1
  118. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +4 -24
  119. package/src/lib/context/LoadingContext/LoadingContext.cjs +55 -15
  120. package/src/lib/context/LoadingContext/LoadingContext.d.ts +1 -1
  121. package/src/lib/context/LoadingContext/LoadingContext.js +56 -16
  122. package/src/lib/context/MockContext/MockContext.cjs +1 -0
  123. package/src/lib/context/MockContext/MockContext.js +1 -0
  124. package/src/lib/context/QrCodeContext/QrCodeContext.cjs +1 -0
  125. package/src/lib/context/QrCodeContext/QrCodeContext.js +1 -0
  126. package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -0
  127. package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -0
  128. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +4 -14
  129. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +5 -15
  130. package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +1 -0
  131. package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +1 -0
  132. package/src/lib/context/ViewContext/ViewContext.cjs +4 -15
  133. package/src/lib/context/ViewContext/ViewContext.d.ts +1 -3
  134. package/src/lib/context/ViewContext/ViewContext.js +5 -16
  135. package/src/lib/data/api.js +1 -1
  136. package/src/lib/{context/DynamicContext/internalEvents/internalEvents.cjs → events/dynamicEvents.cjs} +2 -3
  137. package/src/lib/{context/DynamicContext/internalEvents/internalEvents.d.ts → events/dynamicEvents.d.ts} +4 -4
  138. package/src/lib/events/dynamicEvents.js +5 -0
  139. package/src/lib/events/index.d.ts +1 -0
  140. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +2 -1
  141. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +2 -1
  142. package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +3 -2
  143. package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +2 -2
  144. package/src/lib/layout/DynamicAuthLayout/Header/header.js +3 -2
  145. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +2 -1
  146. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +2 -1
  147. package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +2 -1
  148. package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +2 -1
  149. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +1 -0
  150. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +1 -0
  151. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +1 -0
  152. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +1 -0
  153. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +1 -0
  154. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +1 -0
  155. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +1 -0
  156. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +1 -0
  157. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +1 -0
  158. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +1 -0
  159. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +1 -0
  160. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +1 -0
  161. package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +1 -0
  162. package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +1 -0
  163. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +1 -0
  164. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +1 -0
  165. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +3 -2
  166. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.d.ts +2 -1
  167. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +3 -2
  168. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +3 -2
  169. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.d.ts +2 -1
  170. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +3 -2
  171. package/src/lib/locale/en/translation.cjs +124 -1
  172. package/src/lib/locale/en/translation.d.ts +124 -1
  173. package/src/lib/locale/en/translation.js +124 -1
  174. package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +1 -0
  175. package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +1 -0
  176. package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +1 -0
  177. package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +1 -0
  178. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +3 -2
  179. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +3 -2
  180. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +3 -2
  181. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +3 -2
  182. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +2 -1
  183. package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +1 -0
  184. package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +1 -0
  185. package/src/lib/shared/types/index.d.ts +3 -0
  186. package/src/lib/shared/utils/functions/chain/getChainIcon.cjs +1 -0
  187. package/src/lib/shared/utils/functions/chain/getChainIcon.js +2 -1
  188. package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs +5 -3
  189. package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js +5 -3
  190. package/src/lib/utils/hooks/events/index.d.ts +3 -0
  191. package/src/lib/utils/hooks/events/types.d.ts +14 -0
  192. package/src/lib/utils/hooks/events/useDynamicEvents/index.d.ts +1 -0
  193. package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.cjs +21 -0
  194. package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.d.ts +8 -0
  195. package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.js +17 -0
  196. package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.cjs +1 -0
  197. package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.d.ts +2 -11
  198. package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.js +1 -0
  199. package/src/lib/utils/hooks/index.d.ts +1 -2
  200. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +57 -48
  201. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.d.ts +1 -1
  202. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +57 -48
  203. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +51 -7
  204. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.d.ts +3 -0
  205. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +51 -7
  206. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +7 -7
  207. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +7 -7
  208. package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +27 -2
  209. package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +27 -2
  210. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +1 -1
  211. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +1 -1
  212. package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +5 -7
  213. package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +5 -7
  214. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +5 -5
  215. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +5 -5
  216. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +2 -1
  217. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +1 -1
  218. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +2 -1
  219. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +2 -1
  220. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +2 -1
  221. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +3 -2
  222. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +3 -2
  223. package/src/lib/views/AccountExistsView/AccountExistsView.cjs +3 -2
  224. package/src/lib/views/AccountExistsView/AccountExistsView.js +3 -2
  225. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +1 -1
  226. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +1 -1
  227. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +1 -1
  228. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +1 -1
  229. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +4 -2
  230. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +4 -2
  231. package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +5 -4
  232. package/src/lib/views/CollectUserDataView/CollectUserDataView.js +5 -4
  233. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +1 -0
  234. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +1 -0
  235. package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +10 -8
  236. package/src/lib/views/CollectUserDataView/UserDataFields/index.js +10 -8
  237. package/src/lib/views/CollectUserDataView/useFields.cjs +11 -0
  238. package/src/lib/views/CollectUserDataView/useFields.d.ts +11 -0
  239. package/src/lib/views/CollectUserDataView/useFields.js +11 -0
  240. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +4 -3
  241. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +4 -3
  242. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +2 -1
  243. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +2 -1
  244. package/src/lib/views/EmailUpdate/EmailUpdate.cjs +3 -2
  245. package/src/lib/views/EmailUpdate/EmailUpdate.js +3 -2
  246. package/src/lib/views/EmailVerification/EmailVerification.cjs +3 -5
  247. package/src/lib/views/EmailVerification/EmailVerification.js +3 -5
  248. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +11 -5
  249. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +11 -5
  250. package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +1 -0
  251. package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +1 -0
  252. package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +1 -0
  253. package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +1 -0
  254. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +2 -1
  255. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +2 -1
  256. package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +3 -2
  257. package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.d.ts +3 -2
  258. package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +3 -2
  259. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +2 -1
  260. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +2 -1
  261. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +1 -1
  262. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +1 -1
  263. package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +4 -3
  264. package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +4 -3
  265. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +3 -2
  266. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +3 -2
  267. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +4 -1
  268. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +4 -1
  269. package/src/lib/views/NoAccess/NoAccess.cjs +2 -1
  270. package/src/lib/views/NoAccess/NoAccess.js +2 -1
  271. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +7 -2
  272. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +7 -2
  273. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +11 -5
  274. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +11 -5
  275. package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +1 -0
  276. package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +1 -0
  277. package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +4 -3
  278. package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +4 -3
  279. package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +2 -1
  280. package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +2 -1
  281. package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +6 -5
  282. package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +6 -5
  283. package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +4 -3
  284. package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +4 -3
  285. package/src/lib/views/PendingConnectView/PendingConnectView.cjs +8 -4
  286. package/src/lib/views/PendingConnectView/PendingConnectView.js +8 -4
  287. package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +9 -5
  288. package/src/lib/views/PendingSignatureView/PendingSignatureView.js +9 -5
  289. package/src/lib/views/QrCodeView/QRCode.cjs +1 -0
  290. package/src/lib/views/QrCodeView/QRCode.js +1 -0
  291. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +12 -8
  292. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +12 -8
  293. package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -0
  294. package/src/lib/views/QrCodeView/QrCodeView.js +1 -0
  295. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +2 -1
  296. package/src/lib/views/SendBalanceView/SendBalanceView.js +2 -1
  297. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +1 -0
  298. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.d.ts +2 -1
  299. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +1 -0
  300. package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +2 -1
  301. package/src/lib/views/SocialRedirectView/SocialRedirectView.js +2 -1
  302. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +5 -3
  303. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +5 -3
  304. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +10 -7
  305. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +2 -1
  306. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +10 -7
  307. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +1 -0
  308. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +1 -0
  309. package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +1 -0
  310. package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +1 -0
  311. package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +2 -1
  312. package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +2 -1
  313. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +2 -1
  314. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +2 -1
  315. package/src/lib/views/WalletList/WalletList.cjs +2 -2
  316. package/src/lib/views/WalletList/WalletList.js +2 -2
  317. package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +1 -0
  318. package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +1 -0
  319. package/src/lib/views/WalletLockedView/WalletLockedView.cjs +4 -2
  320. package/src/lib/views/WalletLockedView/WalletLockedView.js +4 -2
  321. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +5 -3
  322. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +5 -3
  323. package/src/lib/views/WalletUsedView/WalletUsedView.cjs +2 -1
  324. package/src/lib/views/WalletUsedView/WalletUsedView.js +2 -1
  325. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +1 -0
  326. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +1 -0
  327. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +1 -0
  328. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +1 -0
  329. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +1 -0
  330. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +1 -0
  331. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +1 -0
  332. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +1 -0
  333. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +1 -0
  334. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +1 -0
  335. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +1 -0
  336. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +1 -0
  337. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +5 -5
  338. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +5 -5
  339. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +1 -0
  340. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +1 -0
  341. package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +2 -1
  342. package/src/lib/widgets/DynamicWidget/DynamicWidget.js +2 -1
  343. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +1 -0
  344. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +1 -0
  345. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +2 -1
  346. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +2 -1
  347. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +1 -0
  348. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +1 -0
  349. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +1 -0
  350. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +1 -0
  351. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +1 -0
  352. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +1 -0
  353. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +1 -0
  354. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +1 -0
  355. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +1 -0
  356. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +1 -0
  357. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +1 -0
  358. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +1 -0
  359. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +1 -0
  360. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +1 -0
  361. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -0
  362. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -0
  363. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +1 -0
  364. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +1 -0
  365. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +6 -3
  366. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +6 -3
  367. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +1 -0
  368. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +1 -0
  369. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +7 -2
  370. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +7 -2
  371. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +3 -2
  372. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.d.ts +3 -2
  373. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +3 -2
  374. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +1 -0
  375. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +1 -0
  376. package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +1 -0
  377. package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +1 -0
  378. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +1 -0
  379. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +1 -0
  380. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +1 -0
  381. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +1 -0
  382. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -0
  383. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -0
  384. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +1 -0
  385. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +1 -0
  386. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +1 -0
  387. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +1 -0
  388. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +1 -0
  389. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +1 -0
  390. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +1 -0
  391. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +1 -0
  392. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +1 -0
  393. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +1 -0
  394. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +1 -0
  395. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +1 -0
  396. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -0
  397. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -0
  398. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +1 -0
  399. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +1 -0
  400. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +1 -0
  401. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +1 -0
  402. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -0
  403. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -0
  404. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +1 -0
  405. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +1 -0
  406. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +1 -0
  407. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +1 -0
  408. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +2 -1
  409. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +2 -1
  410. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +2 -1
  411. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +2 -1
  412. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +1 -0
  413. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +1 -0
  414. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +1 -0
  415. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +1 -0
  416. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +1 -0
  417. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +1 -0
  418. package/src/lib/context/DynamicContext/internalEvents/index.d.ts +0 -1
  419. package/src/lib/context/DynamicContext/internalEvents/internalEvents.js +0 -6
  420. /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/index.d.ts +0 -0
  421. /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.cjs +0 -0
  422. /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.d.ts +0 -0
  423. /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.js +0 -0
  424. /package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/index.d.ts +0 -0
@@ -1,24 +1,64 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { createContext, useContext, useState, useEffect, useMemo } from 'react';
3
- import { useInternalDynamicContext } from '../DynamicContext/useInternalDynamicContext.js';
2
+ import { createContext, useContext, useState, useMemo } from 'react';
3
+ import { useInternalDynamicEvents } from '../../utils/hooks/events/useDynamicEvents/useDynamicEvents.js';
4
+ import '@dynamic-labs/utils';
5
+ import '../DynamicContext/DynamicContext.js';
6
+ import '@dynamic-labs/wallet-connector-core';
7
+ import '../CaptchaContext/CaptchaContext.js';
8
+ import '../ErrorContext/ErrorContext.js';
9
+ import '../ViewContext/ViewContext.js';
10
+ import '@dynamic-labs/sdk-api';
11
+ import '../../shared/logger.js';
12
+ import '@dynamic-labs/iconic';
13
+ import '@dynamic-labs/wallet-book';
14
+ import '../../utils/constants/colors.js';
15
+ import '../../shared/utils/classes/storage/localStorage.js';
16
+ import 'viem';
17
+ import '../../shared/consts/index.js';
18
+ import '@dynamic-labs/multi-wallet';
19
+ import '../AccessDeniedContext/AccessDeniedContext.js';
20
+ import '../AccountExistsContext/AccountExistsContext.js';
21
+ import '../../config/ApiEndpoint.js';
22
+ import '../EmailVerificationContext/EmailVerificationContext.js';
23
+ import 'react-dom';
24
+ import '../../events/dynamicEvents.js';
25
+ import '../ThemeContext/ThemeContext.js';
26
+ import '@dynamic-labs/types';
27
+ import 'yup';
28
+ import 'react-i18next';
29
+ import '../MockContext/MockContext.js';
30
+ import '../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
31
+ import '../UserFieldEditorContext/UserFieldEditorContext.js';
32
+ import '@dynamic-labs/rpc-providers';
33
+ import '../UserWalletsContext/UserWalletsContext.js';
34
+ import '../../components/Alert/Alert.js';
35
+ import '../../components/ShadowDOM/ShadowDOM.js';
36
+ import '../../components/IconButton/IconButton.js';
37
+ import '../../components/InlineWidget/InlineWidget.js';
38
+ import '../../components/MenuList/Dropdown/Dropdown.js';
39
+ import '../../components/Transition/ZoomTransition/ZoomTransition.js';
40
+ import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
41
+ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
42
+ import '../../components/Popper/Popper/Popper.js';
43
+ import '../../components/Popper/PopperContext/PopperContext.js';
44
+ import 'react-focus-lock';
45
+ import 'formik';
46
+ import 'i18next';
47
+ import '../../components/OverlayCard/OverlayCard.context.js';
48
+ import '../FooterAnimationContext/index.js';
49
+ import '../QrCodeContext/QrCodeContext.js';
50
+ import '../WalletGroupContext/WalletGroupContext.js';
51
+ import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
52
+ import 'qrcode';
53
+ import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
54
+ import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
55
+ import '@dynamic-labs/viem-utils';
56
+ import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
4
57
 
5
58
  const LoadingContext = createContext(undefined);
6
59
  const LoadingContextProvider = ({ children, }) => {
7
- const { internalEvents } = useInternalDynamicContext();
8
60
  const [loading, setLoading] = useState(false);
9
- useEffect(() => {
10
- const events = internalEvents === null || internalEvents === void 0 ? void 0 : internalEvents.current;
11
- if (!events) {
12
- return;
13
- }
14
- const handleInternalLogoutEvent = () => {
15
- setLoading(false);
16
- };
17
- events.on('logout', handleInternalLogoutEvent);
18
- return () => {
19
- events.off('logout', handleInternalLogoutEvent);
20
- };
21
- }, [internalEvents]);
61
+ useInternalDynamicEvents('logout', () => setLoading(false));
22
62
  const value = useMemo(() => ({
23
63
  loading,
24
64
  setLoading,
@@ -9,6 +9,7 @@ var ErrorContext = require('../ErrorContext/ErrorContext.cjs');
9
9
  var index = require('../FooterAnimationContext/index.cjs');
10
10
  var ThemeContext = require('../ThemeContext/ThemeContext.cjs');
11
11
  var ViewContext = require('../ViewContext/ViewContext.cjs');
12
+ require('../../events/dynamicEvents.cjs');
12
13
  require('@dynamic-labs/utils');
13
14
  require('../DynamicContext/DynamicContext.cjs');
14
15
  require('@dynamic-labs/wallet-connector-core');
@@ -5,6 +5,7 @@ import { ErrorContextProvider } from '../ErrorContext/ErrorContext.js';
5
5
  import { FooterAnimationContextProvider } from '../FooterAnimationContext/index.js';
6
6
  import { ThemeContextProvider } from '../ThemeContext/ThemeContext.js';
7
7
  import { ViewContext } from '../ViewContext/ViewContext.js';
8
+ import '../../events/dynamicEvents.js';
8
9
  import '@dynamic-labs/utils';
9
10
  import '../DynamicContext/DynamicContext.js';
10
11
  import '@dynamic-labs/wallet-connector-core';
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var React = require('react');
7
+ require('../../events/dynamicEvents.cjs');
7
8
  require('@dynamic-labs/utils');
8
9
  require('../DynamicContext/DynamicContext.cjs');
9
10
  require('@dynamic-labs/wallet-connector-core');
@@ -1,5 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { createContext, useContext } from 'react';
3
+ import '../../events/dynamicEvents.js';
3
4
  import '@dynamic-labs/utils';
4
5
  import '../DynamicContext/DynamicContext.js';
5
6
  import '@dynamic-labs/wallet-connector-core';
@@ -7,6 +7,7 @@ var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
8
  var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
9
9
  var useInternalDynamicContext = require('../DynamicContext/useInternalDynamicContext.cjs');
10
+ require('../../events/dynamicEvents.cjs');
10
11
  require('@dynamic-labs/utils');
11
12
  require('../CaptchaContext/CaptchaContext.cjs');
12
13
  require('../ErrorContext/ErrorContext.cjs');
@@ -3,6 +3,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { createContext, useContext, useCallback } from 'react';
4
4
  import { isEmbeddedConnector } from '@dynamic-labs/wallet-connector-core';
5
5
  import { useInternalDynamicContext } from '../DynamicContext/useInternalDynamicContext.js';
6
+ import '../../events/dynamicEvents.js';
6
7
  import '@dynamic-labs/utils';
7
8
  import '../CaptchaContext/CaptchaContext.js';
8
9
  import '../ErrorContext/ErrorContext.js';
@@ -18,6 +18,7 @@ require('@dynamic-labs/utils');
18
18
  require('../../shared/consts/index.cjs');
19
19
  require('@dynamic-labs/multi-wallet');
20
20
  var getReferencedAccount = require('../../utils/functions/getReferencedAccount/getReferencedAccount.cjs');
21
+ var useDynamicEvents = require('../../utils/hooks/events/useDynamicEvents/useDynamicEvents.cjs');
21
22
  var useInternalDynamicContext = require('../DynamicContext/useInternalDynamicContext.cjs');
22
23
  var CaptchaContext = require('../CaptchaContext/CaptchaContext.cjs');
23
24
  var ErrorContext = require('../ErrorContext/ErrorContext.cjs');
@@ -25,6 +26,7 @@ var useVerifyWallet = require('../../utils/hooks/useVerifyWallet/useVerifyWallet
25
26
  require('../../config/ApiEndpoint.cjs');
26
27
  require('../EmailVerificationContext/EmailVerificationContext.cjs');
27
28
  require('react-dom');
29
+ require('../../events/dynamicEvents.cjs');
28
30
  require('../ThemeContext/ThemeContext.cjs');
29
31
  require('@dynamic-labs/types');
30
32
  require('yup');
@@ -64,7 +66,7 @@ require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/
64
66
  const SocialRedirectContext = React.createContext(undefined);
65
67
  const SocialRedirectContextProvider = ({ children, }) => {
66
68
  var _a, _b, _c, _d;
67
- const { setShowAuthFlow, walletConnectorOptions, setSelectedWalletConnectorKey, walletUiUtils, consumeNonce, displaySiweStatement, environmentId, projectSettings, setIsSingleWalletAccount, setShowDynamicUserProfile, isAuthenticated, setPrimaryWalletId, secondaryWallets, sdkHasLoaded, authToken, connectWallet, primaryWallet, internalEvents, socialProvidersFilter = (providers) => providers, } = useInternalDynamicContext.useInternalDynamicContext();
69
+ const { setShowAuthFlow, walletConnectorOptions, setSelectedWalletConnectorKey, walletUiUtils, consumeNonce, displaySiweStatement, environmentId, projectSettings, setIsSingleWalletAccount, setShowDynamicUserProfile, isAuthenticated, setPrimaryWalletId, secondaryWallets, sdkHasLoaded, authToken, connectWallet, primaryWallet, socialProvidersFilter = (providers) => providers, } = useInternalDynamicContext.useInternalDynamicContext();
68
70
  const { setErrorMessage } = ErrorContext.useErrorContext();
69
71
  const { setView } = ViewContext.useViewContext();
70
72
  const { getCaptchaToken } = CaptchaContext.useCaptchaContext();
@@ -91,19 +93,7 @@ const SocialRedirectContextProvider = ({ children, }) => {
91
93
  const wallet = userWallets.find((wallet) => wallet.connector.key === (socialWalletConnector === null || socialWalletConnector === void 0 ? void 0 : socialWalletConnector.key));
92
94
  const socialAccount = React.useMemo(() => (wallet ? getReferencedAccount.getReferencedAccount(authToken, wallet.id) : undefined), [authToken, wallet]);
93
95
  // added to make sure to reset the social provider on logout
94
- React.useEffect(() => {
95
- const events = internalEvents === null || internalEvents === void 0 ? void 0 : internalEvents.current;
96
- if (!events) {
97
- return;
98
- }
99
- const handleInternalLogoutEvent = () => {
100
- setSocialProvider(undefined);
101
- };
102
- events.on('logout', handleInternalLogoutEvent);
103
- return () => {
104
- events.off('logout', handleInternalLogoutEvent);
105
- };
106
- }, [internalEvents]);
96
+ useDynamicEvents.useInternalDynamicEvents('logout', () => setSocialProvider(undefined));
107
97
  const handleError = React.useCallback((message) => {
108
98
  logger.logger.error(message);
109
99
  if (isAuthenticated) {
@@ -1,6 +1,6 @@
1
1
  import { __awaiter } from '../../../../_virtual/_tslib.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
- import { createContext, useState, useMemo, useEffect, useCallback, useContext } from 'react';
3
+ import { createContext, useState, useMemo, useCallback, useEffect, useContext } from 'react';
4
4
  import { isSocialWalletConnector } from '@dynamic-labs/wallet-connector-core';
5
5
  import '@dynamic-labs/sdk-api';
6
6
  import { logger } from '../../shared/logger.js';
@@ -14,6 +14,7 @@ import '@dynamic-labs/utils';
14
14
  import '../../shared/consts/index.js';
15
15
  import '@dynamic-labs/multi-wallet';
16
16
  import { getReferencedAccount } from '../../utils/functions/getReferencedAccount/getReferencedAccount.js';
17
+ import { useInternalDynamicEvents } from '../../utils/hooks/events/useDynamicEvents/useDynamicEvents.js';
17
18
  import { useInternalDynamicContext } from '../DynamicContext/useInternalDynamicContext.js';
18
19
  import { useCaptchaContext } from '../CaptchaContext/CaptchaContext.js';
19
20
  import { useErrorContext } from '../ErrorContext/ErrorContext.js';
@@ -21,6 +22,7 @@ import { useVerifyWallet } from '../../utils/hooks/useVerifyWallet/useVerifyWall
21
22
  import '../../config/ApiEndpoint.js';
22
23
  import '../EmailVerificationContext/EmailVerificationContext.js';
23
24
  import 'react-dom';
25
+ import '../../events/dynamicEvents.js';
24
26
  import '../ThemeContext/ThemeContext.js';
25
27
  import '@dynamic-labs/types';
26
28
  import 'yup';
@@ -60,7 +62,7 @@ import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/P
60
62
  const SocialRedirectContext = createContext(undefined);
61
63
  const SocialRedirectContextProvider = ({ children, }) => {
62
64
  var _a, _b, _c, _d;
63
- const { setShowAuthFlow, walletConnectorOptions, setSelectedWalletConnectorKey, walletUiUtils, consumeNonce, displaySiweStatement, environmentId, projectSettings, setIsSingleWalletAccount, setShowDynamicUserProfile, isAuthenticated, setPrimaryWalletId, secondaryWallets, sdkHasLoaded, authToken, connectWallet, primaryWallet, internalEvents, socialProvidersFilter = (providers) => providers, } = useInternalDynamicContext();
65
+ const { setShowAuthFlow, walletConnectorOptions, setSelectedWalletConnectorKey, walletUiUtils, consumeNonce, displaySiweStatement, environmentId, projectSettings, setIsSingleWalletAccount, setShowDynamicUserProfile, isAuthenticated, setPrimaryWalletId, secondaryWallets, sdkHasLoaded, authToken, connectWallet, primaryWallet, socialProvidersFilter = (providers) => providers, } = useInternalDynamicContext();
64
66
  const { setErrorMessage } = useErrorContext();
65
67
  const { setView } = useViewContext();
66
68
  const { getCaptchaToken } = useCaptchaContext();
@@ -87,19 +89,7 @@ const SocialRedirectContextProvider = ({ children, }) => {
87
89
  const wallet = userWallets.find((wallet) => wallet.connector.key === (socialWalletConnector === null || socialWalletConnector === void 0 ? void 0 : socialWalletConnector.key));
88
90
  const socialAccount = useMemo(() => (wallet ? getReferencedAccount(authToken, wallet.id) : undefined), [authToken, wallet]);
89
91
  // added to make sure to reset the social provider on logout
90
- useEffect(() => {
91
- const events = internalEvents === null || internalEvents === void 0 ? void 0 : internalEvents.current;
92
- if (!events) {
93
- return;
94
- }
95
- const handleInternalLogoutEvent = () => {
96
- setSocialProvider(undefined);
97
- };
98
- events.on('logout', handleInternalLogoutEvent);
99
- return () => {
100
- events.off('logout', handleInternalLogoutEvent);
101
- };
102
- }, [internalEvents]);
92
+ useInternalDynamicEvents('logout', () => setSocialProvider(undefined));
103
93
  const handleError = useCallback((message) => {
104
94
  logger.error(message);
105
95
  if (isAuthenticated) {
@@ -6,6 +6,7 @@ var _tslib = require('../../../../_virtual/_tslib.cjs');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
8
  var UserFieldEditorModal = require('../../modals/UserFieldEditorModal/UserFieldEditorModal.cjs');
9
+ require('../../events/dynamicEvents.cjs');
9
10
  require('@dynamic-labs/utils');
10
11
  require('../DynamicContext/DynamicContext.cjs');
11
12
  require('@dynamic-labs/wallet-connector-core');
@@ -2,6 +2,7 @@ import { __awaiter } from '../../../../_virtual/_tslib.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { createContext, useCallback } from 'react';
4
4
  import { UserFieldEditorModal } from '../../modals/UserFieldEditorModal/UserFieldEditorModal.js';
5
+ import '../../events/dynamicEvents.js';
5
6
  import '@dynamic-labs/utils';
6
7
  import '../DynamicContext/DynamicContext.js';
7
8
  import '@dynamic-labs/wallet-connector-core';
@@ -4,27 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var React = require('react');
7
+ var useDynamicEvents = require('../../utils/hooks/events/useDynamicEvents/useDynamicEvents.cjs');
7
8
 
8
9
  const ViewContext = React.createContext(undefined);
9
- const ViewContextProvider = ({ children, initialView = 'wallet-list', internalEvents }) => {
10
+ const ViewContextProvider = ({ children, initialView = 'wallet-list' }) => {
10
11
  const [_view, setView] = React.useState(null);
11
12
  const view = _view || initialView;
12
13
  const goToInitialView = React.useCallback(() => {
13
14
  setView(null);
14
- }, [initialView]);
15
- React.useEffect(() => {
16
- if (!internalEvents) {
17
- return;
18
- }
19
- const handleInternalLogoutEvent = () => {
20
- goToInitialView();
21
- };
22
- const events = internalEvents.current;
23
- events.on('logout', handleInternalLogoutEvent);
24
- return () => {
25
- events.off('logout', handleInternalLogoutEvent);
26
- };
27
- }, [goToInitialView, internalEvents]);
15
+ }, []);
16
+ useDynamicEvents.useInternalDynamicEvents('logout', () => goToInitialView());
28
17
  const value = React.useMemo(() => ({
29
18
  goToInitialView,
30
19
  setView: setView,
@@ -1,5 +1,4 @@
1
- import { SetStateAction, Dispatch, PropsWithChildren, FC, MutableRefObject } from 'react';
2
- import { InternalEventEmitter } from '../DynamicContext/internalEvents';
1
+ import { Dispatch, FC, PropsWithChildren, SetStateAction } from 'react';
3
2
  export type ViewType = 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-with-email' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-wallet-only' | 'login-with-email-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'update-email' | 'verify-email' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'multi-wallet-wallet-list' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'wallet-locked-view' | 'social-wrong-account' | 'gate-blocked-wallet' | 'bridge-welcome' | 'bridge-summary' | 'bridge-next-wallet-connection' | 'account-exists' | 'merge-user-accounts' | 'wallet-cannot-be-transferred' | 'passkey-intro' | 'passkey-recovery-start' | 'passkey-recovery-bundle' | 'passkey-recovery-complete';
4
3
  export type ViewContextProps = {
5
4
  setView: Dispatch<SetStateAction<ViewType>>;
@@ -8,7 +7,6 @@ export type ViewContextProps = {
8
7
  };
9
8
  type ViewContextProviderProps = {
10
9
  initialView?: ViewType;
11
- internalEvents?: MutableRefObject<InternalEventEmitter>;
12
10
  };
13
11
  export declare const ViewContext: import("react").Context<ViewContextProps | undefined>;
14
12
  export declare const ViewContextProvider: FC<PropsWithChildren<ViewContextProviderProps>>;
@@ -1,26 +1,15 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { createContext, useContext, useState, useCallback, useEffect, useMemo } from 'react';
2
+ import { createContext, useContext, useState, useCallback, useMemo } from 'react';
3
+ import { useInternalDynamicEvents } from '../../utils/hooks/events/useDynamicEvents/useDynamicEvents.js';
3
4
 
4
5
  const ViewContext = createContext(undefined);
5
- const ViewContextProvider = ({ children, initialView = 'wallet-list', internalEvents }) => {
6
+ const ViewContextProvider = ({ children, initialView = 'wallet-list' }) => {
6
7
  const [_view, setView] = useState(null);
7
8
  const view = _view || initialView;
8
9
  const goToInitialView = useCallback(() => {
9
10
  setView(null);
10
- }, [initialView]);
11
- useEffect(() => {
12
- if (!internalEvents) {
13
- return;
14
- }
15
- const handleInternalLogoutEvent = () => {
16
- goToInitialView();
17
- };
18
- const events = internalEvents.current;
19
- events.on('logout', handleInternalLogoutEvent);
20
- return () => {
21
- events.off('logout', handleInternalLogoutEvent);
22
- };
23
- }, [goToInitialView, internalEvents]);
11
+ }, []);
12
+ useInternalDynamicEvents('logout', () => goToInitialView());
24
13
  const value = useMemo(() => ({
25
14
  goToInitialView,
26
15
  setView: setView,
@@ -1,6 +1,6 @@
1
1
  import { __awaiter } from '../../../_virtual/_tslib.js';
2
2
  import { NoAccessError, AccountExistsError, EmailVerificationError, UserHasAccountWithEmailError, DynamicError, EmailAlreadyExistsError, UsernameAlreadyExistsError, EmailProviderError, WalletUsedError, WalletNotDeployedError, ChainalysisError, GateBlockedError, SocialAccountAlreadyExistsError } from '@dynamic-labs/utils';
3
- import { UnprocessableEntityErrorCode, SDKApi, Configuration, ChainEnum, EmbeddedWalletProviderEnum, VerifyRequestFromJSON, WalletProviderEnum, AuthModeEnum } from '@dynamic-labs/sdk-api';
3
+ import { UnprocessableEntityErrorCode, SDKApi, Configuration, VerifyRequestFromJSON, ChainEnum, WalletProviderEnum, AuthModeEnum, EmbeddedWalletProviderEnum } from '@dynamic-labs/sdk-api';
4
4
  import { VERSION, API_VERSION } from '../../version.js';
5
5
  import ApiEndpoint from '../config/ApiEndpoint.js';
6
6
  import { logger } from '../shared/logger.js';
@@ -8,7 +8,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
8
8
 
9
9
  var EventEmitter__default = /*#__PURE__*/_interopDefaultLegacy(EventEmitter);
10
10
 
11
- // This file is temporary and should be removed after QNTM-180 is done
12
- const getInternalEvents = () => new EventEmitter__default["default"]();
11
+ const dynamicEvents = new EventEmitter__default["default"]();
13
12
 
14
- exports.getInternalEvents = getInternalEvents;
13
+ exports.dynamicEvents = dynamicEvents;
@@ -1,7 +1,7 @@
1
1
  import EventEmitter from 'eventemitter3';
2
- import { Wallet } from '../../../shared';
2
+ import { Wallet } from '../shared';
3
3
  /** Maps internal event names to their listeners */
4
- export type InternalEventMap = {
4
+ export type DynamicEvents = {
5
5
  emailVerificationResult: (param: boolean, email: string) => void;
6
6
  embeddedWalletCreated: (wallet: Wallet) => void;
7
7
  embeddedWalletFailed: (error: unknown) => void;
@@ -9,5 +9,5 @@ export type InternalEventMap = {
9
9
  passkeyRecoveryFailed: (error: unknown) => void;
10
10
  logout: () => void;
11
11
  };
12
- export type InternalEventEmitter = EventEmitter<InternalEventMap>;
13
- export declare const getInternalEvents: () => InternalEventEmitter;
12
+ export declare const dynamicEvents: EventEmitter<DynamicEvents, any>;
13
+ export type DynamicEventEmitter = typeof dynamicEvents;
@@ -0,0 +1,5 @@
1
+ import EventEmitter from 'eventemitter3';
2
+
3
+ const dynamicEvents = new EventEmitter();
4
+
5
+ export { dynamicEvents };
@@ -0,0 +1 @@
1
+ export * from './dynamicEvents';
@@ -7,6 +7,7 @@ var VerticalAccordion = require('../../components/Accordion/components/VerticalA
7
7
  var AccordionItem = require('../../components/Accordion/components/AccordionItem/AccordionItem.cjs');
8
8
  require('../../components/Alert/Alert.cjs');
9
9
  require('react');
10
+ require('../../events/dynamicEvents.cjs');
10
11
  require('@dynamic-labs/utils');
11
12
  var useInternalDynamicContext = require('../../context/DynamicContext/useInternalDynamicContext.cjs');
12
13
  require('@dynamic-labs/wallet-connector-core');
@@ -79,7 +80,7 @@ const DynamicAuthLayout = ({ children, className, style, onClose, projectSetting
79
80
  });
80
81
  const { showConnectedWalletProgress } = useAuthLayoutChecks.useAuthLayoutChecks(walletConnector);
81
82
  const { showDynamicFooter } = useAuthLayoutChecks.useAuthLayoutChecks(walletConnector);
82
- return (jsxRuntime.jsx(OverlayCardTarget.OverlayCardTarget, { children: jsxRuntime.jsxs(VerticalAccordion.VerticalAccordion, { style: style, className: className, children: [jsxRuntime.jsxs(AccordionItem.AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsxRuntime.jsx(WalletProgressStepper.WalletProgressStepper, {})), showHeader && (jsxRuntime.jsx(header.Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector })), children, showDynamicFooter && jsxRuntime.jsx(DynamicFooter.DynamicFooter, {}), showToSFooter && jsxRuntime.jsx(ToSFooter.ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsxRuntime.jsx(AccordionItem.AccordionItem, { isOpen: isFooterExpanded, children: jsxRuntime.jsx("div", { children: jsxRuntime.jsx(HelpContent.HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
83
+ return (jsxRuntime.jsx(OverlayCardTarget.OverlayCardTarget, { children: jsxRuntime.jsxs(VerticalAccordion.VerticalAccordion, { style: style, className: className, children: [jsxRuntime.jsxs(AccordionItem.AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsxRuntime.jsx(WalletProgressStepper.WalletProgressStepper, {})), showHeader && (jsxRuntime.jsx(header.Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector, copykey: headerData === null || headerData === void 0 ? void 0 : headerData.copykey })), children, showDynamicFooter && jsxRuntime.jsx(DynamicFooter.DynamicFooter, {}), showToSFooter && jsxRuntime.jsx(ToSFooter.ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsxRuntime.jsx(AccordionItem.AccordionItem, { isOpen: isFooterExpanded, children: jsxRuntime.jsx("div", { children: jsxRuntime.jsx(HelpContent.HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
83
84
  };
84
85
 
85
86
  exports.DynamicAuthLayout = DynamicAuthLayout;
@@ -3,6 +3,7 @@ import { VerticalAccordion } from '../../components/Accordion/components/Vertica
3
3
  import { AccordionItem } from '../../components/Accordion/components/AccordionItem/AccordionItem.js';
4
4
  import '../../components/Alert/Alert.js';
5
5
  import 'react';
6
+ import '../../events/dynamicEvents.js';
6
7
  import '@dynamic-labs/utils';
7
8
  import { useInternalDynamicContext } from '../../context/DynamicContext/useInternalDynamicContext.js';
8
9
  import '@dynamic-labs/wallet-connector-core';
@@ -75,7 +76,7 @@ const DynamicAuthLayout = ({ children, className, style, onClose, projectSetting
75
76
  });
76
77
  const { showConnectedWalletProgress } = useAuthLayoutChecks(walletConnector);
77
78
  const { showDynamicFooter } = useAuthLayoutChecks(walletConnector);
78
- return (jsx(OverlayCardTarget, { children: jsxs(VerticalAccordion, { style: style, className: className, children: [jsxs(AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsx(WalletProgressStepper, {})), showHeader && (jsx(Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector })), children, showDynamicFooter && jsx(DynamicFooter, {}), showToSFooter && jsx(ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsx(AccordionItem, { isOpen: isFooterExpanded, children: jsx("div", { children: jsx(HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
79
+ return (jsx(OverlayCardTarget, { children: jsxs(VerticalAccordion, { style: style, className: className, children: [jsxs(AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsx(WalletProgressStepper, {})), showHeader && (jsx(Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector, copykey: headerData === null || headerData === void 0 ? void 0 : headerData.copykey })), children, showDynamicFooter && jsx(DynamicFooter, {}), showToSFooter && jsx(ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsx(AccordionItem, { isOpen: isFooterExpanded, children: jsx("div", { children: jsx(HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
79
80
  };
80
81
 
81
82
  export { DynamicAuthLayout };
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var React = require('react');
7
+ require('../../../events/dynamicEvents.cjs');
7
8
  require('@dynamic-labs/utils');
8
9
  var useInternalDynamicContext = require('../../../context/DynamicContext/useInternalDynamicContext.cjs');
9
10
  require('@dynamic-labs/wallet-connector-core');
@@ -67,7 +68,7 @@ require('../../../components/Popper/Popper/Popper.cjs');
67
68
  require('../../../components/Popper/PopperContext/PopperContext.cjs');
68
69
  require('react-focus-lock');
69
70
 
70
- const Header = ({ onClose: handleClose, heading, projectSettings, walletConnector, }) => {
71
+ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnector, copykey, }) => {
71
72
  const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext.useInternalDynamicContext();
72
73
  const { setError } = ErrorContext.useErrorContext();
73
74
  const { setShowQrCodeImage } = QrCodeContext.useQrCodeContext();
@@ -101,7 +102,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnecto
101
102
  leadingButtons.push(infoButton);
102
103
  }
103
104
  const qrCodePreHeader = (jsxRuntime.jsxs("div", { className: 'qr-code-view__scan-issue-message', children: [jsxRuntime.jsx(Typography.Typography, { color: 'primary', variant: 'body_small', children: "If you're having issues scanning, click\u00A0" }), jsxRuntime.jsx("button", { className: 'qr-code-view__scan-issue-button', onClick: () => setShowQrCodeImage(true), children: "here" })] }));
104
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', children: !projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
105
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
105
106
  };
106
107
 
107
108
  exports.Header = Header;
@@ -1,8 +1,8 @@
1
1
  import { FC } from 'react';
2
2
  import { ProjectSettings } from '@dynamic-labs/sdk-api';
3
3
  import { WalletConnector } from '@dynamic-labs/wallet-connector-core';
4
- import { ModalProps } from '../../../shared';
5
- export type WalletHeaderProps = Partial<ModalProps> & {
4
+ import { CopyKey, ModalProps } from '../../../shared';
5
+ export type WalletHeaderProps = Partial<ModalProps> & CopyKey & {
6
6
  heading: string | JSX.Element;
7
7
  projectSettings?: ProjectSettings;
8
8
  walletConnector?: WalletConnector | null;
@@ -1,5 +1,6 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import { useCallback } from 'react';
3
+ import '../../../events/dynamicEvents.js';
3
4
  import '@dynamic-labs/utils';
4
5
  import { useInternalDynamicContext } from '../../../context/DynamicContext/useInternalDynamicContext.js';
5
6
  import '@dynamic-labs/wallet-connector-core';
@@ -63,7 +64,7 @@ import '../../../components/Popper/Popper/Popper.js';
63
64
  import '../../../components/Popper/PopperContext/PopperContext.js';
64
65
  import 'react-focus-lock';
65
66
 
66
- const Header = ({ onClose: handleClose, heading, projectSettings, walletConnector, }) => {
67
+ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnector, copykey, }) => {
67
68
  const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext();
68
69
  const { setError } = useErrorContext();
69
70
  const { setShowQrCodeImage } = useQrCodeContext();
@@ -97,7 +98,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnecto
97
98
  leadingButtons.push(infoButton);
98
99
  }
99
100
  const qrCodePreHeader = (jsxs("div", { className: 'qr-code-view__scan-issue-message', children: [jsx(Typography, { color: 'primary', variant: 'body_small', children: "If you're having issues scanning, click\u00A0" }), jsx("button", { className: 'qr-code-view__scan-issue-button', onClick: () => setShowQrCodeImage(true), children: "here" })] }));
100
- return (jsxs(Fragment, { children: [jsx(ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', children: !projectSettings ? (jsx(Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
101
+ return (jsxs(Fragment, { children: [jsx(ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? (jsx(Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
101
102
  };
102
103
 
103
104
  export { Header };
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  require('react');
7
+ require('../../../../events/dynamicEvents.cjs');
7
8
  require('@dynamic-labs/utils');
8
9
  var useInternalDynamicContext = require('../../../../context/DynamicContext/useInternalDynamicContext.cjs');
9
10
  require('@dynamic-labs/wallet-connector-core');
@@ -70,7 +71,7 @@ const HelpHeader = () => {
70
71
  const { helpHeaderData } = useDynamicLayoutData.useDynamicLayoutData({ authMode, view });
71
72
  const { displayBorderBelowHeader } = useAuthLayoutChecks.useAuthLayoutChecks(selectedWalletConnector);
72
73
  const backButton = (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: () => setIsFooterExpanded(false), "data-testid": 'back-button', className: 'header__icon', children: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'back-button ' }) }));
73
- return (jsxRuntime.jsx("div", { className: 'help-header', children: jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
74
+ return (jsxRuntime.jsx("div", { className: 'help-header', children: jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', copykey: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.copykey, children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
74
75
  };
75
76
 
76
77
  exports.HelpHeader = HelpHeader;
@@ -1,5 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import 'react';
3
+ import '../../../../events/dynamicEvents.js';
3
4
  import '@dynamic-labs/utils';
4
5
  import { useInternalDynamicContext } from '../../../../context/DynamicContext/useInternalDynamicContext.js';
5
6
  import '@dynamic-labs/wallet-connector-core';
@@ -66,7 +67,7 @@ const HelpHeader = () => {
66
67
  const { helpHeaderData } = useDynamicLayoutData({ authMode, view });
67
68
  const { displayBorderBelowHeader } = useAuthLayoutChecks(selectedWalletConnector);
68
69
  const backButton = (jsx(IconButton, { type: 'button', onClick: () => setIsFooterExpanded(false), "data-testid": 'back-button', className: 'header__icon', children: jsx(SvgChevronLeft, { className: 'back-button ' }) }));
69
- return (jsx("div", { className: 'help-header', children: jsx(ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
70
+ return (jsx("div", { className: 'help-header', children: jsx(ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', copykey: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.copykey, children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
70
71
  };
71
72
 
72
73
  export { HelpHeader };
@@ -18,6 +18,7 @@ require('../../../../shared/utils/classes/storage/localStorage.cjs');
18
18
  require('viem');
19
19
  require('@dynamic-labs/utils');
20
20
  require('../../../../shared/consts/index.cjs');
21
+ require('../../../../events/dynamicEvents.cjs');
21
22
  require('../../../../context/DynamicContext/DynamicContext.cjs');
22
23
  require('../../../../context/CaptchaContext/CaptchaContext.cjs');
23
24
  require('../../../../context/ErrorContext/ErrorContext.cjs');
@@ -65,7 +66,7 @@ require('react-focus-lock');
65
66
 
66
67
  const PasskeyInfoHelper = () => {
67
68
  const { t } = reactI18next.useTranslation();
68
- return (jsxRuntime.jsx("div", { className: 'passkey-info-help-content__container', children: jsxRuntime.jsx(EnterTileAnimation.EnterTileAnimation, { delay: '300ms', children: jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__typography-wrapper', children: [jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__details', children: [jsxRuntime.jsx(Icon.Icon, { size: 'medium', color: 'text-tertiary', children: jsxRuntime.jsx(userAccount2.ReactComponent, {}) }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'medium', children: t('dyn_passkey_intro.helper.section_1.title') }), jsxRuntime.jsx(Typography.Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', children: t('dyn_passkey_intro.helper.section_1.description') })] })] }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__details', children: [jsxRuntime.jsx(Icon.Icon, { size: 'medium', color: 'text-tertiary', children: jsxRuntime.jsx(footerKeyIcon.ReactComponent, {}) }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'medium', children: t('dyn_passkey_intro.helper.section_2.title') }), jsxRuntime.jsx(Typography.Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', children: t('dyn_passkey_intro.helper.section_2.description') })] })] })] }) }) }));
69
+ return (jsxRuntime.jsx("div", { className: 'passkey-info-help-content__container', children: jsxRuntime.jsx(EnterTileAnimation.EnterTileAnimation, { delay: '300ms', children: jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__typography-wrapper', children: [jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__details', children: [jsxRuntime.jsx(Icon.Icon, { size: 'medium', color: 'text-tertiary', children: jsxRuntime.jsx(userAccount2.ReactComponent, {}) }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'medium', copykey: 'dyn_passkey_intro.helper.section_1.title', children: t('dyn_passkey_intro.helper.section_1.title') }), jsxRuntime.jsx(Typography.Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', copykey: 'dyn_passkey_intro.helper.section_1.description', children: t('dyn_passkey_intro.helper.section_1.description') })] })] }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__details', children: [jsxRuntime.jsx(Icon.Icon, { size: 'medium', color: 'text-tertiary', children: jsxRuntime.jsx(footerKeyIcon.ReactComponent, {}) }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'medium', copykey: 'dyn_passkey_intro.helper.section_2.title', children: t('dyn_passkey_intro.helper.section_2.title') }), jsxRuntime.jsx(Typography.Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', copykey: 'dyn_passkey_intro.helper.section_2.description', children: t('dyn_passkey_intro.helper.section_2.description') })] })] })] }) }) }));
69
70
  };
70
71
 
71
72
  exports.PasskeyInfoHelper = PasskeyInfoHelper;
@@ -14,6 +14,7 @@ import '../../../../shared/utils/classes/storage/localStorage.js';
14
14
  import 'viem';
15
15
  import '@dynamic-labs/utils';
16
16
  import '../../../../shared/consts/index.js';
17
+ import '../../../../events/dynamicEvents.js';
17
18
  import '../../../../context/DynamicContext/DynamicContext.js';
18
19
  import '../../../../context/CaptchaContext/CaptchaContext.js';
19
20
  import '../../../../context/ErrorContext/ErrorContext.js';
@@ -61,7 +62,7 @@ import 'react-focus-lock';
61
62
 
62
63
  const PasskeyInfoHelper = () => {
63
64
  const { t } = useTranslation();
64
- return (jsx("div", { className: 'passkey-info-help-content__container', children: jsx(EnterTileAnimation, { delay: '300ms', children: jsxs("div", { className: 'passkey-info-help-content__typography-wrapper', children: [jsxs("div", { className: 'passkey-info-help-content__details', children: [jsx(Icon, { size: 'medium', color: 'text-tertiary', children: jsx(SvgUserAccount2, {}) }), jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsx(Typography, { variant: 'title', weight: 'medium', children: t('dyn_passkey_intro.helper.section_1.title') }), jsx(Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', children: t('dyn_passkey_intro.helper.section_1.description') })] })] }), jsxs("div", { className: 'passkey-info-help-content__details', children: [jsx(Icon, { size: 'medium', color: 'text-tertiary', children: jsx(SvgFooterKeyIcon, {}) }), jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsx(Typography, { variant: 'title', weight: 'medium', children: t('dyn_passkey_intro.helper.section_2.title') }), jsx(Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', children: t('dyn_passkey_intro.helper.section_2.description') })] })] })] }) }) }));
65
+ return (jsx("div", { className: 'passkey-info-help-content__container', children: jsx(EnterTileAnimation, { delay: '300ms', children: jsxs("div", { className: 'passkey-info-help-content__typography-wrapper', children: [jsxs("div", { className: 'passkey-info-help-content__details', children: [jsx(Icon, { size: 'medium', color: 'text-tertiary', children: jsx(SvgUserAccount2, {}) }), jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsx(Typography, { variant: 'title', weight: 'medium', copykey: 'dyn_passkey_intro.helper.section_1.title', children: t('dyn_passkey_intro.helper.section_1.title') }), jsx(Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', copykey: 'dyn_passkey_intro.helper.section_1.description', children: t('dyn_passkey_intro.helper.section_1.description') })] })] }), jsxs("div", { className: 'passkey-info-help-content__details', children: [jsx(Icon, { size: 'medium', color: 'text-tertiary', children: jsx(SvgFooterKeyIcon, {}) }), jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsx(Typography, { variant: 'title', weight: 'medium', copykey: 'dyn_passkey_intro.helper.section_2.title', children: t('dyn_passkey_intro.helper.section_2.title') }), jsx(Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', copykey: 'dyn_passkey_intro.helper.section_2.description', children: t('dyn_passkey_intro.helper.section_2.description') })] })] })] }) }) }));
65
66
  };
66
67
 
67
68
  export { PasskeyInfoHelper };
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  require('react');
7
+ require('../../../../../events/dynamicEvents.cjs');
7
8
  require('@dynamic-labs/utils');
8
9
  require('../../../../../context/DynamicContext/DynamicContext.cjs');
9
10
  require('@dynamic-labs/wallet-connector-core');
@@ -1,5 +1,6 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import 'react';
3
+ import '../../../../../events/dynamicEvents.js';
3
4
  import '@dynamic-labs/utils';
4
5
  import '../../../../../context/DynamicContext/DynamicContext.js';
5
6
  import '@dynamic-labs/wallet-connector-core';
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var utils = require('@dynamic-labs/utils');
7
7
  require('react');
8
+ require('../../../../../events/dynamicEvents.cjs');
8
9
  require('../../../../../context/DynamicContext/DynamicContext.cjs');
9
10
  require('@dynamic-labs/wallet-connector-core');
10
11
  require('../../../../../context/CaptchaContext/CaptchaContext.cjs');