@dynamic-labs/sdk-react-core 0.17.0-RC.9 → 0.17.0

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 (664) hide show
  1. package/CHANGELOG.md +323 -0
  2. package/package.cjs +9 -10
  3. package/package.js +9 -10
  4. package/package.json +17 -17
  5. package/src/index.cjs +31 -4
  6. package/src/index.d.ts +3 -0
  7. package/src/index.js +19 -4
  8. package/src/lib/Main.cjs +21 -10
  9. package/src/lib/Main.js +19 -8
  10. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +7 -0
  11. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +7 -0
  12. package/src/lib/components/Alert/Alert.cjs +1 -0
  13. package/src/lib/components/Alert/Alert.js +1 -0
  14. package/src/lib/components/AnimatePresence/AnimatePresence.cjs +7 -0
  15. package/src/lib/components/AnimatePresence/AnimatePresence.js +7 -0
  16. package/src/lib/components/AppOriginTile/AppOriginTile.types.d.ts +1 -1
  17. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +89 -0
  18. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.d.ts +10 -0
  19. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +85 -0
  20. package/src/lib/components/AuthProviderIcon/index.d.ts +1 -0
  21. package/src/lib/components/ChainCard/ChainCard.d.ts +7 -0
  22. package/src/lib/components/Checkbox/Checkbox.cjs +1 -0
  23. package/src/lib/components/Checkbox/Checkbox.js +1 -0
  24. package/src/lib/components/Chip/Chip.cjs +13 -0
  25. package/src/lib/components/Chip/Chip.d.ts +7 -0
  26. package/src/lib/components/Chip/Chip.js +9 -0
  27. package/src/lib/components/Chip/index.d.ts +1 -0
  28. package/src/lib/components/Divider/Divider.cjs +13 -3
  29. package/src/lib/components/Divider/Divider.d.ts +7 -3
  30. package/src/lib/components/Divider/Divider.js +14 -4
  31. package/src/lib/components/ErrorContainer/ErrorContainer.cjs +3 -2
  32. package/src/lib/components/ErrorContainer/ErrorContainer.d.ts +3 -1
  33. package/src/lib/components/ErrorContainer/ErrorContainer.js +3 -2
  34. package/src/lib/components/FormFieldLabel/FormFieldLabel.cjs +10 -0
  35. package/src/lib/components/FormFieldLabel/FormFieldLabel.d.ts +8 -0
  36. package/src/lib/components/FormFieldLabel/FormFieldLabel.js +6 -0
  37. package/src/lib/components/FormFieldLabel/index.d.ts +1 -0
  38. package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +5 -3
  39. package/src/lib/components/IconWithSpinner/IconWithSpinner.js +5 -3
  40. package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +1 -0
  41. package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +1 -0
  42. package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +5 -3
  43. package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +5 -3
  44. package/src/lib/components/IconWithStatus/IconWithStatus.cjs +12 -8
  45. package/src/lib/components/IconWithStatus/IconWithStatus.d.ts +2 -1
  46. package/src/lib/components/IconWithStatus/IconWithStatus.js +12 -8
  47. package/src/lib/components/Input/Input.cjs +13 -6
  48. package/src/lib/components/Input/Input.js +13 -6
  49. package/src/lib/components/Input/Input.types.d.ts +4 -0
  50. package/src/lib/components/LogoutButton/LogoutButton.cjs +1 -0
  51. package/src/lib/components/LogoutButton/LogoutButton.js +1 -0
  52. package/src/lib/components/Modal/Modal.cjs +10 -0
  53. package/src/lib/components/Modal/Modal.d.ts +6 -0
  54. package/src/lib/components/Modal/Modal.js +6 -0
  55. package/src/lib/components/Modal/index.d.ts +1 -0
  56. package/src/lib/components/ModalCard/ModalCard.cjs +9 -0
  57. package/src/lib/components/ModalCard/ModalCard.d.ts +2 -0
  58. package/src/lib/components/ModalCard/ModalCard.js +5 -0
  59. package/src/lib/components/ModalCard/index.d.ts +1 -0
  60. package/src/lib/components/NetworkPicker/NetworkPicker.cjs +5 -1
  61. package/src/lib/components/NetworkPicker/NetworkPicker.js +5 -1
  62. package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs +7 -0
  63. package/src/lib/components/NetworkPicker/components/ActionList/ActionList.js +7 -0
  64. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +14 -7
  65. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +14 -7
  66. package/src/lib/components/NetworkPicker/components/Network/Network.cjs +10 -3
  67. package/src/lib/components/NetworkPicker/components/Network/Network.js +10 -3
  68. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +10 -3
  69. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +10 -3
  70. package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -0
  71. package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -0
  72. package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +15 -7
  73. package/src/lib/components/OTPVerificationView/OTPVerificationView.js +15 -7
  74. package/src/lib/components/OverlayCard/OverlayCard.cjs +7 -0
  75. package/src/lib/components/OverlayCard/OverlayCard.js +7 -0
  76. package/src/lib/components/Popper/Popper/Popper.cjs +54 -0
  77. package/src/lib/components/Popper/Popper/Popper.d.ts +12 -0
  78. package/src/lib/components/Popper/Popper/Popper.js +50 -0
  79. package/src/lib/components/Popper/Popper/index.d.ts +1 -0
  80. package/src/lib/components/Popper/Popper.types.d.ts +6 -0
  81. package/src/lib/components/Popper/PopperContent/PopperContent.cjs +18 -0
  82. package/src/lib/components/Popper/PopperContent/PopperContent.d.ts +9 -0
  83. package/src/lib/components/Popper/PopperContent/PopperContent.js +14 -0
  84. package/src/lib/components/Popper/PopperContent/index.d.ts +1 -0
  85. package/src/lib/components/Popper/PopperContext/PopperContext.cjs +26 -0
  86. package/src/lib/components/Popper/PopperContext/PopperContext.d.ts +8 -0
  87. package/src/lib/components/Popper/PopperContext/PopperContext.js +20 -0
  88. package/src/lib/components/Popper/PopperContext/index.d.ts +1 -0
  89. package/src/lib/components/Popper/index.d.ts +2 -0
  90. package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.cjs +14 -0
  91. package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.d.ts +2 -0
  92. package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.js +10 -0
  93. package/src/lib/components/Popper/utils/getChildPosition/index.d.ts +1 -0
  94. package/src/lib/components/Popper/utils/index.d.ts +3 -0
  95. package/src/lib/components/Popper/utils/isScrollable/index.d.ts +1 -0
  96. package/src/lib/components/Popper/utils/isScrollable/isScrollable.cjs +16 -0
  97. package/src/lib/components/Popper/utils/isScrollable/isScrollable.d.ts +1 -0
  98. package/src/lib/components/Popper/utils/isScrollable/isScrollable.js +12 -0
  99. package/src/lib/components/Popper/utils/watchToScrollInHierarchy/index.d.ts +1 -0
  100. package/src/lib/components/Popper/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.cjs +24 -0
  101. package/src/lib/components/Popper/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.d.ts +1 -0
  102. package/src/lib/components/Popper/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.js +20 -0
  103. package/src/lib/components/Portal/Portal.cjs +7 -0
  104. package/src/lib/components/Portal/Portal.js +7 -0
  105. package/src/lib/components/Select/Select.cjs +1 -0
  106. package/src/lib/components/Select/Select.js +1 -0
  107. package/src/lib/components/SelectNetworkButton/SelectNetworkButton.cjs +13 -0
  108. package/src/lib/components/SelectNetworkButton/SelectNetworkButton.d.ts +8 -0
  109. package/src/lib/components/SelectNetworkButton/SelectNetworkButton.js +9 -0
  110. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.d.ts +8 -0
  111. package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +61 -0
  112. package/src/lib/components/SendBalanceForm/SendBalanceForm.d.ts +11 -0
  113. package/src/lib/components/SendBalanceForm/SendBalanceForm.js +57 -0
  114. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +51 -0
  115. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.d.ts +19 -0
  116. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +47 -0
  117. package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +26 -0
  118. package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.d.ts +8 -0
  119. package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +22 -0
  120. package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/index.d.ts +1 -0
  121. package/src/lib/components/SendBalancePageLayout/components/index.d.ts +1 -0
  122. package/src/lib/components/SendBalancePageLayout/index.d.ts +2 -0
  123. package/src/lib/components/ShadowDOM/utils.cjs +1 -0
  124. package/src/lib/components/ShadowDOM/utils.js +1 -0
  125. package/src/lib/components/Spinner/spinner.cjs +1 -0
  126. package/src/lib/components/Spinner/spinner.js +1 -0
  127. package/src/lib/components/Step/Step.d.ts +7 -0
  128. package/src/lib/components/Step/index.d.ts +1 -0
  129. package/src/lib/components/Stepper/Stepper.d.ts +2 -0
  130. package/src/lib/components/Stepper/index.d.ts +1 -0
  131. package/src/lib/components/Toolkit/Toolkit.cjs +1 -0
  132. package/src/lib/components/Toolkit/Toolkit.js +1 -0
  133. package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +1 -0
  134. package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +1 -0
  135. package/src/lib/components/Tooltip/Tooltip.cjs +7 -0
  136. package/src/lib/components/Tooltip/Tooltip.js +7 -0
  137. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +41 -0
  138. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.d.ts +17 -0
  139. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +37 -0
  140. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.cjs +11 -0
  141. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.d.ts +12 -0
  142. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js +7 -0
  143. package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/index.d.ts +1 -0
  144. package/src/lib/components/TransactionConfirmationPageLayout/components/index.d.ts +1 -0
  145. package/src/lib/components/TransactionConfirmationPageLayout/index.d.ts +2 -0
  146. package/src/lib/components/TransactionOriginDestination/TransactionOriginDestination.d.ts +11 -0
  147. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +57 -0
  148. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.d.ts +12 -0
  149. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +53 -0
  150. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +7 -0
  151. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +7 -0
  152. package/src/lib/components/UserAddress/UserAddress.cjs +1 -0
  153. package/src/lib/components/UserAddress/UserAddress.js +1 -0
  154. package/src/lib/components/UserProfile/UserProfile.cjs +3 -2
  155. package/src/lib/components/UserProfile/UserProfile.js +2 -1
  156. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +10 -3
  157. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +10 -3
  158. package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs +3 -2
  159. package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.d.ts +2 -0
  160. package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js +3 -2
  161. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +10 -3
  162. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +10 -3
  163. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +31 -13
  164. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +31 -13
  165. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.cjs +1 -1
  166. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.d.ts +2 -0
  167. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.js +1 -1
  168. package/src/lib/components/index.d.ts +9 -0
  169. package/src/lib/config/LSSuffix.cjs +24 -0
  170. package/src/lib/config/LSSuffix.d.ts +7 -0
  171. package/src/lib/config/LSSuffix.js +22 -0
  172. package/src/lib/context/AccessDeniedContext/AccessDeniedContext.cjs +30 -0
  173. package/src/lib/context/AccessDeniedContext/AccessDeniedContext.d.ts +13 -0
  174. package/src/lib/context/AccessDeniedContext/AccessDeniedContext.js +24 -0
  175. package/src/lib/context/AccessDeniedContext/index.d.ts +1 -0
  176. package/src/lib/context/DynamicContext/DynamicContext.cjs +76 -30
  177. package/src/lib/context/DynamicContext/DynamicContext.d.ts +26 -3
  178. package/src/lib/context/DynamicContext/DynamicContext.js +73 -27
  179. package/src/lib/context/DynamicContext/helpers.cjs +5 -3
  180. package/src/lib/context/DynamicContext/helpers.js +4 -2
  181. package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +1 -0
  182. package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +1 -0
  183. package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +5 -3
  184. package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +5 -3
  185. package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +1 -0
  186. package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +1 -0
  187. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/index.d.ts +1 -0
  188. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.cjs +27 -0
  189. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.d.ts +14 -0
  190. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.js +23 -0
  191. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +7 -0
  192. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +7 -0
  193. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +1 -0
  194. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +1 -0
  195. package/src/lib/context/DynamicContext/validators.cjs +1 -0
  196. package/src/lib/context/DynamicContext/validators.js +1 -0
  197. package/src/lib/context/MockContext/MockContext.cjs +2 -0
  198. package/src/lib/context/MockContext/MockContext.js +2 -0
  199. package/src/lib/context/QrCodeContext/QrCodeContext.cjs +7 -0
  200. package/src/lib/context/QrCodeContext/QrCodeContext.js +7 -0
  201. package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +74 -0
  202. package/src/lib/context/SendBalanceContext/SendBalanceContext.d.ts +4 -0
  203. package/src/lib/context/SendBalanceContext/SendBalanceContext.errors.cjs +11 -0
  204. package/src/lib/context/SendBalanceContext/SendBalanceContext.errors.d.ts +3 -0
  205. package/src/lib/context/SendBalanceContext/SendBalanceContext.errors.js +6 -0
  206. package/src/lib/context/SendBalanceContext/SendBalanceContext.js +69 -0
  207. package/src/lib/context/SendBalanceContext/SendBalanceContext.types.d.ts +9 -0
  208. package/src/lib/context/SendBalanceContext/index.d.ts +1 -0
  209. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +103 -19
  210. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.d.ts +3 -1
  211. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +104 -20
  212. package/src/lib/context/ThemeContext/themesData.cjs +19 -18
  213. package/src/lib/context/ThemeContext/themesData.d.ts +3 -3
  214. package/src/lib/context/ThemeContext/themesData.js +19 -18
  215. package/src/lib/context/ViewContext/ViewContext.cjs +21 -12
  216. package/src/lib/context/ViewContext/ViewContext.d.ts +10 -8
  217. package/src/lib/context/ViewContext/ViewContext.js +22 -13
  218. package/src/lib/data/api.cjs +6 -2
  219. package/src/lib/data/api.d.ts +2 -2
  220. package/src/lib/data/api.js +6 -2
  221. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +10 -3
  222. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +10 -3
  223. package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs +9 -2
  224. package/src/lib/layout/DynamicAuthLayout/Footer/Footer.js +9 -2
  225. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs +9 -2
  226. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.js +9 -2
  227. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +9 -2
  228. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +9 -2
  229. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.cjs +8 -2
  230. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.js +8 -2
  231. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +14 -7
  232. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.js +14 -7
  233. package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +19 -9
  234. package/src/lib/layout/DynamicAuthLayout/Header/header.js +19 -9
  235. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.d.ts +15 -0
  236. package/src/lib/layouts/BridgeWelcomeLayout/index.d.ts +1 -0
  237. package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +69 -0
  238. package/src/lib/modals/SendBalanceModal/SendBalanceModal.d.ts +10 -0
  239. package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +65 -0
  240. package/src/lib/modals/SendBalanceModal/index.d.ts +1 -0
  241. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +19 -10
  242. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +19 -10
  243. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +35 -83
  244. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +37 -85
  245. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +0 -4
  246. package/src/lib/modals/index.d.ts +1 -0
  247. package/src/lib/shared/assets/add.cjs +8 -9
  248. package/src/lib/shared/assets/add.js +8 -9
  249. package/src/lib/shared/assets/index.d.ts +1 -0
  250. package/src/lib/shared/assets/send.cjs +56 -0
  251. package/src/lib/shared/assets/send.js +32 -0
  252. package/src/lib/shared/types/index.d.ts +14 -2
  253. package/src/lib/shared/utils/functions/ceil/ceil.cjs +10 -0
  254. package/src/lib/shared/utils/functions/ceil/ceil.d.ts +1 -0
  255. package/src/lib/shared/utils/functions/ceil/ceil.js +6 -0
  256. package/src/lib/shared/utils/functions/ceil/index.d.ts +1 -0
  257. package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.cjs +9 -10
  258. package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.d.ts +1 -1
  259. package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.js +9 -10
  260. package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +1 -0
  261. package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +1 -0
  262. package/src/lib/shared/utils/functions/index.d.ts +2 -0
  263. package/src/lib/shared/utils/functions/shortenEmail/shortenEmail.cjs +27 -0
  264. package/src/lib/shared/utils/functions/shortenEmail/shortenEmail.d.ts +6 -0
  265. package/src/lib/shared/utils/functions/shortenEmail/shortenEmail.js +23 -0
  266. package/src/lib/shared/utils/functions/storage/getDynamicLSKey.cjs +9 -0
  267. package/src/lib/shared/utils/functions/storage/getDynamicLSKey.d.ts +1 -0
  268. package/src/lib/shared/utils/functions/storage/getDynamicLSKey.js +5 -0
  269. package/src/lib/shared/utils/functions/storage/getFromLS.cjs +2 -1
  270. package/src/lib/shared/utils/functions/storage/getFromLS.js +2 -1
  271. package/src/lib/shared/utils/functions/storage/index.d.ts +2 -0
  272. package/src/lib/shared/utils/functions/storage/removeFromLS.cjs +15 -0
  273. package/src/lib/shared/utils/functions/storage/removeFromLS.d.ts +1 -0
  274. package/src/lib/shared/utils/functions/storage/removeFromLS.js +11 -0
  275. package/src/lib/shared/utils/functions/storage/setToLS.cjs +5 -2
  276. package/src/lib/shared/utils/functions/storage/setToLS.js +5 -2
  277. package/src/lib/shared/utils/functions/trimEnd/index.d.ts +1 -0
  278. package/src/lib/shared/utils/functions/trimEnd/trimEnd.cjs +13 -0
  279. package/src/lib/shared/utils/functions/trimEnd/trimEnd.d.ts +1 -0
  280. package/src/lib/shared/utils/functions/trimEnd/trimEnd.js +9 -0
  281. package/src/lib/shared/utils/hooks/index.d.ts +1 -0
  282. package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.cjs +5 -3
  283. package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.js +5 -3
  284. package/src/lib/styles/index.shadow.cjs +1 -1
  285. package/src/lib/styles/index.shadow.js +1 -1
  286. package/src/lib/utils/functions/getAppOrigin/getAppOrigin.cjs +12 -0
  287. package/src/lib/utils/functions/getAppOrigin/getAppOrigin.d.ts +1 -0
  288. package/src/lib/utils/functions/getAppOrigin/getAppOrigin.js +8 -0
  289. package/src/lib/utils/functions/getAppOrigin/index.d.ts +1 -0
  290. package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +14 -2
  291. package/src/lib/utils/functions/getAuthToken/getAuthToken.d.ts +1 -1
  292. package/src/lib/utils/functions/getAuthToken/getAuthToken.js +13 -1
  293. package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.cjs +1 -0
  294. package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.js +1 -0
  295. package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.cjs +30 -0
  296. package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.d.ts +7 -0
  297. package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.js +26 -0
  298. package/src/lib/utils/functions/getReferencedAccount/index.d.ts +1 -0
  299. package/src/lib/utils/functions/{getEnabledUserProfileFields/getEnabledUserProfileFields.cjs → getUserProfileFields/getUserProfileFields.cjs} +4 -0
  300. package/src/lib/utils/functions/{getEnabledUserProfileFields/getEnabledUserProfileFields.js → getUserProfileFields/getUserProfileFields.js} +4 -0
  301. package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +2 -0
  302. package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +1 -0
  303. package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +2 -0
  304. package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +1 -0
  305. package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +1 -0
  306. package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.d.ts +1 -0
  307. package/src/lib/utils/functions/index.d.ts +3 -0
  308. package/src/lib/utils/functions/isNetworkUnsupported/index.d.ts +1 -0
  309. package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.cjs +12 -0
  310. package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.d.ts +2 -0
  311. package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.js +8 -0
  312. package/src/lib/utils/functions/isWalletLinked/index.d.ts +1 -0
  313. package/src/lib/utils/functions/isWalletLinked/isWalletLinked.cjs +15 -0
  314. package/src/lib/utils/functions/isWalletLinked/isWalletLinked.d.ts +2 -0
  315. package/src/lib/utils/functions/isWalletLinked/isWalletLinked.js +11 -0
  316. package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.cjs +1 -0
  317. package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.js +1 -0
  318. package/src/lib/utils/functions/storeAuthToken/index.cjs +14 -2
  319. package/src/lib/utils/functions/storeAuthToken/index.js +13 -1
  320. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +2 -1
  321. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +2 -1
  322. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +1 -0
  323. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +1 -0
  324. package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +2 -0
  325. package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +2 -0
  326. package/src/lib/utils/hooks/index.d.ts +4 -0
  327. package/src/lib/utils/hooks/multiWallet/index.d.ts +1 -0
  328. package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.cjs +0 -2
  329. package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.js +0 -2
  330. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +66 -7
  331. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.d.ts +10 -3
  332. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +67 -8
  333. package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +2 -0
  334. package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +2 -0
  335. package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +2 -0
  336. package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +2 -0
  337. package/src/lib/utils/hooks/useColorSchemePreference/index.d.ts +1 -0
  338. package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.cjs +27 -0
  339. package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.d.ts +1 -0
  340. package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.js +23 -0
  341. package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.cjs +6 -1
  342. package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.js +6 -1
  343. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +1 -0
  344. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +1 -0
  345. package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +1 -0
  346. package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +1 -0
  347. package/src/lib/utils/hooks/useConnectedAccountWallet/index.d.ts +1 -0
  348. package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.cjs +30 -0
  349. package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.d.ts +2 -0
  350. package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.js +26 -0
  351. package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +1 -0
  352. package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +1 -0
  353. package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.cjs +4 -1
  354. package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.js +5 -2
  355. package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +1 -0
  356. package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +1 -0
  357. package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +1 -0
  358. package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +1 -0
  359. package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +1 -0
  360. package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +1 -0
  361. package/src/lib/utils/hooks/useGetSocialIcon/index.d.ts +1 -0
  362. package/src/lib/utils/hooks/useGetSocialIcon/useGetSocialIcon.cjs +14 -0
  363. package/src/lib/utils/hooks/useGetSocialIcon/useGetSocialIcon.d.ts +2 -0
  364. package/src/lib/utils/hooks/useGetSocialIcon/useGetSocialIcon.js +10 -0
  365. package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +26 -2
  366. package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +26 -2
  367. package/src/lib/utils/hooks/useIconThemeVariant/index.d.ts +1 -0
  368. package/src/lib/utils/hooks/useIconThemeVariant/useIconThemeVariant.cjs +15 -0
  369. package/src/lib/utils/hooks/useIconThemeVariant/useIconThemeVariant.d.ts +2 -0
  370. package/src/lib/utils/hooks/useIconThemeVariant/useIconThemeVariant.js +11 -0
  371. package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +4 -4
  372. package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +3 -3
  373. package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.cjs +1 -0
  374. package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.js +1 -0
  375. package/src/lib/utils/hooks/usePrevious/usePrevious.cjs +0 -1
  376. package/src/lib/utils/hooks/usePrevious/usePrevious.d.ts +1 -1
  377. package/src/lib/utils/hooks/usePrevious/usePrevious.js +0 -1
  378. package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +1 -0
  379. package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +1 -0
  380. package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +1 -0
  381. package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +1 -0
  382. package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs +4 -3
  383. package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js +4 -3
  384. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +20 -11
  385. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.d.ts +1 -1
  386. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +20 -11
  387. package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +39 -0
  388. package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.d.ts +8 -0
  389. package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +35 -0
  390. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +50 -73
  391. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.d.ts +2 -1
  392. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +52 -75
  393. package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +56 -0
  394. package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.d.ts +8 -0
  395. package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +52 -0
  396. package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/index.d.ts +1 -0
  397. package/src/lib/utils/hooks/useWalletConnectors/utils/index.d.ts +2 -0
  398. package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/index.d.ts +1 -0
  399. package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/primaryWalletIdValidator.cjs +7 -0
  400. package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/primaryWalletIdValidator.d.ts +1 -0
  401. package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/primaryWalletIdValidator.js +3 -0
  402. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +88 -52
  403. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +4 -2
  404. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +89 -53
  405. package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +14 -14
  406. package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +14 -14
  407. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +51 -16
  408. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +51 -16
  409. package/src/lib/utils/hooks/useWallets/useWallets.cjs +33 -27
  410. package/src/lib/utils/hooks/useWallets/useWallets.d.ts +5 -3
  411. package/src/lib/utils/hooks/useWallets/useWallets.js +34 -28
  412. package/src/lib/utils/hooks/useWalletsConnectionState/index.d.ts +1 -0
  413. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +47 -0
  414. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.d.ts +14 -0
  415. package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +43 -0
  416. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +9 -3
  417. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +9 -3
  418. package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +13 -7
  419. package/src/lib/views/CollectUserDataView/CollectUserDataView.js +13 -7
  420. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +9 -3
  421. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +9 -3
  422. package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +8 -2
  423. package/src/lib/views/CollectUserDataView/UserDataFields/index.js +8 -2
  424. package/src/lib/views/CollectUserDataView/fieldsConfig.cjs +3 -2
  425. package/src/lib/views/CollectUserDataView/fieldsConfig.js +3 -2
  426. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +9 -2
  427. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +9 -2
  428. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +11 -4
  429. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +11 -4
  430. package/src/lib/views/EmailUpdate/EmailUpdate.cjs +10 -3
  431. package/src/lib/views/EmailUpdate/EmailUpdate.js +10 -3
  432. package/src/lib/views/EmailVerification/EmailVerification.cjs +17 -9
  433. package/src/lib/views/EmailVerification/EmailVerification.js +17 -9
  434. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +7 -0
  435. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +7 -0
  436. package/src/lib/views/LoginWithEmailView/LoginWithEmailView.cjs +11 -5
  437. package/src/lib/views/LoginWithEmailView/LoginWithEmailView.js +11 -5
  438. package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs +9 -2
  439. package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.js +9 -2
  440. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs +8 -4
  441. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js +9 -5
  442. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.cjs +12 -2
  443. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.js +11 -1
  444. package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +18 -8
  445. package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +18 -8
  446. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +27 -7
  447. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +27 -7
  448. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +9 -3
  449. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +9 -3
  450. package/src/lib/views/NoAccess/NoAccess.cjs +25 -29
  451. package/src/lib/views/NoAccess/NoAccess.js +26 -30
  452. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +8 -2
  453. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +8 -2
  454. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +9 -2
  455. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +9 -2
  456. package/src/lib/views/PendingConnectView/PendingConnectView.cjs +10 -4
  457. package/src/lib/views/PendingConnectView/PendingConnectView.js +10 -4
  458. package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +14 -8
  459. package/src/lib/views/PendingSignatureView/PendingSignatureView.js +14 -8
  460. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +9 -2
  461. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +9 -2
  462. package/src/lib/views/QrCodeView/QrCodeView.cjs +9 -3
  463. package/src/lib/views/QrCodeView/QrCodeView.js +9 -3
  464. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +117 -0
  465. package/src/lib/views/SendBalanceView/SendBalanceView.d.ts +13 -0
  466. package/src/lib/views/SendBalanceView/SendBalanceView.js +113 -0
  467. package/src/lib/views/SendBalanceView/index.d.ts +1 -0
  468. package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +15 -12
  469. package/src/lib/views/SocialRedirectView/SocialRedirectView.js +15 -12
  470. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +62 -0
  471. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.d.ts +2 -0
  472. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +58 -0
  473. package/src/lib/views/SocialWrongAccountView/index.d.ts +1 -0
  474. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +95 -0
  475. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +14 -0
  476. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +91 -0
  477. package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/helpers/transactionErrorMessage.cjs +7 -1
  478. package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/helpers/transactionErrorMessage.d.ts +1 -0
  479. package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +18 -0
  480. package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/useTransactionData/useTransactionData.cjs +7 -0
  481. package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/useTransactionData/useTransactionData.js +7 -0
  482. package/src/lib/views/TransactionConfirmationView/index.d.ts +2 -0
  483. package/src/lib/views/WalletList/SearchInstead/SearchInstead.cjs +9 -2
  484. package/src/lib/views/WalletList/SearchInstead/SearchInstead.js +9 -2
  485. package/src/lib/views/WalletList/WalletList.cjs +10 -8
  486. package/src/lib/views/WalletList/WalletList.js +5 -3
  487. package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +8 -2
  488. package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +8 -2
  489. package/src/lib/views/WalletList/data.cjs +5 -5
  490. package/src/lib/views/WalletList/data.d.ts +2 -2
  491. package/src/lib/views/WalletList/data.js +5 -5
  492. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +10 -4
  493. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +10 -4
  494. package/src/lib/views/WalletUsedView/WalletUsedView.cjs +9 -3
  495. package/src/lib/views/WalletUsedView/WalletUsedView.js +9 -3
  496. package/src/lib/views/viewToComponentMap.cjs +2 -0
  497. package/src/lib/views/viewToComponentMap.js +2 -0
  498. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +46 -0
  499. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.d.ts +6 -0
  500. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +42 -0
  501. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +22 -0
  502. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.d.ts +5 -0
  503. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +18 -0
  504. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.cjs +9 -0
  505. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.d.ts +2 -0
  506. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.js +5 -0
  507. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.cjs +27 -0
  508. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.d.ts +2 -0
  509. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.js +19 -0
  510. package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.cjs +45 -0
  511. package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.d.ts +16 -0
  512. package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.js +35 -0
  513. package/src/lib/widgets/DynamicBridgeWidget/index.d.ts +1 -0
  514. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +10 -0
  515. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.d.ts +3 -0
  516. package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +5 -0
  517. package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +10 -0
  518. package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.d.ts +3 -0
  519. package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +5 -0
  520. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +10 -0
  521. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.d.ts +3 -0
  522. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +5 -0
  523. package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +9 -2
  524. package/src/lib/widgets/DynamicWidget/DynamicWidget.js +9 -2
  525. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +14 -6
  526. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +14 -6
  527. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +80 -0
  528. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.d.ts +2 -0
  529. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +76 -0
  530. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/index.d.ts +1 -0
  531. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +10 -3
  532. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +10 -3
  533. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +15 -30
  534. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +6 -2
  535. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +16 -31
  536. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +13 -5
  537. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +13 -5
  538. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.types.d.ts +3 -2
  539. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +1 -1
  540. package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +1 -1
  541. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +13 -3
  542. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +13 -3
  543. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.cjs +3 -5
  544. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.d.ts +4 -2
  545. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.js +3 -5
  546. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +9 -2
  547. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.d.ts +5 -2
  548. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +9 -2
  549. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +42 -26
  550. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.d.ts +5 -2
  551. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +44 -28
  552. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.cjs +17 -8
  553. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.js +17 -8
  554. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.cjs +9 -2
  555. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.js +9 -2
  556. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.cjs +2 -4
  557. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.d.ts +4 -0
  558. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.js +2 -4
  559. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +8 -1
  560. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +8 -1
  561. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +13 -6
  562. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +13 -6
  563. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/types.d.ts +2 -0
  564. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +2 -0
  565. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +2 -0
  566. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +12 -7
  567. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +12 -7
  568. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +10 -3
  569. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +10 -3
  570. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +21 -3
  571. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +21 -3
  572. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +9 -2
  573. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +9 -2
  574. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +10 -3
  575. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +10 -3
  576. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +34 -21
  577. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.d.ts +2 -3
  578. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +34 -21
  579. package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +6 -4
  580. package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +6 -4
  581. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +43 -6
  582. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.d.ts +2 -1
  583. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +44 -7
  584. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +9 -10
  585. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.d.ts +1 -5
  586. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +10 -11
  587. package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +5 -3
  588. package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +5 -3
  589. package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +1 -1
  590. package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +1 -1
  591. package/src/lib/widgets/DynamicWidget/{components/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs → prompts/DefaultPromptModal/DefaultPromptModal.cjs} +15 -15
  592. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +13 -0
  593. package/src/lib/widgets/DynamicWidget/{components/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js → prompts/DefaultPromptModal/DefaultPromptModal.js} +15 -15
  594. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +10 -3
  595. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +10 -3
  596. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +9 -3
  597. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +9 -3
  598. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +17 -40
  599. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +18 -41
  600. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +45 -0
  601. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.d.ts +7 -0
  602. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +41 -0
  603. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/index.d.ts +1 -0
  604. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +71 -0
  605. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.d.ts +8 -0
  606. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +67 -0
  607. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/index.d.ts +1 -0
  608. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +61 -0
  609. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.d.ts +2 -0
  610. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +57 -0
  611. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/index.d.ts +1 -0
  612. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +64 -0
  613. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.d.ts +2 -0
  614. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +60 -0
  615. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/index.d.ts +1 -0
  616. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +68 -0
  617. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.d.ts +2 -0
  618. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +64 -0
  619. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +2 -33
  620. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +2 -33
  621. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +12 -8
  622. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +13 -9
  623. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +9 -3
  624. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +9 -3
  625. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +13 -8
  626. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +13 -8
  627. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +13 -7
  628. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +13 -7
  629. package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.cjs +10 -3
  630. package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.js +10 -3
  631. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +13 -5
  632. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +12 -4
  633. package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.cjs +15 -0
  634. package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.d.ts +2 -0
  635. package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.js +11 -0
  636. package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/index.d.ts +1 -0
  637. package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -0
  638. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +9 -2
  639. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +9 -2
  640. package/src/lib/widgets/index.d.ts +1 -0
  641. package/src/polyfills.cjs +11 -0
  642. package/src/polyfills.d.ts +1 -0
  643. package/src/polyfills.js +9 -0
  644. package/src/shim/process.cjs +238 -0
  645. package/src/shim/process.d.ts +34 -0
  646. package/src/shim/process.js +234 -0
  647. package/src/lib/modals/TransactionConfirmationModal/helpers/transactionErrorMessage.js +0 -12
  648. package/src/lib/utils/functions/getSocialIcon/getSocialIcon.cjs +0 -22
  649. package/src/lib/utils/functions/getSocialIcon/getSocialIcon.d.ts +0 -3
  650. package/src/lib/utils/functions/getSocialIcon/getSocialIcon.js +0 -18
  651. package/src/lib/utils/functions/getSocialIcon/index.d.ts +0 -1
  652. package/src/lib/widgets/DynamicWidget/components/DefaultPendingSignModalContent/DefaultPendingSignModalContent.d.ts +0 -2
  653. package/src/lib/widgets/DynamicWidget/components/DefaultPendingSignModalContent/DefaultPendingSignModalContent.types.d.ts +0 -7
  654. package/src/lib/widgets/DynamicWidget/components/DotsMenuWrapper/DotsMenuWrapper.cjs +0 -68
  655. package/src/lib/widgets/DynamicWidget/components/DotsMenuWrapper/DotsMenuWrapper.js +0 -64
  656. package/src/lib/widgets/DynamicWidget/prompts/DetectedKnownSecondaryWalletModal/DetectedKnownSecondaryWalletModal.cjs +0 -59
  657. package/src/lib/widgets/DynamicWidget/prompts/DetectedKnownSecondaryWalletModal/DetectedKnownSecondaryWalletModal.d.ts +0 -6
  658. package/src/lib/widgets/DynamicWidget/prompts/DetectedKnownSecondaryWalletModal/DetectedKnownSecondaryWalletModal.js +0 -55
  659. package/src/lib/widgets/DynamicWidget/prompts/DetectedKnownSecondaryWalletModal/index.d.ts +0 -1
  660. /package/src/lib/utils/functions/{getEnabledUserProfileFields/getEnabledUserProfileFields.d.ts → getUserProfileFields/getUserProfileFields.d.ts} +0 -0
  661. /package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/index.d.ts +0 -0
  662. /package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/useTransactionData/index.d.ts +0 -0
  663. /package/src/lib/{modals/TransactionConfirmationModal → views/TransactionConfirmationView}/hooks/useTransactionData/useTransactionData.d.ts +0 -0
  664. /package/src/lib/widgets/DynamicWidget/{components → prompts/PendingSignModal}/DefaultPendingSignModalContent/index.d.ts +0 -0
