@dynamic-labs/sdk-react-core 2.0.0-alpha.3 → 2.0.0-alpha.4

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 (733) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/package.cjs +4 -3
  3. package/package.js +4 -3
  4. package/package.json +15 -12
  5. package/src/index.cjs +42 -32
  6. package/src/index.js +25 -19
  7. package/src/lib/Main.cjs +10 -6
  8. package/src/lib/Main.js +10 -6
  9. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +10 -6
  10. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +10 -6
  11. package/src/lib/components/AnimatePresence/AnimatePresence.cjs +10 -6
  12. package/src/lib/components/AnimatePresence/AnimatePresence.js +10 -6
  13. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +14 -6
  14. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +14 -6
  15. package/src/lib/components/Captcha/Captcha.cjs +10 -6
  16. package/src/lib/components/Captcha/Captcha.js +10 -6
  17. package/src/lib/components/ChainIcon/ChainIcon.cjs +27 -0
  18. package/src/lib/components/ChainIcon/ChainIcon.d.ts +8 -0
  19. package/src/lib/components/ChainIcon/ChainIcon.js +23 -0
  20. package/src/lib/components/ChainIcon/index.d.ts +1 -0
  21. package/src/lib/components/Divider/Divider.cjs +9 -5
  22. package/src/lib/components/Divider/Divider.js +9 -5
  23. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +10 -6
  24. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +10 -6
  25. package/src/lib/components/EmailIcon/EmailIcon.cjs +14 -0
  26. package/src/lib/components/EmailIcon/EmailIcon.d.ts +2 -0
  27. package/src/lib/components/EmailIcon/EmailIcon.js +10 -0
  28. package/src/lib/components/EmailIcon/index.d.ts +1 -0
  29. package/src/lib/components/InlineSubmitButton/InlineSubmitButton.cjs +89 -0
  30. package/src/lib/components/InlineSubmitButton/InlineSubmitButton.d.ts +10 -0
  31. package/src/lib/components/InlineSubmitButton/InlineSubmitButton.js +85 -0
  32. package/src/lib/components/InlineSubmitButton/index.d.ts +1 -0
  33. package/src/lib/components/Input/Input.cjs +9 -6
  34. package/src/lib/components/Input/Input.d.ts +13 -2
  35. package/src/lib/components/Input/Input.js +9 -6
  36. package/src/lib/components/Input/Input.types.d.ts +1 -0
  37. package/src/lib/components/LogoutButton/LogoutButton.cjs +10 -6
  38. package/src/lib/components/LogoutButton/LogoutButton.js +10 -6
  39. package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +10 -6
  40. package/src/lib/components/MenuList/Dropdown/Dropdown.js +10 -6
  41. package/src/lib/components/MenuList/MenuList/MenuList.cjs +2 -2
  42. package/src/lib/components/MenuList/MenuList/MenuList.js +2 -2
  43. package/src/lib/components/MenuList/index.d.ts +1 -0
  44. package/src/lib/components/Modal/Modal.cjs +10 -6
  45. package/src/lib/components/Modal/Modal.js +10 -6
  46. package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +10 -6
  47. package/src/lib/components/NeedHelpSection/NeedHelpSection.js +10 -6
  48. package/src/lib/components/NetworkPicker/NetworkPicker.cjs +13 -9
  49. package/src/lib/components/NetworkPicker/NetworkPicker.d.ts +2 -1
  50. package/src/lib/components/NetworkPicker/NetworkPicker.js +13 -9
  51. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +9 -5
  52. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +9 -5
  53. package/src/lib/components/NetworkPicker/components/Network/Network.cjs +9 -5
  54. package/src/lib/components/NetworkPicker/components/Network/Network.js +9 -5
  55. package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.cjs +70 -1
  56. package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.js +71 -2
  57. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +10 -6
  58. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +10 -6
  59. package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +13 -19
  60. package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +6 -4
  61. package/src/lib/components/OTPVerificationView/OTPVerificationView.js +13 -19
  62. package/src/lib/components/OverlayCard/OverlayCard.cjs +29 -22
  63. package/src/lib/components/OverlayCard/OverlayCard.d.ts +0 -1
  64. package/src/lib/components/OverlayCard/OverlayCard.js +29 -22
  65. package/src/lib/components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs +46 -0
  66. package/src/lib/components/OverlayCard/OverlayCardTarget/OverlayCardTarget.d.ts +17 -0
  67. package/src/lib/components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js +40 -0
  68. package/src/lib/components/OverlayCard/OverlayCardTarget/index.d.ts +1 -0
  69. package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +9 -5
  70. package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +9 -5
  71. package/src/lib/components/Portal/Portal.cjs +10 -6
  72. package/src/lib/components/Portal/Portal.js +10 -6
  73. package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +10 -6
  74. package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +10 -6
  75. package/src/lib/components/RenderView/RenderView.cjs +7 -5
  76. package/src/lib/components/RenderView/RenderView.js +7 -5
  77. package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +10 -6
  78. package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +10 -6
  79. package/src/lib/components/{SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.cjs → SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.cjs} +12 -8
  80. package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.d.ts +6 -0
  81. package/src/lib/components/{SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js → SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.js} +12 -8
  82. package/src/lib/components/SecureEmbeddedWalletCard/index.d.ts +1 -0
  83. package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +2 -2
  84. package/src/lib/components/SendBalanceForm/SendBalanceForm.d.ts +1 -0
  85. package/src/lib/components/SendBalanceForm/SendBalanceForm.js +2 -2
  86. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +3 -3
  87. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.d.ts +1 -0
  88. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +3 -3
  89. package/src/lib/components/ShadowDOM/ShadowDOM.cjs +10 -6
  90. package/src/lib/components/ShadowDOM/ShadowDOM.js +10 -6
  91. package/src/lib/components/Skeleton/Skeleton.cjs +2 -2
  92. package/src/lib/components/Skeleton/Skeleton.d.ts +2 -1
  93. package/src/lib/components/Skeleton/Skeleton.js +2 -2
  94. package/src/lib/components/SocialSignIn/SocialSignIn.cjs +13 -9
  95. package/src/lib/components/SocialSignIn/SocialSignIn.js +13 -9
  96. package/src/lib/components/{SyncPasskeyFlow/SyncPasskeyFlow.cjs → SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.cjs} +12 -8
  97. package/src/lib/components/SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.d.ts +1 -0
  98. package/src/lib/components/{SyncPasskeyFlow/SyncPasskeyFlow.js → SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.js} +12 -8
  99. package/src/lib/components/SyncEmbeddedWalletAuthFlow/index.d.ts +1 -0
  100. package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.d.ts +8 -0
  101. package/src/lib/components/ToggleVisibilityButton/index.d.ts +1 -0
  102. package/src/lib/components/Toolkit/Toolkit.cjs +16 -12
  103. package/src/lib/components/Toolkit/Toolkit.js +16 -12
  104. package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +11 -7
  105. package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +11 -7
  106. package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +13 -11
  107. package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +13 -11
  108. package/src/lib/components/Tooltip/Tooltip.cjs +10 -6
  109. package/src/lib/components/Tooltip/Tooltip.js +10 -6
  110. package/src/lib/components/TosAndPp/TosAndPp.cjs +10 -6
  111. package/src/lib/components/TosAndPp/TosAndPp.js +10 -6
  112. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +9 -5
  113. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +9 -5
  114. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +10 -6
  115. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +10 -6
  116. package/src/lib/components/Transition/OpacityTransition/OpacityTransition.cjs +2 -2
  117. package/src/lib/components/Transition/OpacityTransition/OpacityTransition.js +2 -2
  118. package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.cjs +2 -2
  119. package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.js +2 -2
  120. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +10 -6
  121. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +10 -6
  122. package/src/lib/components/Transition/ZoomTransition/ZoomTransition.cjs +2 -2
  123. package/src/lib/components/Transition/ZoomTransition/ZoomTransition.js +2 -2
  124. package/src/lib/components/Typography/Typography.cjs +2 -2
  125. package/src/lib/components/Typography/Typography.js +2 -2
  126. package/src/lib/components/Typography/Typography.types.d.ts +2 -1
  127. package/src/lib/components/UserAddress/UserAddress.cjs +10 -6
  128. package/src/lib/components/UserAddress/UserAddress.js +10 -6
  129. package/src/lib/components/UserProfile/UserProfile.cjs +10 -6
  130. package/src/lib/components/UserProfile/UserProfile.js +10 -6
  131. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +9 -5
  132. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +9 -5
  133. package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs +11 -7
  134. package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js +11 -7
  135. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +9 -5
  136. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +9 -5
  137. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +13 -7
  138. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +13 -7
  139. package/src/lib/components/UserProfileForm/UserProfileForm.cjs +10 -6
  140. package/src/lib/components/UserProfileForm/UserProfileForm.js +10 -6
  141. package/src/lib/components/index.d.ts +10 -5
  142. package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +10 -6
  143. package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +10 -6
  144. package/src/lib/context/DynamicContext/DynamicContext.cjs +15 -24
  145. package/src/lib/context/DynamicContext/DynamicContext.d.ts +0 -1
  146. package/src/lib/context/DynamicContext/DynamicContext.js +15 -24
  147. package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.cjs +1 -4
  148. package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.js +1 -4
  149. package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +3 -19
  150. package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +4 -20
  151. package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.types.d.ts +1 -1
  152. package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +10 -6
  153. package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +10 -6
  154. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.cjs +1 -1
  155. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.d.ts +1 -1
  156. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.js +1 -1
  157. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +12 -11
  158. package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +12 -11
  159. package/src/lib/context/DynamicContext/types/index.d.ts +1 -1
  160. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +0 -2
  161. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +0 -2
  162. package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +10 -6
  163. package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +10 -6
  164. package/src/lib/context/FundingContext/FundingContext.cjs +10 -6
  165. package/src/lib/context/FundingContext/FundingContext.js +10 -6
  166. package/src/lib/context/LoadingContext/LoadingContext.cjs +10 -6
  167. package/src/lib/context/LoadingContext/LoadingContext.js +10 -6
  168. package/src/lib/context/MockContext/MockContext.cjs +7 -3
  169. package/src/lib/context/MockContext/MockContext.js +7 -3
  170. package/src/lib/context/PasskeyContext/PasskeyContext.cjs +9 -5
  171. package/src/lib/context/PasskeyContext/PasskeyContext.js +9 -5
  172. package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +10 -6
  173. package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +10 -6
  174. package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +13 -7
  175. package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +13 -7
  176. package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +10 -6
  177. package/src/lib/context/SendBalanceContext/SendBalanceContext.js +10 -6
  178. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +10 -6
  179. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +10 -6
  180. package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +10 -6
  181. package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +10 -6
  182. package/src/lib/context/ViewContext/types/index.d.ts +1 -1
  183. package/src/lib/context/WalletContext/WalletContext.cjs +22 -7
  184. package/src/lib/context/WalletContext/WalletContext.d.ts +8 -3
  185. package/src/lib/context/WalletContext/WalletContext.js +23 -9
  186. package/src/lib/data/api.cjs +4 -1
  187. package/src/lib/data/api.d.ts +22 -2
  188. package/src/lib/data/api.js +4 -1
  189. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +9 -6
  190. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +9 -6
  191. package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +9 -5
  192. package/src/lib/layout/DynamicAuthLayout/Header/header.js +9 -5
  193. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +10 -6
  194. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +10 -6
  195. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +9 -5
  196. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +9 -5
  197. package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +9 -5
  198. package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +9 -5
  199. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +9 -5
  200. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +9 -5
  201. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +9 -5
  202. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +9 -5
  203. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +11 -7
  204. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +11 -7
  205. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +9 -5
  206. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +9 -5
  207. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +10 -6
  208. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +10 -6
  209. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +11 -7
  210. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +11 -7
  211. package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +16 -13
  212. package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +16 -13
  213. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +9 -5
  214. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +9 -5
  215. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +11 -7
  216. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +11 -7
  217. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +9 -5
  218. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +9 -5
  219. package/src/lib/locale/en/translation.cjs +46 -2
  220. package/src/lib/locale/en/translation.d.ts +45 -1
  221. package/src/lib/locale/en/translation.js +46 -2
  222. package/src/lib/main.global.cjs +1 -1
  223. package/src/lib/main.global.js +1 -1
  224. package/src/lib/modals/ConfirmationModal/ConfirmationModal.d.ts +3 -0
  225. package/src/lib/modals/ConfirmationModal/ConfirmationModal.types.d.ts +8 -0
  226. package/src/lib/modals/ConfirmationModal/index.d.ts +1 -0
  227. package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +9 -5
  228. package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +9 -5
  229. package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.d.ts +3 -0
  230. package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.types.d.ts +6 -0
  231. package/src/lib/modals/EnterPasswordModal/index.d.ts +1 -0
  232. package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +10 -6
  233. package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +10 -6
  234. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +10 -6
  235. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +10 -6
  236. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +11 -15
  237. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +11 -15
  238. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +4 -5
  239. package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +9 -5
  240. package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +9 -5
  241. package/src/lib/modals/index.d.ts +2 -0
  242. package/src/lib/shared/assets/chevron-down.cjs +53 -0
  243. package/src/lib/shared/assets/chevron-down.js +29 -0
  244. package/src/lib/shared/assets/index.d.ts +15 -13
  245. package/src/lib/shared/assets/password-hero.cjs +53 -0
  246. package/src/lib/shared/assets/password-hero.js +29 -0
  247. package/src/lib/shared/types/connectionAndSignature.d.ts +15 -0
  248. package/src/lib/shared/types/dynamicEventsCallbacks.d.ts +48 -0
  249. package/src/lib/shared/types/embeddedWallets.d.ts +6 -0
  250. package/src/lib/shared/types/general.d.ts +5 -0
  251. package/src/lib/shared/types/index.d.ts +8 -220
  252. package/src/lib/shared/types/localStorage.d.ts +18 -0
  253. package/src/lib/shared/types/ui.d.ts +14 -0
  254. package/src/lib/shared/types/user.d.ts +15 -0
  255. package/src/lib/shared/types/wallets.d.ts +85 -0
  256. package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.cjs +9 -2
  257. package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.d.ts +2 -1
  258. package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.js +9 -2
  259. package/src/lib/shared/utils/functions/generateRandomPassword/generateRandomPassword.cjs +14 -0
  260. package/src/lib/shared/utils/functions/generateRandomPassword/generateRandomPassword.d.ts +1 -0
  261. package/src/lib/shared/utils/functions/generateRandomPassword/generateRandomPassword.js +10 -0
  262. package/src/lib/shared/utils/functions/generateRandomPassword/index.d.ts +1 -0
  263. package/src/lib/shared/utils/functions/index.d.ts +2 -0
  264. package/src/lib/shared/utils/functions/providerLabel/providerLabel.cjs +3 -0
  265. package/src/lib/shared/utils/functions/providerLabel/providerLabel.d.ts +1 -1
  266. package/src/lib/shared/utils/functions/providerLabel/providerLabel.js +3 -0
  267. package/src/lib/shared/utils/functions/validatePassword/index.d.ts +1 -0
  268. package/src/lib/shared/utils/functions/validatePassword/validatePassword.cjs +59 -0
  269. package/src/lib/shared/utils/functions/validatePassword/validatePassword.d.ts +13 -0
  270. package/src/lib/shared/utils/functions/validatePassword/validatePassword.js +55 -0
  271. package/src/lib/shared/utils/hooks/useThrottle/useThrottle.cjs +1 -0
  272. package/src/lib/shared/utils/hooks/useThrottle/useThrottle.d.ts +1 -1
  273. package/src/lib/shared/utils/hooks/useThrottle/useThrottle.js +1 -0
  274. package/src/lib/styles/index.shadow.cjs +1 -1
  275. package/src/lib/styles/index.shadow.js +1 -1
  276. package/src/lib/utils/constants/localStorage.cjs +2 -0
  277. package/src/lib/utils/constants/localStorage.d.ts +1 -0
  278. package/src/lib/utils/constants/localStorage.js +2 -1
  279. package/src/lib/utils/constants/values.cjs +2 -0
  280. package/src/lib/utils/constants/values.d.ts +1 -0
  281. package/src/lib/utils/constants/values.js +2 -1
  282. package/src/lib/utils/functions/findCoinbaseMPCWallet/findCoinbaseMPCWallet.d.ts +2 -0
  283. package/src/lib/utils/functions/findCoinbaseMPCWallet/index.d.ts +1 -0
  284. package/src/lib/utils/functions/getEOAWallet/getEOAWallet.cjs +36 -0
  285. package/src/lib/utils/functions/getEOAWallet/getEOAWallet.d.ts +3 -0
  286. package/src/lib/utils/functions/getEOAWallet/getEOAWallet.js +32 -0
  287. package/src/lib/utils/functions/getEOAWallet/index.d.ts +1 -0
  288. package/src/lib/utils/functions/index.d.ts +7 -0
  289. package/src/lib/utils/functions/isCoinbaseWaasEnabled/index.d.ts +1 -0
  290. package/src/lib/utils/functions/isCoinbaseWaasEnabled/isCoinbaseWaasEnabled.d.ts +2 -0
  291. package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.cjs +5 -4
  292. package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.d.ts +1 -1
  293. package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.js +5 -4
  294. package/src/lib/utils/functions/isPhoneNumberProviderEnabled/index.d.ts +1 -0
  295. package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.cjs +26 -0
  296. package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.d.ts +2 -0
  297. package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.js +22 -0
  298. package/src/lib/utils/functions/modulo/index.d.ts +1 -0
  299. package/src/lib/utils/functions/modulo/modulo.cjs +8 -0
  300. package/src/lib/utils/functions/modulo/modulo.d.ts +2 -0
  301. package/src/lib/utils/functions/modulo/modulo.js +4 -0
  302. package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/index.d.ts +1 -0
  303. package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/requiresPasswordForEmbeddedWallet.d.ts +2 -0
  304. package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/index.d.ts +1 -0
  305. package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.d.ts +2 -0
  306. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +10 -6
  307. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +10 -6
  308. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +10 -6
  309. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +10 -6
  310. package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +10 -6
  311. package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +10 -6
  312. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +10 -6
  313. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +10 -6
  314. package/src/lib/utils/hooks/index.d.ts +1 -1
  315. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +10 -6
  316. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +10 -6
  317. package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +10 -6
  318. package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +10 -6
  319. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +10 -6
  320. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +10 -6
  321. package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +10 -6
  322. package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +10 -6
  323. package/src/lib/utils/hooks/useConfirmationPortal/index.d.ts +1 -0
  324. package/src/lib/utils/hooks/useConfirmationPortal/useConfirmationPortal.d.ts +13 -0
  325. package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +10 -6
  326. package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +10 -6
  327. package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +10 -6
  328. package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +10 -6
  329. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +10 -6
  330. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +10 -6
  331. package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +10 -6
  332. package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +10 -6
  333. package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +10 -6
  334. package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +10 -6
  335. package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +10 -6
  336. package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +10 -6
  337. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +10 -6
  338. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +10 -6
  339. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +10 -6
  340. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +10 -6
  341. package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.cjs +10 -6
  342. package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.js +10 -6
  343. package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +10 -6
  344. package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +10 -6
  345. package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +12 -11
  346. package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +12 -11
  347. package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +10 -6
  348. package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +10 -6
  349. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +12 -11
  350. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +12 -11
  351. package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +10 -6
  352. package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +10 -6
  353. package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +10 -6
  354. package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +10 -6
  355. package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +12 -11
  356. package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +12 -11
  357. package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +1 -0
  358. package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.d.ts +1 -0
  359. package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +1 -0
  360. package/src/lib/utils/hooks/useSendBalance/helpers/EVMSendBalance.cjs +43 -0
  361. package/src/lib/utils/hooks/useSendBalance/helpers/EVMSendBalance.d.ts +16 -0
  362. package/src/lib/utils/hooks/useSendBalance/helpers/EVMSendBalance.js +39 -0
  363. package/src/lib/utils/hooks/useSendBalance/helpers/SendBalanceBase.cjs +35 -0
  364. package/src/lib/utils/hooks/useSendBalance/helpers/SendBalanceBase.d.ts +21 -0
  365. package/src/lib/utils/hooks/useSendBalance/helpers/SendBalanceBase.js +31 -0
  366. package/src/lib/utils/hooks/useSendBalance/helpers/SolanaSendBalance.cjs +51 -0
  367. package/src/lib/utils/hooks/useSendBalance/helpers/SolanaSendBalance.d.ts +18 -0
  368. package/src/lib/utils/hooks/useSendBalance/helpers/SolanaSendBalance.js +47 -0
  369. package/src/lib/utils/hooks/useSendBalance/helpers/index.d.ts +3 -0
  370. package/src/lib/utils/hooks/useSendBalance/index.d.ts +1 -0
  371. package/src/lib/utils/hooks/useSendBalance/useSendBalance.cjs +121 -0
  372. package/src/lib/utils/hooks/useSendBalance/useSendBalance.d.ts +17 -0
  373. package/src/lib/utils/hooks/useSendBalance/useSendBalance.js +117 -0
  374. package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +10 -6
  375. package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +10 -6
  376. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +10 -6
  377. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +10 -6
  378. package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.cjs +4 -2
  379. package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.d.ts +4 -3
  380. package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.js +4 -2
  381. package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs +10 -6
  382. package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js +10 -6
  383. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +10 -6
  384. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +10 -6
  385. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +10 -6
  386. package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +10 -6
  387. package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +2 -44
  388. package/src/lib/utils/hooks/useValidateSession/useValidateSession.d.ts +1 -5
  389. package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +2 -44
  390. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +10 -6
  391. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.d.ts +5 -2
  392. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +10 -6
  393. package/src/lib/utils/hooks/useViewSettings/useViewSettings.cjs +10 -6
  394. package/src/lib/utils/hooks/useViewSettings/useViewSettings.js +10 -6
  395. package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.cjs +1 -3
  396. package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.d.ts +3 -4
  397. package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.js +1 -3
  398. package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +10 -6
  399. package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +10 -6
  400. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +12 -8
  401. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.d.ts +1 -5
  402. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +12 -8
  403. package/src/lib/views/AccountExistsView/AccountExistsView.cjs +9 -5
  404. package/src/lib/views/AccountExistsView/AccountExistsView.js +9 -5
  405. package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +10 -6
  406. package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +10 -6
  407. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +10 -6
  408. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +10 -6
  409. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +10 -6
  410. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +10 -6
  411. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +9 -5
  412. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +9 -5
  413. package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +9 -6
  414. package/src/lib/views/CollectUserDataView/CollectUserDataView.js +9 -6
  415. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +9 -5
  416. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +9 -5
  417. package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +9 -6
  418. package/src/lib/views/CollectUserDataView/UserDataFields/index.js +9 -6
  419. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +9 -5
  420. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +9 -5
  421. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +9 -5
  422. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +9 -5
  423. package/src/lib/views/EmailUpdate/EmailUpdate.cjs +8 -5
  424. package/src/lib/views/EmailUpdate/EmailUpdate.js +8 -5
  425. package/src/lib/views/EmailVerification/EmailVerification.cjs +11 -7
  426. package/src/lib/views/EmailVerification/EmailVerification.js +11 -7
  427. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +30 -24
  428. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +30 -24
  429. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +13 -14
  430. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +13 -14
  431. package/src/lib/views/EnterPasswordView/EnterPasswordView.d.ts +8 -0
  432. package/src/lib/views/EnterPasswordView/index.d.ts +1 -0
  433. package/src/lib/views/LoginView/LoginView.cjs +36 -17
  434. package/src/lib/views/LoginView/LoginView.js +36 -17
  435. package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +16 -25
  436. package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +18 -27
  437. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs +125 -0
  438. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.d.ts +3 -0
  439. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js +121 -0
  440. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/checkPhoneNumberForError/checkPhoneNumberForError.cjs +12 -0
  441. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/checkPhoneNumberForError/checkPhoneNumberForError.d.ts +5 -0
  442. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/checkPhoneNumberForError/checkPhoneNumberForError.js +8 -0
  443. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/checkPhoneNumberForError/index.d.ts +1 -0
  444. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/getCustomCountries/getCustomCountries.cjs +21 -0
  445. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/getCustomCountries/getCustomCountries.d.ts +4 -0
  446. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/getCustomCountries/getCustomCountries.js +16 -0
  447. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/getCustomCountries/index.d.ts +1 -0
  448. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/index.d.ts +1 -0
  449. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/index.d.ts +1 -0
  450. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.cjs +235 -0
  451. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.d.ts +33 -0
  452. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.js +230 -0
  453. package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +10 -6
  454. package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +10 -6
  455. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +10 -6
  456. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +10 -6
  457. package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +10 -6
  458. package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +10 -6
  459. package/src/lib/views/{SendBalanceView/components/TransactionStage/TransactionStage.cjs → LoginView/sections/ToggleableSection/ToggleableSection.cjs} +31 -32
  460. package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.d.ts +11 -0
  461. package/src/lib/views/{SendBalanceView/components/TransactionStage/TransactionStage.js → LoginView/sections/ToggleableSection/ToggleableSection.js} +32 -33
  462. package/src/lib/views/LoginView/sections/ToggleableSection/index.d.ts +1 -0
  463. package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +9 -5
  464. package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +9 -5
  465. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +9 -5
  466. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +9 -5
  467. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +10 -6
  468. package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +10 -6
  469. package/src/lib/views/LoginView/sections/index.d.ts +3 -1
  470. package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/getLoginViewStructure.cjs +62 -0
  471. package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/getLoginViewStructure.d.ts +28 -0
  472. package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/getLoginViewStructure.js +58 -0
  473. package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/index.d.ts +1 -0
  474. package/src/lib/views/LoginView/useLoginView/index.d.ts +1 -0
  475. package/src/lib/views/LoginView/useLoginView/useLoginView.cjs +201 -0
  476. package/src/lib/views/LoginView/{useLoginView.d.ts → useLoginView/useLoginView.d.ts} +1 -1
  477. package/src/lib/views/LoginView/useLoginView/useLoginView.js +196 -0
  478. package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +10 -6
  479. package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +10 -6
  480. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +9 -5
  481. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +9 -5
  482. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +9 -5
  483. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +9 -5
  484. package/src/lib/views/NoAccess/NoAccess.cjs +8 -5
  485. package/src/lib/views/NoAccess/NoAccess.js +8 -5
  486. package/src/lib/views/NoAccess/useNoAccessText.cjs +10 -6
  487. package/src/lib/views/NoAccess/useNoAccessText.js +10 -6
  488. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +9 -5
  489. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +9 -5
  490. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +9 -5
  491. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +9 -5
  492. package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.cjs +9 -5
  493. package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.js +9 -5
  494. package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +9 -5
  495. package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +9 -5
  496. package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.cjs +9 -5
  497. package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.js +9 -5
  498. package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.cjs +9 -5
  499. package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.js +9 -5
  500. package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +10 -6
  501. package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +10 -6
  502. package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +11 -7
  503. package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +11 -7
  504. package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.cjs +9 -5
  505. package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js +9 -5
  506. package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +11 -11
  507. package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +11 -11
  508. package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +11 -10
  509. package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +11 -10
  510. package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +9 -5
  511. package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +9 -5
  512. package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +8 -5
  513. package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +8 -5
  514. package/src/lib/views/PendingConnectView/PendingConnectView.cjs +9 -5
  515. package/src/lib/views/PendingConnectView/PendingConnectView.js +9 -5
  516. package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +9 -5
  517. package/src/lib/views/PendingSignatureView/PendingSignatureView.js +9 -5
  518. package/src/lib/views/QrCodeView/QRCode.cjs +10 -6
  519. package/src/lib/views/QrCodeView/QRCode.js +10 -6
  520. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +9 -5
  521. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +9 -5
  522. package/src/lib/views/QrCodeView/QrCodeView.cjs +10 -6
  523. package/src/lib/views/QrCodeView/QrCodeView.js +10 -6
  524. package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +9 -5
  525. package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +9 -5
  526. package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +10 -6
  527. package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +10 -6
  528. package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +10 -6
  529. package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +10 -6
  530. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +32 -51
  531. package/src/lib/views/SendBalanceView/SendBalanceView.js +32 -51
  532. package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +9 -5
  533. package/src/lib/views/SocialRedirectView/SocialRedirectView.js +9 -5
  534. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +9 -5
  535. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +9 -5
  536. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +37 -23
  537. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +6 -3
  538. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +38 -24
  539. package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +17 -2
  540. package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +17 -2
  541. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +19 -9
  542. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.d.ts +5 -4
  543. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +19 -9
  544. package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +10 -6
  545. package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +10 -6
  546. package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +10 -6
  547. package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +10 -6
  548. package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +9 -5
  549. package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +9 -5
  550. package/src/lib/views/WalletGroupView/WalletGroupView.cjs +11 -7
  551. package/src/lib/views/WalletGroupView/WalletGroupView.js +11 -7
  552. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +10 -6
  553. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +10 -6
  554. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +9 -5
  555. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +9 -5
  556. package/src/lib/views/WalletList/WalletList.cjs +9 -5
  557. package/src/lib/views/WalletList/WalletList.js +9 -5
  558. package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.cjs +9 -5
  559. package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.js +9 -5
  560. package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +10 -6
  561. package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +10 -6
  562. package/src/lib/views/WalletList/data.cjs +2 -6
  563. package/src/lib/views/WalletList/data.d.ts +1 -1
  564. package/src/lib/views/WalletList/data.js +2 -6
  565. package/src/lib/views/WalletList/hooks/useTabState.cjs +10 -6
  566. package/src/lib/views/WalletList/hooks/useTabState.js +10 -6
  567. package/src/lib/views/WalletLockedView/WalletLockedView.cjs +9 -5
  568. package/src/lib/views/WalletLockedView/WalletLockedView.js +9 -5
  569. package/src/lib/views/WalletRedirectView/WalletRedirectView.cjs +86 -0
  570. package/src/lib/views/WalletRedirectView/WalletRedirectView.d.ts +2 -0
  571. package/src/lib/views/WalletRedirectView/WalletRedirectView.js +82 -0
  572. package/src/lib/views/WalletRedirectView/index.d.ts +1 -0
  573. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +10 -6
  574. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +10 -6
  575. package/src/lib/views/WalletUsedView/WalletUsedView.cjs +9 -5
  576. package/src/lib/views/WalletUsedView/WalletUsedView.js +9 -5
  577. package/src/lib/views/viewToComponentMap.cjs +9 -5
  578. package/src/lib/views/viewToComponentMap.js +9 -5
  579. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +9 -5
  580. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +9 -5
  581. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +9 -5
  582. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +9 -5
  583. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +9 -5
  584. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +9 -5
  585. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +8 -4
  586. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +8 -4
  587. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +10 -6
  588. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +10 -6
  589. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +10 -6
  590. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +10 -6
  591. package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +10 -6
  592. package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +10 -6
  593. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +9 -5
  594. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +9 -5
  595. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +10 -6
  596. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +10 -6
  597. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +7 -5
  598. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +7 -5
  599. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +8 -4
  600. package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +8 -4
  601. package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +71 -1
  602. package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +71 -1
  603. package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +9 -5
  604. package/src/lib/widgets/DynamicWidget/DynamicWidget.js +9 -5
  605. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +10 -7
  606. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +10 -7
  607. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +7 -3
  608. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +7 -3
  609. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +11 -6
  610. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.d.ts +2 -1
  611. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +11 -6
  612. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/index.d.ts +1 -1
  613. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +19 -19
  614. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.d.ts +3 -1
  615. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +20 -20
  616. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +18 -8
  617. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +18 -8
  618. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +4 -53
  619. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +4 -53
  620. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +9 -5
  621. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +9 -5
  622. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +10 -6
  623. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +10 -6
  624. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +8 -4
  625. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +8 -4
  626. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +10 -6
  627. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +10 -6
  628. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +17 -12
  629. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +17 -12
  630. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +10 -6
  631. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +10 -6
  632. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +9 -5
  633. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +9 -5
  634. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +7 -3
  635. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +7 -3
  636. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +9 -5
  637. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +9 -5
  638. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +12 -6
  639. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +12 -6
  640. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +9 -5
  641. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +9 -5
  642. package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +9 -5
  643. package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +9 -5
  644. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +9 -5
  645. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +9 -5
  646. package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +7 -3
  647. package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +7 -3
  648. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +9 -6
  649. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +9 -6
  650. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +9 -5
  651. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +9 -5
  652. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +10 -6
  653. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +10 -6
  654. package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +10 -6
  655. package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +10 -6
  656. package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +12 -8
  657. package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.d.ts +4 -1
  658. package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +12 -8
  659. package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +17 -8
  660. package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.d.ts +4 -1
  661. package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +17 -8
  662. package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +14 -8
  663. package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.d.ts +4 -1
  664. package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +14 -8
  665. package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +10 -6
  666. package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +10 -6
  667. package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +10 -6
  668. package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +10 -6
  669. package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +10 -6
  670. package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +10 -6
  671. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +9 -5
  672. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +9 -5
  673. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +9 -5
  674. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +9 -5
  675. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +9 -5
  676. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +9 -5
  677. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +10 -6
  678. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +10 -6
  679. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +9 -5
  680. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +9 -5
  681. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +9 -5
  682. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +9 -5
  683. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +9 -5
  684. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +9 -5
  685. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +8 -5
  686. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +8 -5
  687. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +9 -5
  688. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +9 -5
  689. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +10 -6
  690. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +10 -6
  691. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +9 -5
  692. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +9 -5
  693. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +9 -5
  694. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +9 -5
  695. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +10 -6
  696. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +10 -6
  697. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +10 -6
  698. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +10 -6
  699. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +9 -5
  700. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +9 -5
  701. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +8 -4
  702. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +8 -4
  703. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +9 -5
  704. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +9 -5
  705. package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +10 -6
  706. package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +10 -6
  707. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +7 -3
  708. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +7 -3
  709. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +9 -5
  710. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +9 -5
  711. package/src/lib/components/OverlayCard/OverlayCard.context.cjs +0 -9
  712. package/src/lib/components/OverlayCard/OverlayCard.context.d.ts +0 -6
  713. package/src/lib/components/OverlayCard/OverlayCard.context.js +0 -5
  714. package/src/lib/components/OverlayCard/OverlayCardTarget.cjs +0 -17
  715. package/src/lib/components/OverlayCard/OverlayCardTarget.d.ts +0 -2
  716. package/src/lib/components/OverlayCard/OverlayCardTarget.js +0 -13
  717. package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.d.ts +0 -6
  718. package/src/lib/components/SecureTurnkeyWalletCard/index.d.ts +0 -1
  719. package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.d.ts +0 -1
  720. package/src/lib/components/SyncPasskeyFlow/index.d.ts +0 -1
  721. package/src/lib/utils/functions/isAccountAbstractionWallet/isAccountAbstractionWallet.cjs +0 -18
  722. package/src/lib/utils/functions/isAccountAbstractionWallet/isAccountAbstractionWallet.js +0 -14
  723. package/src/lib/utils/functions/isMagicConnector/isMagicConnector.cjs +0 -10
  724. package/src/lib/utils/functions/isMagicConnector/isMagicConnector.js +0 -6
  725. package/src/lib/utils/hooks/useTransactionWithGasPrice/index.d.ts +0 -1
  726. package/src/lib/utils/hooks/useTransactionWithGasPrice/useTransactionWithGasPrice.cjs +0 -56
  727. package/src/lib/utils/hooks/useTransactionWithGasPrice/useTransactionWithGasPrice.d.ts +0 -32
  728. package/src/lib/utils/hooks/useTransactionWithGasPrice/useTransactionWithGasPrice.js +0 -52
  729. package/src/lib/views/LoginView/useLoginView.cjs +0 -265
  730. package/src/lib/views/LoginView/useLoginView.js +0 -260
  731. package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.d.ts +0 -11
  732. package/src/lib/views/SendBalanceView/components/TransactionStage/index.d.ts +0 -1
  733. package/src/lib/views/SendBalanceView/components/index.d.ts +0 -1
