@dynamic-labs/sdk-react-core 0.18.0-RC.2 → 0.18.0-RC.20

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 (705) hide show
  1. package/CHANGELOG.md +293 -0
  2. package/package.cjs +2 -2
  3. package/package.js +2 -2
  4. package/package.json +9 -9
  5. package/src/index.cjs +22 -8
  6. package/src/index.d.ts +1 -0
  7. package/src/index.js +10 -2
  8. package/src/lib/Main.cjs +50 -9
  9. package/src/lib/Main.js +50 -9
  10. package/src/lib/assets/index.d.ts +1 -0
  11. package/src/lib/assets/no-wallet-found.cjs +75 -0
  12. package/src/lib/assets/no-wallet-found.js +51 -0
  13. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +8 -4
  14. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +9 -5
  15. package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.types.d.ts +1 -0
  16. package/src/lib/components/AnimatePresence/AnimatePresence.cjs +3 -1
  17. package/src/lib/components/AnimatePresence/AnimatePresence.js +3 -1
  18. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +3 -1
  19. package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +3 -1
  20. package/src/lib/components/Badge/Badge.cjs +1 -1
  21. package/src/lib/components/Badge/Badge.js +1 -1
  22. package/src/lib/components/Button/Button.cjs +12 -4
  23. package/src/lib/components/Button/Button.d.ts +3 -2
  24. package/src/lib/components/Button/Button.js +12 -4
  25. package/src/lib/components/ChainCard/ChainCard.cjs +11 -0
  26. package/src/lib/components/ChainCard/ChainCard.d.ts +4 -2
  27. package/src/lib/components/ChainCard/ChainCard.js +7 -0
  28. package/src/lib/components/Divider/Divider.cjs +3 -1
  29. package/src/lib/components/Divider/Divider.js +3 -1
  30. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +2 -5
  31. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.d.ts +1 -9
  32. package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +2 -4
  33. package/src/lib/components/DynamicConnectButton/components/ConnectButton.cjs +11 -0
  34. package/src/lib/components/DynamicConnectButton/components/ConnectButton.d.ts +9 -0
  35. package/src/lib/components/DynamicConnectButton/components/ConnectButton.js +7 -0
  36. package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +2 -2
  37. package/src/lib/components/IconWithSpinner/IconWithSpinner.js +2 -2
  38. package/src/lib/components/InlineWidget/InlineWidget.cjs +12 -0
  39. package/src/lib/components/InlineWidget/InlineWidget.d.ts +7 -0
  40. package/src/lib/components/InlineWidget/InlineWidget.js +8 -0
  41. package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.cjs +12 -0
  42. package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.d.ts +8 -0
  43. package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.js +8 -0
  44. package/src/lib/components/InlineWidget/components/InlineWidgetButton/index.d.ts +1 -0
  45. package/src/lib/components/InlineWidget/components/index.d.ts +1 -0
  46. package/src/lib/components/InlineWidget/index.d.ts +2 -0
  47. package/src/lib/components/LegacySafariCssOverrides/LegacySafariCssOverrides.cjs +9 -0
  48. package/src/lib/components/LegacySafariCssOverrides/LegacySafariCssOverrides.d.ts +2 -0
  49. package/src/lib/components/LegacySafariCssOverrides/LegacySafariCssOverrides.js +5 -0
  50. package/src/lib/components/LegacySafariCssOverrides/index.d.ts +1 -0
  51. package/src/lib/components/LogoutButton/LogoutButton.cjs +17 -3
  52. package/src/lib/components/LogoutButton/LogoutButton.js +17 -3
  53. package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +85 -0
  54. package/src/lib/components/MenuList/Dropdown/Dropdown.d.ts +16 -0
  55. package/src/lib/components/MenuList/Dropdown/Dropdown.js +81 -0
  56. package/src/lib/components/MenuList/Dropdown/index.d.ts +1 -0
  57. package/src/lib/components/MenuList/MenuList/MenuList.cjs +34 -0
  58. package/src/lib/components/MenuList/MenuList/MenuList.d.ts +15 -0
  59. package/src/lib/components/MenuList/MenuList/MenuList.js +30 -0
  60. package/src/lib/components/MenuList/MenuList/index.d.ts +1 -0
  61. package/src/lib/components/MenuList/index.d.ts +1 -0
  62. package/src/lib/components/MenuList/utils/index.d.ts +1 -0
  63. package/src/lib/components/{Popper → MenuList}/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.cjs +6 -1
  64. package/src/lib/components/MenuList/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.d.ts +5 -0
  65. package/src/lib/components/{Popper → MenuList}/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.js +6 -1
  66. package/src/lib/components/Modal/Modal.cjs +38 -1
  67. package/src/lib/components/Modal/Modal.d.ts +3 -0
  68. package/src/lib/components/Modal/Modal.js +38 -1
  69. package/src/lib/components/ModalCard/ModalCard.cjs +4 -1
  70. package/src/lib/components/ModalCard/ModalCard.d.ts +6 -1
  71. package/src/lib/components/ModalCard/ModalCard.js +4 -1
  72. package/src/lib/components/ModalHeader/ModalHeader.types.d.ts +1 -1
  73. package/src/lib/components/NetworkPicker/NetworkPicker.cjs +33 -11
  74. package/src/lib/components/NetworkPicker/NetworkPicker.js +33 -11
  75. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +3 -1
  76. package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +3 -1
  77. package/src/lib/components/NetworkPicker/components/Network/Network.cjs +6 -2
  78. package/src/lib/components/NetworkPicker/components/Network/Network.d.ts +2 -1
  79. package/src/lib/components/NetworkPicker/components/Network/Network.js +6 -2
  80. package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.cjs +6 -1
  81. package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.d.ts +2 -1
  82. package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.js +6 -1
  83. package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.cjs +0 -5
  84. package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.d.ts +1 -1
  85. package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.js +0 -5
  86. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +3 -1
  87. package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +3 -1
  88. package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +5 -4
  89. package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +0 -2
  90. package/src/lib/components/OTPVerificationView/OTPVerificationView.js +5 -4
  91. package/src/lib/components/OverlayCard/OverlayCard.cjs +12 -12
  92. package/src/lib/components/OverlayCard/OverlayCard.d.ts +4 -2
  93. package/src/lib/components/OverlayCard/OverlayCard.js +13 -12
  94. package/src/lib/components/Popper/Popper/Popper.cjs +12 -12
  95. package/src/lib/components/Popper/Popper/Popper.d.ts +7 -4
  96. package/src/lib/components/Popper/Popper/Popper.js +12 -12
  97. package/src/lib/components/Popper/PopperContent/PopperContent.cjs +1 -1
  98. package/src/lib/components/Popper/PopperContent/PopperContent.d.ts +2 -1
  99. package/src/lib/components/Popper/PopperContent/PopperContent.js +1 -1
  100. package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.cjs +1 -0
  101. package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.d.ts +1 -0
  102. package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.js +1 -0
  103. package/src/lib/components/Popper/utils/index.d.ts +0 -1
  104. package/src/lib/components/Portal/Portal.cjs +5 -3
  105. package/src/lib/components/Portal/Portal.js +5 -3
  106. package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +9 -1
  107. package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +9 -1
  108. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +12 -0
  109. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.d.ts +0 -2
  110. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +8 -0
  111. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
  112. package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
  113. package/src/lib/components/ShadowDOM/ShadowDOM.cjs +4 -2
  114. package/src/lib/components/ShadowDOM/ShadowDOM.js +4 -2
  115. package/src/lib/components/Step/Step.cjs +35 -3
  116. package/src/lib/components/Step/Step.d.ts +3 -3
  117. package/src/lib/components/Step/Step.js +36 -4
  118. package/src/lib/components/Toolkit/Toolkit.cjs +3 -3
  119. package/src/lib/components/Toolkit/Toolkit.js +3 -3
  120. package/src/lib/components/Toolkit/components/MultiWalletSwitch.cjs +18 -0
  121. package/src/lib/components/Toolkit/components/MultiWalletSwitch.d.ts +8 -0
  122. package/src/lib/components/Toolkit/components/MultiWalletSwitch.js +14 -0
  123. package/src/lib/components/Toolkit/components/index.d.ts +1 -1
  124. package/src/lib/components/Tooltip/Tooltip.cjs +4 -2
  125. package/src/lib/components/Tooltip/Tooltip.js +4 -2
  126. package/src/lib/components/TosAndPp/TosAndPp.cjs +21 -5
  127. package/src/lib/components/TosAndPp/TosAndPp.d.ts +1 -7
  128. package/src/lib/components/TosAndPp/TosAndPp.js +22 -6
  129. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +1 -1
  130. package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +1 -1
  131. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +4 -2
  132. package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +4 -2
  133. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +3 -1
  134. package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +3 -1
  135. package/src/lib/components/Transition/transition.type.d.ts +3 -3
  136. package/src/lib/components/UserAddress/UserAddress.cjs +31 -2
  137. package/src/lib/components/UserAddress/UserAddress.d.ts +4 -2
  138. package/src/lib/components/UserAddress/UserAddress.js +31 -2
  139. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +3 -1
  140. package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +3 -1
  141. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +3 -1
  142. package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +3 -1
  143. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +4 -2
  144. package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +4 -2
  145. package/src/lib/components/WalletInformationCard/WalletInformationCard.cjs +33 -0
  146. package/src/lib/components/WalletInformationCard/WalletInformationCard.d.ts +11 -0
  147. package/src/lib/components/WalletInformationCard/WalletInformationCard.js +29 -0
  148. package/src/lib/components/WalletInformationCard/index.d.ts +1 -0
  149. package/src/lib/components/index.d.ts +3 -0
  150. package/src/lib/context/DynamicContext/DynamicContext.cjs +199 -84
  151. package/src/lib/context/DynamicContext/DynamicContext.d.ts +13 -124
  152. package/src/lib/context/DynamicContext/DynamicContext.js +201 -87
  153. package/src/lib/context/DynamicContext/helpers.cjs +16 -3
  154. package/src/lib/context/DynamicContext/helpers.d.ts +8 -0
  155. package/src/lib/context/DynamicContext/helpers.js +16 -4
  156. package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +1 -1
  157. package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +1 -1
  158. package/src/lib/context/DynamicContext/types/index.d.ts +144 -0
  159. package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +7 -2
  160. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +3 -1
  161. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +3 -1
  162. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +10 -3
  163. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +1 -1
  164. package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +10 -3
  165. package/src/lib/context/DynamicContext/useCustomerCallbacks/utils/disableAuthVerificationFlag/disableAuthVerificationFlag.cjs +27 -0
  166. package/src/lib/context/DynamicContext/useCustomerCallbacks/utils/disableAuthVerificationFlag/disableAuthVerificationFlag.d.ts +3 -0
  167. package/src/lib/context/DynamicContext/useCustomerCallbacks/utils/disableAuthVerificationFlag/disableAuthVerificationFlag.js +23 -0
  168. package/src/lib/context/DynamicContext/useCustomerCallbacks/utils/disableAuthVerificationFlag/index.d.ts +1 -0
  169. package/src/lib/context/DynamicContext/useCustomerCallbacks/utils/index.d.ts +1 -0
  170. package/src/lib/context/DynamicContext/useDynamicContext.cjs +9 -3
  171. package/src/lib/context/DynamicContext/useDynamicContext.d.ts +4 -2
  172. package/src/lib/context/DynamicContext/useDynamicContext.js +9 -3
  173. package/src/lib/context/DynamicContext/useInternalDynamicContext.d.ts +1 -1
  174. package/src/lib/context/ErrorContext/ErrorContext.cjs +6 -0
  175. package/src/lib/context/ErrorContext/ErrorContext.js +6 -0
  176. package/src/lib/context/FundingContext/FundingContext.cjs +13 -1
  177. package/src/lib/context/FundingContext/FundingContext.js +13 -1
  178. package/src/lib/context/MockContext/MockContext.cjs +2 -14
  179. package/src/lib/context/MockContext/MockContext.js +2 -14
  180. package/src/lib/context/QrCodeContext/QrCodeContext.cjs +3 -1
  181. package/src/lib/context/QrCodeContext/QrCodeContext.js +3 -1
  182. package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +3 -1
  183. package/src/lib/context/SendBalanceContext/SendBalanceContext.js +3 -1
  184. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +4 -2
  185. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +4 -2
  186. package/src/lib/context/ViewContext/ViewContext.d.ts +1 -1
  187. package/src/lib/context/WalletContext/WalletContext.cjs +48 -0
  188. package/src/lib/context/WalletContext/WalletContext.d.ts +7 -0
  189. package/src/lib/context/WalletContext/WalletContext.js +43 -0
  190. package/src/lib/context/WalletContext/index.d.ts +1 -0
  191. package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +37 -0
  192. package/src/lib/context/WalletGroupContext/WalletGroupContext.d.ts +9 -0
  193. package/src/lib/context/WalletGroupContext/WalletGroupContext.js +27 -0
  194. package/src/lib/data/api.cjs +19 -0
  195. package/src/lib/data/api.d.ts +4 -0
  196. package/src/lib/data/api.js +20 -2
  197. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +20 -57
  198. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.d.ts +1 -6
  199. package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +21 -58
  200. package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +38 -16
  201. package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +1 -1
  202. package/src/lib/layout/DynamicAuthLayout/Header/header.js +39 -17
  203. package/src/lib/layout/DynamicAuthLayout/Header/header.types.d.ts +2 -0
  204. package/src/lib/layout/DynamicAuthLayout/{FooterContent/EmptyFooterContent/empty-footer-content.cjs → HelpContent/EmptyHelpContent/EmptyHelpContent.cjs} +2 -2
  205. package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/EmptyHelpContent.d.ts +2 -0
  206. package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/EmptyHelpContent.js +6 -0
  207. package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/index.d.ts +1 -0
  208. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +36 -0
  209. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.d.ts +2 -0
  210. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +32 -0
  211. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +57 -0
  212. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.d.ts +2 -0
  213. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +53 -0
  214. package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/index.d.ts +1 -0
  215. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/Item/Item.cjs +3 -1
  216. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/Item/Item.js +3 -1
  217. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/NewToWeb3WalletItem/NewToWeb3WalletItem.cjs +1 -1
  218. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/NewToWeb3WalletItem/NewToWeb3WalletItem.js +1 -1
  219. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +3 -1
  220. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +3 -1
  221. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent/WalletListFooterContent.cjs → HelpContent/WalletListHelpContent/WalletListHelpContent.cjs} +11 -5
  222. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent/WalletListFooterContent.d.ts → HelpContent/WalletListHelpContent/WalletListHelpContent.d.ts} +1 -1
  223. package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent/WalletListFooterContent.js → HelpContent/WalletListHelpContent/WalletListHelpContent.js} +11 -5
  224. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/index.d.ts +1 -0
  225. package/src/lib/layout/DynamicAuthLayout/{FooterContent → HelpContent}/WalletMoreInfoContent/WalletMoreInfoContent.cjs +6 -6
  226. package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +7 -0
  227. package/src/lib/layout/DynamicAuthLayout/{FooterContent → HelpContent}/WalletMoreInfoContent/WalletMoreInfoContent.js +6 -6
  228. package/src/lib/layout/DynamicAuthLayout/HelpContent/index.d.ts +4 -0
  229. package/src/lib/{views/WalletList/SearchInstead/SearchInstead.cjs → layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs} +10 -4
  230. package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.d.ts +2 -0
  231. package/src/lib/{views/WalletList/SearchInstead/SearchInstead.js → layout/DynamicAuthLayout/ToSFooter/ToSFooter.js} +11 -5
  232. package/src/lib/layout/DynamicAuthLayout/ToSFooter/index.d.ts +1 -0
  233. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +60 -0
  234. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.d.ts +2 -0
  235. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +56 -0
  236. package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/index.d.ts +1 -0
  237. package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/getChainStepState.cjs +18 -0
  238. package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/getChainStepState.d.ts +3 -0
  239. package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/getChainStepState.js +14 -0
  240. package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/index.d.ts +1 -0
  241. package/src/lib/layout/DynamicAuthLayout/utils/index.d.ts +1 -0
  242. package/src/lib/layouts/{SelectWalletListLayout/SelectWalletListLayout.cjs → BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs} +7 -6
  243. package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.d.ts +9 -0
  244. package/src/lib/layouts/{SelectWalletListLayout/SelectWalletListLayout.js → BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js} +7 -6
  245. package/src/lib/layouts/BridgeNextWalletToConnectLayout/index.d.ts +1 -0
  246. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +3 -1
  247. package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +3 -1
  248. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +5 -3
  249. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.d.ts +1 -0
  250. package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +5 -3
  251. package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +3 -1
  252. package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +3 -1
  253. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +3 -1
  254. package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +3 -1
  255. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +3 -1
  256. package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +3 -1
  257. package/src/lib/modals/index.d.ts +0 -1
  258. package/src/lib/shared/assets/chevron-left.cjs +5 -5
  259. package/src/lib/shared/assets/chevron-left.js +5 -5
  260. package/src/lib/shared/assets/close.cjs +5 -5
  261. package/src/lib/shared/assets/close.js +5 -5
  262. package/src/lib/shared/assets/footer-info-icon.cjs +2 -2
  263. package/src/lib/shared/assets/footer-info-icon.js +2 -2
  264. package/src/lib/shared/assets/index.d.ts +2 -0
  265. package/src/lib/shared/assets/key.cjs +53 -0
  266. package/src/lib/shared/assets/key.js +29 -0
  267. package/src/lib/shared/assets/question-mark.cjs +58 -0
  268. package/src/lib/shared/assets/question-mark.js +34 -0
  269. package/src/lib/shared/types/index.d.ts +8 -1
  270. package/src/lib/shared/utils/classes/storage/localStorage.cjs +45 -7
  271. package/src/lib/shared/utils/classes/storage/localStorage.d.ts +17 -2
  272. package/src/lib/shared/utils/classes/storage/localStorage.js +45 -7
  273. package/src/lib/shared/utils/hooks/index.d.ts +3 -0
  274. package/src/lib/shared/utils/hooks/useEffectOnce/index.d.ts +1 -0
  275. package/src/lib/shared/utils/hooks/useEffectOnce/useEffectOnce.cjs +27 -0
  276. package/src/lib/shared/utils/hooks/useEffectOnce/useEffectOnce.d.ts +17 -0
  277. package/src/lib/shared/utils/hooks/useEffectOnce/useEffectOnce.js +23 -0
  278. package/src/lib/shared/utils/hooks/useForwardedRef/index.d.ts +1 -0
  279. package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.cjs +25 -0
  280. package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.d.ts +2 -0
  281. package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.js +21 -0
  282. package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.cjs +6 -1
  283. package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.d.ts +3 -1
  284. package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.js +6 -1
  285. package/src/lib/shared/utils/hooks/useMediaQuery/index.d.ts +1 -0
  286. package/src/lib/shared/utils/hooks/useMediaQuery/useMediaQuery.cjs +31 -0
  287. package/src/lib/shared/utils/hooks/useMediaQuery/useMediaQuery.d.ts +1 -0
  288. package/src/lib/shared/utils/hooks/useMediaQuery/useMediaQuery.js +27 -0
  289. package/src/lib/styles/index.shadow.cjs +1 -1
  290. package/src/lib/styles/index.shadow.js +1 -1
  291. package/src/lib/utils/constants/localStorage.cjs +3 -1
  292. package/src/lib/utils/constants/localStorage.d.ts +1 -0
  293. package/src/lib/utils/constants/localStorage.js +3 -2
  294. package/src/lib/utils/constants/onrampProviders.cjs +7 -0
  295. package/src/lib/utils/constants/onrampProviders.d.ts +1 -0
  296. package/src/lib/utils/constants/onrampProviders.js +3 -0
  297. package/src/lib/utils/functions/createUserProfile/createUserProfile.cjs +1 -1
  298. package/src/lib/utils/functions/createUserProfile/createUserProfile.js +1 -1
  299. package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +3 -3
  300. package/src/lib/utils/functions/getAuthToken/getAuthToken.js +3 -3
  301. package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.cjs +7 -27
  302. package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.d.ts +3 -4
  303. package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.js +8 -28
  304. package/src/lib/utils/functions/getMissingChains/getMissingChains.cjs +16 -0
  305. package/src/lib/utils/functions/getMissingChains/getMissingChains.d.ts +3 -0
  306. package/src/lib/utils/functions/getMissingChains/getMissingChains.js +12 -0
  307. package/src/lib/utils/functions/getMissingChains/index.d.ts +1 -0
  308. package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.cjs +12 -0
  309. package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.d.ts +3 -0
  310. package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.js +8 -0
  311. package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.cjs +3 -1
  312. package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.d.ts +1 -1
  313. package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.js +3 -1
  314. package/src/lib/utils/functions/index.d.ts +3 -0
  315. package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.cjs +4 -2
  316. package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.js +4 -2
  317. package/src/lib/utils/functions/isOnrampProvider/index.d.ts +1 -0
  318. package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.cjs +9 -0
  319. package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.d.ts +2 -0
  320. package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.js +5 -0
  321. package/src/lib/utils/functions/isProviderEnabled/index.d.ts +1 -0
  322. package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.cjs +7 -0
  323. package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.d.ts +2 -0
  324. package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.js +3 -0
  325. package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.cjs +2 -2
  326. package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.d.ts +1 -1
  327. package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.js +2 -2
  328. package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.cjs +8 -8
  329. package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.js +8 -8
  330. package/src/lib/utils/functions/storeAuthToken/index.cjs +1 -3
  331. package/src/lib/utils/functions/storeAuthToken/index.js +1 -3
  332. package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.d.ts +2 -4
  333. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +1 -1
  334. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +1 -1
  335. package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.cjs +1 -1
  336. package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.js +1 -1
  337. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +32 -6
  338. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +33 -7
  339. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +13 -2
  340. package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +13 -2
  341. package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +1 -16
  342. package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +1 -16
  343. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +16 -0
  344. package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +16 -0
  345. package/src/lib/utils/hooks/index.d.ts +6 -0
  346. package/src/lib/utils/hooks/multiWallet/useMultiWallet/index.d.ts +1 -0
  347. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.cjs +17 -0
  348. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.d.ts +8 -0
  349. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.js +13 -0
  350. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +24 -5
  351. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.d.ts +5 -2
  352. package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +24 -5
  353. package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +8 -11
  354. package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +8 -11
  355. package/src/lib/utils/hooks/useApplyWalletConnectorNetwork/useApplyWalletConnectorNetwork.cjs +29 -0
  356. package/src/lib/utils/hooks/useApplyWalletConnectorNetwork/useApplyWalletConnectorNetwork.d.ts +5 -0
  357. package/src/lib/utils/hooks/useApplyWalletConnectorNetwork/useApplyWalletConnectorNetwork.js +25 -0
  358. package/src/lib/utils/hooks/useAuthLayoutChecks/index.d.ts +1 -0
  359. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +84 -0
  360. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +11 -0
  361. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +80 -0
  362. package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +16 -3
  363. package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +16 -3
  364. package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.cjs +16 -18
  365. package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.js +16 -18
  366. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +128 -86
  367. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +27 -13
  368. package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +129 -87
  369. package/src/lib/utils/hooks/useConnectWithEmail/index.d.ts +1 -0
  370. package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +6 -4
  371. package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.d.ts +1 -4
  372. package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +6 -4
  373. package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.cjs +11 -18
  374. package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.js +11 -18
  375. package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +69 -0
  376. package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.d.ts +1 -0
  377. package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +65 -0
  378. package/src/lib/utils/hooks/useCountdown/useCountdown.cjs +39 -0
  379. package/src/lib/utils/hooks/useCountdown/useCountdown.d.ts +11 -0
  380. package/src/lib/utils/hooks/useCountdown/useCountdown.js +35 -0
  381. package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +5 -4
  382. package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.d.ts +1 -1
  383. package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +5 -4
  384. package/src/lib/utils/hooks/useDynamicScopes/index.d.ts +1 -0
  385. package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +40 -0
  386. package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.d.ts +6 -0
  387. package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +36 -0
  388. package/src/lib/utils/hooks/useEmailProvider/index.d.ts +1 -0
  389. package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +54 -0
  390. package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.d.ts +10 -0
  391. package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +50 -0
  392. package/src/lib/utils/hooks/useEventListener/index.d.ts +1 -0
  393. package/src/lib/utils/hooks/useEventListener/useEventListener.cjs +25 -0
  394. package/src/lib/utils/hooks/useEventListener/useEventListener.d.ts +1 -0
  395. package/src/lib/utils/hooks/useEventListener/useEventListener.js +21 -0
  396. package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +2 -1
  397. package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.d.ts +3 -1
  398. package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +3 -2
  399. package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +6 -10
  400. package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +7 -11
  401. package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +20 -5
  402. package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +20 -5
  403. package/src/lib/utils/hooks/useInterval/useInterval.d.ts +1 -0
  404. package/src/lib/utils/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.cjs +10 -0
  405. package/src/lib/utils/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +2 -0
  406. package/src/lib/utils/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +6 -0
  407. package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.cjs +6 -8
  408. package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.js +7 -9
  409. package/src/lib/utils/hooks/usePromise/usePromise.cjs +74 -17
  410. package/src/lib/utils/hooks/usePromise/usePromise.d.ts +18 -1
  411. package/src/lib/utils/hooks/usePromise/usePromise.js +75 -18
  412. package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +6 -28
  413. package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.d.ts +0 -1
  414. package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +7 -29
  415. package/src/lib/utils/hooks/useTimeout/useTimeout.cjs +27 -0
  416. package/src/lib/utils/hooks/useTimeout/useTimeout.d.ts +1 -0
  417. package/src/lib/utils/hooks/useTimeout/useTimeout.js +23 -0
  418. package/src/lib/utils/hooks/useTransition/useTransition.cjs +16 -24
  419. package/src/lib/utils/hooks/useTransition/useTransition.d.ts +3 -3
  420. package/src/lib/utils/hooks/useTransition/useTransition.js +17 -25
  421. package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.cjs +11 -9
  422. package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.js +11 -9
  423. package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs +4 -3
  424. package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.d.ts +1 -1
  425. package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js +4 -3
  426. package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs +23 -6
  427. package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.d.ts +8 -4
  428. package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js +23 -6
  429. package/src/lib/utils/hooks/useValidateSession/index.d.ts +1 -0
  430. package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +82 -0
  431. package/src/lib/utils/hooks/useValidateSession/useValidateSession.d.ts +12 -0
  432. package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +78 -0
  433. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +13 -20
  434. package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +14 -21
  435. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +12 -2
  436. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.d.ts +4 -2
  437. package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +12 -2
  438. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +32 -4
  439. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +5 -4
  440. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +32 -4
  441. package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +6 -6
  442. package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +6 -6
  443. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +3 -1
  444. package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +3 -1
  445. package/src/lib/utils/hooks/useWallets/useWallets.cjs +10 -1
  446. package/src/lib/utils/hooks/useWallets/useWallets.d.ts +2 -1
  447. package/src/lib/utils/hooks/useWallets/useWallets.js +11 -2
  448. package/src/lib/utils/hooks/useWallets/utils/index.d.ts +1 -0
  449. package/src/lib/utils/hooks/useWallets/utils/verifyMagicIsSetup/index.d.ts +1 -0
  450. package/src/lib/utils/hooks/useWallets/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +35 -0
  451. package/src/lib/utils/hooks/useWallets/utils/verifyMagicIsSetup/verifyMagicIsSetup.d.ts +6 -0
  452. package/src/lib/utils/hooks/useWallets/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +29 -0
  453. package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +38 -0
  454. package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.d.ts +2 -0
  455. package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +34 -0
  456. package/src/lib/views/BridgeNextWalletConnectionView/index.d.ts +1 -0
  457. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +44 -0
  458. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.d.ts +2 -0
  459. package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +40 -0
  460. package/src/lib/views/BridgeSummaryView/index.d.ts +1 -0
  461. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +48 -0
  462. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.d.ts +2 -0
  463. package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +44 -0
  464. package/src/lib/views/BridgeWelcomeView/index.d.ts +1 -0
  465. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +4 -2
  466. package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +4 -2
  467. package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +4 -2
  468. package/src/lib/views/CollectUserDataView/CollectUserDataView.js +4 -2
  469. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +13 -4
  470. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +13 -4
  471. package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +3 -1
  472. package/src/lib/views/CollectUserDataView/UserDataFields/index.js +3 -1
  473. package/src/lib/views/CollectUserDataView/fieldsConfig.cjs +8 -4
  474. package/src/lib/views/CollectUserDataView/fieldsConfig.js +8 -4
  475. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +4 -2
  476. package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +4 -2
  477. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +5 -4
  478. package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +5 -4
  479. package/src/lib/views/EmailUpdate/EmailUpdate.cjs +5 -2
  480. package/src/lib/views/EmailUpdate/EmailUpdate.js +5 -2
  481. package/src/lib/views/EmailVerification/EmailVerification.cjs +19 -27
  482. package/src/lib/views/EmailVerification/EmailVerification.js +20 -28
  483. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +5 -3
  484. package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +5 -3
  485. package/src/lib/views/LoginWithEmailView/LoginWithEmailView.cjs +4 -2
  486. package/src/lib/views/LoginWithEmailView/LoginWithEmailView.js +4 -2
  487. package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs +4 -2
  488. package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.js +4 -2
  489. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs +28 -52
  490. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js +28 -52
  491. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.cjs +2 -2
  492. package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.js +2 -2
  493. package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +10 -6
  494. package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +10 -6
  495. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +27 -22
  496. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +28 -23
  497. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +25 -21
  498. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +25 -21
  499. package/src/lib/views/NoAccess/NoAccess.cjs +15 -22
  500. package/src/lib/views/NoAccess/NoAccess.js +15 -22
  501. package/src/lib/views/NoAccess/useNoAccessText.cjs +93 -0
  502. package/src/lib/views/NoAccess/useNoAccessText.d.ts +31 -0
  503. package/src/lib/views/NoAccess/useNoAccessText.js +88 -0
  504. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +3 -1
  505. package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +3 -1
  506. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +3 -1
  507. package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +3 -1
  508. package/src/lib/views/PendingConnectView/PendingConnectView.cjs +5 -4
  509. package/src/lib/views/PendingConnectView/PendingConnectView.js +5 -4
  510. package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +5 -4
  511. package/src/lib/views/PendingSignatureView/PendingSignatureView.js +5 -4
  512. package/src/lib/views/QrCodeView/QRCode.cjs +37 -4
  513. package/src/lib/views/QrCodeView/QRCode.js +38 -5
  514. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +5 -3
  515. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.d.ts +1 -3
  516. package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +5 -3
  517. package/src/lib/views/QrCodeView/QrCodeView.cjs +8 -9
  518. package/src/lib/views/QrCodeView/QrCodeView.js +8 -9
  519. package/src/lib/views/SendBalanceView/SendBalanceView.cjs +3 -1
  520. package/src/lib/views/SendBalanceView/SendBalanceView.js +3 -1
  521. package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +5 -5
  522. package/src/lib/views/SocialRedirectView/SocialRedirectView.js +5 -5
  523. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +3 -1
  524. package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +3 -1
  525. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +3 -1
  526. package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +3 -1
  527. package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +15 -0
  528. package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +15 -0
  529. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.cjs +3 -1
  530. package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.js +3 -1
  531. package/src/lib/views/WalletGroupView/WalletGroupView.cjs +21 -0
  532. package/src/lib/views/WalletGroupView/WalletGroupView.d.ts +2 -0
  533. package/src/lib/views/WalletGroupView/WalletGroupView.js +17 -0
  534. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +55 -0
  535. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +6 -0
  536. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +51 -0
  537. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +48 -0
  538. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.d.ts +8 -0
  539. package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +44 -0
  540. package/src/lib/views/WalletList/SearchNotFoundMessage/index.d.ts +1 -0
  541. package/src/lib/views/WalletList/WalletList.cjs +10 -9
  542. package/src/lib/views/WalletList/WalletList.js +11 -10
  543. package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +12 -5
  544. package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +12 -5
  545. package/src/lib/views/WalletList/WalletListItem/WalletListItem.types.d.ts +1 -2
  546. package/src/lib/views/WalletList/data.cjs +2 -1
  547. package/src/lib/views/WalletList/data.js +2 -1
  548. package/src/lib/views/WalletLockedView/WalletLockedView.cjs +64 -0
  549. package/src/lib/views/WalletLockedView/WalletLockedView.d.ts +2 -0
  550. package/src/lib/views/WalletLockedView/WalletLockedView.js +60 -0
  551. package/src/lib/views/WalletLockedView/index.d.ts +1 -0
  552. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +3 -1
  553. package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +3 -1
  554. package/src/lib/views/WalletUsedView/WalletUsedView.cjs +6 -1
  555. package/src/lib/views/WalletUsedView/WalletUsedView.js +6 -1
  556. package/src/lib/views/viewToComponentMap.cjs +11 -0
  557. package/src/lib/views/viewToComponentMap.js +11 -0
  558. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +18 -10
  559. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.d.ts +2 -4
  560. package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +19 -11
  561. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +3 -1
  562. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +3 -1
  563. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +3 -1
  564. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.d.ts +1 -1
  565. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +3 -1
  566. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +30 -9
  567. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.d.ts +0 -1
  568. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +31 -10
  569. package/src/lib/{modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.cjs → widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs} +18 -29
  570. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.d.ts +7 -0
  571. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +56 -0
  572. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/index.d.ts +1 -0
  573. package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.cjs +2 -0
  574. package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.js +2 -0
  575. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +15 -11
  576. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +15 -11
  577. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +11 -11
  578. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.d.ts +6 -6
  579. package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +12 -12
  580. package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +13 -5
  581. package/src/lib/widgets/DynamicWidget/DynamicWidget.js +15 -7
  582. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +3 -1
  583. package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +3 -1
  584. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +21 -8
  585. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +21 -8
  586. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +4 -2
  587. package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +4 -2
  588. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +7 -5
  589. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +5 -7
  590. package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +7 -5
  591. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +4 -2
  592. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +4 -2
  593. package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.types.d.ts +2 -7
  594. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +7 -3
  595. package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +7 -3
  596. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +3 -1
  597. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +3 -1
  598. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +6 -4
  599. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +6 -4
  600. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +3 -1
  601. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +3 -1
  602. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +3 -1
  603. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +3 -1
  604. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +4 -2
  605. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +4 -2
  606. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +3 -1
  607. package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +3 -1
  608. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +3 -1
  609. package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +3 -1
  610. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +3 -1
  611. package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +3 -1
  612. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +4 -2
  613. package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +4 -2
  614. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +15 -4
  615. package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +15 -4
  616. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +3 -1
  617. package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +3 -1
  618. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +3 -1
  619. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +3 -1
  620. package/src/lib/widgets/DynamicWidget/helpers/helpers.cjs +35 -2
  621. package/src/lib/widgets/DynamicWidget/helpers/helpers.d.ts +3 -0
  622. package/src/lib/widgets/DynamicWidget/helpers/helpers.js +35 -3
  623. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +3 -1
  624. package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +3 -1
  625. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +3 -1
  626. package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +3 -1
  627. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +3 -1
  628. package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +3 -1
  629. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +3 -1
  630. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +3 -1
  631. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +3 -1
  632. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +3 -1
  633. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +3 -1
  634. package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +3 -1
  635. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +4 -2
  636. package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +4 -2
  637. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +3 -1
  638. package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +3 -1
  639. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +3 -1
  640. package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +3 -1
  641. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +3 -1
  642. package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +3 -1
  643. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +3 -1
  644. package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +3 -1
  645. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +3 -1
  646. package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +3 -1
  647. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +3 -1
  648. package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +3 -1
  649. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +3 -1
  650. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +3 -1
  651. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +3 -1
  652. package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +3 -1
  653. package/src/polyfills.cjs +1 -2
  654. package/src/polyfills.js +1 -2
  655. package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs +0 -70
  656. package/src/lib/components/NetworkPicker/components/ActionList/ActionList.d.ts +0 -12
  657. package/src/lib/components/NetworkPicker/components/ActionList/ActionList.js +0 -64
  658. package/src/lib/components/NetworkPicker/components/ActionList/index.d.ts +0 -1
  659. package/src/lib/components/Popper/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.d.ts +0 -1
  660. package/src/lib/components/Toolkit/components/BrandStyleSwitch.cjs +0 -22
  661. package/src/lib/components/Toolkit/components/BrandStyleSwitch.d.ts +0 -2
  662. package/src/lib/components/Toolkit/components/BrandStyleSwitch.js +0 -18
  663. package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs +0 -66
  664. package/src/lib/layout/DynamicAuthLayout/Footer/Footer.d.ts +0 -10
  665. package/src/lib/layout/DynamicAuthLayout/Footer/Footer.js +0 -62
  666. package/src/lib/layout/DynamicAuthLayout/Footer/index.d.ts +0 -1
  667. package/src/lib/layout/DynamicAuthLayout/FooterContent/EmptyFooterContent/empty-footer-content.d.ts +0 -2
  668. package/src/lib/layout/DynamicAuthLayout/FooterContent/EmptyFooterContent/empty-footer-content.js +0 -6
  669. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/index.d.ts +0 -1
  670. package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +0 -8
  671. package/src/lib/layout/DynamicAuthLayout/FooterContent/index.d.ts +0 -3
  672. package/src/lib/modals/MultiWalletStepSelectorModal/MultiWalletStepSelectorModal.cjs +0 -77
  673. package/src/lib/modals/MultiWalletStepSelectorModal/MultiWalletStepSelectorModal.d.ts +0 -2
  674. package/src/lib/modals/MultiWalletStepSelectorModal/MultiWalletStepSelectorModal.js +0 -73
  675. package/src/lib/modals/MultiWalletStepSelectorModal/index.d.ts +0 -1
  676. package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.cjs +0 -61
  677. package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.d.ts +0 -6
  678. package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.js +0 -57
  679. package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/index.d.ts +0 -1
  680. package/src/lib/modals/MultiWalletStepSelectorModal/views/SelectWalletView/SelectWalletView.cjs +0 -89
  681. package/src/lib/modals/MultiWalletStepSelectorModal/views/SelectWalletView/SelectWalletView.d.ts +0 -8
  682. package/src/lib/modals/MultiWalletStepSelectorModal/views/SelectWalletView/SelectWalletView.js +0 -85
  683. package/src/lib/modals/MultiWalletStepSelectorModal/views/SelectWalletView/index.d.ts +0 -1
  684. package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.d.ts +0 -7
  685. package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.js +0 -67
  686. package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/index.d.ts +0 -1
  687. package/src/lib/modals/MultiWalletStepSelectorModal/views/index.d.ts +0 -3
  688. package/src/lib/utils/functions/groupBy/groupBy.cjs +0 -30
  689. package/src/lib/utils/functions/groupBy/groupBy.js +0 -26
  690. package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.cjs +0 -12
  691. package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.d.ts +0 -1
  692. package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.js +0 -8
  693. package/src/lib/views/WalletList/SearchInstead/SearchInstead.d.ts +0 -2
  694. package/src/lib/views/WalletList/SearchInstead/index.d.ts +0 -1
  695. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.cjs +0 -52
  696. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.d.ts +0 -10
  697. package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.js +0 -44
  698. /package/src/lib/components/{Popper → MenuList}/utils/watchToScrollInHierarchy/index.d.ts +0 -0
  699. /package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/Item/Item.d.ts +0 -0
  700. /package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/Item/index.d.ts +0 -0
  701. /package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/NewToWeb3WalletItem/NewToWeb3WalletItem.d.ts +0 -0
  702. /package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/NewToWeb3WalletItem/index.d.ts +0 -0
  703. /package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.d.ts +0 -0
  704. /package/src/lib/layout/DynamicAuthLayout/{FooterContent/WalletListFooterContent → HelpContent/WalletListHelpContent}/WalletExtensionOrAppContinueButton/index.d.ts +0 -0
  705. /package/src/lib/layout/DynamicAuthLayout/{FooterContent → HelpContent}/WalletMoreInfoContent/index.d.ts +0 -0