@@ -4,6 +4,7 @@ import { useFooterAnimationContext } from '../../../context/FooterAnimationConte
4
4
  import { useThemeContext } from '../../../context/ThemeContext/ThemeContext.js';
5
5
  import '@dynamic-labs/sdk-api';
6
6
  import '../../../shared/logger.js';
7
+ import '../../../config/LSSuffix.js';
7
8
  import '@dynamic-labs/iconic';
8
9
  import '@dynamic-labs/wallet-connector-core';
9
10
  import '../../../context/ViewContext/ViewContext.js';
@@ -26,11 +27,17 @@ import '../../../components/Transition/OpacityTransition/OpacityTransition.js';
26
27
  import '../../../config/ApiEndpoint.js';
27
28
  import '@dynamic-labs/rpc-providers';
28
29
  import '../../../context/ErrorContext/ErrorContext.js';
30
+ import '../../../context/AccessDeniedContext/AccessDeniedContext.js';
31
+ import '../../../components/IconButton/IconButton.js';
32
+ import '@dynamic-labs/wallet-book';
33
+ import '../../../components/Alert/Alert.js';
29
34
  import '../../../context/MockContext/MockContext.js';
30
35
  import '../../../context/CaptchaContext/CaptchaContext.js';
31
36
  import '../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