@@ -2,21 +2,20 @@ import { __awaiter } from '../../../../_virtual/_tslib.js';
2
2
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import { useState, useMemo } from 'react';
4
4
  import { useTranslation } from 'react-i18next';
5
- import { parseEther, isHex, hexToBigInt } from 'viem';
5
+ import { isHex, hexToBigInt, parseEther } from 'viem';
6
6
  import { DynamicError, TransactionGasCannotBeSponsoredError } from '@dynamic-labs/utils';
7
7
  import { isAccountAbstractionConnector } from '@dynamic-labs/wallet-connector-core';
8
8
  import '../../context/DynamicContext/DynamicContext.js';
9
9
  import '@dynamic-labs/sdk-api';
10
10
  import { logger } from '../../shared/logger.js';
11
- import { getChainIcon } from '../../shared/utils/functions/chain/getChainIcon.js';
11
+ import '@dynamic-labs/iconic';
12
+ import '../../context/ViewContext/ViewContext.js';
12
13
  import '@dynamic-labs/wallet-book';
13
14
  import { shortenWalletAddress } from '../../shared/utils/functions/shortenWalletAddress/shortenWalletAddress.js';
14
15
  import '../../utils/constants/colors.js';
15
16
  import '../../utils/constants/values.js';
16
17
  import '../../shared/utils/classes/storage/localStorage.js';