@@ -34,9 +34,9 @@ var SvgClose = function SvgClose(_ref) {
34
34
  titleId = _ref.titleId,
35
35
  props = _objectWithoutProperties(_ref, _excluded);
36
36
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
37
- width: 10,
38
- height: 10,
39
- viewBox: "0 0 10 10",
37
+ width: 20,
38
+ height: 20,
39
+ viewBox: "0 0 20 20",
40
40
  fill: "none",
41
41
  xmlns: "http://www.w3.org/2000/svg",
42
42
  "aria-labelledby": titleId
@@ -45,8 +45,8 @@ var SvgClose = function SvgClose(_ref) {
45
45
  }, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
46
46
  fillRule: "evenodd",
47
47
  clipRule: "evenodd",
48
- d: "M.529.529c.26-.26.682-.26.942 0L5 4.057 8.529.53a.667.667 0 0 1 .942.942L5.943 5 9.47 8.529a.667.667 0 1 1-.942.942L5 5.943 1.471 9.47A.667.667 0 1 1 .53 8.53L4.057 5 .53 1.471a.667.667 0 0 1 0-.942Z",
49
- fill: "currentColor"
48
+ d: "M4.41 4.41a.833.833 0 0 1 1.18 0L10 8.822l4.41-4.41a.833.833 0 1 1 1.18 1.178L11.178 10l4.41 4.41a.833.833 0 1 1-1.178 1.18L10 11.177 5.588 15.59a.833.833 0 1 1-1.178-1.178L8.82 10l-4.41-4.41a.833.833 0 0 1 0-1.18Z",
49
+ fill: "currentcolor"
50
50
  })));