32
- import '../../../components/IconButton/IconButton.js';
33
- import '../../../components/Alert/Alert.js';
37
+ import '../../../components/Popper/Popper/Popper.js';
38
+ import '../../../components/Popper/PopperContext/PopperContext.js';
39
+ import 'formik';
40
+ import 'yup';
34
41
 
35
42
  const Footer = ({ heading, icon, projectSettings }) => {
36
43
  const { theme } = useThemeContext();
@@ -7,6 +7,7 @@ require('react');
7
7
  var Typography = require('../../../../../components/Typography/Typography.cjs');
8
8
  require('@dynamic-labs/sdk-api');
9
9
  require('../../../../../shared/logger.cjs');
10
+ require('../../../../../config/LSSuffix.cjs');
10
11
  require('@dynamic-labs/iconic');
11
12
  require('@dynamic-labs/wallet-connector-core');
12
13
  require('../../../../../context/ViewContext/ViewContext.cjs');
@@ -26,11 +27,17 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
26
27
  require('../../../../../config/ApiEndpoint.cjs');
27
28
  require('@dynamic-labs/rpc-providers');
28
29
  require('../../../../../context/ErrorContext/ErrorContext.cjs');
30
+ require('../../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
31
+ require('../../../../../components/IconButton/IconButton.cjs');
32
+ require('@dynamic-labs/wallet-book');
33
+ require('../../../../../components/Alert/Alert.cjs');
29
34
  require('../../../../../context/MockContext/MockContext.cjs');
30
35
  require('../../../../../context/CaptchaContext/CaptchaContext.cjs');
31
36
  require('../../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
32
- require('../../../../../components/IconButton/IconButton.cjs');
33
- require('../../../../../components/Alert/Alert.cjs');
37
+ require('../../../../../components/Popper/Popper/Popper.cjs');
38
+ require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
39
+ require('formik');
40
+ require('yup');
34
41
 
35
42
  const Item = ({ heading, StartIcon, EndIcon, message, url, }) => (jsxRuntime.jsxs("a", Object.assign({ className: 'footer-buttons-item', href: url, rel: 'noopener noreferrer', target: '_blank' }, { children: [jsxRuntime.jsx("div", Object.assign({ className: 'footer-buttons-item__icon--left' }, { children: jsxRuntime.jsx(StartIcon, {}) })), jsxRuntime.jsxs("div", Object.assign({ className: 'footer-buttons-item__typography' }, { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ as: 'h2', weight: 'regular', color: 'primary', variant: 'body_normal' }, { children: heading })), message && (jsxRuntime.jsx(Typography.Typography, Object.assign({ as: 'p', weight: 'regular', color: 'secondary' }, { children: message })))] })), EndIcon && jsxRuntime.jsx(EndIcon, { style: { height: '1.5rem', width: '1.5rem' } })] })));
