@dynamic-labs/sdk-react-core 4.5.0 → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.cjs +2 -2
  3. package/package.js +2 -2
  4. package/package.json +12 -12
  5. package/src/index.cjs +7 -7
  6. package/src/index.js +2 -2
  7. package/src/lib/components/Alert/Alert.cjs +6 -3
  8. package/src/lib/components/Alert/Alert.d.ts +1 -0
  9. package/src/lib/components/Alert/Alert.js +6 -4
  10. package/src/lib/components/Alert/AlertText/AlertText.cjs +16 -0
  11. package/src/lib/components/Alert/AlertText/AlertText.d.ts +7 -0
  12. package/src/lib/components/Alert/AlertText/AlertText.js +12 -0
  13. package/src/lib/components/Alert/AlertText/index.d.ts +1 -0
  14. package/src/lib/components/NetworkPicker/NetworkPicker.cjs +11 -40
  15. package/src/lib/components/NetworkPicker/NetworkPicker.d.ts +2 -6
  16. package/src/lib/components/NetworkPicker/NetworkPicker.js +12 -41
  17. package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.cjs +6 -8
  18. package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.d.ts +2 -4
  19. package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.js +6 -8
  20. package/src/lib/components/NetworkPicker/components/NetworkDropdown/NetworkDropdown.cjs +67 -0
  21. package/src/lib/components/NetworkPicker/components/NetworkDropdown/NetworkDropdown.d.ts +14 -0
  22. package/src/lib/components/NetworkPicker/components/NetworkDropdown/NetworkDropdown.js +63 -0
  23. package/src/lib/components/NetworkPicker/components/NetworkDropdown/index.d.ts +1 -0
  24. package/src/lib/components/NetworkPicker/components/{EvmNetworkControl/EvmNetworkControl.cjs → NetworkSwitchControl/NetworkSwitchControl.cjs} +27 -36
  25. package/src/lib/components/NetworkPicker/components/NetworkSwitchControl/NetworkSwitchControl.d.ts +16 -0
  26. package/src/lib/components/NetworkPicker/components/{EvmNetworkControl/EvmNetworkControl.js → NetworkSwitchControl/NetworkSwitchControl.js} +27 -35
  27. package/src/lib/components/NetworkPicker/components/NetworkSwitchControl/index.d.ts +1 -0
  28. package/src/lib/components/Portal/Portal.cjs +3 -2
  29. package/src/lib/components/Portal/Portal.js +3 -2
  30. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
  31. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
  32. package/src/lib/components/ShadowDOM/ShadowDOM.cjs +0 -2
  33. package/src/lib/components/ShadowDOM/ShadowDOM.js +1 -2
  34. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +1 -1
  35. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +1 -1
  36. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -1
  37. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -1
  38. package/src/lib/components/UserProfile/UserProfile.cjs +1 -1
  39. package/src/lib/components/UserProfile/UserProfile.js +1 -1
  40. package/src/lib/context/DynamicContext/DynamicContext.cjs +15 -12
  41. package/src/lib/context/DynamicContext/DynamicContext.js +15 -12
  42. package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +2 -2
  43. package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +3 -3
  44. package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +0 -4
  45. package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +0 -4
  46. package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +7 -2
  47. package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +7 -2
  48. package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.cjs +2 -2
  49. package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.js +3 -3
  50. package/src/lib/context/DynamicContext/types/SettingsOverrides.d.ts +5 -2
  51. package/src/lib/context/ErrorContext/ErrorContext.cjs +7 -6
  52. package/src/lib/context/ErrorContext/ErrorContext.js +8 -7
  53. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +3 -3
  54. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +3 -3
  55. package/src/lib/context/ViewContext/ViewContext.cjs +7 -2
  56. package/src/lib/context/ViewContext/ViewContext.js +7 -2
  57. package/src/lib/context/ViewContext/types/index.d.ts +1 -1
  58. package/src/lib/data/api/embeddedWallets/embeddedWallets.cjs +5 -64
  59. package/src/lib/data/api/embeddedWallets/embeddedWallets.d.ts +2 -18
  60. package/src/lib/data/api/embeddedWallets/embeddedWallets.js +6 -61
  61. package/src/lib/data/api/wallets/wallets.cjs +1 -3
  62. package/src/lib/data/api/wallets/wallets.d.ts +1 -1
  63. package/src/lib/data/api/wallets/wallets.js +2 -4
  64. package/src/lib/events/embeddedWallet.d.ts +0 -4
  65. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +2 -6
  66. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +2 -6
  67. package/src/lib/locale/en/translation.cjs +13 -32
  68. package/src/lib/locale/en/translation.d.ts +12 -31
  69. package/src/lib/locale/en/translation.js +13 -32
  70. package/src/lib/main.global.cjs +1 -1
  71. package/src/lib/main.global.js +1 -1
  72. package/src/lib/modals/SyncWalletPromptModal/SyncWalletPromptModal.cjs +8 -8
  73. package/src/lib/modals/SyncWalletPromptModal/SyncWalletPromptModal.js +8 -8
  74. package/src/lib/modals/index.d.ts +0 -2
  75. package/src/lib/shared/assets/index.d.ts +1 -0
  76. package/src/lib/shared/assets/{currency.cjs → wallet-with-sunglasses.cjs} +14 -26
  77. package/src/lib/shared/assets/wallet-with-sunglasses.js +34 -0
  78. package/src/lib/shared/utils/functions/index.d.ts +0 -2
  79. package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.cjs +7 -5
  80. package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.js +8 -6
  81. package/src/lib/styles/index.shadow.cjs +1 -1
  82. package/src/lib/styles/index.shadow.js +1 -1
  83. package/src/lib/utils/functions/index.d.ts +0 -5
  84. package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.cjs +1 -1
  85. package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.js +1 -1
  86. package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.cjs +2 -4
  87. package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.d.ts +2 -2
  88. package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.js +2 -4
  89. package/src/lib/utils/functions/onrampConfigurationToOnrampOption/onrampConfigurationToOnrampOption.cjs +1 -1
  90. package/src/lib/utils/functions/onrampConfigurationToOnrampOption/onrampConfigurationToOnrampOption.js +1 -1
  91. package/src/lib/utils/hooks/index.d.ts +0 -1
  92. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +0 -2
  93. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +0 -2
  94. package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +2 -2
  95. package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +3 -3
  96. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +16 -4
  97. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +16 -4
  98. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +3 -3
  99. package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +3 -3
  100. package/src/lib/utils/hooks/useCreateWalletConnectorOptions/useCreateWalletConnectorOptions.cjs +1 -1
  101. package/src/lib/utils/hooks/useCreateWalletConnectorOptions/useCreateWalletConnectorOptions.js +1 -1
  102. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +1 -6
  103. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +1 -6
  104. package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.cjs +1 -1
  105. package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.js +1 -1
  106. package/src/lib/utils/hooks/useElementById/useElementById.cjs +2 -2
  107. package/src/lib/utils/hooks/useElementById/useElementById.js +3 -3
  108. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +1 -13
  109. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +1 -13
  110. package/src/lib/utils/hooks/useEmbeddedWallet/index.d.ts +0 -1
  111. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +7 -23
  112. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.d.ts +0 -2
  113. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +7 -23
  114. package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.cjs +4 -4
  115. package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.js +4 -4
  116. package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.cjs +3 -3
  117. package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.js +3 -3
  118. package/src/lib/utils/hooks/useFundWithWallet/useConnectWalletForFunding/useConnectWalletForFunding.cjs +1 -0
  119. package/src/lib/utils/hooks/useFundWithWallet/useConnectWalletForFunding/useConnectWalletForFunding.js +1 -0
  120. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +1 -1
  121. package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +1 -1
  122. package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +2 -2
  123. package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +2 -2
  124. package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.cjs +1 -1
  125. package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.js +1 -1
  126. package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +11 -18
  127. package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +12 -19
  128. package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.cjs +4 -4
  129. package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.js +4 -4
  130. package/src/lib/utils/hooks/useUpgradeEmbeddedWallet/useUpgradeEmbeddedWallet.cjs +4 -4
  131. package/src/lib/utils/hooks/useUpgradeEmbeddedWallet/useUpgradeEmbeddedWallet.js +4 -4
  132. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +4 -4
  133. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +4 -4
  134. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +0 -3
  135. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +0 -3
  136. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +0 -3
  137. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +0 -3
  138. package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.cjs +0 -1
  139. package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.js +0 -1
  140. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +2 -24
  141. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +2 -24
  142. package/src/lib/utils/validations/index.d.ts +0 -1
  143. package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +2 -4
  144. package/src/lib/views/CollectUserDataView/CollectUserDataView.js +2 -4
  145. package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.cjs +2 -2
  146. package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.js +2 -2
  147. package/src/lib/views/EmailVerification/EmailVerification.cjs +4 -4
  148. package/src/lib/views/EmailVerification/EmailVerification.js +4 -4
  149. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +12 -34
  150. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +13 -35
  151. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs +2 -2
  152. package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js +2 -2
  153. package/src/lib/views/MfaDisplayBackupCodesView/MfaDisplayBackupCodesView.cjs +1 -1
  154. package/src/lib/views/MfaDisplayBackupCodesView/MfaDisplayBackupCodesView.js +1 -1
  155. package/src/lib/views/MfaRecoveryView/MfaRecoveryView.cjs +1 -1
  156. package/src/lib/views/MfaRecoveryView/MfaRecoveryView.js +1 -1
  157. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +3 -4
  158. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +3 -4
  159. package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +1 -1
  160. package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +1 -1
  161. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -1
  162. package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -1
  163. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +11 -11
  164. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +11 -11
  165. package/src/lib/views/viewToComponentMap.cjs +0 -4
  166. package/src/lib/views/viewToComponentMap.d.ts +0 -2
  167. package/src/lib/views/viewToComponentMap.js +0 -4
  168. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +10 -15
  169. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +11 -16
  170. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +1 -1
  171. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +1 -1
  172. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +2 -6
  173. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +2 -6
  174. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +3 -3
  175. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +3 -3
  176. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +1 -1
  177. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +1 -1
  178. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -1
  179. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -1
  180. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +1 -1
  181. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -1
  182. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -1
  183. package/src/lib/widgets/DynamicWidget/views/ChooseOnrampProviderView/ChooseOnrampProviderView.cjs +4 -1
  184. package/src/lib/widgets/DynamicWidget/views/ChooseOnrampProviderView/ChooseOnrampProviderView.js +4 -1
  185. package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/ChooseWalletFundingMethod.cjs +1 -1
  186. package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/ChooseWalletFundingMethod.js +1 -1
  187. package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/useFundingMethods/useFundingMethods.cjs +19 -11
  188. package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/useFundingMethods/useFundingMethods.js +19 -11
  189. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +2 -2
  190. package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +2 -2
  191. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/ReceiveExternalWalletFunds.cjs +103 -50
  192. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/ReceiveExternalWalletFunds.js +99 -46
  193. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/TokenSelectScreen/TokenOption/TokenOption.cjs +21 -10
  194. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/TokenSelectScreen/TokenOption/TokenOption.d.ts +2 -0
  195. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/TokenSelectScreen/TokenOption/TokenOption.js +21 -10
  196. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/TokenSelectScreen/TokenSelectScreen.cjs +3 -3
  197. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/TokenSelectScreen/TokenSelectScreen.d.ts +2 -0
  198. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/TokenSelectScreen/TokenSelectScreen.js +3 -3
  199. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/types.d.ts +2 -0
  200. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/calculateFiatBalance/calculateFiatBalance.cjs +27 -0
  201. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/calculateFiatBalance/calculateFiatBalance.d.ts +2 -0
  202. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/calculateFiatBalance/calculateFiatBalance.js +23 -0
  203. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/calculateFiatBalance/index.d.ts +1 -0
  204. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/convert/convert.cjs +4 -0
  205. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/convert/convert.js +4 -0
  206. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/formatValue/convertScientificToDecimal/convertScientificToDecimal.cjs +33 -0
  207. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/formatValue/convertScientificToDecimal/convertScientificToDecimal.d.ts +8 -0
  208. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/formatValue/convertScientificToDecimal/convertScientificToDecimal.js +29 -0
  209. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/formatValue/convertScientificToDecimal/index.d.ts +1 -0
  210. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/formatValue/formatValue.cjs +27 -22
  211. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/formatValue/formatValue.d.ts +6 -0
  212. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/formatValue/formatValue.js +27 -22
  213. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/isFiatToken/isFiatToken.cjs +2 -0
  214. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/isFiatToken/isFiatToken.d.ts +1 -0
  215. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/isFiatToken/isFiatToken.js +2 -1
  216. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/useExchangeRatesForFunding/index.d.ts +1 -0
  217. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/useExchangeRatesForFunding/useExchangeRatesForFunding.cjs +32 -0
  218. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/useExchangeRatesForFunding/useExchangeRatesForFunding.d.ts +9 -0
  219. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/useExchangeRatesForFunding/useExchangeRatesForFunding.js +28 -0
  220. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/useSubmitExternalWalletFunding/useSubmitExternalWalletFunding.cjs +14 -2
  221. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/useSubmitExternalWalletFunding/useSubmitExternalWalletFunding.js +14 -2
  222. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/useTokensForFunding/useTokensForFunding.cjs +27 -15
  223. package/src/lib/widgets/DynamicWidget/views/ReceiveExternalWalletFunds/utils/useTokensForFunding/useTokensForFunding.js +27 -15
  224. package/src/lib/widgets/DynamicWidget/views/SettingsView/EmptyScreen/EmptyScreen.cjs +20 -0
  225. package/src/lib/widgets/DynamicWidget/views/SettingsView/EmptyScreen/EmptyScreen.d.ts +2 -0
  226. package/src/lib/widgets/DynamicWidget/views/SettingsView/EmptyScreen/EmptyScreen.js +16 -0
  227. package/src/lib/widgets/DynamicWidget/views/SettingsView/EmptyScreen/index.d.ts +1 -0
  228. package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +10 -23
  229. package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +11 -24
  230. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.d.ts +0 -23
  231. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/index.d.ts +0 -1
  232. package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.cjs +0 -113
  233. package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.js +0 -109
  234. package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.cjs +0 -106
  235. package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.d.ts +0 -3
  236. package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.js +0 -102
  237. package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.types.d.ts +0 -5
  238. package/src/lib/modals/CreatePasswordModal/index.d.ts +0 -1
  239. package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.cjs +0 -106
  240. package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.d.ts +0 -3
  241. package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.js +0 -102
  242. package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.types.d.ts +0 -6
  243. package/src/lib/modals/EnterPasswordModal/index.d.ts +0 -1
  244. package/src/lib/shared/assets/alt-key.cjs +0 -55
  245. package/src/lib/shared/assets/alt-key.js +0 -31
  246. package/src/lib/shared/assets/currency.js +0 -46
  247. package/src/lib/shared/assets/lock.cjs +0 -55
  248. package/src/lib/shared/assets/lock.js +0 -31
  249. package/src/lib/shared/assets/save-password-hero.cjs +0 -128
  250. package/src/lib/shared/assets/save-password-hero.js +0 -104
  251. package/src/lib/shared/assets/wallet-claim-hero.cjs +0 -128
  252. package/src/lib/shared/assets/wallet-claim-hero.js +0 -104
  253. package/src/lib/shared/utils/functions/generateRandomPassword/generateRandomPassword.cjs +0 -15
  254. package/src/lib/shared/utils/functions/generateRandomPassword/generateRandomPassword.d.ts +0 -1
  255. package/src/lib/shared/utils/functions/generateRandomPassword/generateRandomPassword.js +0 -11
  256. package/src/lib/shared/utils/functions/generateRandomPassword/index.d.ts +0 -1
  257. package/src/lib/shared/utils/functions/validatePassword/index.d.ts +0 -1
  258. package/src/lib/shared/utils/functions/validatePassword/validatePassword.cjs +0 -60
  259. package/src/lib/shared/utils/functions/validatePassword/validatePassword.d.ts +0 -13
  260. package/src/lib/shared/utils/functions/validatePassword/validatePassword.js +0 -56
  261. package/src/lib/utils/functions/findCoinbaseMPCWallet/findCoinbaseMPCWallet.cjs +0 -8
  262. package/src/lib/utils/functions/findCoinbaseMPCWallet/findCoinbaseMPCWallet.d.ts +0 -2
  263. package/src/lib/utils/functions/findCoinbaseMPCWallet/findCoinbaseMPCWallet.js +0 -4
  264. package/src/lib/utils/functions/findCoinbaseMPCWallet/index.d.ts +0 -1
  265. package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.cjs +0 -53
  266. package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.d.ts +0 -9
  267. package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.js +0 -49
  268. package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/index.d.ts +0 -1
  269. package/src/lib/utils/functions/isCoinbaseWaasEnabled/isCoinbaseWaasEnabled.cjs +0 -14
  270. package/src/lib/utils/functions/isCoinbaseWaasEnabled/isCoinbaseWaasEnabled.js +0 -10
  271. package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/index.d.ts +0 -1
  272. package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/requiresPasswordForEmbeddedWallet.cjs +0 -16
  273. package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/requiresPasswordForEmbeddedWallet.d.ts +0 -2
  274. package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/requiresPasswordForEmbeddedWallet.js +0 -12
  275. package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/index.d.ts +0 -1
  276. package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.cjs +0 -39
  277. package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.d.ts +0 -2
  278. package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.js +0 -35
  279. package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/index.d.ts +0 -2
  280. package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/index.d.ts +0 -1
  281. package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.cjs +0 -229
  282. package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.d.ts +0 -5
  283. package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.js +0 -225
  284. package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.cjs +0 -191
  285. package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.d.ts +0 -18
  286. package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.js +0 -187
  287. package/src/lib/utils/hooks/useEmbeddedWalletPassword/index.d.ts +0 -1
  288. package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.cjs +0 -141
  289. package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.d.ts +0 -4
  290. package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.js +0 -137
  291. package/src/lib/utils/validations/validateMPCProviderEnabled/index.d.ts +0 -1
  292. package/src/lib/utils/validations/validateMPCProviderEnabled/validateMPCProviderEnabled.cjs +0 -18
  293. package/src/lib/utils/validations/validateMPCProviderEnabled/validateMPCProviderEnabled.d.ts +0 -2
  294. package/src/lib/utils/validations/validateMPCProviderEnabled/validateMPCProviderEnabled.js +0 -14
  295. package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.cjs +0 -116
  296. package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.d.ts +0 -2
  297. package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.js +0 -112
  298. package/src/lib/views/CoinbaseMPCClaimIntro/index.d.ts +0 -1
  299. package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.cjs +0 -197
  300. package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.d.ts +0 -12
  301. package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.js +0 -193
  302. package/src/lib/views/CreatePasswordView/CreatePasswordStep/index.d.ts +0 -1
  303. package/src/lib/views/CreatePasswordView/CreatePasswordView.cjs +0 -169
  304. package/src/lib/views/CreatePasswordView/CreatePasswordView.d.ts +0 -9
  305. package/src/lib/views/CreatePasswordView/CreatePasswordView.js +0 -165
  306. package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.cjs +0 -141
  307. package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.d.ts +0 -12
  308. package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.js +0 -137
  309. package/src/lib/views/CreatePasswordView/SavePasswordStep/index.d.ts +0 -1
  310. package/src/lib/views/CreatePasswordView/index.d.ts +0 -1
  311. package/src/lib/views/EnterPasswordView/EnterPasswordView.cjs +0 -141
  312. package/src/lib/views/EnterPasswordView/EnterPasswordView.d.ts +0 -8
  313. package/src/lib/views/EnterPasswordView/EnterPasswordView.js +0 -137
  314. package/src/lib/views/EnterPasswordView/index.d.ts +0 -1