51
51
  };
52
52
 
@@ -10,9 +10,9 @@ var SvgClose = function SvgClose(_ref) {
10
10
  titleId = _ref.titleId,
11
11
  props = _objectWithoutProperties(_ref, _excluded);
12
12
  return /*#__PURE__*/React.createElement("svg", _extends({
13
- width: 10,
14
- height: 10,
15
- viewBox: "0 0 10 10",
13
+ width: 20,
14
+ height: 20,
15
+ viewBox: "0 0 20 20",
16
16
  fill: "none",
17
17
  xmlns: "http://www.w3.org/2000/svg",
18
18
  "aria-labelledby": titleId
@@ -21,8 +21,8 @@ var SvgClose = function SvgClose(_ref) {
21
21
  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
22
22
  fillRule: "evenodd",
23
23
  clipRule: "evenodd",
24
- d: "M.529.529c.26-.26.682-.26.942 0L5 4.057 8.529.53a.667.667 0 0 1 .942.942L5.943 5 9.47 8.529a.667.667 0 1 1-.942.942L5 5.943 1.471 9.47A.667.667 0 1 1 .53 8.53L4.057 5 .53 1.471a.667.667 0 0 1 0-.942Z",
25
- fill: "currentColor"
24
+ d: "M4.41 4.41a.833.833 0 0 1 1.18 0L10 8.822l4.41-4.41a.833.833 0 1 1 1.18 1.178L11.178 10l4.41 4.41a.833.833 0 1 1-1.178 1.18L10 11.177 5.588 15.59a.833.833 0 1 1-1.178-1.178L8.82 10l-4.41-4.41a.833.833 0 0 1 0-1.18Z",
25
+ fill: "currentcolor"
26
26
  })));
27
27
  };