36
43
 
@@ -3,6 +3,7 @@ import 'react';
3
3
  import { Typography } from '../../../../../components/Typography/Typography.js';
4
4
  import '@dynamic-labs/sdk-api';
5
5
  import '../../../../../shared/logger.js';
6
+ import '../../../../../config/LSSuffix.js';
6
7
  import '@dynamic-labs/iconic';
7
8
  import '@dynamic-labs/wallet-connector-core';
8
9
  import '../../../../../context/ViewContext/ViewContext.js';
@@ -22,11 +23,17 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
22
23
  import '../../../../../config/ApiEndpoint.js';
23
24
  import '@dynamic-labs/rpc-providers';
24
25
  import '../../../../../context/ErrorContext/ErrorContext.js';
26
+ import '../../../../../context/AccessDeniedContext/AccessDeniedContext.js';
27
+ import '../../../../../components/IconButton/IconButton.js';
28
+ import '@dynamic-labs/wallet-book';
29
+ import '../../../../../components/Alert/Alert.js';
25
30
  import '../../../../../context/MockContext/MockContext.js';
26
31
  import '../../../../../context/CaptchaContext/CaptchaContext.js';
27
32
  import '../../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
28
- import '../../../../../components/IconButton/IconButton.js';
29
- import '../../../../../components/Alert/Alert.js';
33
+ import '../../../../../components/Popper/Popper/Popper.js';
34
+ import '../../../../../components/Popper/PopperContext/PopperContext.js';
35
+ import 'formik';
36
+ import 'yup';
30
37
 