17
18
  import { formatBigNumber } from '../../shared/utils/functions/formatBigNumber/formatBigNumber.js';
18
- import '@dynamic-labs/iconic';
19
- import '../../context/ViewContext/ViewContext.js';
20
19
  import '../../shared/consts/index.js';
21
20
  import '../../events/dynamicEvents.js';
22
21
  import '../../context/CaptchaContext/CaptchaContext.js';
@@ -41,34 +40,38 @@ import '@dynamic-labs/rpc-providers';
41
40
  import '../../context/UserWalletsContext/UserWalletsContext.js';
42
41
  import { Alert } from '../../components/Alert/Alert.js';
43
42
  import '../../components/ShadowDOM/ShadowDOM.js';
44
- import { Icon } from '../../components/Icon/Icon.js';
45
43
  import '../../components/IconButton/IconButton.js';
46
44
  import '../../components/InlineWidget/InlineWidget.js';
45
+ import '../../components/Input/Input.js';
47
46
  import '../../components/IsBrowser/IsBrowser.js';
48
47
  import '../../components/MenuList/Dropdown/Dropdown.js';
49
48
  import '../../components/Transition/ZoomTransition/ZoomTransition.js';
50
49
  import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
51
50
  import '../../components/Transition/OpacityTransition/OpacityTransition.js';