28
28
 
@@ -45,8 +45,8 @@ var SvgFooterInfoIcon = function SvgFooterInfoIcon(_ref) {
45
45
  }, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
46
46
  fillRule: "evenodd",
47
47
  clipRule: "evenodd",
48
- d: "M10 3.333a6.667 6.667 0 1 0 0 13.334 6.667 6.667 0 0 0 0-13.334ZM1.667 10a8.333 8.333 0 1 1 16.666 0 8.333 8.333 0 0 1-16.666 0Zm7.5-3.333c0-.46.373-.834.833-.834h.008a.833.833 0 0 1 0 1.667H10a.833.833 0 0 1-.833-.833ZM8.333 10c0-.46.373-.833.834-.833H10c.46 0 .833.373.833.833v2.5a.833.833 0 0 1 0 1.667H10a.833.833 0 0 1-.833-.834v-2.5A.833.833 0 0 1 8.333 10Z",
49
- fill: "currentColor"
48
+ d: "M10 3.333a6.667 6.667 0 1 0 0 13.334 6.667 6.667 0 0 0 0-13.334ZM1.667 10a8.333 8.333 0 1 1 16.666 0 8.333 8.333 0 0 1-16.666 0Zm7.5-3.333c0-.46.373-.834.833-.834h.008a.833.833 0 1 1 0 1.667H10a.833.833 0 0 1-.833-.833ZM8.333 10c0-.46.374-.833.834-.833H10c.46 0 .833.373.833.833v2.5a.833.833 0 1 1 0 1.667H10a.833.833 0 0 1-.833-.834v-2.5A.833.833 0 0 1 8.333 10Z",
49
+ fill: "currentcolor"
50
50
  })));