31
38
  const Item = ({ heading, StartIcon, EndIcon, message, url, }) => (jsxs("a", Object.assign({ className: 'footer-buttons-item', href: url, rel: 'noopener noreferrer', target: '_blank' }, { children: [jsx("div", Object.assign({ className: 'footer-buttons-item__icon--left' }, { children: jsx(StartIcon, {}) })), jsxs("div", Object.assign({ className: 'footer-buttons-item__typography' }, { children: [jsx(Typography, Object.assign({ as: 'h2', weight: 'regular', color: 'primary', variant: 'body_normal' }, { children: heading })), message && (jsx(Typography, Object.assign({ as: 'p', weight: 'regular', color: 'secondary' }, { children: message })))] })), EndIcon && jsx(EndIcon, { style: { height: '1.5rem', width: '1.5rem' } })] })));
32
39
 
@@ -8,6 +8,7 @@ require('react');
8
8
  var Typography = require('../../../../../components/Typography/Typography.cjs');
9
9
  require('@dynamic-labs/sdk-api');
10
10
  require('../../../../../shared/logger.cjs');
11
+ require('../../../../../config/LSSuffix.cjs');
11
12
  var setToLS = require('../../../../../shared/utils/functions/storage/setToLS.cjs');
12
13
  require('@dynamic-labs/iconic');
13
14
  require('@dynamic-labs/wallet-connector-core');
@@ -28,11 +29,17 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
28
29
  require('../../../../../config/ApiEndpoint.cjs');
29
30
  require('@dynamic-labs/rpc-providers');
30
31
  require('../../../../../context/ErrorContext/ErrorContext.cjs');