@@ -1,106 +0,0 @@
1
- 'use client'
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
- var jsxRuntime = require('react/jsx-runtime');
7
- var CreatePasswordView = require('../../views/CreatePasswordView/CreatePasswordView.cjs');
8
- var ConfirmationModal = require('../ConfirmationModal/ConfirmationModal.cjs');
9
- var useConfirmationPortal = require('../../utils/hooks/useConfirmationPortal/useConfirmationPortal.cjs');
10
- require('@dynamic-labs/utils');
11
- require('../../components/Accordion/components/AccordionItem/AccordionItem.cjs');
12
- require('../../components/Alert/Alert.cjs');
13
- require('react');
14
- require('../../events/dynamicEvents.cjs');
15
- require('../../../../_virtual/_tslib.cjs');
16
- require('../../context/DynamicContext/DynamicContext.cjs');
17
- require('@dynamic-labs/sdk-api-core');
18
- require('../../shared/logger.cjs');
19
- require('@dynamic-labs/iconic');
20
- require('@dynamic-labs/wallet-connector-core');
21
- require('../../context/ViewContext/ViewContext.cjs');
22
- require('@dynamic-labs/wallet-book');
23
- require('../../utils/constants/colors.cjs');
24
- require('../../utils/constants/values.cjs');
25
- require('../../shared/consts/index.cjs');
26
- require('../../context/CaptchaContext/CaptchaContext.cjs');
27
- require('../../context/ErrorContext/ErrorContext.cjs');
28
- require('@dynamic-labs/multi-wallet');
29
- require('react-international-phone');
30
- require('../../store/state/nonce/nonce.cjs');
31
- require('../../store/state/projectSettings/projectSettings.cjs');
32
- require('../../config/ApiEndpoint.cjs');
33
- require('../../store/state/user/user.cjs');
34
- require('../../locale/locale.cjs');
35
- require('../../store/state/dynamicContextProps/dynamicContextProps.cjs');
36
- require('../../store/state/primaryWalletId/primaryWalletId.cjs');
37
- require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
38
- require('../../context/AccountExistsContext/AccountExistsContext.cjs');
39
- require('../../context/UserWalletsContext/UserWalletsContext.cjs');
40
- require('../../context/VerificationContext/VerificationContext.cjs');
41
- require('react-dom');
42
- require('../../utils/functions/compareChains/compareChains.cjs');
43
- require('../../context/ThemeContext/ThemeContext.cjs');
44
- require('../../utils/hooks/useUserUpdateRequest/useUpdateUser/userFieldsSchema.cjs');
45
- require('bs58');
46
- require('@dynamic-labs/types');
47
- require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
48
- require('../../context/LoadingContext/LoadingContext.cjs');
49
- require('../../context/WalletContext/WalletContext.cjs');
50
- require('../../utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.cjs');
51
- require('yup');
52
- require('../../context/MockContext/MockContext.cjs');
53
- require('../../views/CollectUserDataView/useFields.cjs');
54
- require('../../context/FieldsStateContext/FieldsStateContext.cjs');
55
- require('../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
56
- require('@dynamic-labs/rpc-providers');
57
- require('../../store/state/loadingAndLifecycle.cjs');
58
- require('../../store/state/walletOptions/walletOptions.cjs');
59
- require('react-i18next');
60
- require('../../store/state/tokenBalances.cjs');
61
- require('../../context/WalletGroupContext/WalletGroupContext.cjs');
62
- require('../../shared/utils/functions/getInitialUrl/getInitialUrl.cjs');
63
- require('../../components/ShadowDOM/ShadowDOM.cjs');
64
- require('../../components/IconButton/IconButton.cjs');
65
- require('../../components/InlineWidget/InlineWidget.cjs');
66
- require('../../components/Input/Input.cjs');
67
- require('../../components/IsBrowser/IsBrowser.cjs');
68
- require('../../components/MenuList/Dropdown/Dropdown.cjs');
69
- require('../../components/OverlayCard/OverlayCard.cjs');
70
- require('../../components/Transition/ZoomTransition/ZoomTransition.cjs');
71
- require('../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
72
- require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
73
- require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
74
- require('../../components/Popper/Popper/Popper.cjs');
75
- require('../../components/Popper/PopperContext/PopperContext.cjs');
76
- require('react-focus-lock');
77
- require('qrcode');
78
- require('formik');
79
- require('../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
80
- require('../../context/IpConfigurationContext/IpConfigurationContext.cjs');
81
- require('../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
82
- require('../../context/ConnectWithOtpContext/constants.cjs');
83
- require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
84
- require('@hcaptcha/react-hcaptcha');
85
- require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
86
- require('../../context/FooterAnimationContext/index.cjs');
87
- require('../../context/PasskeyContext/PasskeyContext.cjs');
88
- require('../../store/state/sendBalances.cjs');
89
- require('../../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.cjs');
90
- require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
91
- require('../../views/TransactionConfirmationView/TransactionConfirmationView.cjs');
92
- require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
93
- require('../../context/OnrampContext/OnrampContext.cjs');
94
- require('../../widgets/DynamicWidget/views/ReceiveExternalWalletFunds/ReceiveExternalWalletFunds.cjs');
95
- require('../../../index.cjs');
96
-
97
- const CreatePasswordModal = ({ onResolve, onReject, closeView, }) => {
98
- const { onSuccess, onError, show, handleOnModalUnmount, closeModal } = useConfirmationPortal.useConfirmationPortal({
99
- defaultErrorMessage: 'User canceled',
100
- onReject,
101
- onResolve,
102
- });
103
- return (jsxRuntime.jsx(ConfirmationModal.ConfirmationModal, { modalId: 'create-password-modal', show: show, closeModal: closeModal, handleOnModalUnmount: handleOnModalUnmount, children: jsxRuntime.jsx(CreatePasswordView.CreatePasswordView, { closeView: closeView, onSuccess: onSuccess, onError: onError }) }));
104
- };
105
-
106
- exports.CreatePasswordModal = CreatePasswordModal;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { CreatePasswordModalProps } from './CreatePasswordModal.types';
3
- export declare const CreatePasswordModal: ({ onResolve, onReject, closeView, }: CreatePasswordModalProps) => JSX.Element;
@@ -1,102 +0,0 @@
1
- 'use client'
2
- import { jsx } from 'react/jsx-runtime';
3
- import { CreatePasswordView } from '../../views/CreatePasswordView/CreatePasswordView.js';
4
- import { ConfirmationModal } from '../ConfirmationModal/ConfirmationModal.js';
5
- import { useConfirmationPortal } from '../../utils/hooks/useConfirmationPortal/useConfirmationPortal.js';
6
- import '@dynamic-labs/utils';
7
- import '../../components/Accordion/components/AccordionItem/AccordionItem.js';
8
- import '../../components/Alert/Alert.js';
9
- import 'react';
10
- import '../../events/dynamicEvents.js';
11
- import '../../../../_virtual/_tslib.js';
12
- import '../../context/DynamicContext/DynamicContext.js';
13
- import '@dynamic-labs/sdk-api-core';
14
- import '../../shared/logger.js';
15
- import '@dynamic-labs/iconic';
16
- import '@dynamic-labs/wallet-connector-core';
17
- import '../../context/ViewContext/ViewContext.js';
18
- import '@dynamic-labs/wallet-book';
19
- import '../../utils/constants/colors.js';
20
- import '../../utils/constants/values.js';
21
- import '../../shared/consts/index.js';
22
- import '../../context/CaptchaContext/CaptchaContext.js';
23
- import '../../context/ErrorContext/ErrorContext.js';
24
- import '@dynamic-labs/multi-wallet';
25
- import 'react-international-phone';
26
- import '../../store/state/nonce/nonce.js';
27
- import '../../store/state/projectSettings/projectSettings.js';
28
- import '../../config/ApiEndpoint.js';
29
- import '../../store/state/user/user.js';
30
- import '../../locale/locale.js';
31
- import '../../store/state/dynamicContextProps/dynamicContextProps.js';
32
- import '../../store/state/primaryWalletId/primaryWalletId.js';
33
- import '../../context/AccessDeniedContext/AccessDeniedContext.js';
34
- import '../../context/AccountExistsContext/AccountExistsContext.js';
35
- import '../../context/UserWalletsContext/UserWalletsContext.js';
36
- import '../../context/VerificationContext/VerificationContext.js';
37
- import 'react-dom';
38
- import '../../utils/functions/compareChains/compareChains.js';
39
- import '../../context/ThemeContext/ThemeContext.js';
40
- import '../../utils/hooks/useUserUpdateRequest/useUpdateUser/userFieldsSchema.js';
41
- import 'bs58';
42
- import '@dynamic-labs/types';
43
- import '../../context/SocialRedirectContext/SocialRedirectContext.js';
44
- import '../../context/LoadingContext/LoadingContext.js';
45
- import '../../context/WalletContext/WalletContext.js';
46
- import '../../utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.js';
47
- import 'yup';
48
- import '../../context/MockContext/MockContext.js';
49
- import '../../views/CollectUserDataView/useFields.js';
50
- import '../../context/FieldsStateContext/FieldsStateContext.js';
51
- import '../../context/UserFieldEditorContext/UserFieldEditorContext.js';
52
- import '@dynamic-labs/rpc-providers';
53
- import '../../store/state/loadingAndLifecycle.js';
54
- import '../../store/state/walletOptions/walletOptions.js';
55
- import 'react-i18next';
56
- import '../../store/state/tokenBalances.js';
57
- import '../../context/WalletGroupContext/WalletGroupContext.js';
58
- import '../../shared/utils/functions/getInitialUrl/getInitialUrl.js';
59
- import '../../components/ShadowDOM/ShadowDOM.js';
60
- import '../../components/IconButton/IconButton.js';
61
- import '../../components/InlineWidget/InlineWidget.js';
62
- import '../../components/Input/Input.js';
63
- import '../../components/IsBrowser/IsBrowser.js';
64
- import '../../components/MenuList/Dropdown/Dropdown.js';
65
- import '../../components/OverlayCard/OverlayCard.js';
66
- import '../../components/Transition/ZoomTransition/ZoomTransition.js';
67
- import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
68
- import '../../components/Transition/OpacityTransition/OpacityTransition.js';
69
- import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
70
- import '../../components/Popper/Popper/Popper.js';
71
- import '../../components/Popper/PopperContext/PopperContext.js';
72
- import 'react-focus-lock';
73
- import 'qrcode';
74
- import 'formik';
75
- import '../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
76
- import '../../context/IpConfigurationContext/IpConfigurationContext.js';
77
- import '../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
78
- import '../../context/ConnectWithOtpContext/constants.js';
79
- import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
80
- import '@hcaptcha/react-hcaptcha';
81
- import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
82
- import '../../context/FooterAnimationContext/index.js';
83
- import '../../context/PasskeyContext/PasskeyContext.js';
84
- import '../../store/state/sendBalances.js';
85
- import '../../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.js';
86
- import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
87
- import '../../views/TransactionConfirmationView/TransactionConfirmationView.js';
88
- import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
89
- import '../../context/OnrampContext/OnrampContext.js';
90
- import '../../widgets/DynamicWidget/views/ReceiveExternalWalletFunds/ReceiveExternalWalletFunds.js';
91
- import '../../../index.js';
92
-
93
- const CreatePasswordModal = ({ onResolve, onReject, closeView, }) => {
94
- const { onSuccess, onError, show, handleOnModalUnmount, closeModal } = useConfirmationPortal({
95
- defaultErrorMessage: 'User canceled',
96
- onReject,
97
- onResolve,
98
- });
99
- return (jsx(ConfirmationModal, { modalId: 'create-password-modal', show: show, closeModal: closeModal, handleOnModalUnmount: handleOnModalUnmount, children: jsx(CreatePasswordView, { closeView: closeView, onSuccess: onSuccess, onError: onError }) }));
100
- };
101
-
102
- export { CreatePasswordModal };
@@ -1,5 +0,0 @@
1
- export type CreatePasswordModalProps = {
2
- onResolve: (password: string) => void;
3
- onReject: (error: unknown) => void;
4
- closeView?: boolean;
5
- };
@@ -1 +0,0 @@
1
- export { CreatePasswordModal } from './CreatePasswordModal';
@@ -1,106 +0,0 @@
1
- 'use client'
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
- var jsxRuntime = require('react/jsx-runtime');
7
- var EnterPasswordView = require('../../views/EnterPasswordView/EnterPasswordView.cjs');
8
- var ConfirmationModal = require('../ConfirmationModal/ConfirmationModal.cjs');
9
- require('../../../../_virtual/_tslib.cjs');
10
- require('react');
11
- require('react-i18next');
12
- require('@dynamic-labs/wallet-connector-core');
13
- require('../../context/DynamicContext/DynamicContext.cjs');
14
- require('@dynamic-labs/sdk-api-core');
15
- require('../../shared/logger.cjs');
16
- require('@dynamic-labs/iconic');
17
- require('../../context/ViewContext/ViewContext.cjs');
18
- require('@dynamic-labs/wallet-book');
19
- require('@dynamic-labs/utils');
20
- require('../../utils/constants/colors.cjs');
21
- require('../../utils/constants/values.cjs');
22
- require('../../shared/consts/index.cjs');
23
- require('../../events/dynamicEvents.cjs');
24
- require('../../context/CaptchaContext/CaptchaContext.cjs');
25
- require('../../context/ErrorContext/ErrorContext.cjs');
26
- require('@dynamic-labs/multi-wallet');
27
- require('react-international-phone');
28
- require('../../store/state/nonce/nonce.cjs');
29
- require('../../store/state/projectSettings/projectSettings.cjs');
30
- require('../../config/ApiEndpoint.cjs');
31
- require('../../store/state/user/user.cjs');
32
- require('../../locale/locale.cjs');
33
- require('../../store/state/dynamicContextProps/dynamicContextProps.cjs');
34
- require('../../store/state/primaryWalletId/primaryWalletId.cjs');
35
- require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
36
- require('../../context/AccountExistsContext/AccountExistsContext.cjs');
37
- require('../../context/UserWalletsContext/UserWalletsContext.cjs');
38
- require('../../context/VerificationContext/VerificationContext.cjs');
39
- require('react-dom');
40
- require('../../utils/functions/compareChains/compareChains.cjs');
41
- require('../../context/ThemeContext/ThemeContext.cjs');
42
- require('../../utils/hooks/useUserUpdateRequest/useUpdateUser/userFieldsSchema.cjs');
43
- require('bs58');
44
- require('@dynamic-labs/types');
45
- require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
46
- require('../../context/LoadingContext/LoadingContext.cjs');
47
- require('../../context/WalletContext/WalletContext.cjs');
48
- require('../../utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.cjs');
49
- require('yup');
50
- require('../../context/MockContext/MockContext.cjs');
51
- require('../../views/CollectUserDataView/useFields.cjs');
52
- require('../../context/FieldsStateContext/FieldsStateContext.cjs');
53
- require('../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
54
- require('@dynamic-labs/rpc-providers');
55
- require('../../store/state/loadingAndLifecycle.cjs');
56
- require('../../store/state/walletOptions/walletOptions.cjs');
57
- require('../../store/state/tokenBalances.cjs');
58
- require('../../context/WalletGroupContext/WalletGroupContext.cjs');
59
- require('../../shared/utils/functions/getInitialUrl/getInitialUrl.cjs');
60
- require('../../components/Accordion/components/AccordionItem/AccordionItem.cjs');
61
- require('../../components/Alert/Alert.cjs');
62
- require('../../components/ShadowDOM/ShadowDOM.cjs');
63
- require('../../components/IconButton/IconButton.cjs');
64
- require('../../components/InlineWidget/InlineWidget.cjs');
65
- require('../../components/Input/Input.cjs');
66
- require('../../components/IsBrowser/IsBrowser.cjs');
67
- require('../../components/MenuList/Dropdown/Dropdown.cjs');
68
- require('../../components/OverlayCard/OverlayCard.cjs');
69
- require('../../components/Transition/ZoomTransition/ZoomTransition.cjs');
70
- require('../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
71
- require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
72
- require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
73
- require('../../components/Popper/Popper/Popper.cjs');
74
- require('../../components/Popper/PopperContext/PopperContext.cjs');
75
- require('react-focus-lock');
76
- require('qrcode');
77
- require('formik');
78
- require('../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
79
- require('../../context/IpConfigurationContext/IpConfigurationContext.cjs');
80
- require('../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
81
- require('../../context/ConnectWithOtpContext/constants.cjs');
82
- require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
83
- require('@hcaptcha/react-hcaptcha');
84
- require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
85
- require('../../context/FooterAnimationContext/index.cjs');
86
- require('../../context/PasskeyContext/PasskeyContext.cjs');
87
- require('../../store/state/sendBalances.cjs');
88
- var useConfirmationPortal = require('../../utils/hooks/useConfirmationPortal/useConfirmationPortal.cjs');
89
- require('../../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.cjs');
90
- require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
91
- require('../../views/TransactionConfirmationView/TransactionConfirmationView.cjs');
92
- require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
93
- require('../../context/OnrampContext/OnrampContext.cjs');
94
- require('../../widgets/DynamicWidget/views/ReceiveExternalWalletFunds/ReceiveExternalWalletFunds.cjs');
95
- require('../../../index.cjs');
96
-
97
- const EnterPasswordModal = ({ handler, onResolve, onReject, closeView, }) => {
98
- const { onSuccess, onError, show, handleOnModalUnmount, closeModal } = useConfirmationPortal.useConfirmationPortal({
99
- defaultErrorMessage: 'User canceled',
100
- onReject,
101
- onResolve,
102
- });
103
- return (jsxRuntime.jsx(ConfirmationModal.ConfirmationModal, { modalId: 'enter-password-modal', show: show, closeModal: closeModal, handleOnModalUnmount: handleOnModalUnmount, children: jsxRuntime.jsx(EnterPasswordView.EnterPasswordView, { mutation: handler, closeView: closeView, onSuccess: onSuccess, onError: onError }) }));
104
- };
105
-
106
- exports.EnterPasswordModal = EnterPasswordModal;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { EnterPasswordModalProps } from './EnterPasswordModal.types';
3
- export declare const EnterPasswordModal: ({ handler, onResolve, onReject, closeView, }: EnterPasswordModalProps) => JSX.Element;
@@ -1,102 +0,0 @@
1
- 'use client'
2
- import { jsx } from 'react/jsx-runtime';
3
- import { EnterPasswordView } from '../../views/EnterPasswordView/EnterPasswordView.js';
4
- import { ConfirmationModal } from '../ConfirmationModal/ConfirmationModal.js';
5
- import '../../../../_virtual/_tslib.js';
6
- import 'react';
7
- import 'react-i18next';
8
- import '@dynamic-labs/wallet-connector-core';
9
- import '../../context/DynamicContext/DynamicContext.js';
10
- import '@dynamic-labs/sdk-api-core';
11
- import '../../shared/logger.js';
12
- import '@dynamic-labs/iconic';
13
- import '../../context/ViewContext/ViewContext.js';
14
- import '@dynamic-labs/wallet-book';
15
- import '@dynamic-labs/utils';
16
- import '../../utils/constants/colors.js';
17
- import '../../utils/constants/values.js';
18
- import '../../shared/consts/index.js';
19
- import '../../events/dynamicEvents.js';
20
- import '../../context/CaptchaContext/CaptchaContext.js';
21
- import '../../context/ErrorContext/ErrorContext.js';
22
- import '@dynamic-labs/multi-wallet';
23
- import 'react-international-phone';
24
- import '../../store/state/nonce/nonce.js';
25
- import '../../store/state/projectSettings/projectSettings.js';
26
- import '../../config/ApiEndpoint.js';
27
- import '../../store/state/user/user.js';
28
- import '../../locale/locale.js';
29
- import '../../store/state/dynamicContextProps/dynamicContextProps.js';
30
- import '../../store/state/primaryWalletId/primaryWalletId.js';
31
- import '../../context/AccessDeniedContext/AccessDeniedContext.js';
32
- import '../../context/AccountExistsContext/AccountExistsContext.js';
33
- import '../../context/UserWalletsContext/UserWalletsContext.js';
34
- import '../../context/VerificationContext/VerificationContext.js';
35
- import 'react-dom';
36
- import '../../utils/functions/compareChains/compareChains.js';
37
- import '../../context/ThemeContext/ThemeContext.js';
38
- import '../../utils/hooks/useUserUpdateRequest/useUpdateUser/userFieldsSchema.js';
39
- import 'bs58';
40
- import '@dynamic-labs/types';
41
- import '../../context/SocialRedirectContext/SocialRedirectContext.js';
42
- import '../../context/LoadingContext/LoadingContext.js';
43
- import '../../context/WalletContext/WalletContext.js';
44
- import '../../utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.js';
45
- import 'yup';
46
- import '../../context/MockContext/MockContext.js';
47
- import '../../views/CollectUserDataView/useFields.js';
48
- import '../../context/FieldsStateContext/FieldsStateContext.js';
49
- import '../../context/UserFieldEditorContext/UserFieldEditorContext.js';
50
- import '@dynamic-labs/rpc-providers';
51
- import '../../store/state/loadingAndLifecycle.js';
52
- import '../../store/state/walletOptions/walletOptions.js';
53
- import '../../store/state/tokenBalances.js';
54
- import '../../context/WalletGroupContext/WalletGroupContext.js';
55
- import '../../shared/utils/functions/getInitialUrl/getInitialUrl.js';
56
- import '../../components/Accordion/components/AccordionItem/AccordionItem.js';
57
- import '../../components/Alert/Alert.js';
58
- import '../../components/ShadowDOM/ShadowDOM.js';
59
- import '../../components/IconButton/IconButton.js';
60
- import '../../components/InlineWidget/InlineWidget.js';
61
- import '../../components/Input/Input.js';
62
- import '../../components/IsBrowser/IsBrowser.js';
63
- import '../../components/MenuList/Dropdown/Dropdown.js';
64
- import '../../components/OverlayCard/OverlayCard.js';
65
- import '../../components/Transition/ZoomTransition/ZoomTransition.js';
66
- import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
67
- import '../../components/Transition/OpacityTransition/OpacityTransition.js';
68
- import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
69
- import '../../components/Popper/Popper/Popper.js';
70
- import '../../components/Popper/PopperContext/PopperContext.js';
71
- import 'react-focus-lock';
72
- import 'qrcode';
73
- import 'formik';
74
- import '../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
75
- import '../../context/IpConfigurationContext/IpConfigurationContext.js';
76
- import '../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
77
- import '../../context/ConnectWithOtpContext/constants.js';
78
- import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
79
- import '@hcaptcha/react-hcaptcha';
80
- import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
81
- import '../../context/FooterAnimationContext/index.js';
82
- import '../../context/PasskeyContext/PasskeyContext.js';
83
- import '../../store/state/sendBalances.js';
84
- import { useConfirmationPortal } from '../../utils/hooks/useConfirmationPortal/useConfirmationPortal.js';
85
- import '../../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.js';
86
- import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
87
- import '../../views/TransactionConfirmationView/TransactionConfirmationView.js';
88
- import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
89
- import '../../context/OnrampContext/OnrampContext.js';
90
- import '../../widgets/DynamicWidget/views/ReceiveExternalWalletFunds/ReceiveExternalWalletFunds.js';
91
- import '../../../index.js';
92
-
93
- const EnterPasswordModal = ({ handler, onResolve, onReject, closeView, }) => {
94
- const { onSuccess, onError, show, handleOnModalUnmount, closeModal } = useConfirmationPortal({
95
- defaultErrorMessage: 'User canceled',
96
- onReject,
97
- onResolve,
98
- });
99
- return (jsx(ConfirmationModal, { modalId: 'enter-password-modal', show: show, closeModal: closeModal, handleOnModalUnmount: handleOnModalUnmount, children: jsx(EnterPasswordView, { mutation: handler, closeView: closeView, onSuccess: onSuccess, onError: onError }) }));
100
- };
101
-
102
- export { EnterPasswordModal };
@@ -1,6 +0,0 @@
1
- export type EnterPasswordModalProps = {
2
- handler: (password: string) => Promise<void>;
3
- onResolve: (password: string) => void;
4
- onReject: (error: unknown) => void;
5
- closeView?: boolean;
6
- };
@@ -1 +0,0 @@
1
- export { EnterPasswordModal } from './EnterPasswordModal';
@@ -1,55 +0,0 @@
1
- 'use client'
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
- var React = require('react');
7
-
8
- function _interopNamespace(e) {
9
- if (e && e.__esModule) return e;
10
- var n = Object.create(null);
11
- if (e) {
12
- Object.keys(e).forEach(function (k) {
13
- if (k !== 'default') {
14
- var d = Object.getOwnPropertyDescriptor(e, k);
15
- Object.defineProperty(n, k, d.get ? d : {
16
- enumerable: true,
17
- get: function () { return e[k]; }
18
- });
19
- }
20
- });
21
- }
22
- n["default"] = e;
23
- return Object.freeze(n);
24
- }
25
-
26
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
-
28
- var _path;
29
- var _excluded = ["title", "titleId"];
30
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
31
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
32
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
33
- var SvgAltKey = function SvgAltKey(_ref) {
34
- var title = _ref.title,
35
- titleId = _ref.titleId,
36
- props = _objectWithoutProperties(_ref, _excluded);
37
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
38
- width: 24,
39
- height: 24,
40
- viewBox: "0 0 24 24",
41
- fill: "none",
42
- xmlns: "http://www.w3.org/2000/svg",
43
- "aria-labelledby": titleId
44
- }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
45
- id: titleId
46
- }, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
47
- fillRule: "evenodd",
48
- clipRule: "evenodd",
49
- d: "M15 4a5 5 0 0 0-4.786 6.453 1 1 0 0 1-.25.997L4 17.414V20h2v-1a1 1 0 0 1 1-1h1v-1a1 1 0 0 1 1-1h1.586l1.964-1.964a1 1 0 0 1 .997-.25A5 5 0 1 0 15 4ZM8 20v1a1 1 0 0 1-1 1H4a2 2 0 0 1-2-2v-2.586A2 2 0 0 1 2.586 16l5.562-5.562a7 7 0 1 1 5.414 5.414l-1.855 1.855A1 1 0 0 1 11 18h-1v1a1 1 0 0 1-1 1H8Zm6-13a1 1 0 0 1 1-1 3 3 0 0 1 3 3 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 0 1-1-1Z",
50
- fill: "#383C48",
51
- fillOpacity: 0.4
52
- })));
53
- };
54
-
55
- exports.ReactComponent = SvgAltKey;
@@ -1,31 +0,0 @@
1
- 'use client'
2
- import * as React from 'react';
3
-
4
- var _path;
5
- var _excluded = ["title", "titleId"];
6
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
7
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
8
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
9
- var SvgAltKey = function SvgAltKey(_ref) {
10
- var title = _ref.title,
11
- titleId = _ref.titleId,
12
- props = _objectWithoutProperties(_ref, _excluded);
13
- return /*#__PURE__*/React.createElement("svg", _extends({
14
- width: 24,
15
- height: 24,
16
- viewBox: "0 0 24 24",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg",
19
- "aria-labelledby": titleId
20
- }, props), title ? /*#__PURE__*/React.createElement("title", {
21
- id: titleId
22
- }, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
23
- fillRule: "evenodd",
24
- clipRule: "evenodd",
25
- d: "M15 4a5 5 0 0 0-4.786 6.453 1 1 0 0 1-.25.997L4 17.414V20h2v-1a1 1 0 0 1 1-1h1v-1a1 1 0 0 1 1-1h1.586l1.964-1.964a1 1 0 0 1 .997-.25A5 5 0 1 0 15 4ZM8 20v1a1 1 0 0 1-1 1H4a2 2 0 0 1-2-2v-2.586A2 2 0 0 1 2.586 16l5.562-5.562a7 7 0 1 1 5.414 5.414l-1.855 1.855A1 1 0 0 1 11 18h-1v1a1 1 0 0 1-1 1H8Zm6-13a1 1 0 0 1 1-1 3 3 0 0 1 3 3 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 0 1-1-1Z",
26
- fill: "#383C48",
27
- fillOpacity: 0.4
28
- })));
29
- };
30
-
31
- export { SvgAltKey as ReactComponent };
@@ -1,46 +0,0 @@
1
- 'use client'
2
- import * as React from 'react';
3
-
4
- var _rect, _path, _path2, _ellipse;
5
- var _excluded = ["title", "titleId"];
6
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
7
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
8
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
9
- var SvgCurrency = function SvgCurrency(_ref) {
10
- var title = _ref.title,
11
- titleId = _ref.titleId,
12
- props = _objectWithoutProperties(_ref, _excluded);
13
- return /*#__PURE__*/React.createElement("svg", _extends({
14
- width: 28,
15
- height: 28,
16
- viewBox: "0 0 28 28",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg",
19
- "aria-labelledby": titleId
20
- }, props), title ? /*#__PURE__*/React.createElement("title", {
21
- id: titleId
22
- }, title) : null, _rect || (_rect = /*#__PURE__*/React.createElement("rect", {
23
- width: 28,
24
- height: 28,
25
- rx: 14,
26
- fill: "#4779FF"
27
- })), _path || (_path = /*#__PURE__*/React.createElement("path", {
28
- fillRule: "evenodd",
29
- clipRule: "evenodd",
30
- d: "M20.252 17.036C18.976 18.398 16.654 19.31 14 19.31c-2.65 0-4.97-.909-6.246-2.268-.004.646-.004 1.406-.004 2.293 0 1.726 2.798 3.125 6.25 3.125s6.25-1.399 6.25-3.125c0-.192.002-.406.004-.637.005-.496.01-1.069-.002-1.662Z",
31
- fill: "#fff"
32
- })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
33
- fillRule: "evenodd",
34
- clipRule: "evenodd",
35
- d: "M20.23 11.85c-1.28 1.35-3.591 2.252-6.23 2.252-2.65 0-4.969-.909-6.245-2.267-.005.64-.005 1.398-.005 2.292 0 1.726 2.798 3.125 6.25 3.125s6.25-1.399 6.25-3.125c0-.959 0-1.703-.02-2.276Z",
36
- fill: "#fff"
37
- })), _ellipse || (_ellipse = /*#__PURE__*/React.createElement("ellipse", {
38
- cx: 14,
39
- cy: 8.893,
40
- rx: 6.25,
41
- ry: 3.125,
42
- fill: "#fff"
43
- })));
44
- };
45
-
46
- export { SvgCurrency as ReactComponent };