51
51
  };
52
52
 
@@ -21,8 +21,8 @@ var SvgFooterInfoIcon = function SvgFooterInfoIcon(_ref) {
21
21
  }, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
22
22
  fillRule: "evenodd",
23
23
  clipRule: "evenodd",
24
- d: "M10 3.333a6.667 6.667 0 1 0 0 13.334 6.667 6.667 0 0 0 0-13.334ZM1.667 10a8.333 8.333 0 1 1 16.666 0 8.333 8.333 0 0 1-16.666 0Zm7.5-3.333c0-.46.373-.834.833-.834h.008a.833.833 0 0 1 0 1.667H10a.833.833 0 0 1-.833-.833ZM8.333 10c0-.46.373-.833.834-.833H10c.46 0 .833.373.833.833v2.5a.833.833 0 0 1 0 1.667H10a.833.833 0 0 1-.833-.834v-2.5A.833.833 0 0 1 8.333 10Z",
25
- fill: "currentColor"
24
+ d: "M10 3.333a6.667 6.667 0 1 0 0 13.334 6.667 6.667 0 0 0 0-13.334ZM1.667 10a8.333 8.333 0 1 1 16.666 0 8.333 8.333 0 0 1-16.666 0Zm7.5-3.333c0-.46.373-.834.833-.834h.008a.833.833 0 1 1 0 1.667H10a.833.833 0 0 1-.833-.833ZM8.333 10c0-.46.374-.833.834-.833H10c.46 0 .833.373.833.833v2.5a.833.833 0 1 1 0 1.667H10a.833.833 0 0 1-.833-.834v-2.5A.833.833 0 0 1 8.333 10Z",
25
+ fill: "currentcolor"
26
26
  })));