51
+ import '../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
52
+ import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
52
53
  import '../../components/Popper/Popper/Popper.js';
53
54
  import '../../components/Popper/PopperContext/PopperContext.js';
54
55
  import 'react-focus-lock';
55
- import 'formik';
56
- import 'i18next';
57
- import '../../components/OverlayCard/OverlayCard.context.js';
58
- import { TransactionConfirmationPageLayout } from '../../components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js';
59
- import { TransactionRow } from '../../components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js';
60
- import '../../context/PasskeyContext/PasskeyContext.js';
61
- import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
62
56
  import '../WalletList/WalletList.js';
63
57
  import { useFetchChain } from '../../widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js';
64
58
  import { useFetchCurrency } from '../../widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js';
59
+ import '../../context/WalletContext/WalletContext.js';
60
+ import 'formik';
65
61
  import 'qrcode';
66
62
  import '@hcaptcha/react-hcaptcha';
67
63
  import '../../context/LoadingContext/LoadingContext.js';
68
64
  import '../../context/SocialRedirectContext/SocialRedirectContext.js';
69
65
  import '../../context/WalletGroupContext/WalletGroupContext.js';
70
66
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
67
+ import 'i18next';
71
68
  import '../../context/FooterAnimationContext/index.js';
69
+ import 'react-international-phone';
70
+ import '../LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.js';
71
+ import '../../context/PasskeyContext/PasskeyContext.js';
72
+ import { TransactionConfirmationPageLayout } from '../../components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js';
73
+ import { TransactionRow } from '../../components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js';
74
+ import { ChainIcon } from '../../components/ChainIcon/ChainIcon.js';
72
75
  import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