32
+ require('../../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
33
+ require('../../../../../components/IconButton/IconButton.cjs');
34
+ require('@dynamic-labs/wallet-book');
35
+ require('../../../../../components/Alert/Alert.cjs');
31
36
  require('../../../../../context/MockContext/MockContext.cjs');
32
37
  require('../../../../../context/CaptchaContext/CaptchaContext.cjs');
33
38
  require('../../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
34
- require('../../../../../components/IconButton/IconButton.cjs');
35
- require('../../../../../components/Alert/Alert.cjs');
39
+ require('../../../../../components/Popper/Popper/Popper.cjs');
40
+ require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
41
+ require('formik');
42
+ require('yup');
36
43
  var NewToWeb3WalletItem = require('../NewToWeb3WalletItem/NewToWeb3WalletItem.cjs');
37
44
 
38
45
  const WalletExtensionOrAppContinueButton = ({ wallet, selectedUrl, }) => {
@@ -4,6 +4,7 @@ import 'react';
4
4
  import { Typography } from '../../../../../components/Typography/Typography.js';
5
5
  import '@dynamic-labs/sdk-api';
6
6
  import '../../../../../shared/logger.js';
7
+ import '../../../../../config/LSSuffix.js';
7
8
  import { setToLS } from '../../../../../shared/utils/functions/storage/setToLS.js';
8
9
  import '@dynamic-labs/iconic';
9
10
  import '@dynamic-labs/wallet-connector-core';
@@ -24,11 +25,17 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
24
25
  import '../../../../../config/ApiEndpoint.js';
25
26
  import '@dynamic-labs/rpc-providers';
26
27
  import '../../../../../context/ErrorContext/ErrorContext.js';
28
+ import '../../../../../context/AccessDeniedContext/AccessDeniedContext.js';
29
+ import '../../../../../components/IconButton/IconButton.js';
30
+ import '@dynamic-labs/wallet-book';
31
+ import '../../../../../components/Alert/Alert.js';
27
32
  import '../../../../../context/MockContext/MockContext.js';
28
33
  import '../../../../../context/CaptchaContext/CaptchaContext.js';
29
34
  import '../../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
30
- import '../../../../../components/IconButton/IconButton.js';
31
- import '../../../../../components/Alert/Alert.js';
35
+ import '../../../../../components/Popper/Popper/Popper.js';
36
+ import '../../../../../components/Popper/PopperContext/PopperContext.js';
37
+ import 'formik';
38
+ import 'yup';
32
39
  import { NewToWeb3WalletItem } from '../NewToWeb3WalletItem/NewToWeb3WalletItem.js';
33
40
 
34
41
  const WalletExtensionOrAppContinueButton = ({ wallet, selectedUrl, }) => {
@@ -11,6 +11,7 @@ var utils = require('@dynamic-labs/utils');
11
11
  var useInternalDynamicContext = require('../../../../context/DynamicContext/useInternalDynamicContext.cjs');
12
12
  require('@dynamic-labs/sdk-api');
13
13
  require('../../../../shared/logger.cjs');
14
+ require('../../../../config/LSSuffix.cjs');
14
15
  require('../../../../context/ViewContext/ViewContext.cjs');
15
16
  var puzzle = require('../../../../shared/assets/puzzle.cjs');
16
17
  var index = require('../../../../shared/utils/functions/getValueByKey/index.cjs');
@@ -31,12 +32,17 @@ require('../../../../components/Transition/OpacityTransition/OpacityTransition.c
31
32
  require('../../../../config/ApiEndpoint.cjs');
32
33
  require('@dynamic-labs/rpc-providers');
33
34
  require('../../../../context/ErrorContext/ErrorContext.cjs');
35
+ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
36
+ require('../../../../components/IconButton/IconButton.cjs');
37
+ require('../../../../components/Alert/Alert.cjs');
34
38
  require('../../../../context/MockContext/MockContext.cjs');
35
39
  require('../../../../context/CaptchaContext/CaptchaContext.cjs');
36
40
  require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
37
- require('../../../../components/IconButton/IconButton.cjs');
38
41
  var EnterTileAnimation = require('../../../../components/EnterTileAnimation/EnterTileAnimation.cjs');
39
- require('../../../../components/Alert/Alert.cjs');
42
+ require('../../../../components/Popper/Popper/Popper.cjs');
43
+ require('../../../../components/Popper/PopperContext/PopperContext.cjs');
44
+ require('formik');
45
+ require('yup');
40
46
  var NewToWeb3WalletItem = require('./NewToWeb3WalletItem/NewToWeb3WalletItem.cjs');
41
47
  var Item = require('./Item/Item.cjs');
42
48
  var WalletExtensionOrAppContinueButton = require('./WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs');
@@ -7,6 +7,7 @@ import { isMobile } from '@dynamic-labs/utils';
7
7
  import { useInternalDynamicContext } from '../../../../context/DynamicContext/useInternalDynamicContext.js';
8
8
  import '@dynamic-labs/sdk-api';
9
9
  import '../../../../shared/logger.js';
10
+ import '../../../../config/LSSuffix.js';
10
11
  import '../../../../context/ViewContext/ViewContext.js';
11
12
  import { ReactComponent as SvgPuzzle } from '../../../../shared/assets/puzzle.js';
12
13
  import { getValueByKey } from '../../../../shared/utils/functions/getValueByKey/index.js';
@@ -27,12 +28,17 @@ import '../../../../components/Transition/OpacityTransition/OpacityTransition.js
27
28
  import '../../../../config/ApiEndpoint.js';
28
29
  import '@dynamic-labs/rpc-providers';
29
30
  import '../../../../context/ErrorContext/ErrorContext.js';
31
+ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
32
+ import '../../../../components/IconButton/IconButton.js';
33
+ import '../../../../components/Alert/Alert.js';
30
34
  import '../../../../context/MockContext/MockContext.js';
31
35
  import '../../../../context/CaptchaContext/CaptchaContext.js';
32
36
  import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
33
- import '../../../../components/IconButton/IconButton.js';
34
37
  import { EnterTileAnimation } from '../../../../components/EnterTileAnimation/EnterTileAnimation.js';
35
- import '../../../../components/Alert/Alert.js';
38
+ import '../../../../components/Popper/Popper/Popper.js';
39
+ import '../../../../components/Popper/PopperContext/PopperContext.js';
40
+ import 'formik';
41
+ import 'yup';
36
42
  import { NewToWeb3WalletItem } from './NewToWeb3WalletItem/NewToWeb3WalletItem.js';
37
43
  import { Item } from './Item/Item.js';
38
44
  import { WalletExtensionOrAppContinueButton } from './WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js';
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var multiWallet = require('@dynamic-labs/multi-wallet');
6
+ var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
7
7
  require('react');
8
8
  var Typography = require('../../../../components/Typography/Typography.cjs');
9
9
  require('@dynamic-labs/sdk-api');
10
10
  require('../../../../shared/logger.cjs');
11
+ require('../../../../config/LSSuffix.cjs');
11
12
  require('@dynamic-labs/iconic');
12
- require('@dynamic-labs/wallet-connector-core');
13
13
  require('../../../../context/ViewContext/ViewContext.cjs');
14
14
  var footerEyeIcon = require('../../../../shared/assets/footer-eye-icon.cjs');
15
15
  var footerGasIcon = require('../../../../shared/assets/footer-gas-icon.cjs');
@@ -19,6 +19,7 @@ require('../../../../utils/constants/colors.cjs');
19
19
  require('ethers');
20
20
  require('../../../../shared/consts/index.cjs');
21
21
  require('../../../../context/DynamicContext/DynamicContext.cjs');
22
+ require('@dynamic-labs/multi-wallet');
22
23
  require('../../../../components/ShadowDOM/ShadowDOM.cjs');
23
24
  require('../../../../context/ThemeContext/ThemeContext.cjs');
24
25
  var InfoItem = require('../../../../components/InfoItem/InfoItem.cjs');
@@ -30,13 +31,19 @@ require('../../../../components/Transition/OpacityTransition/OpacityTransition.c
30
31
  require('../../../../config/ApiEndpoint.cjs');
31
32
  require('@dynamic-labs/rpc-providers');
32
33
  require('../../../../context/ErrorContext/ErrorContext.cjs');
34
+ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
35
+ require('../../../../components/IconButton/IconButton.cjs');
36
+ require('@dynamic-labs/wallet-book');
37
+ var PoweredByDynamic = require('../../../../components/PoweredByDynamic/PoweredByDynamic.cjs');
38
+ require('../../../../components/Alert/Alert.cjs');
33
39
  require('../../../../context/MockContext/MockContext.cjs');
34
40
  require('../../../../context/CaptchaContext/CaptchaContext.cjs');
35
41
  require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
36
- require('../../../../components/IconButton/IconButton.cjs');
37
42
  var EnterTileAnimation = require('../../../../components/EnterTileAnimation/EnterTileAnimation.cjs');
38
- require('../../../../components/Alert/Alert.cjs');
39
- var PoweredByDynamic = require('../../../../components/PoweredByDynamic/PoweredByDynamic.cjs');
43
+ require('../../../../components/Popper/Popper/Popper.cjs');
44
+ require('../../../../components/Popper/PopperContext/PopperContext.cjs');
45
+ require('formik');
46
+ require('yup');
40
47
 
41
48
  const WalletMoreInfoContent = ({ appName, variant, walletName, }) => {
42
49
  const defaultSignContent = {
@@ -52,7 +59,7 @@ const WalletMoreInfoContent = ({ appName, variant, walletName, }) => {
52
59
  },
53
60
  ],
54
61
  };
55
- const signInfoMessage = walletName === multiWallet.phantomLedgerWalletName
62
+ const signInfoMessage = walletName === walletConnectorCore.PhantomLedgerWalletName
56
63
  ? {
57
64
  info: [
58
65
  {
@@ -63,7 +70,7 @@ const WalletMoreInfoContent = ({ appName, variant, walletName, }) => {
63
70
  {
64
71
  content: (jsxRuntime.jsxs("div", Object.assign({ className: 'footer-more-info-content__item--phantom-ledger' }, { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ as: 'p', variant: 'body_small', weight: 'regular' }, { children: "Ledger does not support message signing functionality, commonly used to log in to sites. Instead, we sign a transaction as a proxy to prove ownership of the wallet." })), jsxRuntime.jsxs(Typography.Typography, Object.assign({ as: 'p', variant: 'body_small', weight: 'regular' }, { children: [jsxRuntime.jsx("strong", { children: "Important" }), ": we do not", ' ', jsxRuntime.jsx("strong", { children: "broadcast" }), " this transaction, meaning Ledger based login will still be gasless."] })), jsxRuntime.jsx(Typography.Typography, Object.assign({ as: 'p', variant: 'body_small', weight: 'regular' }, { children: "Phantom in turn shows that a fee may apply as part of the \u201Ctransaction\u201D." })), jsxRuntime.jsx(Typography.Typography, Object.assign({ as: 'p', variant: 'body_small', weight: 'regular' }, { children: "As always, please be cautious of the extensions and websites you use to prevent unwanted transactions from being broadcasted to the network." }))] }))),
65
72
  icon: footerGasIcon.ReactComponent,
66
- title: walletName === multiWallet.phantomLedgerWalletName
73
+ title: walletName === walletConnectorCore.PhantomLedgerWalletName
67
74
  ? 'Why do I see a fee when using ledger'
68
75
  : 'There are no associated gas costs',
69
76
  },
@@ -1,11 +1,11 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { phantomLedgerWalletName } from '@dynamic-labs/multi-wallet';
2
+ import { PhantomLedgerWalletName } from '@dynamic-labs/wallet-connector-core';
3
3
  import 'react';
4
4
  import { Typography } from '../../../../components/Typography/Typography.js';
5
5
  import '@dynamic-labs/sdk-api';
6
6
  import '../../../../shared/logger.js';
7
+ import '../../../../config/LSSuffix.js';
7
8
  import '@dynamic-labs/iconic';
8
- import '@dynamic-labs/wallet-connector-core';
9
9
  import '../../../../context/ViewContext/ViewContext.js';
10
10
  import { ReactComponent as SvgFooterEyeIcon } from '../../../../shared/assets/footer-eye-icon.js';
11
11
  import { ReactComponent as SvgFooterGasIcon } from '../../../../shared/assets/footer-gas-icon.js';
@@ -15,6 +15,7 @@ import '../../../../utils/constants/colors.js';
15
15
  import 'ethers';
16
16
  import '../../../../shared/consts/index.js';
17
17
  import '../../../../context/DynamicContext/DynamicContext.js';
18
+ import '@dynamic-labs/multi-wallet';
18
19
  import '../../../../components/ShadowDOM/ShadowDOM.js';
19
20
  import '../../../../context/ThemeContext/ThemeContext.js';
20
21
  import { InfoItem } from '../../../../components/InfoItem/InfoItem.js';
@@ -26,13 +27,19 @@ import '../../../../components/Transition/OpacityTransition/OpacityTransition.js
26
27
  import '../../../../config/ApiEndpoint.js';
27
28
  import '@dynamic-labs/rpc-providers';
28
29
  import '../../../../context/ErrorContext/ErrorContext.js';
30
+ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
31
+ import '../../../../components/IconButton/IconButton.js';
32
+ import '@dynamic-labs/wallet-book';
33
+ import { PoweredByDynamic } from '../../../../components/PoweredByDynamic/PoweredByDynamic.js';
34
+ import '../../../../components/Alert/Alert.js';
29
35
  import '../../../../context/MockContext/MockContext.js';
30
36
  import '../../../../context/CaptchaContext/CaptchaContext.js';
31
37
  import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
32
- import '../../../../components/IconButton/IconButton.js';
33
38
  import { EnterTileAnimation } from '../../../../components/EnterTileAnimation/EnterTileAnimation.js';
34
- import '../../../../components/Alert/Alert.js';
35
- import { PoweredByDynamic } from '../../../../components/PoweredByDynamic/PoweredByDynamic.js';
39
+ import '../../../../components/Popper/Popper/Popper.js';
40
+ import '../../../../components/Popper/PopperContext/PopperContext.js';
41
+ import 'formik';
42
+ import 'yup';
36
43
 
37
44
  const WalletMoreInfoContent = ({ appName, variant, walletName, }) => {
38
45
  const defaultSignContent = {
@@ -48,7 +55,7 @@ const WalletMoreInfoContent = ({ appName, variant, walletName, }) => {
48
55
  },
49
56
  ],
50
57
  };
51
- const signInfoMessage = walletName === phantomLedgerWalletName
58
+ const signInfoMessage = walletName === PhantomLedgerWalletName
52
59
  ? {
53
60
  info: [
54
61
  {
@@ -59,7 +66,7 @@ const WalletMoreInfoContent = ({ appName, variant, walletName, }) => {
59
66
  {
60
67
  content: (jsxs("div", Object.assign({ className: 'footer-more-info-content__item--phantom-ledger' }, { children: [jsx(Typography, Object.assign({ as: 'p', variant: 'body_small', weight: 'regular' }, { children: "Ledger does not support message signing functionality, commonly used to log in to sites. Instead, we sign a transaction as a proxy to prove ownership of the wallet." })), jsxs(Typography, Object.assign({ as: 'p', variant: 'body_small', weight: 'regular' }, { children: [jsx("strong", { children: "Important" }), ": we do not", ' ', jsx("strong", { children: "broadcast" }), " this transaction, meaning Ledger based login will still be gasless."] })), jsx(Typography, Object.assign({ as: 'p', variant: 'body_small', weight: 'regular' }, { children: "Phantom in turn shows that a fee may apply as part of the \u201Ctransaction\u201D." })), jsx(Typography, Object.assign({ as: 'p', variant: 'body_small', weight: 'regular' }, { children: "As always, please be cautious of the extensions and websites you use to prevent unwanted transactions from being broadcasted to the network." }))] }))),
61
68
  icon: SvgFooterGasIcon,
62
- title: walletName === phantomLedgerWalletName
69
+ title: walletName === PhantomLedgerWalletName
63
70
  ? 'Why do I see a fee when using ledger'
64
71
  : 'There are no associated gas costs',
65
72
  },
@@ -7,6 +7,7 @@ var React = require('react');
7
7
  var Typography = require('../../../components/Typography/Typography.cjs');
8
8
  require('@dynamic-labs/sdk-api');
9
9
  require('../../../shared/logger.cjs');
10
+ require('../../../config/LSSuffix.cjs');
10
11
  require('@dynamic-labs/iconic');
11
12
  require('@dynamic-labs/wallet-connector-core');
12
13
  var ViewContext = require('../../../context/ViewContext/ViewContext.cjs');
@@ -28,23 +29,32 @@ require('../../../components/Transition/OpacityTransition/OpacityTransition.cjs'
28
29
  require('../../../config/ApiEndpoint.cjs');
29
30
  require('@dynamic-labs/rpc-providers');
30
31
  require('../../../context/ErrorContext/ErrorContext.cjs');
31
- require('../../../context/MockContext/MockContext.cjs');
32
- require('../../../context/CaptchaContext/CaptchaContext.cjs');
33
- require('../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
34
- var IconButton = require('../../../components/IconButton/IconButton.cjs');
32
+ require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
35
33
  var ModalHeader = require('../../../components/ModalHeader/ModalHeader.cjs');
34
+ var IconButton = require('../../../components/IconButton/IconButton.cjs');
35
+ require('@dynamic-labs/wallet-book');
36
36
  require('../../../components/Alert/Alert.cjs');
37
37
  var Skeleton = require('../../../components/Skeleton/Skeleton.cjs');
38
+ require('../../../context/MockContext/MockContext.cjs');
39
+ require('../../../context/CaptchaContext/CaptchaContext.cjs');
40
+ require('../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
41
+ require('../../../components/Popper/Popper/Popper.cjs');
42
+ require('../../../components/Popper/PopperContext/PopperContext.cjs');
43
+ require('formik');
44
+ require('yup');
38
45
  var QrCodeContext = require('../../../context/QrCodeContext/QrCodeContext.cjs');
39
46
 
40
47
  const Header = ({ onClose: handleClose, heading, projectSettings, }) => {
41
- const { clearStatesOnBackClick, loginWithEmail } = useInternalDynamicContext.useInternalDynamicContext();
48
+ const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext.useInternalDynamicContext();
42
49
  const { showQrCodeMessage, setShowQrCodeImage, showQrCodeImage } = QrCodeContext.useQrCodeContext();
43
- const { view, setView } = ViewContext.useViewContext();
50
+ const { view, goToInitialView } = ViewContext.useViewContext();
44
51
  const handleBackClick = React.useCallback(() => {
45
- clearStatesOnBackClick();
46
- setView(loginWithEmail ? 'login-with-email-or-wallet' : 'wallet-list');
47
- }, [clearStatesOnBackClick, loginWithEmail, setView]);
52
+ goToInitialView();
53
+ // on back button click in Coinbase wallet clearing state would kill connection and refresh the page
54
+ if ((selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name) !== 'Coinbase') {
55
+ clearStatesOnBackClick();
56
+ }
57
+ }, [clearStatesOnBackClick, selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name, goToInitialView]);
48
58
  const positionAbsolute = view === 'login-with-email-verification';
49
59
  const showCloseButton = view !== 'login-with-email-or-wallet-full-wallet-list' &&
50
60
  view !== 'login-with-email-verification';
@@ -3,6 +3,7 @@ import { useCallback } from 'react';
3
3
  import { Typography } from '../../../components/Typography/Typography.js';
4
4
  import '@dynamic-labs/sdk-api';
5
5
  import '../../../shared/logger.js';
6
+ import '../../../config/LSSuffix.js';
6
7
  import '@dynamic-labs/iconic';
7
8
  import '@dynamic-labs/wallet-connector-core';
8
9
  import { useViewContext } from '../../../context/ViewContext/ViewContext.js';
@@ -24,23 +25,32 @@ import '../../../components/Transition/OpacityTransition/OpacityTransition.js';
24
25
  import '../../../config/ApiEndpoint.js';
25
26
  import '@dynamic-labs/rpc-providers';
26
27
  import '../../../context/ErrorContext/ErrorContext.js';
27
- import '../../../context/MockContext/MockContext.js';
28
- import '../../../context/CaptchaContext/CaptchaContext.js';
29
- import '../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
30
- import { IconButton } from '../../../components/IconButton/IconButton.js';
28
+ import '../../../context/AccessDeniedContext/AccessDeniedContext.js';
31
29
  import { ModalHeader } from '../../../components/ModalHeader/ModalHeader.js';
30
+ import { IconButton } from '../../../components/IconButton/IconButton.js';
31
+ import '@dynamic-labs/wallet-book';
32
32
  import '../../../components/Alert/Alert.js';
33
33
  import { Skeleton } from '../../../components/Skeleton/Skeleton.js';
34
+ import '../../../context/MockContext/MockContext.js';
35
+ import '../../../context/CaptchaContext/CaptchaContext.js';
36
+ import '../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
37
+ import '../../../components/Popper/Popper/Popper.js';
38
+ import '../../../components/Popper/PopperContext/PopperContext.js';
39
+ import 'formik';
40
+ import 'yup';
34
41
  import { useQrCodeContext } from '../../../context/QrCodeContext/QrCodeContext.js';
35
42
 
36
43
  const Header = ({ onClose: handleClose, heading, projectSettings, }) => {
37
- const { clearStatesOnBackClick, loginWithEmail } = useInternalDynamicContext();
44
+ const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext();
38
45
  const { showQrCodeMessage, setShowQrCodeImage, showQrCodeImage } = useQrCodeContext();
39
- const { view, setView } = useViewContext();
46
+ const { view, goToInitialView } = useViewContext();
40
47
  const handleBackClick = useCallback(() => {
41
- clearStatesOnBackClick();
42
- setView(loginWithEmail ? 'login-with-email-or-wallet' : 'wallet-list');
43
- }, [clearStatesOnBackClick, loginWithEmail, setView]);
48
+ goToInitialView();
49
+ // on back button click in Coinbase wallet clearing state would kill connection and refresh the page
50
+ if ((selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name) !== 'Coinbase') {
51
+ clearStatesOnBackClick();
52
+ }
53
+ }, [clearStatesOnBackClick, selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name, goToInitialView]);
44
54
  const positionAbsolute = view === 'login-with-email-verification';
45
55
  const showCloseButton = view !== 'login-with-email-or-wallet-full-wallet-list' &&
46
56
  view !== 'login-with-email-verification';
@@ -0,0 +1,15 @@
1
+ import { FC, MouseEventHandler, ReactNode } from 'react';
2
+ type BridgeWelcomeLayoutProps = {
3
+ title: ReactNode;
4
+ body: ReactNode;
5
+ actionButtonText: ReactNode;
6
+ chains?: {
7
+ id: number;
8
+ name: string;
9
+ icon: ReactNode;
10
+ }[];
11
+ onClickClose?: MouseEventHandler<HTMLButtonElement>;
12
+ onClickAction?: MouseEventHandler<HTMLButtonElement>;
13
+ };
14
+ export declare const BridgeWelcomeLayout: FC<BridgeWelcomeLayoutProps>;
15
+ export {};
@@ -0,0 +1 @@
1
+ export { BridgeWelcomeLayout } from './BridgeWelcomeLayout';
@@ -0,0 +1,69 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var React = require('react');
7
+ require('@dynamic-labs/sdk-api');
8
+ require('../../shared/logger.cjs');
9
+ require('../../config/LSSuffix.cjs');
10
+ require('@dynamic-labs/iconic');
11
+ require('@dynamic-labs/wallet-connector-core');
12
+ require('../../context/ViewContext/ViewContext.cjs');
13
+ require('@dynamic-labs/utils');
14
+ require('../../utils/constants/colors.cjs');
15
+ require('ethers');
16
+ var usePreventPageScroll = require('../../shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs');
17
+ var index = require('../../shared/consts/index.cjs');
18
+ require('../../context/DynamicContext/DynamicContext.cjs');
19
+ require('@dynamic-labs/multi-wallet');
20
+ require('../../components/ShadowDOM/ShadowDOM.cjs');
21
+ require('../../context/ThemeContext/ThemeContext.cjs');
22
+ var Portal = require('../../components/Portal/Portal.cjs');
23
+ require('react-dom');
24
+ require('../../config/ApiEndpoint.cjs');
25
+ require('@dynamic-labs/rpc-providers');
26
+ require('../../context/ErrorContext/ErrorContext.cjs');
27
+ require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
28
+ var SendBalanceView = require('../../views/SendBalanceView/SendBalanceView.cjs');
29
+ require('../../context/MockContext/MockContext.cjs');
30
+ require('../../context/CaptchaContext/CaptchaContext.cjs');
31
+ require('../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
32
+ require('../../components/IconButton/IconButton.cjs');
33
+ require('../../components/Alert/Alert.cjs');
34
+ require('@dynamic-labs/wallet-book');
35
+ require('../../components/Transition/ZoomTransition/ZoomTransition.cjs');
36
+ require('../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
37
+ require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
38
+ var VerticalDrawerTransition = require('../../components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs');
39
+ require('../../components/Popper/Popper/Popper.cjs');
40
+ require('../../components/Popper/PopperContext/PopperContext.cjs');
41
+ require('formik');
42
+ require('yup');
43
+ var Modal = require('../../components/Modal/Modal.cjs');
44
+ var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
45
+
46
+ const SendBalanceModal = ({ initialRecipientAddress, initialValue, onReject, onSuccess, }) => {
47
+ usePreventPageScroll.usePreventPageScroll(true);
48
+ const [show, setShow] = React.useState(true);
49
+ const errorRef = React.useRef(null);
50
+ const transactionRef = React.useRef(null);
51
+ const handleOnModalUnmount = React.useCallback(() => {
52
+ if (transactionRef.current) {
53
+ onSuccess(transactionRef.current);
54
+ return;
55
+ }
56
+ onReject(errorRef.current || new Error('user rejected transaction'));
57
+ }, [onReject, onSuccess]);
58
+ const closeModal = () => {
59
+ setShow(false);
60
+ };
61
+ return (jsxRuntime.jsx(Portal.Portal, Object.assign({ handleClose: closeModal, isShown: show, zIndex: index.authModalZIndex, withBackdrop: true, elementId: 'dynamic-send-balance', transitionEvents: {
62
+ onUnmount: handleOnModalUnmount,
63
+ } }, { children: jsxRuntime.jsx(Modal.Modal, { children: jsxRuntime.jsx(ModalCard.ModalCard, { children: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, Object.assign({ isShown: true }, { children: jsxRuntime.jsx(SendBalanceView.SendBalanceView, { initialRecipientAddress: initialRecipientAddress, initialValue: initialValue, onError: (error) => (errorRef.current = error), onClickClose: closeModal, onDone: closeModal, displayPoweredByDynamicFooter: true, onSuccess: (transaction) => {
64
+ errorRef.current = null;
65
+ transactionRef.current = transaction;
66
+ } }) })) }) }) })));
67
+ };
68
+
69
+ exports.SendBalanceModal = SendBalanceModal;
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { ethers } from 'ethers';
3
+ type SendBalanceModalProps = {
4
+ initialRecipientAddress?: string;
5
+ initialValue?: ethers.BigNumber;
6
+ onReject: (error: unknown) => void;
7
+ onSuccess: (transaction: ethers.providers.TransactionResponse) => void;
8
+ };
9
+ export declare const SendBalanceModal: FC<SendBalanceModalProps>;
10
+ export {};
@@ -0,0 +1,65 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { useState, useRef, useCallback } from 'react';
3
+ import '@dynamic-labs/sdk-api';
4
+ import '../../shared/logger.js';
5
+ import '../../config/LSSuffix.js';
6
+ import '@dynamic-labs/iconic';
7
+ import '@dynamic-labs/wallet-connector-core';
8
+ import '../../context/ViewContext/ViewContext.js';
9
+ import '@dynamic-labs/utils';
10
+ import '../../utils/constants/colors.js';
11
+ import 'ethers';
12
+ import { usePreventPageScroll } from '../../shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js';
13
+ import { authModalZIndex } from '../../shared/consts/index.js';
14
+ import '../../context/DynamicContext/DynamicContext.js';
15
+ import '@dynamic-labs/multi-wallet';
16
+ import '../../components/ShadowDOM/ShadowDOM.js';
17
+ import '../../context/ThemeContext/ThemeContext.js';
18
+ import { Portal } from '../../components/Portal/Portal.js';
19
+ import 'react-dom';
20
+ import '../../config/ApiEndpoint.js';
21
+ import '@dynamic-labs/rpc-providers';
22
+ import '../../context/ErrorContext/ErrorContext.js';
23
+ import '../../context/AccessDeniedContext/AccessDeniedContext.js';
24
+ import { SendBalanceView } from '../../views/SendBalanceView/SendBalanceView.js';
25
+ import '../../context/MockContext/MockContext.js';
26
+ import '../../context/CaptchaContext/CaptchaContext.js';
27
+ import '../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
28
+ import '../../components/IconButton/IconButton.js';
29
+ import '../../components/Alert/Alert.js';
30
+ import '@dynamic-labs/wallet-book';
31
+ import '../../components/Transition/ZoomTransition/ZoomTransition.js';
32
+ import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
33
+ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
34
+ import { VerticalDrawerTransition } from '../../components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js';
35
+ import '../../components/Popper/Popper/Popper.js';
36
+ import '../../components/Popper/PopperContext/PopperContext.js';
37
+ import 'formik';
38
+ import 'yup';
39
+ import { Modal } from '../../components/Modal/Modal.js';
40
+ import { ModalCard } from '../../components/ModalCard/ModalCard.js';
41
+
42
+ const SendBalanceModal = ({ initialRecipientAddress, initialValue, onReject, onSuccess, }) => {
43
+ usePreventPageScroll(true);
44
+ const [show, setShow] = useState(true);
45
+ const errorRef = useRef(null);
46
+ const transactionRef = useRef(null);
47
+ const handleOnModalUnmount = useCallback(() => {
48
+ if (transactionRef.current) {
49
+ onSuccess(transactionRef.current);
50
+ return;
51
+ }
52
+ onReject(errorRef.current || new Error('user rejected transaction'));
53
+ }, [onReject, onSuccess]);
54
+ const closeModal = () => {
55
+ setShow(false);
56
+ };
57
+ return (jsx(Portal, Object.assign({ handleClose: closeModal, isShown: show, zIndex: authModalZIndex, withBackdrop: true, elementId: 'dynamic-send-balance', transitionEvents: {
58
+ onUnmount: handleOnModalUnmount,
59
+ } }, { children: jsx(Modal, { children: jsx(ModalCard, { children: jsx(VerticalDrawerTransition, Object.assign({ isShown: true }, { children: jsx(SendBalanceView, { initialRecipientAddress: initialRecipientAddress, initialValue: initialValue, onError: (error) => (errorRef.current = error), onClickClose: closeModal, onDone: closeModal, displayPoweredByDynamicFooter: true, onSuccess: (transaction) => {
60
+ errorRef.current = null;
61
+ transactionRef.current = transaction;
62
+ } }) })) }) }) })));
63
+ };
64
+
65
+ export { SendBalanceModal };
@@ -0,0 +1 @@
1
+ export { SendBalanceModal } from './SendBalanceModal';