27
27
  };
28
28
 
@@ -21,6 +21,7 @@ export { ReactComponent as InfoIcon } from './footer-info-icon.svg';
21
21
  export { ReactComponent as EyeIcon } from './footer-eye-icon.svg';
22
22
  export { ReactComponent as GasIcon } from './footer-gas-icon.svg';
23
23
  export { ReactComponent as KeyIcon } from './footer-key-icon.svg';
24
+ export { ReactComponent as KeyOutlineIcon } from './key.svg';
24
25
  export { ReactComponent as PuzzleIcon } from './puzzle.svg';
25
26
  export { ReactComponent as LinkIcon } from './link.svg';
26
27
  export { ReactComponent as ExternalLinkIcon } from './externalLink.svg';
@@ -32,3 +33,4 @@ export { ReactComponent as TooltipArrow } from './tooltip-arrow.svg';
32
33
  export { ReactComponent as SwitchHorizontalIcon } from './switch-horizontal.svg';
33
34
  export { ReactComponent as DotsHorizontalIcon } from './dots-horizontal.svg';
34
35
  export { ReactComponent as SendIcon } from './send.svg';
36
+ export { ReactComponent as QuestionMarkIcon } from './question-mark.svg';
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
26
+
27
+ var _path;
28
+ var _excluded = ["title", "titleId"];
29
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
30
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
31
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
32
+ var SvgKey = function SvgKey(_ref) {
33
+ var title = _ref.title,
34
+ titleId = _ref.titleId,
35
+ props = _objectWithoutProperties(_ref, _excluded);
36
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
37
+ width: 18,
38
+ height: 18,
39
+ viewBox: "0 0 18 18",
40
+ fill: "none",
41
+ xmlns: "http://www.w3.org/2000/svg",
42
+ "aria-labelledby": titleId
43
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
44
+ id: titleId
45
+ }, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
46
+ fillRule: "evenodd",
47
+ clipRule: "evenodd",
48
+ d: "M11.25 3a3.751 3.751 0 0 0-3.59 4.84.743.743 0 0 1-.187.746L3 13.062V15h1.5v-.75a.75.75 0 0 1 .75-.75H6v-.75a.75.75 0 0 1 .75-.75h1.188l1.476-1.473a.743.743 0 0 1 .746-.187A3.751 3.751 0 1 0 11.25 3ZM6 15v.75a.75.75 0 0 1-.75.75H3A1.5 1.5 0 0 1 1.5 15v-1.938c0-.398.156-.78.438-1.062l4.171-4.172A5.251 5.251 0 0 1 11.25 1.5a5.251 5.251 0 0 1 5.251 5.25 5.251 5.251 0 0 1-6.328 5.14l-1.39 1.391a.75.75 0 0 1-.532.219H7.5v.75a.75.75 0 0 1-.75.75Zm4.5-9.75a.75.75 0 0 1 .75-.75 2.25 2.25 0 0 1 2.25 2.25.75.75 0 0 1-1.5 0 .75.75 0 0 0-.75-.75.75.75 0 0 1-.75-.75Zm0 0",
49
+ fill: "currentColor"
50
+ })));
51
+ };
52
+
53
+ exports.ReactComponent = SvgKey;
@@ -0,0 +1,29 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+ var _excluded = ["title", "titleId"];
5
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
7
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
8
+ var SvgKey = function SvgKey(_ref) {
9
+ var title = _ref.title,
10
+ titleId = _ref.titleId,
11
+ props = _objectWithoutProperties(_ref, _excluded);
12
+ return /*#__PURE__*/React.createElement("svg", _extends({
13
+ width: 18,
14
+ height: 18,
15
+ viewBox: "0 0 18 18",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "aria-labelledby": titleId
19
+ }, props), title ? /*#__PURE__*/React.createElement("title", {
20
+ id: titleId
21
+ }, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
22
+ fillRule: "evenodd",
23
+ clipRule: "evenodd",
24
+ d: "M11.25 3a3.751 3.751 0 0 0-3.59 4.84.743.743 0 0 1-.187.746L3 13.062V15h1.5v-.75a.75.75 0 0 1 .75-.75H6v-.75a.75.75 0 0 1 .75-.75h1.188l1.476-1.473a.743.743 0 0 1 .746-.187A3.751 3.751 0 1 0 11.25 3ZM6 15v.75a.75.75 0 0 1-.75.75H3A1.5 1.5 0 0 1 1.5 15v-1.938c0-.398.156-.78.438-1.062l4.171-4.172A5.251 5.251 0 0 1 11.25 1.5a5.251 5.251 0 0 1 5.251 5.25 5.251 5.251 0 0 1-6.328 5.14l-1.39 1.391a.75.75 0 0 1-.532.219H7.5v.75a.75.75 0 0 1-.75.75Zm4.5-9.75a.75.75 0 0 1 .75-.75 2.25 2.25 0 0 1 2.25 2.25.75.75 0 0 1-1.5 0 .75.75 0 0 0-.75-.75.75.75 0 0 1-.75-.75Zm0 0",
25
+ fill: "currentColor"
26
+ })));
27
+ };
28
+
29
+ export { SvgKey as ReactComponent };
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
26
+
27
+ var _path, _path2;
28
+ var _excluded = ["title", "titleId"];
29
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
30
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
31
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
32
+ var SvgQuestionMark = function SvgQuestionMark(_ref) {
33
+ var title = _ref.title,
34
+ titleId = _ref.titleId,
35
+ props = _objectWithoutProperties(_ref, _excluded);
36
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
37
+ width: 20,
38
+ height: 20,
39
+ viewBox: "0 0 20 20",
40
+ fill: "none",
41
+ xmlns: "http://www.w3.org/2000/svg",
42
+ "aria-labelledby": titleId
43
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
44
+ id: titleId
45
+ }, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
46
+ fillRule: "evenodd",
47
+ clipRule: "evenodd",
48
+ d: "M10 3.25a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM1.667 10a8.333 8.333 0 1 1 16.666 0 8.333 8.333 0 0 1-16.666 0Z",
49
+ fill: "currentcolor"
50
+ })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
51
+ fillRule: "evenodd",
52
+ clipRule: "evenodd",
53
+ d: "M10.31 7.044a1.784 1.784 0 0 0-1.133.192 1.513 1.513 0 0 0-.699.783.792.792 0 0 1-1.481-.559c.26-.689.768-1.257 1.42-1.613a3.368 3.368 0 0 1 2.144-.367 3.262 3.262 0 0 1 1.908 1.023c.496.55.775 1.254.774 1.99 0 1.201-.948 1.972-1.587 2.369a6.63 6.63 0 0 1-1.354.635l-.028.01-.008.002h-.003l-.002.001-.235-.756.235.756A.792.792 0 0 1 9.789 10h.001m0 0 .014-.005.06-.021a5.054 5.054 0 0 0 .956-.456c.575-.357.84-.717.84-1.024 0-.332-.125-.66-.367-.928a1.68 1.68 0 0 0-.982-.521M9.265 13.77c0-.438.355-.792.792-.792h.01a.792.792 0 1 1 0 1.584h-.01a.792.792 0 0 1-.792-.792Z",
54
+ fill: "currentcolor"
55
+ })));
56
+ };
57
+
58
+ exports.ReactComponent = SvgQuestionMark;
@@ -0,0 +1,34 @@
1
+ import * as React from 'react';
2
+
3
+ var _path, _path2;
4
+ var _excluded = ["title", "titleId"];
5
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
7
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
8
+ var SvgQuestionMark = function SvgQuestionMark(_ref) {
9
+ var title = _ref.title,
10
+ titleId = _ref.titleId,
11
+ props = _objectWithoutProperties(_ref, _excluded);
12
+ return /*#__PURE__*/React.createElement("svg", _extends({
13
+ width: 20,
14
+ height: 20,
15
+ viewBox: "0 0 20 20",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "aria-labelledby": titleId
19
+ }, props), title ? /*#__PURE__*/React.createElement("title", {
20
+ id: titleId
21
+ }, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
22
+ fillRule: "evenodd",
23
+ clipRule: "evenodd",
24
+ d: "M10 3.25a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM1.667 10a8.333 8.333 0 1 1 16.666 0 8.333 8.333 0 0 1-16.666 0Z",
25
+ fill: "currentcolor"
26
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
+ d: "M10.31 7.044a1.784 1.784 0 0 0-1.133.192 1.513 1.513 0 0 0-.699.783.792.792 0 0 1-1.481-.559c.26-.689.768-1.257 1.42-1.613a3.368 3.368 0 0 1 2.144-.367 3.262 3.262 0 0 1 1.908 1.023c.496.55.775 1.254.774 1.99 0 1.201-.948 1.972-1.587 2.369a6.63 6.63 0 0 1-1.354.635l-.028.01-.008.002h-.003l-.002.001-.235-.756.235.756A.792.792 0 0 1 9.789 10h.001m0 0 .014-.005.06-.021a5.054 5.054 0 0 0 .956-.456c.575-.357.84-.717.84-1.024 0-.332-.125-.66-.367-.928a1.68 1.68 0 0 0-.982-.521M9.265 13.77c0-.438.355-.792.792-.792h.01a.792.792 0 1 1 0 1.584h-.01a.792.792 0 0 1-.792-.792Z",
30
+ fill: "currentcolor"
31
+ })));
32
+ };
33
+
34
+ export { SvgQuestionMark as ReactComponent };
@@ -10,6 +10,7 @@ export type Wallet = {
10
10
  connected: boolean;
11
11
  connector: WalletConnector;
12
12
  id: string;
13
+ network?: string | number;
13
14
  };