73
76
  import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
74
77
  import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
@@ -78,7 +81,7 @@ import { transactionErrorMessage } from './helpers/transactionErrorMessage.js';
78
81
  import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
79
82
  import { useInternalDynamicContext } from '../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
80
83
 
81
- const TransactionConfirmationView = ({ transaction, mutation, onError, onSuccess, onClickBack, onClickClose, title, displayPoweredByDynamicFooter = false, provider, copykey, }) => {
84
+ const TransactionConfirmationView = ({ transaction, mutation, onError, onSuccess, onClickBack, onClickClose, parser = parseEther, title, displayPoweredByDynamicFooter = false, provider, getGasPrice, copykey, }) => {
82
85
  const { appName, appLogoUrl, primaryWallet } = useInternalDynamicContext();
83
86
  const appOrigin = getAppOrigin();
84
87
  const [isGasSponsored, setIsGasSponsored] = useState(false);
@@ -86,10 +89,10 @@ const TransactionConfirmationView = ({ transaction, mutation, onError, onSuccess
86
89
  if (!primaryWallet) {
87
90
  throw new DynamicError('Primary wallet is not available, transaction cannot be displayed');
88
91
  }
89
- const [currencySymbol] = useFetchCurrency(primaryWallet.connector);
92
+ const { currency: currencySymbol } = useFetchCurrency(primaryWallet.connector);
90
93
  const { data: balance } = usePromise(() => __awaiter(void 0, void 0, void 0, function* () {
91
94
  const balanceText = yield primaryWallet.connector.getBalance();
92
- return balanceText ? parseEther(balanceText) : undefined;
95
+ return balanceText ? parser(balanceText) : undefined;
93
96
  }));
94
97
  const { isLoading: isGasSponsoredLoading } = usePromise(() => {
95
98
  if (!isAccountAbstractionConnector(primaryWallet.connector)) {
@@ -124,6 +127,7 @@ const TransactionConfirmationView = ({ transaction, mutation, onError, onSuccess
124
127
  onSuccess: (tx) => onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(tx),
125
128
  });
126
129
  const { isLoading: isGasPriceLoading, gasTotalPrice, isGasEstimated, } = useTransactionGas({
130
+ getGasPrice,
127
131
  provider,
128
132
  transaction,
129
133
  });
@@ -146,10 +150,8 @@ const TransactionConfirmationView = ({ transaction, mutation, onError, onSuccess
146
150
  isTransactionToAddressLoading ||
147
151
  isTransactionFromAddressLoading ||
148
152
  isGasSponsoredLoading;
149
- const [chain] = useFetchChain(primaryWallet.connector);
153
+ const { chain } = useFetchChain(primaryWallet.connector);
150
154
  const chainName = (chain === null || chain === void 0 ? void 0 : chain.name) || primaryWallet.chain;
151
- const ChainIconComponent = getChainIcon(chainName);
152
- const chainIcon = (jsx(Icon, { size: 'small', children: (chain === null || chain === void 0 ? void 0 : chain.icon) ? (jsx("img", { src: chain.icon, alt: `${chain.name} icon` })) : (jsx(ChainIconComponent, {})) }));
153
155
  const errorMessage = transactionError && transactionErrorMessage(transactionError);
154
156
  const missingFunds = useMemo(() => {
155
157
  if (balance === undefined || total === undefined)
@@ -170,7 +172,7 @@ const TransactionConfirmationView = ({ transaction, mutation, onError, onSuccess
170
172
  const showInsufficientFundsWarningMessage = hasInsufficientFunds && missingFunds;
171
173
  if (!showInsufficientFundsWarningMessage)
172
174
  return;
173
- const amountLeft = formatBigNumber(missingFunds, 5);
175
+ const amountLeft = formatBigNumber(chain === null || chain === void 0 ? void 0 : chain.symbol, missingFunds, 5);
174
176
  return (jsx(Alert, { icon: 'error', variant: 'warning', contentDataTestId: 'warning_content', copykey: 'dyn_send_transaction.warning_message.insufficient_funds', children: t('dyn_send_transaction.warning_message.insufficient_funds', {
175
177
  amountLeft,
176
178
  currencySymbol,
@@ -184,15 +186,27 @@ const TransactionConfirmationView = ({ transaction, mutation, onError, onSuccess
184
186
  isTransactionLoading,
185
187
  errorMessage,
186
188
  ]);
187
- return (jsxs(TransactionConfirmationPageLayout, { onClickBack: onClickBack, onClickClose: onClickClose, copykey: copykey, title: title, appOrigin: appOrigin, appName: appName, appLogoUrl: appLogoUrl, isLoading: isLoading, onClickSend: () => send(), displayPoweredByDynamicFooter: displayPoweredByDynamicFooter, disableSendButton: isTransactionLoading || hasInsufficientFunds, error: errorMessage, alert: alert, children: [jsx(TransactionRow, { copykey: 'dyn_send_transaction.confirmation.data.from', label: t('dyn_send_transaction.confirmation.data.from'), isLoading: isTransactionFromAddressLoading, title: transactionFromAddress, children: shortenWalletAddress(transactionFromAddress, 4, 4) }), jsx(TransactionRow, { copykey: 'dyn_send_transaction.confirmation.data.to', label: t('dyn_send_transaction.confirmation.data.to'), isLoading: isTransactionToAddressLoading, title: transactionToAddress, children: transactionToAddress &&
188
- shortenWalletAddress(transactionToAddress, 4, 4) }), jsx(TransactionRow, { copykey: 'dyn_send_transaction.confirmation.data.amount', label: t('dyn_send_transaction.confirmation.data.amount'), isLoading: isTransactionValueLoading, isEmpty: !transactionValue, title: transactionValue ? formatBigNumber(transactionValue) : undefined, suffix: currencySymbol, icon: chainIcon, dataTestId: 'transaction-amount', children: transactionValue ? formatBigNumber(transactionValue, 10) : 0 }), !isGasSponsored && (jsxs(Fragment, { children: [jsx(TransactionRow, { copykey: isGasEstimated
189
+ return (jsxs(TransactionConfirmationPageLayout, { onClickBack: onClickBack, onClickClose: onClickClose, copykey: copykey, title: title, appOrigin: appOrigin, appName: appName, appLogoUrl: appLogoUrl, isLoading: isLoading, onClickSend: () => send(), displayPoweredByDynamicFooter: displayPoweredByDynamicFooter, disableSendButton: isTransactionLoading, error: errorMessage, alert: alert, children: [jsx(TransactionRow, { copykey: 'dyn_send_transaction.confirmation.data.from', label: t('dyn_send_transaction.confirmation.data.from'), isLoading: isTransactionFromAddressLoading, title: transactionFromAddress, children: shortenWalletAddress(transactionFromAddress, 4, 4) }), jsx(TransactionRow, { copykey: 'dyn_send_transaction.confirmation.data.to', label: t('dyn_send_transaction.confirmation.data.to'), isLoading: isTransactionToAddressLoading, title: transactionToAddress, children: transactionToAddress &&
190
+ shortenWalletAddress(transactionToAddress, 4, 4) }), jsx(TransactionRow, { copykey: 'dyn_send_transaction.confirmation.data.amount', label: t('dyn_send_transaction.confirmation.data.amount'), isLoading: isTransactionValueLoading, isEmpty: !transactionValue, title: transactionValue
191
+ ? formatBigNumber(chain === null || chain === void 0 ? void 0 : chain.symbol, transactionValue)
192
+ : undefined, suffix: currencySymbol, icon: chain && jsx(ChainIcon, { chain: chain, chainName: chainName }), dataTestId: 'transaction-amount', children: transactionValue
193
+ ? formatBigNumber(chain === null || chain === void 0 ? void 0 : chain.symbol, transactionValue, 10)
194
+ : 0 }), !isGasSponsored && (jsxs(Fragment, { children: [jsx(TransactionRow, { copykey: isGasEstimated
189
195
  ? 'dyn_send_transaction.confirmation.data.gas_estimate'
190
196
  : 'dyn_send_transaction.confirmation.data.gas', label: isGasEstimated
191
197
  ? t('dyn_send_transaction.confirmation.data.gas_estimate')
192
- : t('dyn_send_transaction.confirmation.data.gas'), isEmpty: !gasTotalPrice, isLoading: isGasPriceLoading || isGasSponsoredLoading, title: gasTotalPrice ? formatBigNumber(gasTotalPrice) : undefined, suffix: gasTotalPrice ? currencySymbol : undefined, icon: gasTotalPrice ? chainIcon : undefined, dataTestId: isGasEstimated
198
+ : t('dyn_send_transaction.confirmation.data.gas'), isEmpty: !gasTotalPrice, isLoading: isGasPriceLoading || isGasSponsoredLoading, title: gasTotalPrice
199
+ ? formatBigNumber(chain === null || chain === void 0 ? void 0 : chain.symbol, gasTotalPrice)
200
+ : undefined, suffix: gasTotalPrice ? currencySymbol : undefined, icon: gasTotalPrice
201
+ ? chain && jsx(ChainIcon, { chain: chain, chainName: chainName })
202
+ : undefined, dataTestId: isGasEstimated
193
203
  ? 'transaction-estimated-gas-fee'
194
- : 'transaction-gas-fee', children: gasTotalPrice ? formatBigNumber(gasTotalPrice, 10) : '--' }), jsx(TransactionRow, { copykey: 'dyn_send_transaction.confirmation.data.total', label: t('dyn_send_transaction.confirmation.data.total'), isEmpty: !total, title: total ? formatBigNumber(total) : undefined, suffix: total ? currencySymbol : undefined, icon: total ? chainIcon : undefined, dataTestId: 'transaction-total', children: total
195
- ? formatBigNumber(total, 10)
204
+ : 'transaction-gas-fee', children: gasTotalPrice
205
+ ? formatBigNumber(chain === null || chain === void 0 ? void 0 : chain.symbol, gasTotalPrice, 10)
206
+ : '--' }), jsx(TransactionRow, { copykey: 'dyn_send_transaction.confirmation.data.total', label: t('dyn_send_transaction.confirmation.data.total'), isEmpty: !total, title: total ? formatBigNumber(chain === null || chain === void 0 ? void 0 : chain.symbol, total) : undefined, suffix: total ? currencySymbol : undefined, icon: total
207
+ ? chain && jsx(ChainIcon, { chain: chain, chainName: chainName })
208
+ : undefined, dataTestId: 'transaction-total', children: total
209
+ ? formatBigNumber(chain === null || chain === void 0 ? void 0 : chain.symbol, total, 10)
196
210
  : t('dyn_send_transaction.confirmation.not_applied') })] }))] }));
197
211
  };
198
212
 
@@ -18,12 +18,14 @@ require('../../../shared/utils/classes/storage/localStorage.cjs');
18
18
  require('viem');
19
19
  require('../../../shared/consts/index.cjs');
20
20
 
21
+ const magicRpcError = -32603;
21
22
  const errorCodesMapping = {
22
- '-32603': 'A network error has occurred. Please try again later',
23
+ '-32002': 'Insufficient funds for this transaction.',
23
24
  0: 'The operation either timed out or was not allowed.',
24
25
  16: 'Invalid Passkey signature. Select the passkey for this account and device.',
25
26
  3: 'You reached the limit of passkeys for this account.',
26
27
  INSUFFICIENT_FUNDS: 'Insufficient funds for this transaction.',
28
+ [magicRpcError.toString()]: 'A network error has occurred. Please try again later',
27
29
  };
28
30
  const errorReasonsMapping = {
29
31
  'provided ENS name resolves to null': 'Invalid address. Please check that the entered address is correct.',
@@ -33,19 +35,26 @@ const getCode = (error) => {
33
35
  const err = error;
34
36
  return (err === null || err === void 0 ? void 0 : err.code) || ((_a = err === null || err === void 0 ? void 0 : err.cause) === null || _a === void 0 ? void 0 : _a.code);
35
37
  };
38
+ const getMessage = (error) => {
39
+ const err = error;
40
+ return err === null || err === void 0 ? void 0 : err.message;
41
+ };
36
42
  const hasReason = (error) => 'reason' in error && error.reason !== undefined;
37
43
  const transactionErrorMessage = (err) => {
38
44
  let error = err;
39
45
  if (viemUtils.isTransactionExecutionError(err)) {
40
46
  error = err.walk();
41
47
  }
42
- logger.logger.debug('transaction error]:', error);
48
+ logger.logger.debug('transaction error:', error);
43
49
  if (utils.TransactionGasCannotBeSponsoredError.isInstance(error)) {
44
50
  return;
45
51
  }
46
52
  if (utils.InsufficientFundsError.isInstance(error)) {
47
53
  return errorCodesMapping.INSUFFICIENT_FUNDS;
48
54
  }
55
+ if (isMagicInsufficientFundsError(error)) {
56
+ return errorCodesMapping.INSUFFICIENT_FUNDS;
57
+ }
49
58
  const code = getCode(error);
50
59
  if (code !== undefined && errorCodesMapping[code]) {
51
60
  return errorCodesMapping[code];
@@ -55,5 +64,11 @@ const transactionErrorMessage = (err) => {
55
64
  }
56
65
  return 'Something went wrong.';
57
66
  };
67
+ const isMagicInsufficientFundsError = (error) => {
68
+ const code = getCode(error);
69
+ const message = getMessage(error);
70
+ return (code === magicRpcError &&
71
+ Boolean(message === null || message === void 0 ? void 0 : message.includes('insufficient funds for gas * price + value')));
72
+ };
58
73
 
59
74
  exports.transactionErrorMessage = transactionErrorMessage;
@@ -14,12 +14,14 @@ import '../../../shared/utils/classes/storage/localStorage.js';
14
14
  import 'viem';
15
15
  import '../../../shared/consts/index.js';
16
16
 
17
+ const magicRpcError = -32603;
17
18
  const errorCodesMapping = {
18
- '-32603': 'A network error has occurred. Please try again later',
19
+ '-32002': 'Insufficient funds for this transaction.',
19
20
  0: 'The operation either timed out or was not allowed.',
20
21
  16: 'Invalid Passkey signature. Select the passkey for this account and device.',
21
22
  3: 'You reached the limit of passkeys for this account.',
22
23
  INSUFFICIENT_FUNDS: 'Insufficient funds for this transaction.',
24
+ [magicRpcError.toString()]: 'A network error has occurred. Please try again later',
23
25
  };
24
26
  const errorReasonsMapping = {
25
27
  'provided ENS name resolves to null': 'Invalid address. Please check that the entered address is correct.',
@@ -29,19 +31,26 @@ const getCode = (error) => {
29
31
  const err = error;
30
32
  return (err === null || err === void 0 ? void 0 : err.code) || ((_a = err === null || err === void 0 ? void 0 : err.cause) === null || _a === void 0 ? void 0 : _a.code);
31
33
  };
34
+ const getMessage = (error) => {
35
+ const err = error;
36
+ return err === null || err === void 0 ? void 0 : err.message;
37
+ };
32
38
  const hasReason = (error) => 'reason' in error && error.reason !== undefined;
33
39
  const transactionErrorMessage = (err) => {
34
40
  let error = err;
35
41
  if (isTransactionExecutionError(err)) {
36
42
  error = err.walk();
37
43
  }
38
- logger.debug('transaction error]:', error);
44
+ logger.debug('transaction error:', error);
39
45
  if (TransactionGasCannotBeSponsoredError.isInstance(error)) {
40
46
  return;
41
47
  }
42
48
  if (InsufficientFundsError.isInstance(error)) {
43
49
  return errorCodesMapping.INSUFFICIENT_FUNDS;
44
50
  }
51
+ if (isMagicInsufficientFundsError(error)) {
52
+ return errorCodesMapping.INSUFFICIENT_FUNDS;
53
+ }
45
54
  const code = getCode(error);
46
55
  if (code !== undefined && errorCodesMapping[code]) {
47
56
  return errorCodesMapping[code];
@@ -51,5 +60,11 @@ const transactionErrorMessage = (err) => {
51
60
  }
52
61
  return 'Something went wrong.';
53
62
  };
63
+ const isMagicInsufficientFundsError = (error) => {
64
+ const code = getCode(error);
65
+ const message = getMessage(error);
66
+ return (code === magicRpcError &&
67
+ Boolean(message === null || message === void 0 ? void 0 : message.includes('insufficient funds for gas * price + value')));
68
+ };
54
69
 
55
70
  export { transactionErrorMessage };
@@ -43,43 +43,53 @@ require('../../../../components/Alert/Alert.cjs');
43
43
  require('../../../../components/ShadowDOM/ShadowDOM.cjs');
44
44
  require('../../../../components/IconButton/IconButton.cjs');
45
45
  require('../../../../components/InlineWidget/InlineWidget.cjs');
46
+ require('../../../../components/Input/Input.cjs');
46
47
  require('../../../../components/IsBrowser/IsBrowser.cjs');
47
48
  require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
48
49
  require('../../../../components/Transition/ZoomTransition/ZoomTransition.cjs');
49
50
  require('../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
50
51
  require('../../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
52
+ require('../../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
53
+ require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
51
54
  require('../../../../components/Popper/Popper/Popper.cjs');
52
55
  require('../../../../components/Popper/PopperContext/PopperContext.cjs');
53
56
  require('react-focus-lock');
54
- require('formik');
55
- require('i18next');
56
- require('../../../../components/OverlayCard/OverlayCard.context.cjs');
57
- require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
58
- require('../../../../context/PasskeyContext/PasskeyContext.cjs');
59
57
  require('../../../WalletList/WalletList.cjs');
58
+ require('../../../../context/WalletContext/WalletContext.cjs');
59
+ require('formik');
60
60
  require('qrcode');
61
61
  require('@hcaptcha/react-hcaptcha');
62
62
  require('../../../../context/LoadingContext/LoadingContext.cjs');
63
63
  require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
64
64
  require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
65
65
  require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
66
+ require('i18next');
66
67
  require('../../../../context/FooterAnimationContext/index.cjs');
68
+ require('react-international-phone');
69
+ require('../../../LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.cjs');
70
+ require('../../../../context/PasskeyContext/PasskeyContext.cjs');
67
71
  require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
68
72
  require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
69
73
  require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
70
- require('@dynamic-labs/viem-utils');
74
+ require('../../helpers/transactionErrorMessage.cjs');
71
75
  require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
72
76
 
73
- const useTransactionGas = ({ provider, transaction, }) => {
77
+ const useTransactionGas = ({ provider, transaction, getGasPrice, }) => {
74
78
  const { data: estimatedGas, isLoading: isEstimatedGasLoading } = useTransactionEstimatedGas.useTransactionEstimatedGas(provider, transaction);
75
79
  const { data: gasPrice, isLoading: isLoadingGasPrice } = usePromise.usePromise(() => _tslib.__awaiter(void 0, void 0, void 0, function* () {
76
80
  if (transaction.gasPrice) {
77
81
  const { gasPrice } = transaction;
78
82
  return gasPrice;
79
83
  }
80
- return provider.getGasPrice();
84
+ if (getGasPrice) {
85
+ return getGasPrice(transaction);
86
+ }
87
+ if (provider.getGasPrice) {
88
+ return provider.getGasPrice();
89
+ }
90
+ return BigInt(0);
81
91
  }), {
82
- deps: [transaction.gasPrice],
92
+ deps: [transaction.gasPrice, getGasPrice, provider],
83
93
  });
84
94
  const gasTotalPrice = React.useMemo(() => (gasPrice && estimatedGas ? gasPrice * estimatedGas : undefined), [gasPrice, estimatedGas]);
85
95
  const isLoading = isEstimatedGasLoading || isLoadingGasPrice;
@@ -1,9 +1,10 @@
1
- import { PublicClient, TransactionRequest } from 'viem';
1
+ import { IUITransaction } from '@dynamic-labs/types';
2
2
  type UseTransactionGasProps = {
3
- provider: PublicClient;
4
- transaction: TransactionRequest;
3
+ provider: unknown;
4
+ transaction: IUITransaction;
5
+ getGasPrice?: (_: IUITransaction) => Promise<bigint> | undefined;
5
6
  };
6
- export declare const useTransactionGas: ({ provider, transaction, }: UseTransactionGasProps) => {
7
+ export declare const useTransactionGas: ({ provider, transaction, getGasPrice, }: UseTransactionGasProps) => {
7
8
  gasTotalPrice: bigint | undefined;
8
9
  isGasEstimated: boolean;
9
10
  isLoading: boolean;
@@ -39,43 +39,53 @@ import '../../../../components/Alert/Alert.js';
39
39
  import '../../../../components/ShadowDOM/ShadowDOM.js';
40
40
  import '../../../../components/IconButton/IconButton.js';
41
41
  import '../../../../components/InlineWidget/InlineWidget.js';
42
+ import '../../../../components/Input/Input.js';
42
43
  import '../../../../components/IsBrowser/IsBrowser.js';
43
44
  import '../../../../components/MenuList/Dropdown/Dropdown.js';
44
45
  import '../../../../components/Transition/ZoomTransition/ZoomTransition.js';
45
46
  import '../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
46
47
  import '../../../../components/Transition/OpacityTransition/OpacityTransition.js';
48
+ import '../../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
49
+ import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
47
50
  import '../../../../components/Popper/Popper/Popper.js';
48
51
  import '../../../../components/Popper/PopperContext/PopperContext.js';
49
52
  import 'react-focus-lock';
50
- import 'formik';
51
- import 'i18next';
52
- import '../../../../components/OverlayCard/OverlayCard.context.js';
53
- import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
54
- import '../../../../context/PasskeyContext/PasskeyContext.js';
55
53
  import '../../../WalletList/WalletList.js';
54
+ import '../../../../context/WalletContext/WalletContext.js';
55
+ import 'formik';
56
56
  import 'qrcode';
57
57
  import '@hcaptcha/react-hcaptcha';
58
58
  import '../../../../context/LoadingContext/LoadingContext.js';
59
59
  import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
60
60
  import '../../../../context/WalletGroupContext/WalletGroupContext.js';
61
61
  import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
62
+ import 'i18next';
62
63
  import '../../../../context/FooterAnimationContext/index.js';
64
+ import 'react-international-phone';
65
+ import '../../../LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.js';
66
+ import '../../../../context/PasskeyContext/PasskeyContext.js';
63
67
  import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
64
68
  import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
65
69
  import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
66
- import '@dynamic-labs/viem-utils';
70
+ import '../../helpers/transactionErrorMessage.js';
67
71
  import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
68
72
 
69
- const useTransactionGas = ({ provider, transaction, }) => {
73
+ const useTransactionGas = ({ provider, transaction, getGasPrice, }) => {
70
74
  const { data: estimatedGas, isLoading: isEstimatedGasLoading } = useTransactionEstimatedGas(provider, transaction);
71
75
  const { data: gasPrice, isLoading: isLoadingGasPrice } = usePromise(() => __awaiter(void 0, void 0, void 0, function* () {
72
76
  if (transaction.gasPrice) {
73
77
  const { gasPrice } = transaction;
74
78
  return gasPrice;
75
79
  }
76
- return provider.getGasPrice();
80
+ if (getGasPrice) {
81
+ return getGasPrice(transaction);
82
+ }
83
+ if (provider.getGasPrice) {
84
+ return provider.getGasPrice();
85
+ }
86
+ return BigInt(0);
77
87
  }), {
78
- deps: [transaction.gasPrice],
88
+ deps: [transaction.gasPrice, getGasPrice, provider],
79
89
  });
80
90
  const gasTotalPrice = useMemo(() => (gasPrice && estimatedGas ? gasPrice * estimatedGas : undefined), [gasPrice, estimatedGas]);
81
91
  const isLoading = isEstimatedGasLoading || isLoadingGasPrice;
@@ -38,11 +38,11 @@ require('../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs'
38
38
  require('../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
39
39
  require('@dynamic-labs/rpc-providers');
40
40
  require('../../context/UserWalletsContext/UserWalletsContext.cjs');
41
+ require('../../components/ShadowDOM/ShadowDOM.cjs');
41
42
  require('../../components/Transition/ZoomTransition/ZoomTransition.cjs');
42
43
  require('../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
43
44
  require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
44
- require('../../components/ShadowDOM/ShadowDOM.cjs');
45
- require('../../components/OverlayCard/OverlayCard.context.cjs');
45
+ require('../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
46
46
  require('../../context/FooterAnimationContext/index.cjs');
47
47
  var PoweredByDynamic = require('../../components/PoweredByDynamic/PoweredByDynamic.cjs');
48
48
  require('../../context/WalletGroupContext/WalletGroupContext.cjs');
@@ -50,31 +50,35 @@ require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidge
50
50
  require('react-focus-lock');
51
51
  require('../../context/LoadingContext/LoadingContext.cjs');
52
52
  var Icon = require('../../components/Icon/Icon.cjs');
53
+ require('../../context/WalletContext/WalletContext.cjs');
53
54
  require('i18next');
54
55
  require('qrcode');
55
56
  require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
57
+ var IconButton = require('../../components/IconButton/IconButton.cjs');
58
+ require('../../components/MenuList/Dropdown/Dropdown.cjs');
56
59
  var Typography = require('../../components/Typography/Typography.cjs');
57
60
  require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
58
61
  var UserProfileForm = require('../../components/UserProfileForm/UserProfileForm.cjs');
59
62
  var ModalHeader = require('../../components/ModalHeader/ModalHeader.cjs');
60
- var IconButton = require('../../components/IconButton/IconButton.cjs');
61
63
  require('../../components/Alert/Alert.cjs');
62
64
  require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
63
65
  require('../../context/PasskeyContext/PasskeyContext.cjs');
64
- require('@dynamic-labs/viem-utils');
66
+ require('../TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
65
67
  require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
66
68
  var useAssignDefaultValues = require('./useAssignDefaultValues/useAssignDefaultValues.cjs');
67
69
  var UserFieldsToIcon = require('./UserFieldsToIcon/UserFieldsToIcon.cjs');
68
70
  require('../../components/InlineWidget/InlineWidget.cjs');
71
+ require('../../components/Input/Input.cjs');
69
72
  require('../../components/IsBrowser/IsBrowser.cjs');
70
- require('../../components/MenuList/Dropdown/Dropdown.cjs');
71
73
  require('../../components/Popper/Popper/Popper.cjs');
72
74
  require('../../components/Popper/PopperContext/PopperContext.cjs');
73
- require('formik');
74
75
  require('../WalletList/WalletList.cjs');
76
+ require('formik');
75
77
  require('@hcaptcha/react-hcaptcha');
76
78
  require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
77
79
  require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
80
+ require('react-international-phone');
81
+ require('../LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.cjs');
78
82
 
79
83
  const UserFieldEditorView = ({ onClickClose, onSubmit, fields, submitText, subtitle, title, }) => {
80
84
  // Treat undefined props
@@ -34,11 +34,11 @@ import '../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
34
34
  import '../../context/UserFieldEditorContext/UserFieldEditorContext.js';
35
35
  import '@dynamic-labs/rpc-providers';
36
36
  import '../../context/UserWalletsContext/UserWalletsContext.js';
37
+ import '../../components/ShadowDOM/ShadowDOM.js';
37
38
  import '../../components/Transition/ZoomTransition/ZoomTransition.js';
38
39
  import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
39
40
  import '../../components/Transition/OpacityTransition/OpacityTransition.js';
40
- import '../../components/ShadowDOM/ShadowDOM.js';
41
- import '../../components/OverlayCard/OverlayCard.context.js';
41
+ import '../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
42
42
  import '../../context/FooterAnimationContext/index.js';
43
43
  import { PoweredByDynamic } from '../../components/PoweredByDynamic/PoweredByDynamic.js';
44
44
  import '../../context/WalletGroupContext/WalletGroupContext.js';
@@ -46,31 +46,35 @@ import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidget
46
46
  import 'react-focus-lock';
47
47
  import '../../context/LoadingContext/LoadingContext.js';
48
48
  import { Icon } from '../../components/Icon/Icon.js';
49
+ import '../../context/WalletContext/WalletContext.js';
49
50
  import 'i18next';
50
51
  import 'qrcode';
51
52
  import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
53
+ import { IconButton } from '../../components/IconButton/IconButton.js';
54
+ import '../../components/MenuList/Dropdown/Dropdown.js';
52
55
  import { Typography } from '../../components/Typography/Typography.js';
53
56
  import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
54
57
  import { UserProfileForm } from '../../components/UserProfileForm/UserProfileForm.js';
55
58
  import { ModalHeader } from '../../components/ModalHeader/ModalHeader.js';
56
- import { IconButton } from '../../components/IconButton/IconButton.js';
57
59
  import '../../components/Alert/Alert.js';
58
60
  import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
59
61
  import '../../context/PasskeyContext/PasskeyContext.js';
60
- import '@dynamic-labs/viem-utils';
62
+ import '../TransactionConfirmationView/helpers/transactionErrorMessage.js';
61
63
  import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
62
64
  import { useAssignDefaultValues } from './useAssignDefaultValues/useAssignDefaultValues.js';
63
65
  import { UserFieldsToIcon } from './UserFieldsToIcon/UserFieldsToIcon.js';
64
66
  import '../../components/InlineWidget/InlineWidget.js';
67
+ import '../../components/Input/Input.js';
65
68
  import '../../components/IsBrowser/IsBrowser.js';
66
- import '../../components/MenuList/Dropdown/Dropdown.js';
67
69
  import '../../components/Popper/Popper/Popper.js';
68
70
  import '../../components/Popper/PopperContext/PopperContext.js';
69
- import 'formik';
70
71
  import '../WalletList/WalletList.js';
72
+ import 'formik';
71
73
  import '@hcaptcha/react-hcaptcha';
72
74
  import '../../context/SocialRedirectContext/SocialRedirectContext.js';
73
75
  import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
76
+ import 'react-international-phone';
77
+ import '../LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.js';
74
78
 
75
79
  const UserFieldEditorView = ({ onClickClose, onSubmit, fields, submitText, subtitle, title, }) => {
76
80
  // Treat undefined props
@@ -41,31 +41,35 @@ require('../../../components/Alert/Alert.cjs');
41
41
  require('../../../components/ShadowDOM/ShadowDOM.cjs');
42
42
  require('../../../components/IconButton/IconButton.cjs');
43
43
  require('../../../components/InlineWidget/InlineWidget.cjs');
44
+ require('../../../components/Input/Input.cjs');
44
45
  require('../../../components/IsBrowser/IsBrowser.cjs');
45
46
  require('../../../components/MenuList/Dropdown/Dropdown.cjs');
46
47
  require('../../../components/Transition/ZoomTransition/ZoomTransition.cjs');
47
48
  require('../../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
48
49
  require('../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
50
+ require('../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
51
+ require('../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
49
52
  require('../../../components/Popper/Popper/Popper.cjs');
50
53
  require('../../../components/Popper/PopperContext/PopperContext.cjs');
51
54
  require('react-focus-lock');
52
- require('formik');
53
- require('i18next');
54
- require('../../../components/OverlayCard/OverlayCard.context.cjs');
55
- require('../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
56
- require('../../../context/PasskeyContext/PasskeyContext.cjs');
57
55
  require('../../WalletList/WalletList.cjs');
56
+ require('../../../context/WalletContext/WalletContext.cjs');
57
+ require('formik');
58
58
  require('qrcode');
59
59
  require('@hcaptcha/react-hcaptcha');
60
60
  require('../../../context/LoadingContext/LoadingContext.cjs');
61
61
  require('../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
62
62
  require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
63
63
  require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
64
+ require('i18next');
64
65
  require('../../../context/FooterAnimationContext/index.cjs');
66
+ require('react-international-phone');
67
+ require('../../LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.cjs');
68
+ require('../../../context/PasskeyContext/PasskeyContext.cjs');
65
69
  require('../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
66
70
  require('../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
67
71
  require('../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
68
- require('@dynamic-labs/viem-utils');
72
+ require('../../TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
69
73
  require('../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
70
74
  var splitCamelCase = require('../../../shared/utils/functions/splitCamelCase/splitCamelCase.cjs');
71
75
  var useInternalDynamicContext = require('../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
@@ -37,31 +37,35 @@ import '../../../components/Alert/Alert.js';
37
37
  import '../../../components/ShadowDOM/ShadowDOM.js';
38
38
  import '../../../components/IconButton/IconButton.js';
39
39
  import '../../../components/InlineWidget/InlineWidget.js';
40
+ import '../../../components/Input/Input.js';
40
41
  import '../../../components/IsBrowser/IsBrowser.js';
41
42
  import '../../../components/MenuList/Dropdown/Dropdown.js';
42
43
  import '../../../components/Transition/ZoomTransition/ZoomTransition.js';
43
44
  import '../../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
44
45
  import '../../../components/Transition/OpacityTransition/OpacityTransition.js';
46
+ import '../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
47
+ import '../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
45
48
  import '../../../components/Popper/Popper/Popper.js';
46
49
  import '../../../components/Popper/PopperContext/PopperContext.js';
47
50
  import 'react-focus-lock';
48
- import 'formik';
49
- import 'i18next';
50
- import '../../../components/OverlayCard/OverlayCard.context.js';
51
- import '../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
52
- import '../../../context/PasskeyContext/PasskeyContext.js';
53
51
  import '../../WalletList/WalletList.js';
52
+ import '../../../context/WalletContext/WalletContext.js';
53
+ import 'formik';
54
54
  import 'qrcode';
55
55
  import '@hcaptcha/react-hcaptcha';
56
56
  import '../../../context/LoadingContext/LoadingContext.js';
57
57
  import '../../../context/SocialRedirectContext/SocialRedirectContext.js';
58
58
  import '../../../context/WalletGroupContext/WalletGroupContext.js';
59
59
  import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
60
+ import 'i18next';
60
61
  import '../../../context/FooterAnimationContext/index.js';
62
+ import 'react-international-phone';
63
+ import '../../LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.js';
64
+ import '../../../context/PasskeyContext/PasskeyContext.js';
61
65
  import '../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
62
66
  import '../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
63
67
  import '../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
64
- import '@dynamic-labs/viem-utils';
68
+ import '../../TransactionConfirmationView/helpers/transactionErrorMessage.js';
65
69
  import '../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
66
70
  import { splitCamelCase } from '../../../shared/utils/functions/splitCamelCase/splitCamelCase.js';
67
71
  import { useInternalDynamicContext } from '../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';