14
15
  export type WalletAction = 'select' | 'unlink';
15
16
  export type WalletWithAction = {
@@ -28,6 +29,7 @@ export type UserProfile = UserFields & {
28
29
  userId?: string;
29
30
  verifiedCredentials: JwtVerifiedCredential[];
30
31
  wallet?: string;
32
+ scope?: string;
31
33
  };
32
34
  export type Icon = React.FunctionComponent<React.SVGProps<SVGSVGElement> & {
33
35
  title?: string | undefined;
@@ -42,6 +44,9 @@ export interface WalletOption {
42
44
  group?: string;
43
45
  groupedWallets?: WalletOption[];
44
46
  }
47
+ export type WalletGroupOption = WalletOption & {
48
+ groupedWallets: WalletOption[];
49
+ };
45
50
  export type ErrorWithCode = Error & {
46
51
  code: string;
47
52
  };
@@ -95,8 +100,9 @@ export type OnAuthSuccess = (params: {
95
100
  walletConnector: WalletConnector | undefined;
96
101
  }) => void;
97
102
  export type OnConnectSuccess = (params: {
98
- walletConnector: WalletConnector | undefined;
103
+ walletConnector: WalletConnector | null;
99
104
  }) => void;
105
+ export type OnBeforeConnectSuccessConfirmation = (walletAddress: string) => Promise<boolean>;
100
106
  export type OnUserProfileUpdate = (user: UserProfile) => void;
101
107
  export type MultiWalletWidgetState = 'idle' | 'awaiting_account_switch' | 'awaiting_connection' | 'awaiting_signature' | 'detected_new_wallet';
102
108
  export type AccountSwitchState = 'idle' | 'linking_new_wallet' | 'switching_primary' | 'primary_not_connected';
@@ -140,6 +146,7 @@ export type DynamicEventsCallbacks = {
140
146
  onAuthFlowOpen?: () => void;
141
147
  onAuthSuccess?: OnAuthSuccess;
142
148
  onConnectSuccess?: OnConnectSuccess;
149
+ onBeforeConnectSuccessConfirmation?: OnBeforeConnectSuccessConfirmation;
143
150
  onLinkSuccess?: OnAuthSuccess;
144
151
  onLogout?: (user: UserProfile | undefined) => void;
145
152
  onUnlinkSuccess?: (unlinkedWallet: JwtVerifiedCredential) => void;
@@ -2,30 +2,54 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var localStorage = require('../../../../utils/constants/localStorage.cjs');
6
+ require('../../../../utils/constants/colors.cjs');
5
7
  var logger = require('../../../logger.cjs');
6
8
 
9
+ const connectedKeys = {
10
+ [localStorage.AUTH_TOKEN]: [localStorage.AUTH_USER],
11
+ [localStorage.AUTH_USER]: [localStorage.AUTH_TOKEN],
12
+ };
7
13
  class LocalStorage {
8
14
  static getDynamicLSKey(key) {
9
15
  return `${key}${LocalStorage.getSuffix()}`;
10
16
  }
17
+ static validateRequest(key, fromAuxiliarAuthFunctions) {
18
+ if (key === localStorage.AUTH_TOKEN && !fromAuxiliarAuthFunctions) {
19
+ throw new Error('You cannot access AUTH_TOKEN through localStorage. Use getAuthToken/ storeAuthToken helper functions instead');
20
+ }
21
+ }
11
22
  static setSuffix(localStorageSuffix) {
12
23
  if (!LocalStorage.__suffix__) {
13
24
  const suffix = (localStorageSuffix && `_${localStorageSuffix}`) || '';
14
25
  LocalStorage.__suffix__ = suffix;
15
26
  }
16
27
  }
17
- static getFromLS(key) {
28
+ /**
29
+ *
30
+ * @param key
31
+ * @param getAuth - verifies if the request to get AUTH_TOKEN is comming from getAuthToken and not directly
32
+ * @returns
33
+ */
34
+ static getFromLS(key, getAuth = false) {
18
35
  if (typeof window === 'undefined') {
19
36
  return undefined;
20
37
  }
38
+ LocalStorage.validateRequest(key, getAuth);
21
39
  const value = window.localStorage.getItem(LocalStorage.getDynamicLSKey(key));
40
+ if (!value) {
41
+ return undefined;
42
+ }
22
43
  try {
23
- if (value) {
24
- return JSON.parse(value);
25
- }
44
+ return JSON.parse(value);
26
45
  }
27
- catch (e) {
28
- logger.logger.error(e);
46
+ catch (error) {
47
+ logger.logger.debug(`Error while parsing ${key} from local storage`, { value });
48
+ // keep it in case handleLogOut is not yet loaded when calling this method
49
+ [key]
50
+ .concat(connectedKeys[key] || [])
51
+ .forEach((_key) => LocalStorage.removeFromLS(_key));
52
+ window.dispatchEvent(new Event('logOut'));
29
53
  }
30
54
  return undefined;
31
55
  }
@@ -35,12 +59,26 @@ class LocalStorage {
35
59
  }
36
60
  return window.localStorage.removeItem(LocalStorage.getDynamicLSKey(key));
37
61
  }
38
- static setToLS(key, value) {
62
+ /**
63
+ *
64
+ * @param key
65
+ * @param value
66
+ * @param storeAuth - verifies if the request to get AUTH_TOKEN is comming from getAuthToken and not directly
67
+ * @returns
68
+ */
69
+ static setToLS(key, value, storeAuth = false) {
39
70
  if (typeof window === 'undefined') {
40
71
  return;
41
72
  }
73
+ LocalStorage.validateRequest(key, storeAuth);
42
74
  window.localStorage.setItem(LocalStorage.getDynamicLSKey(key), JSON.stringify(value));
43
75
  }
76
+ static getKeys() {
77
+ if (typeof window === 'undefined') {
78
+ return [];
79
+ }
80
+ return Object.keys(window.localStorage);
81
+ }
44
82
  }
45
83
  LocalStorage.getSuffix = () => LocalStorage.__suffix__ || '';
46
84
 
@@ -2,9 +2,24 @@ export declare class LocalStorage {
2
2
  private static __suffix__;
3
3
  static getSuffix: () => string;
4
4
  private static getDynamicLSKey;
5
+ private static validateRequest;
5
6
  static setSuffix(localStorageSuffix?: string): void;
6
- static getFromLS<T = any>(key: string): T | undefined;
7
+ /**
8
+ *
9
+ * @param key
10
+ * @param getAuth - verifies if the request to get AUTH_TOKEN is comming from getAuthToken and not directly
11
+ * @returns
12
+ */
13
+ static getFromLS<T = any>(key: string, getAuth?: boolean): T | undefined;
7
14
  static removeFromLS(key: string): void;
8
- static setToLS<T = any>(key: string, value: T): void;
15
+ /**
16
+ *
17
+ * @param key
18
+ * @param value
19
+ * @param storeAuth - verifies if the request to get AUTH_TOKEN is comming from getAuthToken and not directly
20
+ * @returns
21
+ */
22
+ static setToLS<T = any>(key: string, value: T, storeAuth?: boolean): void;
23
+ static getKeys(): string[];
9
24
  }
10
25
  export default LocalStorage;
@@ -1,27 +1,51 @@
1
+ import { AUTH_TOKEN, AUTH_USER } from '../../../../utils/constants/localStorage.js';
2
+ import '../../../../utils/constants/colors.js';
1
3
  import { logger } from '../../../logger.js';
2
4
 
5
+ const connectedKeys = {
6
+ [AUTH_TOKEN]: [AUTH_USER],
7
+ [AUTH_USER]: [AUTH_TOKEN],
8
+ };
3
9
  class LocalStorage {
4
10
  static getDynamicLSKey(key) {
5
11
  return `${key}${LocalStorage.getSuffix()}`;
6
12
  }
13
+ static validateRequest(key, fromAuxiliarAuthFunctions) {
14
+ if (key === AUTH_TOKEN && !fromAuxiliarAuthFunctions) {
15
+ throw new Error('You cannot access AUTH_TOKEN through localStorage. Use getAuthToken/ storeAuthToken helper functions instead');
16
+ }
17
+ }
7
18
  static setSuffix(localStorageSuffix) {
8
19
  if (!LocalStorage.__suffix__) {
9
20
  const suffix = (localStorageSuffix && `_${localStorageSuffix}`) || '';
10
21
  LocalStorage.__suffix__ = suffix;
11
22
  }
12
23
  }
13
- static getFromLS(key) {
24
+ /**
25
+ *
26
+ * @param key
27
+ * @param getAuth - verifies if the request to get AUTH_TOKEN is comming from getAuthToken and not directly
28
+ * @returns
29
+ */
30
+ static getFromLS(key, getAuth = false) {
14
31
  if (typeof window === 'undefined') {
15
32
  return undefined;
16
33
  }
34
+ LocalStorage.validateRequest(key, getAuth);
17
35
  const value = window.localStorage.getItem(LocalStorage.getDynamicLSKey(key));
36
+ if (!value) {
37
+ return undefined;
38
+ }
18
39
  try {
19
- if (value) {
20
- return JSON.parse(value);
21
- }
40
+ return JSON.parse(value);
22
41
  }
23
- catch (e) {
24
- logger.error(e);
42
+ catch (error) {
43
+ logger.debug(`Error while parsing ${key} from local storage`, { value });
44
+ // keep it in case handleLogOut is not yet loaded when calling this method
45
+ [key]
46
+ .concat(connectedKeys[key] || [])
47
+ .forEach((_key) => LocalStorage.removeFromLS(_key));
48
+ window.dispatchEvent(new Event('logOut'));
25
49
  }
26
50
  return undefined;
27
51
  }
@@ -31,12 +55,26 @@ class LocalStorage {
31
55
  }
32
56
  return window.localStorage.removeItem(LocalStorage.getDynamicLSKey(key));
33
57
  }
34
- static setToLS(key, value) {
58
+ /**
59
+ *
60
+ * @param key
61
+ * @param value
62
+ * @param storeAuth - verifies if the request to get AUTH_TOKEN is comming from getAuthToken and not directly
63
+ * @returns
64
+ */
65
+ static setToLS(key, value, storeAuth = false) {
35
66
  if (typeof window === 'undefined') {
36
67
  return;
37
68
  }
69
+ LocalStorage.validateRequest(key, storeAuth);
38
70
  window.localStorage.setItem(LocalStorage.getDynamicLSKey(key), JSON.stringify(value));
39
71
  }
72
+ static getKeys() {
73
+ if (typeof window === 'undefined') {
74
+ return [];
75
+ }
76
+ return Object.keys(window.localStorage);
77
+ }
40
78
  }
41
79
  LocalStorage.getSuffix = () => LocalStorage.__suffix__ || '';
42
80
 
@@ -2,3 +2,6 @@ export { useLocalStorage } from './useLocalStorage';
2
2
  export { useOnClickOutside } from './useOnClickOutside';
3
3
  export { usePreventPageScroll } from './usePreventPageScroll';
4
4
  export { useGlobalLoading } from './useGlobalLoading';
5
+ export { useMediaQuery } from './useMediaQuery';
6
+ export { useEffectOnce } from './useEffectOnce';
7
+ export { useForwardedRef } from './useForwardedRef';
@@ -0,0 +1 @@
1
+ export { useEffectOnce } from './useEffectOnce';
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+
7
+ /**
8
+ * Runs an effect function only once during component initialization.
9
+ *
10
+ * @param {Function} effect - The effect function to be executed.
11
+ * @returns {void}
12
+ *
13
+ * @example
14
+ * function ExampleComponent() {
15
+ * useEffectOnce(() => {
16
+ * console.log('Effect executed once');
17
+ * });
18
+ *
19
+ * return <div>Example Component</div>;
20
+ * }
21
+ */
22
+ const useEffectOnce = (effect) => {
23
+ // eslint-disable-next-line react-hooks/exhaustive-deps
24
+ React.useEffect(effect, []);
25
+ };
26
+
27
+ exports.useEffectOnce = useEffectOnce;
@@ -0,0 +1,17 @@
1
+ import { EffectCallback } from 'react';
2
+ /**
3
+ * Runs an effect function only once during component initialization.
4
+ *
5
+ * @param {Function} effect - The effect function to be executed.
6
+ * @returns {void}
7
+ *
8
+ * @example
9
+ * function ExampleComponent() {
10
+ * useEffectOnce(() => {
11
+ * console.log('Effect executed once');
12
+ * });
13
+ *
14
+ * return <div>Example Component</div>;
15
+ * }
16
+ */
17
+ export declare const useEffectOnce: (effect: EffectCallback) => void;
@@ -0,0 +1,23 @@
1
+ import { useEffect } from 'react';
2
+
3
+ /**
4
+ * Runs an effect function only once during component initialization.
5
+ *
6
+ * @param {Function} effect - The effect function to be executed.
7
+ * @returns {void}
8
+ *
9
+ * @example
10
+ * function ExampleComponent() {
11
+ * useEffectOnce(() => {
12
+ * console.log('Effect executed once');
13
+ * });
14
+ *
15
+ * return <div>Example Component</div>;
16
+ * }
17
+ */
18
+ const useEffectOnce = (effect) => {
19
+ // eslint-disable-next-line react-hooks/exhaustive-deps
20
+ useEffect(effect, []);
21
+ };
22
+
23
+ export { useEffectOnce };
@@ -0,0 +1 @@
1
+ export * from './useForwardedRef';
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+
7
+ // Allows access to a forwarded ref's "current" field
8
+ // source: https://stackoverflow.com/questions/73015696/whats-the-difference-between-reacts-forwardedref-and-refobject
9
+ //
10
+ const useForwardedRef = (ref) => {
11
+ const innerRef = React.useRef(null);
12
+ React.useEffect(() => {
13
+ if (!ref)
14
+ return;
15
+ if (typeof ref === 'function') {
16
+ ref(innerRef.current);
17
+ }
18
+ else {
19
+ ref.current = innerRef.current;
20
+ }
21
+ }, [ref, innerRef]);
22
+ return innerRef;
23
+ };
24
+
25
+ exports.useForwardedRef = useForwardedRef;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const useForwardedRef: <T>(ref: import("react").ForwardedRef<T>) => import("react").RefObject<T>;