@dynamic-labs/sdk-react-core 0.19.0-alpha.1 → 0.19.0-alpha.11
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.
- package/CHANGELOG.md +217 -0
- package/package.cjs +7 -6
- package/package.js +7 -6
- package/package.json +16 -14
- package/src/index.cjs +58 -16
- package/src/index.d.ts +31 -34
- package/src/index.js +33 -9
- package/src/lib/Main.cjs +115 -106
- package/src/lib/Main.d.ts +4 -4
- package/src/lib/Main.js +115 -106
- package/src/lib/app.d.ts +2 -2
- package/src/lib/assets/index.d.ts +6 -6
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +29 -24
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.d.ts +2 -2
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +29 -24
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.types.d.ts +8 -8
- package/src/lib/components/Accordion/components/AccordionItem/index.d.ts +1 -1
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.cjs +1 -1
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.d.ts +2 -2
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.js +1 -1
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.types.d.ts +5 -5
- package/src/lib/components/Accordion/components/VerticalAccordion/index.d.ts +1 -1
- package/src/lib/components/Accordion/components/index.d.ts +2 -2
- package/src/lib/components/Accordion/index.d.ts +1 -1
- package/src/lib/components/Alert/Alert.cjs +8 -8
- package/src/lib/components/Alert/Alert.d.ts +2 -2
- package/src/lib/components/Alert/Alert.js +8 -8
- package/src/lib/components/Alert/Alert.types.d.ts +8 -8
- package/src/lib/components/Alert/index.d.ts +1 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +36 -31
- package/src/lib/components/AnimatePresence/AnimatePresence.d.ts +2 -2
- package/src/lib/components/AnimatePresence/AnimatePresence.js +36 -31
- package/src/lib/components/AnimatePresence/AnimatePresence.types.d.ts +8 -8
- package/src/lib/components/AnimatePresence/index.d.ts +2 -2
- package/src/lib/components/AppOriginTile/AppOriginTile.cjs +1 -1
- package/src/lib/components/AppOriginTile/AppOriginTile.d.ts +2 -2
- package/src/lib/components/AppOriginTile/AppOriginTile.js +1 -1
- package/src/lib/components/AppOriginTile/AppOriginTile.types.d.ts +7 -7
- package/src/lib/components/AppOriginTile/index.d.ts +1 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +65 -56
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.d.ts +10 -10
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +66 -57
- package/src/lib/components/AuthProviderIcon/index.d.ts +1 -1
- package/src/lib/components/Badge/Badge.cjs +1 -1
- package/src/lib/components/Badge/Badge.d.ts +3 -3
- package/src/lib/components/Badge/Badge.js +1 -1
- package/src/lib/components/Badge/Badge.types.d.ts +5 -5
- package/src/lib/components/Badge/index.d.ts +1 -1
- package/src/lib/components/Button/Button.cjs +47 -47
- package/src/lib/components/Button/Button.d.ts +22 -22
- package/src/lib/components/Button/Button.js +47 -47
- package/src/lib/components/Button/index.d.ts +1 -1
- package/src/lib/components/Captcha/Captcha.cjs +6 -6
- package/src/lib/components/Captcha/Captcha.d.ts +6 -6
- package/src/lib/components/Captcha/Captcha.js +6 -6
- package/src/lib/components/Captcha/index.d.ts +1 -1
- package/src/lib/components/ChainCard/ChainCard.cjs +1 -1
- package/src/lib/components/ChainCard/ChainCard.d.ts +9 -9
- package/src/lib/components/ChainCard/ChainCard.js +1 -1
- package/src/lib/components/Checkbox/Checkbox.cjs +2 -2
- package/src/lib/components/Checkbox/Checkbox.d.ts +9 -9
- package/src/lib/components/Checkbox/Checkbox.js +2 -2
- package/src/lib/components/Checkbox/index.d.ts +1 -1
- package/src/lib/components/Chip/Chip.cjs +3 -3
- package/src/lib/components/Chip/Chip.d.ts +7 -7
- package/src/lib/components/Chip/Chip.js +3 -3
- package/src/lib/components/Chip/index.d.ts +1 -1
- package/src/lib/components/CopyButton/CopyButton.cjs +19 -19
- package/src/lib/components/CopyButton/CopyButton.d.ts +9 -9
- package/src/lib/components/CopyButton/CopyButton.js +19 -19
- package/src/lib/components/CopyButton/index.d.ts +1 -1
- package/src/lib/components/Divider/Divider.cjs +13 -8
- package/src/lib/components/Divider/Divider.d.ts +8 -8
- package/src/lib/components/Divider/Divider.js +13 -8
- package/src/lib/components/Divider/index.d.ts +1 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +12 -24
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.d.ts +8 -8
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +12 -24
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.cjs +1 -1
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.d.ts +9 -9
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.js +1 -1
- package/src/lib/components/DynamicConnectButton/index.d.ts +1 -1
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.cjs +5 -5
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.d.ts +2 -2
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.js +5 -5
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.types.d.ts +7 -7
- package/src/lib/components/EnterTileAnimation/index.d.ts +1 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +9 -9
- package/src/lib/components/ErrorContainer/ErrorContainer.d.ts +11 -11
- package/src/lib/components/ErrorContainer/ErrorContainer.js +9 -9
- package/src/lib/components/ErrorContainer/index.d.ts +1 -1
- package/src/lib/components/FormFieldLabel/FormFieldLabel.cjs +1 -1
- package/src/lib/components/FormFieldLabel/FormFieldLabel.d.ts +8 -8
- package/src/lib/components/FormFieldLabel/FormFieldLabel.js +1 -1
- package/src/lib/components/FormFieldLabel/index.d.ts +1 -1
- package/src/lib/components/Icon/Icon.cjs +16 -16
- package/src/lib/components/Icon/Icon.d.ts +2 -2
- package/src/lib/components/Icon/Icon.js +16 -16
- package/src/lib/components/Icon/Icon.types.d.ts +10 -10
- package/src/lib/components/Icon/index.d.ts +2 -2
- package/src/lib/components/IconButton/IconButton.cjs +4 -4
- package/src/lib/components/IconButton/IconButton.d.ts +3 -3
- package/src/lib/components/IconButton/IconButton.js +4 -4
- package/src/lib/components/IconButton/IconButton.types.d.ts +2 -2
- package/src/lib/components/IconButton/index.d.ts +2 -2
- package/src/lib/components/IconListTile/IconListTile.cjs +3 -3
- package/src/lib/components/IconListTile/IconListTile.d.ts +2 -2
- package/src/lib/components/IconListTile/IconListTile.js +3 -3
- package/src/lib/components/IconListTile/index.d.ts +1 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +29 -27
- package/src/lib/components/IconWithSpinner/IconWithSpinner.d.ts +16 -14
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +29 -27
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +27 -26
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.d.ts +7 -7
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +27 -26
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +10 -9
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.d.ts +8 -8
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +10 -9
- package/src/lib/components/IconWithSpinner/Spinner/index.d.ts +1 -1
- package/src/lib/components/IconWithSpinner/index.d.ts +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +11 -10
- package/src/lib/components/IconWithStatus/IconWithStatus.d.ts +12 -12
- package/src/lib/components/IconWithStatus/IconWithStatus.js +11 -10
- package/src/lib/components/IconWithStatus/index.d.ts +1 -1
- package/src/lib/components/Image/Image.cjs +6 -6
- package/src/lib/components/Image/Image.d.ts +10 -10
- package/src/lib/components/Image/Image.js +6 -6
- package/src/lib/components/Image/index.d.ts +1 -1
- package/src/lib/components/InfoItem/InfoItem.cjs +3 -3
- package/src/lib/components/InfoItem/InfoItem.d.ts +12 -12
- package/src/lib/components/InfoItem/InfoItem.js +3 -3
- package/src/lib/components/InfoItem/index.d.ts +1 -1
- package/src/lib/components/InlineWidget/InlineWidget.cjs +1 -1
- package/src/lib/components/InlineWidget/InlineWidget.d.ts +7 -7
- package/src/lib/components/InlineWidget/InlineWidget.js +1 -1
- package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.cjs +1 -1
- package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.d.ts +8 -8
- package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.js +1 -1
- package/src/lib/components/InlineWidget/components/InlineWidgetButton/index.d.ts +1 -1
- package/src/lib/components/InlineWidget/components/index.d.ts +1 -1
- package/src/lib/components/InlineWidget/index.d.ts +2 -2
- package/src/lib/components/Input/Input.cjs +11 -11
- package/src/lib/components/Input/Input.d.ts +2 -2
- package/src/lib/components/Input/Input.js +11 -11
- package/src/lib/components/Input/Input.types.d.ts +14 -14
- package/src/lib/components/Input/index.d.ts +1 -1
- package/src/lib/components/IsBrowser/IsBrowser.cjs +14 -14
- package/src/lib/components/IsBrowser/IsBrowser.d.ts +6 -6
- package/src/lib/components/IsBrowser/IsBrowser.js +14 -14
- package/src/lib/components/IsBrowser/index.d.ts +1 -1
- package/src/lib/components/LegacySafariCssOverrides/LegacySafariCssOverrides.d.ts +2 -2
- package/src/lib/components/LegacySafariCssOverrides/index.d.ts +1 -1
- package/src/lib/components/ListTile/ListTile.cjs +1 -1
- package/src/lib/components/ListTile/ListTile.d.ts +2 -2
- package/src/lib/components/ListTile/ListTile.js +1 -1
- package/src/lib/components/ListTile/ListTile.types.d.ts +11 -11
- package/src/lib/components/ListTile/index.d.ts +2 -2
- package/src/lib/components/LogoutButton/LogoutButton.cjs +19 -19
- package/src/lib/components/LogoutButton/LogoutButton.d.ts +7 -7
- package/src/lib/components/LogoutButton/LogoutButton.js +19 -19
- package/src/lib/components/LogoutButton/index.d.ts +1 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +42 -37
- package/src/lib/components/MenuList/Dropdown/Dropdown.d.ts +16 -16
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +42 -37
- package/src/lib/components/MenuList/Dropdown/index.d.ts +1 -1
- package/src/lib/components/MenuList/MenuList/MenuList.cjs +6 -6
- package/src/lib/components/MenuList/MenuList/MenuList.d.ts +15 -15
- package/src/lib/components/MenuList/MenuList/MenuList.js +6 -6
- package/src/lib/components/MenuList/MenuList/index.d.ts +1 -1
- package/src/lib/components/MenuList/index.d.ts +1 -1
- package/src/lib/components/MenuList/utils/index.d.ts +1 -1
- package/src/lib/components/MenuList/utils/watchToScrollInHierarchy/index.d.ts +1 -1
- package/src/lib/components/MenuList/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.cjs +20 -20
- package/src/lib/components/MenuList/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.d.ts +5 -5
- package/src/lib/components/MenuList/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.js +20 -20
- package/src/lib/components/MockedQrCode/MockedQrCode.cjs +7 -7
- package/src/lib/components/MockedQrCode/MockedQrCode.d.ts +2 -2
- package/src/lib/components/MockedQrCode/MockedQrCode.js +7 -7
- package/src/lib/components/MockedQrCode/index.d.ts +1 -1
- package/src/lib/components/Modal/Modal.cjs +8 -3
- package/src/lib/components/Modal/Modal.d.ts +9 -9
- package/src/lib/components/Modal/Modal.js +8 -3
- package/src/lib/components/Modal/index.d.ts +1 -1
- package/src/lib/components/ModalCard/ModalCard.cjs +3 -3
- package/src/lib/components/ModalCard/ModalCard.d.ts +7 -7
- package/src/lib/components/ModalCard/ModalCard.js +3 -3
- package/src/lib/components/ModalCard/index.d.ts +1 -1
- package/src/lib/components/ModalHeader/ModalHeader.cjs +4 -4
- package/src/lib/components/ModalHeader/ModalHeader.d.ts +2 -2
- package/src/lib/components/ModalHeader/ModalHeader.js +4 -4
- package/src/lib/components/ModalHeader/ModalHeader.types.d.ts +10 -10
- package/src/lib/components/ModalHeader/index.d.ts +1 -1
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.cjs +10 -6
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.d.ts +9 -8
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.js +10 -6
- package/src/lib/components/ModalHeaderBanner/index.d.ts +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +37 -32
- package/src/lib/components/NetworkPicker/NetworkPicker.d.ts +18 -18
- package/src/lib/components/NetworkPicker/NetworkPicker.js +37 -32
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +40 -35
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.d.ts +16 -16
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +40 -35
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/index.d.ts +1 -1
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +15 -10
- package/src/lib/components/NetworkPicker/components/Network/Network.d.ts +11 -12
- package/src/lib/components/NetworkPicker/components/Network/Network.js +15 -10
- package/src/lib/components/NetworkPicker/components/Network/index.d.ts +1 -1
- package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.cjs +5 -5
- package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.d.ts +13 -13
- package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.js +5 -5
- package/src/lib/components/NetworkPicker/components/NetworkAction/index.d.ts +1 -1
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.cjs +11 -11
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.d.ts +16 -16
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.js +11 -11
- package/src/lib/components/NetworkPicker/components/NetworkControl/index.d.ts +1 -1
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.cjs +1 -1
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.d.ts +5 -5
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.js +1 -1
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/index.d.ts +1 -1
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +15 -10
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.d.ts +9 -9
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +15 -10
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/index.d.ts +1 -1
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +2 -2
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.d.ts +6 -6
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +2 -2
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/index.d.ts +1 -1
- package/src/lib/components/NetworkPicker/index.d.ts +1 -1
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +21 -11
- package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +16 -15
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +21 -11
- package/src/lib/components/OTPVerificationView/index.d.ts +1 -1
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.cjs +23 -23
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.d.ts +17 -17
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.js +23 -23
- package/src/lib/components/OptionsSwitcher/index.d.ts +1 -1
- package/src/lib/components/OverlayCard/OverlayCard.cjs +14 -10
- package/src/lib/components/OverlayCard/OverlayCard.context.d.ts +6 -6
- package/src/lib/components/OverlayCard/OverlayCard.d.ts +10 -10
- package/src/lib/components/OverlayCard/OverlayCard.js +14 -10
- package/src/lib/components/OverlayCard/OverlayCardTarget.cjs +6 -6
- package/src/lib/components/OverlayCard/OverlayCardTarget.d.ts +2 -2
- package/src/lib/components/OverlayCard/OverlayCardTarget.js +6 -6
- package/src/lib/components/OverlayCard/index.d.ts +2 -2
- package/src/lib/components/PinField/PinField.cjs +12 -12
- package/src/lib/components/PinField/PinField.d.ts +12 -12
- package/src/lib/components/PinField/PinField.js +12 -12
- package/src/lib/components/PinField/index.d.ts +1 -1
- package/src/lib/components/PinInput/PinInput.cjs +67 -67
- package/src/lib/components/PinInput/PinInput.d.ts +14 -14
- package/src/lib/components/PinInput/PinInput.js +67 -67
- package/src/lib/components/PinInput/index.d.ts +1 -1
- package/src/lib/components/Popper/Popper/Popper.cjs +40 -40
- package/src/lib/components/Popper/Popper/Popper.d.ts +15 -15
- package/src/lib/components/Popper/Popper/Popper.js +40 -40
- package/src/lib/components/Popper/Popper/index.d.ts +1 -1
- package/src/lib/components/Popper/Popper.types.d.ts +6 -6
- package/src/lib/components/Popper/PopperContent/PopperContent.cjs +7 -7
- package/src/lib/components/Popper/PopperContent/PopperContent.d.ts +10 -10
- package/src/lib/components/Popper/PopperContent/PopperContent.js +7 -7
- package/src/lib/components/Popper/PopperContent/index.d.ts +1 -1
- package/src/lib/components/Popper/PopperContext/PopperContext.cjs +14 -14
- package/src/lib/components/Popper/PopperContext/PopperContext.d.ts +8 -8
- package/src/lib/components/Popper/PopperContext/PopperContext.js +14 -14
- package/src/lib/components/Popper/PopperContext/index.d.ts +1 -1
- package/src/lib/components/Popper/index.d.ts +2 -2
- package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.cjs +8 -8
- package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.d.ts +3 -3
- package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.js +8 -8
- package/src/lib/components/Popper/utils/getChildPosition/index.d.ts +1 -1
- package/src/lib/components/Popper/utils/index.d.ts +2 -2
- package/src/lib/components/Popper/utils/isScrollable/index.d.ts +1 -1
- package/src/lib/components/Popper/utils/isScrollable/isScrollable.cjs +9 -9
- package/src/lib/components/Popper/utils/isScrollable/isScrollable.d.ts +1 -1
- package/src/lib/components/Popper/utils/isScrollable/isScrollable.js +9 -9
- package/src/lib/components/Portal/Portal.cjs +39 -34
- package/src/lib/components/Portal/Portal.d.ts +14 -14
- package/src/lib/components/Portal/Portal.js +39 -34
- package/src/lib/components/Portal/index.d.ts +1 -1
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +15 -15
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.d.ts +10 -10
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +15 -15
- package/src/lib/components/PoweredByDynamic/index.d.ts +1 -1
- package/src/lib/components/Search/Search.cjs +1 -1
- package/src/lib/components/Search/Search.d.ts +2 -3
- package/src/lib/components/Search/Search.js +1 -1
- package/src/lib/components/Search/Search.types.d.ts +7 -7
- package/src/lib/components/Search/index.d.ts +1 -1
- package/src/lib/components/Select/Select.cjs +17 -17
- package/src/lib/components/Select/Select.d.ts +2 -2
- package/src/lib/components/Select/Select.js +17 -17
- package/src/lib/components/Select/Select.types.d.ts +10 -10
- package/src/lib/components/Select/index.d.ts +2 -2
- package/src/lib/components/Select/utils/getDisplayValue/getDisplayValue.cjs +10 -10
- package/src/lib/components/Select/utils/getDisplayValue/getDisplayValue.d.ts +1 -1
- package/src/lib/components/Select/utils/getDisplayValue/getDisplayValue.js +10 -10
- package/src/lib/components/Select/utils/getDisplayValue/index.d.ts +1 -1
- package/src/lib/components/Select/utils/index.d.ts +1 -1
- package/src/lib/components/SelectNetworkButton/SelectNetworkButton.cjs +3 -3
- package/src/lib/components/SelectNetworkButton/SelectNetworkButton.d.ts +8 -8
- package/src/lib/components/SelectNetworkButton/SelectNetworkButton.js +3 -3
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +1 -1
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.d.ts +6 -6
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +1 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +47 -47
- package/src/lib/components/SendBalanceForm/SendBalanceForm.d.ts +11 -11
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +47 -47
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +13 -13
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.d.ts +19 -19
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +13 -13
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +4 -4
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.d.ts +8 -8
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +4 -4
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/index.d.ts +1 -1
- package/src/lib/components/SendBalancePageLayout/components/index.d.ts +1 -1
- package/src/lib/components/SendBalancePageLayout/index.d.ts +2 -2
- package/src/lib/components/Separator/Separator.d.ts +2 -2
- package/src/lib/components/Separator/Separator.types.d.ts +5 -5
- package/src/lib/components/Separator/index.d.ts +1 -1
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +37 -37
- package/src/lib/components/ShadowDOM/ShadowDOM.d.ts +16 -16
- package/src/lib/components/ShadowDOM/ShadowDOM.js +37 -37
- package/src/lib/components/ShadowDOM/index.d.ts +1 -1
- package/src/lib/components/ShadowDOM/utils.cjs +11 -11
- package/src/lib/components/ShadowDOM/utils.d.ts +1 -1
- package/src/lib/components/ShadowDOM/utils.js +11 -11
- package/src/lib/components/SignMessagePreview/SignMessagePreview.cjs +27 -0
- package/src/lib/components/SignMessagePreview/SignMessagePreview.d.ts +6 -0
- package/src/lib/components/SignMessagePreview/SignMessagePreview.js +23 -0
- package/src/lib/components/SignMessagePreview/SignMessagePreview.types.d.ts +8 -0
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.cjs +44 -0
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.d.ts +8 -0
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.js +40 -0
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/index.d.ts +1 -0
- package/src/lib/components/SignMessagePreview/components/index.d.ts +1 -0
- package/src/lib/components/SignMessagePreview/index.d.ts +1 -0
- package/src/lib/components/SignMessagePreview/utils/index.d.ts +1 -0
- package/src/lib/components/SignMessagePreview/utils/isSignTypedData/index.d.ts +1 -0
- package/src/lib/components/SignMessagePreview/utils/isSignTypedData/isSignTypedData.cjs +17 -0
- package/src/lib/components/SignMessagePreview/utils/isSignTypedData/isSignTypedData.d.ts +2 -0
- package/src/lib/components/SignMessagePreview/utils/isSignTypedData/isSignTypedData.js +13 -0
- package/src/lib/components/Skeleton/Skeleton.cjs +6 -6
- package/src/lib/components/Skeleton/Skeleton.d.ts +7 -7
- package/src/lib/components/Skeleton/Skeleton.js +6 -6
- package/src/lib/components/Skeleton/index.d.ts +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +98 -0
- package/src/lib/components/SocialSignIn/SocialSignIn.d.ts +12 -0
- package/src/lib/components/SocialSignIn/SocialSignIn.js +94 -0
- package/src/lib/{views/LoginWithEmailView/components → components}/SocialSignIn/index.d.ts +1 -1
- package/src/lib/components/Spinner/Spinner.types.d.ts +5 -5
- package/src/lib/components/Spinner/index.d.ts +1 -1
- package/src/lib/components/Spinner/spinner.cjs +1 -1
- package/src/lib/components/Spinner/spinner.d.ts +2 -2
- package/src/lib/components/Spinner/spinner.js +1 -1
- package/src/lib/components/StatusDot/StatusDot.cjs +1 -1
- package/src/lib/components/StatusDot/StatusDot.d.ts +7 -7
- package/src/lib/components/StatusDot/StatusDot.js +1 -1
- package/src/lib/components/StatusDot/index.d.ts +1 -1
- package/src/lib/components/Step/Step.cjs +22 -22
- package/src/lib/components/Step/Step.d.ts +7 -7
- package/src/lib/components/Step/Step.js +22 -22
- package/src/lib/components/Step/index.d.ts +1 -1
- package/src/lib/components/Stepper/Stepper.cjs +4 -4
- package/src/lib/components/Stepper/Stepper.d.ts +2 -2
- package/src/lib/components/Stepper/Stepper.js +4 -4
- package/src/lib/components/Stepper/index.d.ts +1 -1
- package/src/lib/components/Switch/Switch.cjs +1 -1
- package/src/lib/components/Switch/Switch.d.ts +13 -14
- package/src/lib/components/Switch/Switch.js +1 -1
- package/src/lib/components/Switch/index.d.ts +1 -1
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +74 -0
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.d.ts +2 -0
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +70 -0
- package/src/lib/components/SyncPasskeyFlow/index.d.ts +1 -0
- package/src/lib/components/TextButton/TextButton.cjs +3 -3
- package/src/lib/components/TextButton/TextButton.d.ts +2 -2
- package/src/lib/components/TextButton/TextButton.js +3 -3
- package/src/lib/components/TextButton/index.d.ts +1 -1
- package/src/lib/components/Toolkit/Toolkit.cjs +12 -11
- package/src/lib/components/Toolkit/Toolkit.d.ts +2 -2
- package/src/lib/components/Toolkit/Toolkit.js +12 -11
- package/src/lib/components/Toolkit/components/AuthModeSwitch.cjs +1 -1
- package/src/lib/components/Toolkit/components/AuthModeSwitch.d.ts +7 -8
- package/src/lib/components/Toolkit/components/AuthModeSwitch.js +1 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +11 -11
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.d.ts +1 -2
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +11 -11
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +12 -12
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.d.ts +1 -2
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +12 -12
- package/src/lib/components/Toolkit/components/MultiWalletSwitch.cjs +8 -8
- package/src/lib/components/Toolkit/components/MultiWalletSwitch.d.ts +6 -8
- package/src/lib/components/Toolkit/components/MultiWalletSwitch.js +8 -8
- package/src/lib/components/Toolkit/components/PrimaryColorInput.cjs +8 -8
- package/src/lib/components/Toolkit/components/PrimaryColorInput.d.ts +2 -2
- package/src/lib/components/Toolkit/components/PrimaryColorInput.js +8 -8
- package/src/lib/components/Toolkit/components/TemplateSelect.cjs +6 -6
- package/src/lib/components/Toolkit/components/TemplateSelect.d.ts +1 -2
- package/src/lib/components/Toolkit/components/TemplateSelect.js +6 -6
- package/src/lib/components/Toolkit/components/ThemeSwitch.cjs +15 -15
- package/src/lib/components/Toolkit/components/ThemeSwitch.d.ts +1 -2
- package/src/lib/components/Toolkit/components/ThemeSwitch.js +15 -15
- package/src/lib/components/Toolkit/components/index.d.ts +7 -7
- package/src/lib/components/Toolkit/index.d.ts +1 -1
- package/src/lib/components/Tooltip/Tooltip.cjs +64 -59
- package/src/lib/components/Tooltip/Tooltip.d.ts +7 -7
- package/src/lib/components/Tooltip/Tooltip.js +64 -59
- package/src/lib/components/TosAndPp/TosAndPp.cjs +18 -18
- package/src/lib/components/TosAndPp/TosAndPp.d.ts +1 -2
- package/src/lib/components/TosAndPp/TosAndPp.js +18 -18
- package/src/lib/components/TosAndPp/index.d.ts +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +7 -5
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.d.ts +17 -17
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +7 -5
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.cjs +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.d.ts +12 -12
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/index.d.ts +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/components/index.d.ts +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/index.d.ts +2 -2
- package/src/lib/components/TransactionOriginDestination/TransactionOriginDestination.d.ts +11 -11
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +12 -7
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.d.ts +12 -12
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +12 -7
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.cjs +26 -26
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.d.ts +4 -4
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.js +26 -26
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.types.d.ts +6 -6
- package/src/lib/components/Transition/OpacityTransition/index.d.ts +1 -1
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.cjs +23 -23
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.d.ts +4 -4
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.js +23 -23
- package/src/lib/components/Transition/SlideInUpTransition/index.d.ts +1 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +21 -16
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.d.ts +4 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +21 -16
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.types.d.ts +6 -6
- package/src/lib/components/Transition/VerticalDrawerTransition/index.d.ts +1 -1
- package/src/lib/components/Transition/ZoomTransition/ZoomTransition.cjs +26 -26
- package/src/lib/components/Transition/ZoomTransition/ZoomTransition.d.ts +4 -4
- package/src/lib/components/Transition/ZoomTransition/ZoomTransition.js +26 -26
- package/src/lib/components/Transition/ZoomTransition/index.d.ts +1 -1
- package/src/lib/components/Transition/index.d.ts +4 -4
- package/src/lib/components/Transition/transition.type.d.ts +12 -12
- package/src/lib/components/Typography/Typography.cjs +37 -36
- package/src/lib/components/Typography/Typography.d.ts +2 -2
- package/src/lib/components/Typography/Typography.js +37 -36
- package/src/lib/components/Typography/Typography.types.d.ts +16 -16
- package/src/lib/components/Typography/index.d.ts +1 -1
- package/src/lib/components/UserAddress/UserAddress.cjs +15 -10
- package/src/lib/components/UserAddress/UserAddress.d.ts +9 -9
- package/src/lib/components/UserAddress/UserAddress.js +15 -10
- package/src/lib/components/UserAddress/index.d.ts +1 -1
- package/src/lib/components/UserAvatar/UserAvatar.cjs +22 -0
- package/src/lib/components/UserAvatar/UserAvatar.d.ts +7 -0
- package/src/lib/components/UserAvatar/UserAvatar.js +18 -0
- package/src/lib/components/UserProfile/UserProfile.cjs +29 -19
- package/src/lib/components/UserProfile/UserProfile.d.ts +9 -9
- package/src/lib/components/UserProfile/UserProfile.js +29 -19
- package/src/lib/components/UserProfile/index.d.ts +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +14 -9
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.d.ts +8 -8
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +14 -9
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs +10 -10
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.d.ts +7 -7
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js +10 -10
- package/src/lib/components/UserProfile/parts/UserProfileField/components/index.d.ts +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +11 -6
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.d.ts +6 -6
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +11 -6
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +31 -25
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.d.ts +6 -6
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +31 -25
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.cjs +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.d.ts +9 -9
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.js +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/index.d.ts +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +26 -25
- package/src/lib/components/UserProfileForm/UserProfileForm.d.ts +22 -22
- package/src/lib/components/UserProfileForm/UserProfileForm.js +26 -25
- package/src/lib/components/UserProfileForm/index.d.ts +1 -1
- package/src/lib/components/WalletInformationCard/WalletInformationCard.cjs +10 -10
- package/src/lib/components/WalletInformationCard/WalletInformationCard.d.ts +11 -11
- package/src/lib/components/WalletInformationCard/WalletInformationCard.js +10 -10
- package/src/lib/components/WalletInformationCard/index.d.ts +1 -1
- package/src/lib/components/index.d.ts +51 -48
- package/src/lib/config/ApiEndpoint.cjs +18 -18
- package/src/lib/config/ApiEndpoint.d.ts +7 -7
- package/src/lib/config/ApiEndpoint.js +18 -18
- package/src/lib/context/AccessDeniedContext/AccessDeniedContext.cjs +18 -18
- package/src/lib/context/AccessDeniedContext/AccessDeniedContext.d.ts +13 -13
- package/src/lib/context/AccessDeniedContext/AccessDeniedContext.js +18 -18
- package/src/lib/context/AccessDeniedContext/index.d.ts +1 -1
- package/src/lib/context/AccountExistsContext/AccountExistsContext.cjs +15 -15
- package/src/lib/context/AccountExistsContext/AccountExistsContext.d.ts +17 -17
- package/src/lib/context/AccountExistsContext/AccountExistsContext.js +15 -15
- package/src/lib/context/AccountExistsContext/index.d.ts +1 -1
- package/src/lib/context/CaptchaContext/CaptchaContext.cjs +15 -15
- package/src/lib/context/CaptchaContext/CaptchaContext.d.ts +11 -11
- package/src/lib/context/CaptchaContext/CaptchaContext.js +15 -15
- package/src/lib/context/CaptchaContext/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/DynamicContext.cjs +629 -585
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +75 -62
- package/src/lib/context/DynamicContext/DynamicContext.js +630 -586
- package/src/lib/context/DynamicContext/helpers.cjs +89 -51
- package/src/lib/context/DynamicContext/helpers.d.ts +16 -10
- package/src/lib/context/DynamicContext/helpers.js +85 -52
- package/src/lib/context/DynamicContext/hooks/index.d.ts +5 -5
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/index.d.ts +2 -2
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +26 -26
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.d.ts +3 -3
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +26 -26
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.types.d.ts +2 -2
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +13 -12
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.d.ts +4 -4
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +13 -12
- package/src/lib/context/DynamicContext/hooks/useNameService/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +62 -62
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.d.ts +11 -11
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +62 -62
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.types.d.ts +4 -4
- package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.cjs +21 -18
- package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.d.ts +16 -14
- package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.js +21 -18
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.cjs +23 -13
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.js +23 -13
- package/src/lib/context/DynamicContext/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/internalEvents/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/internalEvents/internalEvents.cjs +14 -0
- package/src/lib/context/DynamicContext/internalEvents/internalEvents.d.ts +10 -0
- package/src/lib/context/DynamicContext/internalEvents/internalEvents.js +6 -0
- package/src/lib/context/DynamicContext/types/index.d.ts +155 -146
- package/src/lib/context/DynamicContext/useCustomerCallbacks/index.d.ts +3 -3
- package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +27 -20
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +18 -13
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.d.ts +5 -5
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +18 -13
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +140 -108
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +4 -4
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +140 -108
- package/src/lib/context/DynamicContext/useDynamicContext.cjs +50 -48
- package/src/lib/context/DynamicContext/useDynamicContext.d.ts +3 -3
- package/src/lib/context/DynamicContext/useDynamicContext.js +50 -48
- package/src/lib/context/DynamicContext/useInternalDynamicContext.cjs +7 -7
- package/src/lib/context/DynamicContext/useInternalDynamicContext.d.ts +1 -1
- package/src/lib/context/DynamicContext/useInternalDynamicContext.js +7 -7
- package/src/lib/context/DynamicContext/validators.cjs +22 -22
- package/src/lib/context/DynamicContext/validators.d.ts +3 -3
- package/src/lib/context/DynamicContext/validators.js +22 -22
- package/src/lib/context/EmailVerificationContext/EmailVerificationContext.cjs +19 -19
- package/src/lib/context/EmailVerificationContext/EmailVerificationContext.d.ts +13 -13
- package/src/lib/context/EmailVerificationContext/EmailVerificationContext.js +19 -19
- package/src/lib/context/EmailVerificationContext/index.d.ts +1 -1
- package/src/lib/context/ErrorContext/ErrorContext.cjs +45 -41
- package/src/lib/context/ErrorContext/ErrorContext.d.ts +12 -12
- package/src/lib/context/ErrorContext/ErrorContext.js +45 -41
- package/src/lib/context/ErrorContext/index.d.ts +1 -1
- package/src/lib/context/FooterAnimationContext/index.cjs +13 -13
- package/src/lib/context/FooterAnimationContext/index.d.ts +11 -11
- package/src/lib/context/FooterAnimationContext/index.js +13 -13
- package/src/lib/context/FundingContext/FundingContext.cjs +55 -54
- package/src/lib/context/FundingContext/FundingContext.d.ts +14 -14
- package/src/lib/context/FundingContext/FundingContext.js +55 -54
- package/src/lib/context/FundingContext/index.d.ts +1 -1
- package/src/lib/context/LoadingContext/LoadingContext.cjs +15 -15
- package/src/lib/context/LoadingContext/LoadingContext.d.ts +11 -11
- package/src/lib/context/LoadingContext/LoadingContext.js +15 -15
- package/src/lib/context/LoadingContext/index.d.ts +1 -1
- package/src/lib/context/MockContext/MockContext.cjs +45 -40
- package/src/lib/context/MockContext/MockContext.d.ts +28 -28
- package/src/lib/context/MockContext/MockContext.js +45 -40
- package/src/lib/context/MockContext/constants/index.cjs +57 -57
- package/src/lib/context/MockContext/constants/index.d.ts +2 -2
- package/src/lib/context/MockContext/constants/index.js +57 -57
- package/src/lib/context/MockContext/index.d.ts +1 -1
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +25 -20
- package/src/lib/context/QrCodeContext/QrCodeContext.d.ts +13 -13
- package/src/lib/context/QrCodeContext/QrCodeContext.js +25 -20
- package/src/lib/context/QrCodeContext/index.d.ts +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +33 -28
- package/src/lib/context/SendBalanceContext/SendBalanceContext.d.ts +4 -4
- package/src/lib/context/SendBalanceContext/SendBalanceContext.errors.cjs +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.errors.d.ts +3 -3
- package/src/lib/context/SendBalanceContext/SendBalanceContext.errors.js +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +33 -28
- package/src/lib/context/SendBalanceContext/SendBalanceContext.types.d.ts +9 -9
- package/src/lib/context/SendBalanceContext/index.d.ts +1 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +167 -158
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.d.ts +19 -19
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +167 -158
- package/src/lib/context/SocialRedirectContext/index.d.ts +1 -1
- package/src/lib/context/ThemeContext/ThemeContext.cjs +79 -79
- package/src/lib/context/ThemeContext/ThemeContext.d.ts +11 -11
- package/src/lib/context/ThemeContext/ThemeContext.js +79 -79
- package/src/lib/context/ThemeContext/index.d.ts +2 -2
- package/src/lib/context/ThemeContext/themesData.cjs +74 -74
- package/src/lib/context/ThemeContext/themesData.d.ts +71 -71
- package/src/lib/context/ThemeContext/themesData.js +74 -74
- package/src/lib/context/ThemeContext/types.d.ts +38 -38
- package/src/lib/context/ThemeContext/utils/findThemeMode/findThemeMode.d.ts +3 -3
- package/src/lib/context/ThemeContext/utils/findThemeMode/index.d.ts +1 -1
- package/src/lib/context/ThemeContext/utils/index.d.ts +2 -2
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/index.d.ts +1 -1
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.cjs +35 -35
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.d.ts +4 -4
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.js +35 -35
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +68 -0
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.d.ts +14 -0
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +63 -0
- package/src/lib/context/UserFieldEditorContext/index.d.ts +1 -0
- package/src/lib/context/ViewContext/ViewContext.cjs +20 -35
- package/src/lib/context/ViewContext/ViewContext.d.ts +14 -14
- package/src/lib/context/ViewContext/ViewContext.js +21 -36
- package/src/lib/context/ViewContext/index.d.ts +1 -1
- package/src/lib/context/WalletContext/WalletContext.cjs +9 -22
- package/src/lib/context/WalletContext/WalletContext.d.ts +7 -7
- package/src/lib/context/WalletContext/WalletContext.js +9 -22
- package/src/lib/context/WalletContext/index.d.ts +1 -1
- package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +20 -20
- package/src/lib/context/WalletGroupContext/WalletGroupContext.d.ts +9 -9
- package/src/lib/context/WalletGroupContext/WalletGroupContext.js +20 -20
- package/src/lib/data/api.cjs +472 -393
- package/src/lib/data/api.d.ts +80 -69
- package/src/lib/data/api.js +472 -396
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +22 -15
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.d.ts +13 -13
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +22 -15
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +61 -56
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +2 -3
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +61 -56
- package/src/lib/layout/DynamicAuthLayout/Header/header.types.d.ts +9 -9
- package/src/lib/layout/DynamicAuthLayout/Header/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/EmptyHelpContent.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/EmptyHelpContent.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/EmptyHelpContent.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +26 -20
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +26 -20
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +19 -13
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +19 -13
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +61 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +57 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +11 -6
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.d.ts +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +11 -6
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.d.ts +7 -7
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +20 -15
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.d.ts +8 -8
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +20 -15
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +45 -40
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.d.ts +8 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +45 -40
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +57 -52
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +6 -7
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +57 -52
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/index.d.ts +5 -4
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +13 -8
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +13 -8
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +20 -15
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +20 -15
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/getChainStepState.cjs +11 -11
- package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/getChainStepState.d.ts +3 -3
- package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/getChainStepState.js +11 -11
- package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/index.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/utils/index.d.ts +1 -1
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +13 -8
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.d.ts +9 -9
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +13 -8
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/index.d.ts +1 -1
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +13 -8
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.d.ts +19 -19
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +13 -8
- package/src/lib/layouts/BridgeWelcomeLayout/index.d.ts +2 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +14 -9
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.d.ts +10 -10
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +14 -9
- package/src/lib/layouts/ConnectedWalletsListLayout/index.d.ts +1 -1
- package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.d.ts +8 -8
- package/src/lib/layouts/SelectWalletListLayout/index.d.ts +1 -1
- package/src/lib/locale/en/translation.cjs +132 -0
- package/src/lib/locale/en/translation.js +116 -0
- package/src/lib/locale/index.d.ts +1 -0
- package/src/lib/locale/locale.cjs +68 -0
- package/src/lib/locale/locale.d.ts +14 -0
- package/src/lib/locale/locale.js +59 -0
- package/src/lib/main.global.cjs +1 -1
- package/src/lib/main.global.js +1 -1
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +31 -26
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.d.ts +10 -10
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +31 -26
- package/src/lib/modals/SendBalanceModal/index.d.ts +1 -1
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +36 -29
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.d.ts +2 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +36 -29
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.types.d.ts +20 -12
- package/src/lib/modals/SignMessageConfirmationModal/getProperErrorMessage.cjs +20 -0
- package/src/lib/modals/SignMessageConfirmationModal/getProperErrorMessage.d.ts +2 -0
- package/src/lib/modals/SignMessageConfirmationModal/getProperErrorMessage.js +16 -0
- package/src/lib/modals/SignMessageConfirmationModal/index.d.ts +1 -1
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +40 -26
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.d.ts +2 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +40 -26
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +13 -11
- package/src/lib/modals/TransactionConfirmationModal/index.d.ts +1 -1
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +77 -0
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.d.ts +10 -0
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +73 -0
- package/src/lib/modals/UserFieldEditorModal/index.d.ts +1 -0
- package/src/lib/modals/index.d.ts +4 -3
- package/src/lib/shared/assets/android-face-id.cjs +61 -0
- package/src/lib/shared/assets/android-face-id.js +37 -0
- package/src/lib/shared/assets/at.cjs +53 -0
- package/src/lib/shared/assets/at.js +29 -0
- package/src/lib/shared/assets/embedded-wallet-icon.cjs +51 -0
- package/src/lib/shared/assets/embedded-wallet-icon.js +27 -0
- package/src/lib/shared/assets/index.d.ts +55 -37
- package/src/lib/shared/assets/iphone-face-id.cjs +53 -0
- package/src/lib/shared/assets/iphone-face-id.js +29 -0
- package/src/lib/shared/assets/iphone-touch-id.cjs +72 -0
- package/src/lib/shared/assets/iphone-touch-id.js +48 -0
- package/src/lib/shared/assets/justified-text.cjs +53 -0
- package/src/lib/shared/assets/justified-text.js +29 -0
- package/src/lib/shared/assets/location.cjs +53 -0
- package/src/lib/shared/assets/location.js +29 -0
- package/src/lib/shared/assets/mail.cjs +53 -0
- package/src/lib/shared/assets/mail.js +29 -0
- package/src/lib/shared/assets/passkey-intro-icon.cjs +97 -0
- package/src/lib/shared/assets/passkey-intro-icon.js +73 -0
- package/src/lib/shared/assets/passkey-success-icon.cjs +94 -0
- package/src/lib/shared/assets/passkey-success-icon.js +70 -0
- package/src/lib/shared/assets/phone.cjs +53 -0
- package/src/lib/shared/assets/phone.js +29 -0
- package/src/lib/shared/assets/sign-in-with-email.cjs +59 -0
- package/src/lib/shared/assets/sign-in-with-email.js +35 -0
- package/src/lib/shared/assets/size-labels.cjs +53 -0
- package/src/lib/shared/assets/size-labels.js +29 -0
- package/src/lib/shared/assets/sparkles.cjs +53 -0
- package/src/lib/shared/assets/sparkles.js +29 -0
- package/src/lib/shared/assets/user-account-2.cjs +53 -0
- package/src/lib/shared/assets/user-account-2.js +29 -0
- package/src/lib/shared/assets/user-card.cjs +53 -0
- package/src/lib/shared/assets/user-card.js +29 -0
- package/src/lib/shared/assets/user.cjs +53 -0
- package/src/lib/shared/assets/user.js +29 -0
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs +14 -14
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.d.ts +2 -2
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.js +14 -14
- package/src/lib/shared/assets/work-suitcase.cjs +53 -0
- package/src/lib/shared/assets/work-suitcase.js +29 -0
- package/src/lib/shared/consts/index.cjs +32 -32
- package/src/lib/shared/consts/index.d.ts +9 -9
- package/src/lib/shared/consts/index.js +32 -32
- package/src/lib/shared/index.d.ts +5 -5
- package/src/lib/shared/logger.d.ts +2 -2
- package/src/lib/shared/types/index.d.ts +167 -158
- package/src/lib/shared/utils/classes/index.d.ts +1 -1
- package/src/lib/shared/utils/classes/storage/localStorage.cjs +74 -74
- package/src/lib/shared/utils/classes/storage/localStorage.d.ts +25 -25
- package/src/lib/shared/utils/classes/storage/localStorage.js +74 -74
- package/src/lib/shared/utils/functions/capitalize/capitalize.d.ts +1 -1
- package/src/lib/shared/utils/functions/capitalize/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/ceil/ceil.cjs +3 -3
- package/src/lib/shared/utils/functions/ceil/ceil.d.ts +1 -1
- package/src/lib/shared/utils/functions/ceil/ceil.js +3 -3
- package/src/lib/shared/utils/functions/ceil/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/chain/getChainDisplayName.cjs +8 -8
- package/src/lib/shared/utils/functions/chain/getChainDisplayName.d.ts +1 -1
- package/src/lib/shared/utils/functions/chain/getChainDisplayName.js +8 -8
- package/src/lib/shared/utils/functions/chain/getChainIcon.cjs +12 -12
- package/src/lib/shared/utils/functions/chain/getChainIcon.d.ts +2 -2
- package/src/lib/shared/utils/functions/chain/getChainIcon.js +12 -12
- package/src/lib/shared/utils/functions/chain/index.d.ts +2 -2
- package/src/lib/shared/utils/functions/debounce/debounce.cjs +10 -10
- package/src/lib/shared/utils/functions/debounce/debounce.d.ts +1 -1
- package/src/lib/shared/utils/functions/debounce/debounce.js +10 -10
- package/src/lib/shared/utils/functions/debounce/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.cjs +19 -19
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.d.ts +2 -2
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.js +19 -19
- package/src/lib/shared/utils/functions/decodeJwt/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/detectBrowser/detectBrowser.cjs +18 -18
- package/src/lib/shared/utils/functions/detectBrowser/detectBrowser.d.ts +2 -2
- package/src/lib/shared/utils/functions/detectBrowser/detectBrowser.js +18 -18
- package/src/lib/shared/utils/functions/detectBrowser/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.cjs +11 -11
- package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.d.ts +1 -2
- package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.js +11 -11
- package/src/lib/shared/utils/functions/formatBigNumber/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/getBrowserIcon/getBrowserIcon.cjs +7 -7
- package/src/lib/shared/utils/functions/getBrowserIcon/getBrowserIcon.d.ts +4 -4
- package/src/lib/shared/utils/functions/getBrowserIcon/getBrowserIcon.js +7 -7
- package/src/lib/shared/utils/functions/getBrowserIcon/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/getValueByKey/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +35 -35
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.d.ts +8 -8
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +35 -35
- package/src/lib/shared/utils/functions/getWalletListItemLabel/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/index.d.ts +15 -15
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.cjs +5 -5
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.d.ts +1 -1
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.js +5 -5
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/isDisplayOrderPriorityForWeb3.cjs +5 -5
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/isDisplayOrderPriorityForWeb3.d.ts +1 -1
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/isDisplayOrderPriorityForWeb3.js +5 -5
- package/src/lib/shared/utils/functions/isSSR/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/isSSR/isSSR.d.ts +1 -1
- package/src/lib/shared/utils/functions/isUserLinkingWallet/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.cjs +5 -5
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.d.ts +2 -2
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.js +5 -5
- package/src/lib/shared/utils/functions/lastAuthenticatedAccount/index.d.ts +3 -3
- package/src/lib/shared/utils/functions/shortenEmail/shortenEmail.cjs +20 -20
- package/src/lib/shared/utils/functions/shortenEmail/shortenEmail.d.ts +6 -6
- package/src/lib/shared/utils/functions/shortenEmail/shortenEmail.js +20 -20
- package/src/lib/shared/utils/functions/shortenWalletAddress/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/shortenWalletAddress/shortenWalletAddress.cjs +4 -4
- package/src/lib/shared/utils/functions/shortenWalletAddress/shortenWalletAddress.d.ts +1 -1
- package/src/lib/shared/utils/functions/shortenWalletAddress/shortenWalletAddress.js +4 -4
- package/src/lib/shared/utils/functions/splitCamelCase/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/splitCamelCase/splitCamelCase.cjs +8 -0
- package/src/lib/shared/utils/functions/splitCamelCase/splitCamelCase.d.ts +1 -0
- package/src/lib/shared/utils/functions/splitCamelCase/splitCamelCase.js +4 -0
- package/src/lib/shared/utils/functions/trimEnd/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.cjs +6 -6
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.d.ts +1 -1
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.js +6 -6
- package/src/lib/shared/utils/functions/validateType/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/validateType/validateType.cjs +22 -22
- package/src/lib/shared/utils/functions/validateType/validateType.d.ts +1 -1
- package/src/lib/shared/utils/functions/validateType/validateType.js +22 -22
- package/src/lib/shared/utils/functions/wallet/createWallet.cjs +11 -9
- package/src/lib/shared/utils/functions/wallet/createWallet.d.ts +4 -4
- package/src/lib/shared/utils/functions/wallet/createWallet.js +11 -9
- package/src/lib/shared/utils/functions/wallet/index.d.ts +1 -1
- package/src/lib/shared/utils/hooks/index.d.ts +7 -7
- package/src/lib/shared/utils/hooks/useEffectOnce/index.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useEffectOnce/useEffectOnce.cjs +18 -18
- package/src/lib/shared/utils/hooks/useEffectOnce/useEffectOnce.d.ts +17 -17
- package/src/lib/shared/utils/hooks/useEffectOnce/useEffectOnce.js +18 -18
- package/src/lib/shared/utils/hooks/useForwardedRef/index.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.cjs +16 -16
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.d.ts +2 -2
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.js +16 -16
- package/src/lib/shared/utils/hooks/useGlobalLoading/index.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.cjs +30 -30
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.d.ts +19 -19
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.js +30 -30
- package/src/lib/shared/utils/hooks/useLocalStorage/index.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.cjs +33 -33
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.js +33 -33
- package/src/lib/shared/utils/hooks/useMediaQuery/index.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useMediaQuery/useMediaQuery.cjs +22 -22
- package/src/lib/shared/utils/hooks/useMediaQuery/useMediaQuery.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useMediaQuery/useMediaQuery.js +22 -22
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.cjs +19 -19
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.d.ts +2 -2
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.js +19 -19
- package/src/lib/shared/utils/hooks/usePreventPageScroll/index.d.ts +1 -1
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +45 -19
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.d.ts +1 -1
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +45 -19
- package/src/lib/shared/utils/index.d.ts +3 -3
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/colors.cjs +6 -6
- package/src/lib/utils/constants/colors.d.ts +45 -45
- package/src/lib/utils/constants/colors.js +6 -6
- package/src/lib/utils/constants/errors.cjs +7 -0
- package/src/lib/utils/constants/errors.d.ts +1 -0
- package/src/lib/utils/constants/errors.js +3 -0
- package/src/lib/utils/constants/index.d.ts +5 -5
- package/src/lib/utils/constants/localStorage.cjs +17 -13
- package/src/lib/utils/constants/localStorage.d.ts +17 -15
- package/src/lib/utils/constants/localStorage.js +16 -14
- package/src/lib/utils/constants/onrampProviders.d.ts +1 -1
- package/src/lib/utils/constants/theme.d.ts +3 -3
- package/src/lib/utils/constants/typography.d.ts +9 -9
- package/src/lib/utils/constants/values.d.ts +1 -1
- package/src/lib/utils/functions/animationFrameTimeout/animationFrameTimeout.cjs +19 -19
- package/src/lib/utils/functions/animationFrameTimeout/animationFrameTimeout.d.ts +5 -5
- package/src/lib/utils/functions/animationFrameTimeout/animationFrameTimeout.js +19 -19
- package/src/lib/utils/functions/authenication/isEmailVerificationRequired/isEmailVerificationRequired.d.ts +2 -2
- package/src/lib/utils/functions/classNames/classNames.cjs +20 -20
- package/src/lib/utils/functions/classNames/classNames.d.ts +2 -2
- package/src/lib/utils/functions/classNames/classNames.js +20 -20
- package/src/lib/utils/functions/classNames/classNames.types.d.ts +5 -5
- package/src/lib/utils/functions/classNames/index.d.ts +1 -1
- package/src/lib/utils/functions/classNames/utils/index.d.ts +2 -2
- package/src/lib/utils/functions/classNames/utils/isClassNamesObjectArg.d.ts +2 -2
- package/src/lib/utils/functions/classNames/utils/isString.d.ts +1 -1
- package/src/lib/utils/functions/convertHexToRGBA/convertHexToRGBA.cjs +5 -5
- package/src/lib/utils/functions/convertHexToRGBA/convertHexToRGBA.d.ts +1 -1
- package/src/lib/utils/functions/convertHexToRGBA/convertHexToRGBA.js +5 -5
- package/src/lib/utils/functions/convertHexToRGBA/index.d.ts +1 -1
- package/src/lib/utils/functions/createUserProfile/createUserProfile.cjs +27 -27
- package/src/lib/utils/functions/createUserProfile/createUserProfile.d.ts +3 -3
- package/src/lib/utils/functions/createUserProfile/createUserProfile.js +27 -27
- package/src/lib/utils/functions/createUserProfile/index.d.ts +1 -1
- package/src/lib/utils/functions/digestSHA256/digestSHA256.cjs +11 -0
- package/src/lib/utils/functions/digestSHA256/digestSHA256.d.ts +1 -0
- package/src/lib/utils/functions/digestSHA256/digestSHA256.js +7 -0
- package/src/lib/utils/functions/digestSHA256/index.d.ts +1 -0
- package/src/lib/utils/functions/encodeBase64URL/encodeBase64URL.cjs +14 -0
- package/src/lib/utils/functions/encodeBase64URL/encodeBase64URL.d.ts +1 -0
- package/src/lib/utils/functions/encodeBase64URL/encodeBase64URL.js +10 -0
- package/src/lib/utils/functions/encodeBase64URL/index.d.ts +1 -0
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.cjs +26 -0
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.d.ts +1 -0
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.js +22 -0
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/index.d.ts +1 -0
- package/src/lib/utils/functions/findTurnkeyWalletConnector/findTurnkeyWalletConnector.cjs +7 -0
- package/src/lib/utils/functions/findTurnkeyWalletConnector/findTurnkeyWalletConnector.d.ts +2 -0
- package/src/lib/utils/functions/findTurnkeyWalletConnector/findTurnkeyWalletConnector.js +3 -0
- package/src/lib/utils/functions/findTurnkeyWalletConnector/index.d.ts +1 -0
- package/src/lib/utils/functions/generateMessages/index.cjs +34 -34
- package/src/lib/utils/functions/generateMessages/index.d.ts +5 -5
- package/src/lib/utils/functions/generateMessages/index.js +34 -34
- package/src/lib/utils/functions/getActiveOauthCredential/getActiveOauthCredential.cjs +11 -0
- package/src/lib/utils/functions/getActiveOauthCredential/getActiveOauthCredential.d.ts +2 -0
- package/src/lib/utils/functions/getActiveOauthCredential/getActiveOauthCredential.js +7 -0
- package/src/lib/utils/functions/getActiveOauthCredential/index.d.ts +1 -0
- package/src/lib/utils/functions/getAppOrigin/getAppOrigin.cjs +5 -5
- package/src/lib/utils/functions/getAppOrigin/getAppOrigin.d.ts +1 -1
- package/src/lib/utils/functions/getAppOrigin/getAppOrigin.js +5 -5
- package/src/lib/utils/functions/getAppOrigin/index.d.ts +1 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +13 -13
- package/src/lib/utils/functions/getAuthToken/getAuthToken.d.ts +1 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.js +13 -13
- package/src/lib/utils/functions/getAuthToken/index.d.ts +1 -1
- package/src/lib/utils/functions/getEnabledKYC/index.cjs +5 -5
- package/src/lib/utils/functions/getEnabledKYC/index.d.ts +7 -7
- package/src/lib/utils/functions/getEnabledKYC/index.js +5 -5
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.cjs +3 -3
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.d.ts +2 -2
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.js +3 -3
- package/src/lib/utils/functions/getEnabledProviders/index.d.ts +2 -2
- package/src/lib/utils/functions/getEnabledSocialSignInProvidersAsProviderEnum/getEnabledSocialSignInProvidersAsProviderEnum.d.ts +2 -0
- package/src/lib/utils/functions/getEnabledSocialSignInProvidersAsProviderEnum/index.d.ts +1 -0
- package/src/lib/utils/functions/getMissingChains/getMissingChains.cjs +9 -9
- package/src/lib/utils/functions/getMissingChains/getMissingChains.d.ts +3 -3
- package/src/lib/utils/functions/getMissingChains/getMissingChains.js +9 -9
- package/src/lib/utils/functions/getMissingChains/index.d.ts +1 -1
- package/src/lib/utils/functions/getNetwork/getNetwork.d.ts +2 -2
- package/src/lib/utils/functions/getNetwork/index.d.ts +1 -1
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.cjs +80 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.d.ts +2 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.js +76 -0
- package/src/lib/utils/functions/getOauthLoginUrl/index.d.ts +1 -0
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/getProviderEnumForSocialSignInProvider.cjs +19 -0
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/getProviderEnumForSocialSignInProvider.d.ts +2 -0
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/getProviderEnumForSocialSignInProvider.js +15 -0
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/index.d.ts +1 -0
- package/src/lib/utils/functions/getRedirectURIOrigin/getRedirectURIOrigin.d.ts +1 -0
- package/src/lib/utils/functions/getRedirectURIOrigin/index.d.ts +1 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.cjs +11 -11
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.d.ts +7 -7
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.js +11 -11
- package/src/lib/utils/functions/getReferencedAccount/index.d.ts +1 -1
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.cjs +3 -3
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.d.ts +4 -4
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.js +3 -3
- package/src/lib/utils/functions/getSiweStatement/index.d.ts +1 -1
- package/src/lib/utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.cjs +6 -6
- package/src/lib/utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.d.ts +3 -3
- package/src/lib/utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.js +6 -6
- package/src/lib/utils/functions/getSocialNetworkIcon/index.d.ts +1 -1
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/getSocialSignInProviderForProviderEnum.cjs +19 -0
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/getSocialSignInProviderForProviderEnum.d.ts +2 -0
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/getSocialSignInProviderForProviderEnum.js +15 -0
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/index.d.ts +1 -0
- package/src/lib/utils/functions/getSocialSignInProviderFromString/getSocialSignInProviderFromString.cjs +19 -0
- package/src/lib/utils/functions/getSocialSignInProviderFromString/getSocialSignInProviderFromString.d.ts +2 -0
- package/src/lib/utils/functions/getSocialSignInProviderFromString/getSocialSignInProviderFromString.js +15 -0
- package/src/lib/utils/functions/getSocialSignInProviderFromString/index.d.ts +1 -0
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.cjs +78 -78
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.d.ts +30 -30
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.js +78 -78
- package/src/lib/utils/functions/getUserProfileFields/index.d.ts +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +22 -22
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +25 -25
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +22 -22
- package/src/lib/utils/functions/getVerifyArgs/index.d.ts +1 -1
- package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.cjs +5 -5
- package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.d.ts +3 -3
- package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.js +5 -5
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.cjs +11 -8
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.d.ts +2 -2
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.js +11 -8
- package/src/lib/utils/functions/getWalletProvider/index.d.ts +1 -1
- package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.d.ts +2 -2
- package/src/lib/utils/functions/getWalletVerifiedCredential/index.d.ts +1 -1
- package/src/lib/utils/functions/groupBy/groupBy.d.ts +12 -12
- package/src/lib/utils/functions/groupBy/index.d.ts +1 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +22 -21
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.d.ts +14 -14
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +22 -21
- package/src/lib/utils/functions/handleUnlinkHelper/index.d.ts +1 -1
- package/src/lib/utils/functions/index.d.ts +41 -25
- package/src/lib/utils/functions/isEmailProviderEnabled/index.d.ts +1 -1
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.cjs +8 -2
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.d.ts +2 -2
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.js +8 -2
- package/src/lib/utils/functions/isEmbeddedWalletPresent/index.d.ts +1 -0
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.cjs +9 -0
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.d.ts +1 -0
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.js +5 -0
- package/src/lib/utils/functions/isMagicConnector/index.d.ts +1 -1
- package/src/lib/utils/functions/isMagicConnector/isMagicConnector.cjs +10 -0
- package/src/lib/utils/functions/isMagicConnector/isMagicConnector.d.ts +2 -2
- package/src/lib/utils/functions/isMagicConnector/isMagicConnector.js +6 -0
- package/src/lib/utils/functions/isNetworkUnsupported/index.d.ts +1 -1
- package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.cjs +3 -3
- package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.d.ts +2 -2
- package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.js +3 -3
- package/src/lib/utils/functions/isOnrampProvider/index.d.ts +1 -1
- package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.d.ts +2 -2
- package/src/lib/utils/functions/isPasskeyEmbeddedWalletEnabled/index.d.ts +1 -0
- package/src/lib/utils/functions/isPasskeyEmbeddedWalletEnabled/isPasskeyEmbeddedWalletEnabled.cjs +7 -0
- package/src/lib/utils/functions/isPasskeyEmbeddedWalletEnabled/isPasskeyEmbeddedWalletEnabled.d.ts +2 -0
- package/src/lib/utils/functions/isPasskeyEmbeddedWalletEnabled/isPasskeyEmbeddedWalletEnabled.js +3 -0
- package/src/lib/utils/functions/isPasskeyEnabled/index.d.ts +1 -0
- package/src/lib/utils/functions/isPasskeyEnabled/isPasskeyEnabled.cjs +22 -0
- package/src/lib/utils/functions/isPasskeyEnabled/isPasskeyEnabled.d.ts +1 -0
- package/src/lib/utils/functions/isPasskeyEnabled/isPasskeyEnabled.js +18 -0
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/index.d.ts +1 -1
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/isProgrammableNetworkSwitchSupported.cjs +15 -15
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/isProgrammableNetworkSwitchSupported.d.ts +8 -8
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/isProgrammableNetworkSwitchSupported.js +15 -15
- package/src/lib/utils/functions/isProviderEnabled/index.d.ts +1 -1
- package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.d.ts +2 -2
- package/src/lib/utils/functions/isSameWalletName/index.d.ts +1 -1
- package/src/lib/utils/functions/isSameWalletName/isSameWalletName.d.ts +1 -1
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/index.d.ts +1 -1
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.cjs +6 -6
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.d.ts +3 -3
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.js +6 -6
- package/src/lib/utils/functions/isSocialKycEnabled/index.d.ts +1 -1
- package/src/lib/utils/functions/isSocialKycEnabled/isSocialKycEnabled.d.ts +2 -2
- package/src/lib/utils/functions/isSupportedNetwork/index.d.ts +1 -1
- package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.cjs +7 -7
- package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.d.ts +6 -6
- package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.js +7 -7
- package/src/lib/utils/functions/isWalletConnected/index.d.ts +1 -1
- package/src/lib/utils/functions/isWalletConnected/isWalletConnected.cjs +3 -3
- package/src/lib/utils/functions/isWalletConnected/isWalletConnected.d.ts +4 -4
- package/src/lib/utils/functions/isWalletConnected/isWalletConnected.js +3 -3
- package/src/lib/utils/functions/isWalletLinked/index.d.ts +1 -1
- package/src/lib/utils/functions/isWalletLinked/isWalletLinked.cjs +6 -6
- package/src/lib/utils/functions/isWalletLinked/isWalletLinked.d.ts +2 -2
- package/src/lib/utils/functions/isWalletLinked/isWalletLinked.js +6 -6
- package/src/lib/utils/functions/parseTheme/index.d.ts +1 -1
- package/src/lib/utils/functions/parseTheme/parseTheme.cjs +2 -2
- package/src/lib/utils/functions/parseTheme/parseTheme.d.ts +3 -3
- package/src/lib/utils/functions/parseTheme/parseTheme.js +2 -2
- package/src/lib/utils/functions/parseWalletLinks/index.d.ts +1 -1
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.cjs +26 -26
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.d.ts +11 -11
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.js +26 -26
- package/src/lib/utils/functions/pixelToRem/index.d.ts +1 -1
- package/src/lib/utils/functions/pixelToRem/pixelToRem.cjs +5 -5
- package/src/lib/utils/functions/pixelToRem/pixelToRem.d.ts +1 -1
- package/src/lib/utils/functions/pixelToRem/pixelToRem.js +5 -5
- package/src/lib/utils/functions/randomString/index.d.ts +1 -0
- package/src/lib/utils/functions/randomString/randomString.cjs +14 -0
- package/src/lib/utils/functions/randomString/randomString.d.ts +1 -0
- package/src/lib/utils/functions/randomString/randomString.js +10 -0
- package/src/lib/utils/functions/requiresTwoStepAuthentication/index.d.ts +1 -1
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.cjs +2 -2
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.d.ts +2 -2
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.js +2 -2
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/index.d.ts +1 -0
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.cjs +48 -0
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.d.ts +18 -0
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.js +43 -0
- package/src/lib/utils/functions/shouldManuallyReconnectOnRefresh/index.d.ts +1 -1
- package/src/lib/utils/functions/shouldManuallyReconnectOnRefresh/shouldManuallyReconnectOnRefresh.d.ts +2 -2
- package/src/lib/utils/functions/storeAuthToken/index.cjs +3 -3
- package/src/lib/utils/functions/storeAuthToken/index.d.ts +1 -1
- package/src/lib/utils/functions/storeAuthToken/index.js +3 -3
- package/src/lib/utils/functions/stringifyURIQuery/index.d.ts +1 -0
- package/src/lib/utils/functions/stringifyURIQuery/stringifyURIQuery.cjs +13 -0
- package/src/lib/utils/functions/stringifyURIQuery/stringifyURIQuery.d.ts +1 -0
- package/src/lib/utils/functions/stringifyURIQuery/stringifyURIQuery.js +9 -0
- package/src/lib/utils/functions/typeGuard/index.d.ts +1 -1
- package/src/lib/utils/functions/typeGuard/isThemeSetting.cjs +1 -1
- package/src/lib/utils/functions/typeGuard/isThemeSetting.d.ts +2 -2
- package/src/lib/utils/functions/typeGuard/isThemeSetting.js +1 -1
- package/src/lib/utils/functions/walletFilters/index.cjs +32 -32
- package/src/lib/utils/functions/walletFilters/index.d.ts +20 -20
- package/src/lib/utils/functions/walletFilters/index.js +32 -32
- package/src/lib/utils/functions/walletListBuilder/index.d.ts +1 -1
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/findLastPriorityIndex.cjs +5 -5
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/findLastPriorityIndex.d.ts +1 -1
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/findLastPriorityIndex.js +5 -5
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/index.d.ts +1 -1
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.cjs +8 -8
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.d.ts +2 -2
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.js +8 -8
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.types.d.ts +7 -7
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/index.d.ts +1 -1
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs +36 -36
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.d.ts +9 -9
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js +36 -36
- package/src/lib/utils/functions/walletListBuilder/utils/index.d.ts +2 -2
- package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.cjs +6 -6
- package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.d.ts +8 -8
- package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.js +6 -6
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +149 -150
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +22 -22
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +150 -151
- package/src/lib/utils/hooks/authenticationHooks/helpers/index.d.ts +2 -2
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.cjs +6 -6
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.d.ts +2 -2
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.js +6 -6
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.cjs +21 -21
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.d.ts +3 -3
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.js +21 -21
- package/src/lib/utils/hooks/authenticationHooks/index.d.ts +4 -3
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/index.d.ts +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +86 -80
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.d.ts +10 -9
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +86 -80
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/index.d.ts +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +74 -74
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.d.ts +10 -10
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +74 -74
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/index.d.ts +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +27 -27
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.d.ts +8 -8
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +27 -27
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/index.d.ts +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +44 -40
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.d.ts +7 -7
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +44 -40
- package/src/lib/utils/hooks/index.d.ts +42 -35
- package/src/lib/utils/hooks/multiWallet/index.d.ts +3 -3
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/index.d.ts +1 -1
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.cjs +16 -11
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.d.ts +4 -4
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.js +16 -11
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/index.d.ts +2 -2
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/index.d.ts +2 -2
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingAccountSwitch.cjs +32 -32
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingAccountSwitch.d.ts +2 -2
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingAccountSwitch.js +32 -32
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingSignature.cjs +35 -35
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingSignature.d.ts +2 -2
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingSignature.js +35 -35
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/types.d.ts +19 -19
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.cjs +53 -53
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.d.ts +2 -2
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.js +53 -53
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/index.d.ts +1 -1
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +113 -102
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.d.ts +1 -19
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +113 -102
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/index.d.ts +1 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +29 -28
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.d.ts +1 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +29 -28
- package/src/lib/utils/hooks/useApplyWalletConnectorNetwork/useApplyWalletConnectorNetwork.cjs +19 -19
- package/src/lib/utils/hooks/useApplyWalletConnectorNetwork/useApplyWalletConnectorNetwork.d.ts +5 -5
- package/src/lib/utils/hooks/useApplyWalletConnectorNetwork/useApplyWalletConnectorNetwork.js +19 -19
- package/src/lib/utils/hooks/useAuthLayoutChecks/index.d.ts +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +79 -73
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +11 -11
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +79 -73
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/index.d.ts +1 -1
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +20 -19
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.d.ts +4 -4
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +20 -19
- package/src/lib/utils/hooks/useClearWalletConnectSessions/index.d.ts +1 -1
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +27 -27
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.d.ts +9 -9
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +27 -27
- package/src/lib/utils/hooks/useColorSchemePreference/index.d.ts +1 -1
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.cjs +4 -4
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.d.ts +1 -1
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.js +4 -4
- package/src/lib/utils/hooks/useConfirmationModal/index.d.ts +1 -1
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.cjs +27 -20
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.d.ts +8 -2
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.js +27 -20
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.types.d.ts +8 -8
- package/src/lib/utils/hooks/useConnectWallet/index.d.ts +1 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +173 -182
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +32 -33
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +175 -184
- package/src/lib/utils/hooks/useConnectWithEmail/index.d.ts +1 -1
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +30 -30
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.d.ts +10 -10
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +30 -30
- package/src/lib/utils/hooks/useConnectedAccountWallet/index.d.ts +1 -1
- package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.cjs +11 -11
- package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.d.ts +2 -2
- package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.js +11 -11
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +47 -45
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.d.ts +1 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +47 -45
- package/src/lib/utils/hooks/useCountdown/useCountdown.cjs +30 -30
- package/src/lib/utils/hooks/useCountdown/useCountdown.d.ts +11 -11
- package/src/lib/utils/hooks/useCountdown/useCountdown.js +30 -30
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/index.d.ts +1 -1
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +18 -17
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.d.ts +3 -3
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +18 -17
- package/src/lib/utils/hooks/useDefaultQrCode/index.d.ts +1 -1
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.cjs +23 -23
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.d.ts +7 -7
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.js +23 -23
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +79 -0
- package/src/lib/utils/{functions/getDynamicLayoutData/getDynamicLayoutData.d.ts → hooks/useDynamicLayoutData/useDynamicLayoutData.d.ts} +23 -21
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +75 -0
- package/src/lib/utils/hooks/useDynamicScopes/index.d.ts +1 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +30 -30
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.d.ts +6 -6
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +30 -30
- package/src/lib/utils/hooks/useElementById/index.d.ts +1 -1
- package/src/lib/utils/hooks/useElementById/useElementById.cjs +20 -14
- package/src/lib/utils/hooks/useElementById/useElementById.d.ts +2 -2
- package/src/lib/utils/hooks/useElementById/useElementById.js +20 -14
- package/src/lib/utils/hooks/useEmailProvider/index.d.ts +1 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +38 -38
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.d.ts +10 -10
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +38 -38
- package/src/lib/utils/hooks/useEmbeddedWallet/index.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +74 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.d.ts +4 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +70 -0
- package/src/lib/utils/hooks/useEventListener/index.d.ts +1 -1
- package/src/lib/utils/hooks/useEventListener/useEventListener.cjs +16 -16
- package/src/lib/utils/hooks/useEventListener/useEventListener.d.ts +1 -1
- package/src/lib/utils/hooks/useEventListener/useEventListener.js +16 -16
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/index.d.ts +1 -1
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.cjs +131 -136
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.d.ts +11 -11
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.js +131 -136
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/utils/index.d.ts +1 -0
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/utils/mergeCustomerEvmNetworksWithServerNetworks/index.d.ts +1 -0
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.cjs +16 -0
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.d.ts +2 -0
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.js +12 -0
- package/src/lib/utils/hooks/useFetchNonce/index.d.ts +1 -1
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +37 -37
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.d.ts +3 -3
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +37 -37
- package/src/lib/utils/hooks/useFetchProjectSettings/index.d.ts +1 -1
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +53 -56
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.d.ts +12 -12
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +54 -57
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/index.d.ts +1 -1
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +10 -10
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.d.ts +4 -4
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +10 -10
- package/src/lib/utils/hooks/useFindSocialIcon/index.d.ts +1 -1
- package/src/lib/utils/hooks/useFindSocialIcon/useFindSocialIcon.cjs +3 -3
- package/src/lib/utils/hooks/useFindSocialIcon/useFindSocialIcon.d.ts +3 -3
- package/src/lib/utils/hooks/useFindSocialIcon/useFindSocialIcon.js +3 -3
- package/src/lib/utils/hooks/useForceUpdate/index.d.ts +1 -1
- package/src/lib/utils/hooks/useForceUpdate/useForceUpdate.cjs +3 -3
- package/src/lib/utils/hooks/useForceUpdate/useForceUpdate.d.ts +1 -1
- package/src/lib/utils/hooks/useForceUpdate/useForceUpdate.js +3 -3
- package/src/lib/utils/hooks/useHandleUnlinkWallet/index.d.ts +1 -1
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +39 -39
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.d.ts +12 -12
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +39 -39
- package/src/lib/utils/hooks/useHandleWalletsToConnect/index.d.ts +1 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +54 -40
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.d.ts +3 -3
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +54 -40
- package/src/lib/utils/hooks/useHover/index.d.ts +1 -1
- package/src/lib/utils/hooks/useHover/useHover.cjs +9 -9
- package/src/lib/utils/hooks/useHover/useHover.d.ts +2 -2
- package/src/lib/utils/hooks/useHover/useHover.js +9 -9
- package/src/lib/utils/hooks/useHover/useHover.types.d.ts +7 -7
- package/src/lib/utils/hooks/useIconThemeVariant/index.d.ts +1 -1
- package/src/lib/utils/hooks/useIconThemeVariant/useIconThemeVariant.cjs +5 -5
- package/src/lib/utils/hooks/useIconThemeVariant/useIconThemeVariant.d.ts +2 -2
- package/src/lib/utils/hooks/useIconThemeVariant/useIconThemeVariant.js +5 -5
- package/src/lib/utils/hooks/useInterval/useInterval.d.ts +1 -1
- package/src/lib/utils/hooks/useIsFirstRender/index.d.ts +1 -1
- package/src/lib/utils/hooks/useIsFirstRender/useIsFirstRender.cjs +7 -7
- package/src/lib/utils/hooks/useIsFirstRender/useIsFirstRender.d.ts +1 -1
- package/src/lib/utils/hooks/useIsFirstRender/useIsFirstRender.js +7 -7
- package/src/lib/utils/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.cjs +1 -1
- package/src/lib/utils/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +2 -2
- package/src/lib/utils/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +1 -1
- package/src/lib/utils/hooks/useKYCFlag/index.d.ts +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +18 -17
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.d.ts +6 -6
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +18 -17
- package/src/lib/utils/hooks/useKeyboardEventListener/index.d.ts +1 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.cjs +12 -12
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.d.ts +8 -8
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.js +12 -12
- package/src/lib/utils/hooks/useKeyboardHeight/index.d.ts +1 -1
- package/src/lib/utils/hooks/useKeyboardHeight/useKeyboardHeight.d.ts +2 -2
- package/src/lib/utils/hooks/useKeyboardHeight/useKeyboardHeight.types.d.ts +6 -6
- package/src/lib/utils/hooks/useKeyboardHeight/utils/getWindowSize/getWindowSize.d.ts +3 -3
- package/src/lib/utils/hooks/useKeyboardHeight/utils/getWindowSize/getWindowSize.types.d.ts +4 -4
- package/src/lib/utils/hooks/useKeyboardHeight/utils/getWindowSize/index.d.ts +2 -2
- package/src/lib/utils/hooks/useKeyboardHeight/utils/index.d.ts +1 -1
- package/src/lib/utils/hooks/useMultiWalletFlag/index.d.ts +1 -1
- package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.cjs +13 -17
- package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.d.ts +2 -2
- package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.js +13 -17
- package/src/lib/utils/hooks/useMutation/index.d.ts +1 -1
- package/src/lib/utils/hooks/useMutation/useMutation.cjs +43 -43
- package/src/lib/utils/hooks/useMutation/useMutation.d.ts +16 -16
- package/src/lib/utils/hooks/useMutation/useMutation.js +43 -43
- package/src/lib/utils/hooks/useOnUnmount/index.d.ts +1 -0
- package/src/lib/utils/hooks/useOnUnmount/useOnUnmount.cjs +21 -0
- package/src/lib/utils/hooks/useOnUnmount/useOnUnmount.d.ts +1 -0
- package/src/lib/utils/hooks/useOnUnmount/useOnUnmount.js +17 -0
- package/src/lib/utils/hooks/useOnlyConnectedMode/index.d.ts +1 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +3 -3
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.d.ts +1 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +3 -3
- package/src/lib/utils/hooks/usePrevious/index.d.ts +1 -1
- package/src/lib/utils/hooks/usePrevious/usePrevious.cjs +24 -24
- package/src/lib/utils/hooks/usePrevious/usePrevious.d.ts +19 -19
- package/src/lib/utils/hooks/usePrevious/usePrevious.js +24 -24
- package/src/lib/utils/hooks/usePrimaryWalletId/index.d.ts +1 -1
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +16 -11
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.d.ts +6 -5
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +16 -11
- package/src/lib/utils/hooks/usePromise/index.d.ts +2 -2
- package/src/lib/utils/hooks/usePromise/usePromise.cjs +82 -85
- package/src/lib/utils/hooks/usePromise/usePromise.d.ts +33 -33
- package/src/lib/utils/hooks/usePromise/usePromise.js +82 -85
- package/src/lib/utils/hooks/usePromise/usePromise.types.d.ts +14 -14
- package/src/lib/utils/hooks/usePromise/utils/createReducer/createReducer.cjs +11 -11
- package/src/lib/utils/hooks/usePromise/utils/createReducer/createReducer.d.ts +13 -13
- package/src/lib/utils/hooks/usePromise/utils/createReducer/createReducer.js +11 -11
- package/src/lib/utils/hooks/usePromise/utils/createReducer/index.d.ts +1 -1
- package/src/lib/utils/hooks/usePromise/utils/index.d.ts +2 -2
- package/src/lib/utils/hooks/usePromise/utils/resolveFetcher/index.d.ts +1 -1
- package/src/lib/utils/hooks/usePromise/utils/resolveFetcher/resolveFetcher.cjs +23 -23
- package/src/lib/utils/hooks/usePromise/utils/resolveFetcher/resolveFetcher.d.ts +5 -5
- package/src/lib/utils/hooks/usePromise/utils/resolveFetcher/resolveFetcher.js +23 -23
- package/src/lib/utils/hooks/useResizeObserver/index.d.ts +1 -1
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.cjs +24 -24
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.d.ts +6 -6
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.js +24 -24
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +26 -26
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.d.ts +7 -7
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +26 -26
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/index.d.ts +1 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.cjs +33 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.d.ts +2 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.js +29 -0
- package/src/lib/utils/hooks/useSocialAccounts/index.d.ts +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +107 -133
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.d.ts +14 -10
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +109 -135
- package/src/lib/utils/hooks/useSocialAuth/index.d.ts +1 -0
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +287 -0
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.d.ts +20 -0
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +283 -0
- package/src/lib/utils/hooks/useTimeout/useTimeout.cjs +17 -17
- package/src/lib/utils/hooks/useTimeout/useTimeout.d.ts +1 -1
- package/src/lib/utils/hooks/useTimeout/useTimeout.js +17 -17
- package/src/lib/utils/hooks/useTransactionEstimatedGas/index.d.ts +1 -1
- package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.cjs +21 -51
- package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.d.ts +20 -20
- package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.js +21 -51
- package/src/lib/utils/hooks/useTransactionWithGasPrice/index.d.ts +1 -1
- package/src/lib/utils/hooks/useTransactionWithGasPrice/useTransactionWithGasPrice.cjs +56 -0
- package/src/lib/utils/hooks/useTransactionWithGasPrice/useTransactionWithGasPrice.d.ts +32 -32
- package/src/lib/utils/hooks/useTransactionWithGasPrice/useTransactionWithGasPrice.js +52 -0
- package/src/lib/utils/hooks/useTransition/index.d.ts +2 -2
- package/src/lib/utils/hooks/useTransition/useTransition.cjs +52 -52
- package/src/lib/utils/hooks/useTransition/useTransition.d.ts +26 -26
- package/src/lib/utils/hooks/useTransition/useTransition.js +52 -52
- package/src/lib/utils/hooks/useTransitionEvents/index.d.ts +1 -1
- package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.cjs +17 -17
- package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.d.ts +2 -2
- package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.js +17 -17
- package/src/lib/utils/hooks/useUpdateEffect/index.d.ts +1 -1
- package/src/lib/utils/hooks/useUpdateEffect/useUpdateEffect.cjs +8 -8
- package/src/lib/utils/hooks/useUpdateEffect/useUpdateEffect.d.ts +2 -2
- package/src/lib/utils/hooks/useUpdateEffect/useUpdateEffect.js +8 -8
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/index.d.ts +1 -1
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs +16 -16
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.d.ts +10 -10
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js +16 -16
- package/src/lib/utils/hooks/useUserDataForm/index.d.ts +1 -0
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +67 -67
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.d.ts +41 -41
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +67 -67
- package/src/lib/utils/hooks/useUserUpdateRequest/index.d.ts +3 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/index.d.ts +1 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +108 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.d.ts +9 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +104 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/index.d.ts +2 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/types.d.ts +7 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +75 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.d.ts +7 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +71 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/validateUpdateRequest/index.d.ts +1 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/validateUpdateRequest/validateUpdateRequest.cjs +31 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/validateUpdateRequest/validateUpdateRequest.d.ts +6 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/validateUpdateRequest/validateUpdateRequest.js +27 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs +13 -100
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.d.ts +10 -30
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js +13 -100
- package/src/lib/utils/hooks/useValidateSession/index.d.ts +1 -1
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +61 -61
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.d.ts +12 -12
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +61 -61
- package/src/lib/utils/hooks/useVerifyWallet/index.d.ts +1 -1
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +166 -148
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.d.ts +9 -9
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +166 -148
- package/src/lib/utils/hooks/useWalletConnectorEvent/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectorEvent/useWalletConnectorEvent.cjs +27 -32
- package/src/lib/utils/hooks/useWalletConnectorEvent/useWalletConnectorEvent.d.ts +12 -12
- package/src/lib/utils/hooks/useWalletConnectorEvent/useWalletConnectorEvent.js +27 -32
- package/src/lib/utils/hooks/useWalletConnectors/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +18 -17
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.d.ts +8 -8
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +18 -17
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +149 -151
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.d.ts +33 -33
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +149 -151
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +34 -33
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.d.ts +8 -8
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +34 -33
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/index.d.ts +2 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/primaryWalletIdValidator.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletEventListeners/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +150 -143
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +26 -26
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +150 -143
- package/src/lib/utils/hooks/useWalletItemActions/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +124 -123
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.d.ts +11 -11
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +124 -123
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.types.d.ts +6 -6
- package/src/lib/utils/hooks/useWalletUiUtils/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +45 -40
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.d.ts +8 -4
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +45 -40
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.types.d.ts +5 -5
- package/src/lib/utils/hooks/useWallets/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWallets/useWallets.cjs +57 -46
- package/src/lib/utils/hooks/useWallets/useWallets.d.ts +21 -19
- package/src/lib/utils/hooks/useWallets/useWallets.js +58 -47
- package/src/lib/utils/hooks/useWallets/utils/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWallets/utils/verifyMagicIsSetup/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWallets/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +12 -11
- package/src/lib/utils/hooks/useWallets/utils/verifyMagicIsSetup/verifyMagicIsSetup.d.ts +6 -6
- package/src/lib/utils/hooks/useWallets/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +12 -11
- package/src/lib/utils/hooks/useWalletsConnectionState/index.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +26 -25
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.d.ts +14 -14
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +26 -25
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +30 -23
- package/src/lib/views/AccountExistsView/AccountExistsView.d.ts +2 -2
- package/src/lib/views/AccountExistsView/AccountExistsView.js +30 -23
- package/src/lib/views/AccountExistsView/index.d.ts +1 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +15 -15
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.d.ts +2 -2
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +15 -15
- package/src/lib/views/BridgeNextWalletConnectionView/index.d.ts +1 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +17 -17
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.d.ts +2 -2
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +17 -17
- package/src/lib/views/BridgeSummaryView/index.d.ts +1 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +25 -25
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.d.ts +2 -2
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +25 -25
- package/src/lib/views/BridgeWelcomeView/index.d.ts +1 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +49 -38
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.d.ts +2 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +49 -38
- package/src/lib/views/CaptchaVerifyUser/index.d.ts +1 -1
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +23 -18
- package/src/lib/views/CollectUserDataView/CollectUserDataView.d.ts +2 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +23 -18
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +64 -43
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.d.ts +8 -8
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +64 -43
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/index.d.ts +1 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +32 -28
- package/src/lib/views/CollectUserDataView/UserDataFields/index.d.ts +11 -11
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +32 -28
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/getDisplayErrorMessage.cjs +8 -8
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/getDisplayErrorMessage.d.ts +1 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/getDisplayErrorMessage.js +8 -8
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/index.d.ts +1 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/index.d.ts +1 -1
- package/src/lib/views/CollectUserDataView/fieldsConfig.cjs +49 -49
- package/src/lib/views/CollectUserDataView/fieldsConfig.d.ts +57 -57
- package/src/lib/views/CollectUserDataView/fieldsConfig.js +49 -49
- package/src/lib/views/CollectUserDataView/index.d.ts +1 -1
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +21 -15
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.d.ts +2 -2
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +21 -15
- package/src/lib/views/CollectUserDataViewLoginWithEmail/index.d.ts +1 -1
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +23 -18
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.d.ts +2 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +23 -18
- package/src/lib/views/EmailConfirmationWaitingView/index.d.ts +1 -1
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +61 -53
- package/src/lib/views/EmailUpdate/EmailUpdate.d.ts +2 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.js +61 -53
- package/src/lib/views/EmailUpdate/index.d.ts +1 -1
- package/src/lib/views/EmailVerification/EmailVerification.cjs +232 -171
- package/src/lib/views/EmailVerification/EmailVerification.d.ts +2 -2
- package/src/lib/views/EmailVerification/EmailVerification.js +234 -173
- package/src/lib/views/EmailVerification/index.d.ts +1 -1
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +29 -24
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.d.ts +2 -2
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +29 -24
- package/src/lib/views/EmailWalletOTPVerificationView/index.d.ts +1 -1
- package/src/lib/views/LoginView/LoginView.cjs +70 -0
- package/src/lib/views/LoginView/LoginView.d.ts +2 -0
- package/src/lib/views/LoginView/LoginView.js +66 -0
- package/src/lib/views/LoginView/index.d.ts +1 -0
- package/src/lib/views/{LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs → LoginView/sections/EmailSignInSection/LoginEmailForm.cjs} +73 -61
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.d.ts +8 -0
- package/src/lib/views/{LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js → LoginView/sections/EmailSignInSection/LoginEmailForm.js} +73 -61
- package/src/lib/views/LoginView/sections/EmailSignInSection/index.d.ts +1 -0
- package/src/lib/views/LoginView/sections/LoginWidget.d.ts +10 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +77 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.d.ts +3 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +73 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/index.d.ts +1 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +65 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.d.ts +3 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +61 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/index.d.ts +1 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +50 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.d.ts +7 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +46 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/index.d.ts +1 -0
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +66 -0
- package/src/lib/views/{LoginWithEmailView/components → LoginView/sections/WalletSignInSection}/ListItemButton/ListItemButton.d.ts +9 -8
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +62 -0
- package/src/lib/views/{LoginWithEmailView/components → LoginView/sections/WalletSignInSection}/ListItemButton/index.d.ts +1 -1
- package/src/lib/views/{LoginWithEmailView/components/ListItemButton/ListItemButton.cjs → LoginView/sections/WalletSignInSection/WalletSignInSection.cjs} +21 -23
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.d.ts +7 -0
- package/src/lib/views/{LoginWithEmailView/components/ListItemButton/ListItemButton.js → LoginView/sections/WalletSignInSection/WalletSignInSection.js} +22 -24
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +49 -0
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.d.ts +8 -0
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +45 -0
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/index.d.ts +1 -0
- package/src/lib/views/LoginView/sections/WalletSignInSection/index.d.ts +1 -0
- package/src/lib/views/LoginView/sections/index.d.ts +4 -0
- package/src/lib/views/LoginView/useLoginView.cjs +164 -0
- package/src/lib/views/LoginView/useLoginView.d.ts +6 -0
- package/src/lib/views/LoginView/useLoginView.js +159 -0
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +63 -54
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.d.ts +2 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +63 -54
- package/src/lib/views/MergeUserAccountsView/index.d.ts +1 -1
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +56 -49
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.d.ts +2 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +56 -49
- package/src/lib/views/NetworkNotSupported/index.d.ts +1 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +53 -46
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.d.ts +2 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +53 -46
- package/src/lib/views/NetworkNotSupportedSwitchManual/index.d.ts +1 -1
- package/src/lib/views/NoAccess/NoAccess.cjs +44 -40
- package/src/lib/views/NoAccess/NoAccess.d.ts +2 -2
- package/src/lib/views/NoAccess/NoAccess.js +44 -40
- package/src/lib/views/NoAccess/index.d.ts +1 -1
- package/src/lib/views/NoAccess/useNoAccessText.cjs +82 -82
- package/src/lib/views/NoAccess/useNoAccessText.d.ts +31 -31
- package/src/lib/views/NoAccess/useNoAccessText.js +82 -82
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +23 -18
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.d.ts +2 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +23 -18
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +15 -10
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.d.ts +9 -9
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +15 -10
- package/src/lib/views/NoQrNotInstalledView/index.d.ts +1 -1
- package/src/lib/views/PasskeyIntroView/PasskeyIntroView.cjs +131 -0
- package/src/lib/views/PasskeyIntroView/PasskeyIntroView.d.ts +7 -0
- package/src/lib/views/PasskeyIntroView/PasskeyIntroView.js +127 -0
- package/src/lib/views/PasskeyIntroView/index.d.ts +1 -0
- package/src/lib/views/PasskeyIntroView/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.cjs +60 -0
- package/src/lib/views/PasskeyIntroView/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.d.ts +12 -0
- package/src/lib/views/PasskeyIntroView/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.js +56 -0
- package/src/lib/views/PasskeyIntroView/utils/createEmbeddedWalletWithPasskey/index.d.ts +1 -0
- package/src/lib/views/PasskeyIntroView/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.cjs +15 -0
- package/src/lib/views/PasskeyIntroView/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.d.ts +3 -0
- package/src/lib/views/PasskeyIntroView/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.js +11 -0
- package/src/lib/views/PasskeyIntroView/utils/findPasskeyEmailWalletConnector/index.d.ts +1 -0
- package/src/lib/views/PasskeyIntroView/utils/index.d.ts +2 -0
- package/src/lib/views/PasskeySuccessView/PasskeySuccessView.cjs +63 -0
- package/src/lib/views/PasskeySuccessView/PasskeySuccessView.d.ts +2 -0
- package/src/lib/views/PasskeySuccessView/PasskeySuccessView.js +59 -0
- package/src/lib/views/PasskeySuccessView/index.d.ts +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +20 -15
- package/src/lib/views/PendingConnectView/PendingConnectView.d.ts +2 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.js +20 -15
- package/src/lib/views/PendingConnectView/index.d.ts +1 -1
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +45 -40
- package/src/lib/views/PendingSignatureView/PendingSignatureView.d.ts +2 -2
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +45 -40
- package/src/lib/views/PendingSignatureView/index.d.ts +1 -1
- package/src/lib/views/QrCodeView/QRCode.cjs +64 -59
- package/src/lib/views/QrCodeView/QRCode.d.ts +14 -14
- package/src/lib/views/QrCodeView/QRCode.js +64 -59
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +16 -11
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.d.ts +12 -11
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +16 -11
- package/src/lib/views/QrCodeView/QrCodeContainer/index.d.ts +1 -1
- package/src/lib/views/QrCodeView/QrCodeView.cjs +27 -22
- package/src/lib/views/QrCodeView/QrCodeView.d.ts +2 -2
- package/src/lib/views/QrCodeView/QrCodeView.js +27 -22
- package/src/lib/views/QrCodeView/index.d.ts +1 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +74 -71
- package/src/lib/views/SendBalanceView/SendBalanceView.d.ts +13 -13
- package/src/lib/views/SendBalanceView/SendBalanceView.js +74 -71
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +72 -0
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.d.ts +8 -0
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +68 -0
- package/src/lib/views/SendBalanceView/components/TransactionStage/index.d.ts +1 -0
- package/src/lib/views/SendBalanceView/components/index.d.ts +1 -0
- package/src/lib/views/SendBalanceView/index.d.ts +1 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +16 -14
- package/src/lib/views/SocialRedirectView/SocialRedirectView.d.ts +2 -2
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +16 -14
- package/src/lib/views/SocialRedirectView/index.d.ts +1 -1
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +23 -18
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.d.ts +2 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +23 -18
- package/src/lib/views/SocialWrongAccountView/index.d.ts +1 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +71 -44
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +14 -14
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +71 -44
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +17 -17
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.d.ts +4 -4
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +17 -17
- package/src/lib/views/TransactionConfirmationView/hooks/index.d.ts +2 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/index.d.ts +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/{useTransactionData/useTransactionData.cjs → useTransactionGas/useTransactionGas.cjs} +27 -43
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.d.ts +11 -0
- package/src/lib/views/TransactionConfirmationView/hooks/{useTransactionData/useTransactionData.js → useTransactionGas/useTransactionGas.js} +27 -43
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionTotal/index.d.ts +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionTotal/useTransactionTotal.cjs +14 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionTotal/useTransactionTotal.d.ts +6 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionTotal/useTransactionTotal.js +10 -0
- package/src/lib/views/TransactionConfirmationView/index.d.ts +2 -2
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +74 -0
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.d.ts +9 -0
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +70 -0
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.cjs +48 -0
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.d.ts +7 -0
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.js +44 -0
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/index.d.ts +1 -0
- package/src/lib/views/UserFieldEditorView/index.d.ts +1 -0
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/index.d.ts +1 -0
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +34 -0
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.d.ts +7 -0
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +30 -0
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +71 -0
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.d.ts +2 -0
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +67 -0
- package/src/lib/views/WalletCannotBeTransferredView/index.d.ts +1 -0
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +8 -8
- package/src/lib/views/WalletGroupView/WalletGroupView.d.ts +2 -2
- package/src/lib/views/WalletGroupView/WalletGroupView.js +8 -8
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +28 -27
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +6 -6
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +28 -27
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +11 -6
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.d.ts +8 -8
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +11 -6
- package/src/lib/views/WalletList/SearchNotFoundMessage/index.d.ts +1 -1
- package/src/lib/views/WalletList/WalletList.cjs +52 -52
- package/src/lib/views/WalletList/WalletList.d.ts +5 -5
- package/src/lib/views/WalletList/WalletList.js +52 -52
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +42 -35
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.d.ts +2 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +42 -35
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.types.d.ts +17 -16
- package/src/lib/views/WalletList/WalletListItem/index.d.ts +2 -2
- package/src/lib/views/WalletList/data.cjs +24 -29
- package/src/lib/views/WalletList/data.d.ts +13 -11
- package/src/lib/views/WalletList/data.js +24 -28
- package/src/lib/views/WalletList/index.d.ts +2 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +39 -18
- package/src/lib/views/WalletLockedView/WalletLockedView.d.ts +2 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.js +39 -18
- package/src/lib/views/WalletLockedView/index.d.ts +1 -1
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +32 -27
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.d.ts +2 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +32 -27
- package/src/lib/views/WalletSignSpinnerView/index.d.ts +1 -1
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +96 -90
- package/src/lib/views/WalletUsedView/WalletUsedView.d.ts +2 -2
- package/src/lib/views/WalletUsedView/WalletUsedView.js +96 -90
- package/src/lib/views/WalletUsedView/index.d.ts +1 -1
- package/src/lib/views/index.d.ts +9 -9
- package/src/lib/views/viewToComponentMap.cjs +43 -35
- package/src/lib/views/viewToComponentMap.d.ts +3 -3
- package/src/lib/views/viewToComponentMap.js +43 -35
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +31 -26
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.d.ts +7 -7
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +31 -26
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +31 -26
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.d.ts +5 -5
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +31 -26
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +14 -9
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.d.ts +7 -7
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +14 -9
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +33 -28
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.d.ts +8 -8
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +33 -28
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +22 -17
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.d.ts +7 -7
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +22 -17
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/index.d.ts +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.cjs +9 -9
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.d.ts +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.js +9 -9
- package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.cjs +31 -31
- package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.d.ts +16 -16
- package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.js +31 -31
- package/src/lib/widgets/DynamicBridgeWidget/index.d.ts +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +16 -16
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.d.ts +3 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +16 -16
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.d.ts +3 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +22 -17
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.d.ts +3 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +22 -17
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +12 -12
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.d.ts +7 -7
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +12 -12
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +36 -26
- package/src/lib/widgets/DynamicWidget/DynamicWidget.d.ts +9 -9
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +37 -27
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +36 -16
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.d.ts +6 -6
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +36 -16
- package/src/lib/widgets/DynamicWidget/components/AccountControl/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +49 -44
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +49 -44
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +16 -11
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.d.ts +10 -10
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +16 -11
- package/src/lib/widgets/DynamicWidget/components/Balance/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +16 -11
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +15 -15
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +16 -11
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/index.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +14 -9
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +14 -9
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.types.d.ts +7 -7
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenuWrapper/DotsMenuWrapper.d.ts +11 -11
- package/src/lib/widgets/DynamicWidget/components/DotsMenuWrapper/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +52 -12
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.d.ts +3 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +52 -12
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +27 -23
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.d.ts +6 -6
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +27 -23
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/index.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.d.ts +4 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetFooter/DynamicWidgetFooter.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetFooter/DynamicWidgetFooter.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetFooter/DynamicWidgetFooter.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +34 -29
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.d.ts +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +34 -29
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +47 -33
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.d.ts +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +47 -33
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.cjs +26 -26
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.js +26 -26
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.d.ts +10 -10
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.js +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.d.ts +3 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +13 -8
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.d.ts +3 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +13 -8
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/index.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/types.d.ts +9 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +10 -10
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.d.ts +4 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +10 -10
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +22 -15
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +22 -15
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +11 -6
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +11 -6
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.types.d.ts +6 -6
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +30 -25
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.d.ts +7 -7
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +30 -25
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +11 -6
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +11 -6
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +21 -16
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +21 -16
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +65 -60
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.d.ts +12 -12
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +65 -60
- package/src/lib/widgets/DynamicWidget/components/Wallet/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +8 -7
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.d.ts +9 -9
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +8 -7
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +27 -22
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.d.ts +9 -9
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +27 -22
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +57 -55
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.d.ts +18 -17
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +58 -56
- package/src/lib/widgets/DynamicWidget/context/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/helpers/helpers.cjs +48 -48
- package/src/lib/widgets/DynamicWidget/helpers/helpers.d.ts +8 -8
- package/src/lib/widgets/DynamicWidget/helpers/helpers.js +48 -48
- package/src/lib/widgets/DynamicWidget/helpers/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/content.d.ts +20 -20
- package/src/lib/widgets/DynamicWidget/hooks/index.d.ts +5 -4
- package/src/lib/widgets/DynamicWidget/hooks/useContent.d.ts +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +24 -23
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.d.ts +9 -9
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +24 -23
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +24 -24
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.d.ts +3 -3
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +24 -24
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +22 -19
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +22 -19
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +11 -11
- package/src/lib/widgets/DynamicWidget/hooks/useViewController/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useViewController/useViewController.cjs +17 -0
- package/src/lib/widgets/DynamicWidget/hooks/useViewController/useViewController.d.ts +6 -0
- package/src/lib/widgets/DynamicWidget/hooks/useViewController/useViewController.js +13 -0
- package/src/lib/widgets/DynamicWidget/index.d.ts +3 -3
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +11 -6
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +13 -13
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +11 -6
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +18 -13
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +18 -13
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +24 -19
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +24 -19
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +19 -19
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +19 -19
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +11 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.d.ts +7 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +11 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +32 -27
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.d.ts +8 -8
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +32 -27
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +25 -20
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +25 -20
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +26 -21
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +26 -21
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +30 -25
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +30 -25
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +15 -15
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +15 -15
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +14 -9
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +14 -9
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +36 -30
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.d.ts +6 -6
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +36 -30
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +41 -36
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.d.ts +6 -6
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +41 -36
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +28 -22
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.d.ts +5 -5
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +28 -22
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +21 -16
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +21 -16
- package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.cjs +3 -4
- package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.js +3 -4
- package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +22 -17
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +22 -17
- package/src/lib/widgets/DynamicWidget/views/index.d.ts +4 -4
- package/src/lib/widgets/FundingWidget/FundingWidget.d.ts +2 -2
- package/src/lib/widgets/FundingWidget/index.d.ts +1 -1
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +28 -23
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.d.ts +5 -5
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +28 -23
- package/src/lib/widgets/FundingWidget/views/FundWalletView/index.d.ts +1 -1
- package/src/lib/widgets/index.d.ts +3 -3
- package/src/polyfills.cjs +5 -5
- package/src/polyfills.d.ts +1 -1
- package/src/polyfills.js +5 -5
- package/src/shim/process.cjs +231 -231
- package/src/shim/process.d.ts +34 -34
- package/src/shim/process.js +231 -231
- package/src/version.cjs +1 -1
- package/src/version.d.ts +2 -2
- package/src/version.js +1 -1
- package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.cjs +0 -61
- package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.js +0 -57
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.cjs +0 -63
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.d.ts +0 -2
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.js +0 -59
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.d.ts +0 -3
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/index.d.ts +0 -1
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.cjs +0 -33
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.d.ts +0 -9
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.js +0 -28
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/index.d.ts +0 -1
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +0 -84
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.d.ts +0 -2
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +0 -80
- package/src/lib/views/LoginWithEmailView/index.d.ts +0 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/index.d.ts +0 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.d.ts +0 -18
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _tslib = require('../../../../../_virtual/_tslib.cjs');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var sdkApi = require('@dynamic-labs/sdk-api');
|
|
8
|
+
var types = require('@dynamic-labs/types');
|
|
9
|
+
var utils = require('@dynamic-labs/utils');
|
|
10
|
+
var useInternalDynamicContext = require('../../../context/DynamicContext/useInternalDynamicContext.cjs');
|
|
11
|
+
var api = require('../../../data/api.cjs');
|
|
12
|
+
var useUpdateUserProfileByJWTCallback = require('../useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs');
|
|
13
|
+
var decodeJwt = require('../../../shared/utils/functions/decodeJwt/decodeJwt.cjs');
|
|
14
|
+
require('@dynamic-labs/iconic');
|
|
15
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
16
|
+
require('react/jsx-runtime');
|
|
17
|
+
var ViewContext = require('../../../context/ViewContext/ViewContext.cjs');
|
|
18
|
+
var logger = require('../../../shared/logger.cjs');
|
|
19
|
+
require('@dynamic-labs/wallet-book');
|
|
20
|
+
require('../../constants/colors.cjs');
|
|
21
|
+
require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
22
|
+
require('viem');
|
|
23
|
+
require('../../../shared/consts/index.cjs');
|
|
24
|
+
require('@dynamic-labs/multi-wallet');
|
|
25
|
+
var getAuthToken = require('../../functions/getAuthToken/getAuthToken.cjs');
|
|
26
|
+
var randomString = require('../../functions/randomString/randomString.cjs');
|
|
27
|
+
var stringifyURIQuery = require('../../functions/stringifyURIQuery/stringifyURIQuery.cjs');
|
|
28
|
+
var digestSHA256 = require('../../functions/digestSHA256/digestSHA256.cjs');
|
|
29
|
+
var encodeBase64URL = require('../../functions/encodeBase64URL/encodeBase64URL.cjs');
|
|
30
|
+
var getOauthLoginUrl = require('../../functions/getOauthLoginUrl/getOauthLoginUrl.cjs');
|
|
31
|
+
var useCreateUserProfileByJWTCallback = require('../useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs');
|
|
32
|
+
var ErrorContext = require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
33
|
+
var useEmbeddedWallet = require('../useEmbeddedWallet/useEmbeddedWallet.cjs');
|
|
34
|
+
|
|
35
|
+
const socialProviders = [
|
|
36
|
+
'discord',
|
|
37
|
+
'facebook',
|
|
38
|
+
'github',
|
|
39
|
+
'google',
|
|
40
|
+
'instagram',
|
|
41
|
+
'twitch',
|
|
42
|
+
'twitter',
|
|
43
|
+
];
|
|
44
|
+
// pkce params are only required for twitter and break if added for other providers, like google
|
|
45
|
+
// so we should only add provider that support pkce to this list
|
|
46
|
+
const providersRequiringPkce = ['twitter', 'github'];
|
|
47
|
+
const providersWithoutWindowOpenerRefence = ['twitter'];
|
|
48
|
+
// Hook to handle common social auth logic (for social linking and social sign in)
|
|
49
|
+
const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
50
|
+
var _a;
|
|
51
|
+
const { environmentId, onboardingOnlyJwt, setOnboardingOnlyJwt, setCallback, setShowAuthFlow, setIsVerificationInProgress, projectSettings, } = useInternalDynamicContext.useInternalDynamicContext();
|
|
52
|
+
const { setView } = ViewContext.useViewContext();
|
|
53
|
+
const { setErrorMessage, setError: setContextError } = ErrorContext.useErrorContext();
|
|
54
|
+
const { updateUserProfileByJWT } = useUpdateUserProfileByJWTCallback.useUpdateUserProfileByJWTCallback();
|
|
55
|
+
const { createUserProfileByJWT } = useCreateUserProfileByJWTCallback.useCreateUserProfileByJWTCallback();
|
|
56
|
+
const { createEmbeddedWallet } = useEmbeddedWallet.useEmbeddedWallet();
|
|
57
|
+
const [isProcessing, setIsProcessing] = React.useState(false);
|
|
58
|
+
const [error, setError] = React.useState();
|
|
59
|
+
const providersWaitingOauthMessage = React.useRef({});
|
|
60
|
+
const authWindowInterval = React.useRef();
|
|
61
|
+
const shouldPool = React.useRef(false);
|
|
62
|
+
const userJwt = (_a = getAuthToken.getAuthToken()) !== null && _a !== void 0 ? _a : onboardingOnlyJwt;
|
|
63
|
+
const clearError = () => {
|
|
64
|
+
setError(undefined);
|
|
65
|
+
setContextError(undefined);
|
|
66
|
+
};
|
|
67
|
+
const handleError = (code, message) => {
|
|
68
|
+
logger.logger.error(message);
|
|
69
|
+
setIsProcessing(false);
|
|
70
|
+
setError({ code, message });
|
|
71
|
+
setErrorMessage(code);
|
|
72
|
+
onError === null || onError === void 0 ? void 0 : onError();
|
|
73
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
74
|
+
};
|
|
75
|
+
const poolOauthResult = (provider, state) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
76
|
+
if (!shouldPool.current) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const result = yield api.getOAuthResult(environmentId, provider, {
|
|
80
|
+
state,
|
|
81
|
+
});
|
|
82
|
+
if ((result === null || result === void 0 ? void 0 : result.status) !== sdkApi.OauthResultStatus.Completed) {
|
|
83
|
+
setTimeout(() => poolOauthResult(provider, state), 1000);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
shouldPool.current = false;
|
|
87
|
+
const authMessage = {
|
|
88
|
+
code: result === null || result === void 0 ? void 0 : result.code,
|
|
89
|
+
error: result === null || result === void 0 ? void 0 : result.error,
|
|
90
|
+
provider,
|
|
91
|
+
type: 'authorization_response',
|
|
92
|
+
};
|
|
93
|
+
window.postMessage(authMessage, '*');
|
|
94
|
+
});
|
|
95
|
+
const checkValidProvider = (provider) => {
|
|
96
|
+
if (!provider) {
|
|
97
|
+
handleError(types.SocialOAuthErrorCode.NO_PROVIDER, 'Provider is required');
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
if (!socialProviders.includes(provider)) {
|
|
101
|
+
handleError(types.SocialOAuthErrorCode.INVALID_PROVIDER, `Invalid social provider. Valid providers are: ${socialProviders.join(', ')}`);
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
return true;
|
|
105
|
+
};
|
|
106
|
+
const linkAccount = (provider, code, verifier, state) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
107
|
+
try {
|
|
108
|
+
const jwt = yield api.verifyOAuth(environmentId, provider, {
|
|
109
|
+
code,
|
|
110
|
+
codeVerifier: verifier,
|
|
111
|
+
state,
|
|
112
|
+
}, String(userJwt));
|
|
113
|
+
if (!jwt) {
|
|
114
|
+
handleError(types.SocialOAuthErrorCode.VERIFICATION_ERROR, `Failed to link social account: ${provider}`);
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
yield updateUserProfileByJWT(jwt);
|
|
118
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
119
|
+
}
|
|
120
|
+
catch (error) {
|
|
121
|
+
if (error instanceof utils.SocialAccountAlreadyExistsError) {
|
|
122
|
+
handleError(types.SocialOAuthErrorCode.ACCOUNT_ALREADY_LINKED_TO_DIFFERENT_PROFILE, `Social account already linked to a different profile: ${provider}`);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
const signInAccount = (provider, code, verifier, state) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
127
|
+
try {
|
|
128
|
+
const jwt = yield api.signInOAuth(environmentId, provider, {
|
|
129
|
+
code,
|
|
130
|
+
codeVerifier: verifier,
|
|
131
|
+
state,
|
|
132
|
+
});
|
|
133
|
+
if (!jwt) {
|
|
134
|
+
handleError(types.SocialOAuthErrorCode.SIGNIN_ERROR, `Failed to sign-in with social account: ${provider}`);
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
setIsVerificationInProgress(true);
|
|
138
|
+
const decodedJwt = decodeJwt.decodeJwt(jwt);
|
|
139
|
+
if (decodedJwt === null || decodedJwt === void 0 ? void 0 : decodedJwt.missingFields.length) {
|
|
140
|
+
setOnboardingOnlyJwt(jwt);
|
|
141
|
+
setView('collect-user-data-login-with-email');
|
|
142
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
setCallback('authSuccess');
|
|
146
|
+
yield createUserProfileByJWT(jwt);
|
|
147
|
+
try {
|
|
148
|
+
// this function will check turnkey wallet enabled and create wallet if needed
|
|
149
|
+
// if not enabled, it will throw an error.
|
|
150
|
+
createEmbeddedWallet();
|
|
151
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
152
|
+
}
|
|
153
|
+
catch (e) {
|
|
154
|
+
setShowAuthFlow(false);
|
|
155
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
catch (error) {
|
|
159
|
+
if (error instanceof utils.NoAccessError) {
|
|
160
|
+
setView('no-access');
|
|
161
|
+
}
|
|
162
|
+
handleError(types.SocialOAuthErrorCode.GENERAL_ERROR, error);
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
const connectSocialAccount = (provider, validator) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
166
|
+
var _b, _c;
|
|
167
|
+
clearInterval(authWindowInterval.current);
|
|
168
|
+
clearError();
|
|
169
|
+
setIsProcessing(true);
|
|
170
|
+
if (!checkValidProvider(provider)) {
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
// invalid connect request
|
|
174
|
+
if (validator && !validator(provider)) {
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
const authWindow = window.open('', '_blank', 'width=500,height=600');
|
|
178
|
+
const state = randomString.randomString(8);
|
|
179
|
+
const verifier = randomString.randomString(43);
|
|
180
|
+
const clearListeners = () => {
|
|
181
|
+
window.removeEventListener('message', handleAuthWindowMessage);
|
|
182
|
+
providersWaitingOauthMessage.current = Object.assign(Object.assign({}, providersWaitingOauthMessage.current), { [provider]: false });
|
|
183
|
+
};
|
|
184
|
+
const handleAuthWindowMessage = (event) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
185
|
+
var _d;
|
|
186
|
+
const message = event.data;
|
|
187
|
+
const isAuthorizationMessage = (message === null || message === void 0 ? void 0 : message.type) === 'authorization_response';
|
|
188
|
+
if (isAuthorizationMessage) {
|
|
189
|
+
logger.logger.debug('Message received', { data: message });
|
|
190
|
+
}
|
|
191
|
+
const isValidMessage = isAuthorizationMessage && (message === null || message === void 0 ? void 0 : message.provider) === provider;
|
|
192
|
+
// don't process invalid messages for provider
|
|
193
|
+
if (!isValidMessage) {
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
setIsProcessing(true);
|
|
197
|
+
if (!((_d = providersWaitingOauthMessage.current) === null || _d === void 0 ? void 0 : _d[provider])) {
|
|
198
|
+
handleError(types.SocialOAuthErrorCode.SESSION_TIMEOUT, `Connecting ${provider} account session timeout.`);
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
clearListeners();
|
|
202
|
+
const { code, error } = message;
|
|
203
|
+
if (error && error !== 'undefined') {
|
|
204
|
+
handleError(types.SocialOAuthErrorCode.OAUTH_ERROR, `Failed to connect ${provider} social account: ${error}`);
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
if (!code) {
|
|
208
|
+
handleError(types.SocialOAuthErrorCode.NO_AUTH_CODE, `Failed to connect ${provider} social account: no authorization code`);
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
if (authMode === 'signin') {
|
|
212
|
+
yield signInAccount(provider, code, verifier, state);
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
yield linkAccount(provider, code, verifier, state);
|
|
216
|
+
}
|
|
217
|
+
setIsProcessing(false);
|
|
218
|
+
});
|
|
219
|
+
const loginUrl = getOauthLoginUrl.getOauthLoginUrl((_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) !== null && _b !== void 0 ? _b : [], provider, environmentId);
|
|
220
|
+
if (!loginUrl) {
|
|
221
|
+
handleError(types.SocialOAuthErrorCode.NO_OAUTH_URL, `Failed to get login url to connect social account: ${provider}`);
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
let oauthLoginUrl = loginUrl;
|
|
225
|
+
if (providersRequiringPkce.includes(provider)) {
|
|
226
|
+
const digest = yield digestSHA256.digestSHA256(verifier);
|
|
227
|
+
const pkceParams = stringifyURIQuery.stringifyURIQuery({
|
|
228
|
+
code_challenge: encodeBase64URL.encodeBase64URL(digest),
|
|
229
|
+
code_challenge_method: 'S256',
|
|
230
|
+
state: state,
|
|
231
|
+
});
|
|
232
|
+
oauthLoginUrl = `${loginUrl}&${pkceParams}`;
|
|
233
|
+
}
|
|
234
|
+
if (!((_c = providersWaitingOauthMessage.current) === null || _c === void 0 ? void 0 : _c[provider])) {
|
|
235
|
+
window.addEventListener('message', handleAuthWindowMessage);
|
|
236
|
+
providersWaitingOauthMessage.current = Object.assign(Object.assign({}, providersWaitingOauthMessage.current), { [provider]: true });
|
|
237
|
+
}
|
|
238
|
+
authWindow === null || authWindow === void 0 ? void 0 : authWindow.location.assign(oauthLoginUrl);
|
|
239
|
+
if (!providersWithoutWindowOpenerRefence.includes(provider)) {
|
|
240
|
+
// For provider that support window.opener, we need to clear all states/listeners when the window is closed
|
|
241
|
+
authWindowInterval.current = setInterval(() => {
|
|
242
|
+
var _a;
|
|
243
|
+
if (!(authWindow === null || authWindow === void 0 ? void 0 : authWindow.closed)) {
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
clearInterval(authWindowInterval.current);
|
|
247
|
+
setIsProcessing(false);
|
|
248
|
+
// user didn't complete oauth
|
|
249
|
+
if ((_a = providersWaitingOauthMessage.current) === null || _a === void 0 ? void 0 : _a[provider]) {
|
|
250
|
+
onError === null || onError === void 0 ? void 0 : onError();
|
|
251
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
252
|
+
}
|
|
253
|
+
}, 2000);
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
// For provider that don't support window.opener, we need to use a timeout to pool the oauth result
|
|
257
|
+
// If we don't get a valid result in {async sessionTimeout} ms, we'll assume the user closed the window
|
|
258
|
+
// and we'll clear all states/listeners
|
|
259
|
+
// start pooling oauth result
|
|
260
|
+
shouldPool.current = true;
|
|
261
|
+
poolOauthResult(provider, state);
|
|
262
|
+
authWindowInterval.current = setInterval(() => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
263
|
+
var _e;
|
|
264
|
+
shouldPool.current = false;
|
|
265
|
+
// clear all states/listeners, assuming user closed the window before completing oauth
|
|
266
|
+
if ((_e = providersWaitingOauthMessage.current) === null || _e === void 0 ? void 0 : _e[provider]) {
|
|
267
|
+
clearListeners();
|
|
268
|
+
handleError(types.SocialOAuthErrorCode.OAUTH_WINDOW_TIMEOUT, `Connecting ${provider} account window timeout.`);
|
|
269
|
+
}
|
|
270
|
+
clearInterval(authWindowInterval.current);
|
|
271
|
+
setIsProcessing(false);
|
|
272
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
273
|
+
}), sessionTimeout);
|
|
274
|
+
}
|
|
275
|
+
});
|
|
276
|
+
return {
|
|
277
|
+
checkValidProvider,
|
|
278
|
+
connectSocialAccount,
|
|
279
|
+
error,
|
|
280
|
+
handleError,
|
|
281
|
+
isProcessing,
|
|
282
|
+
setError,
|
|
283
|
+
setIsProcessing,
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
exports.useSocialAuth = useSocialAuth;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ProviderEnum } from '@dynamic-labs/sdk-api';
|
|
3
|
+
import { SocialOAuthError, SocialOAuthErrorCode } from '@dynamic-labs/types';
|
|
4
|
+
type SocialAuthMode = 'link' | 'signin';
|
|
5
|
+
type UseSocialAuthProps = {
|
|
6
|
+
sessionTimeout: number;
|
|
7
|
+
authMode: SocialAuthMode;
|
|
8
|
+
onSettled?: () => void;
|
|
9
|
+
onError?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const useSocialAuth: ({ sessionTimeout, authMode, onSettled, onError, }: UseSocialAuthProps) => {
|
|
12
|
+
readonly checkValidProvider: (provider: ProviderEnum) => boolean;
|
|
13
|
+
readonly connectSocialAccount: (provider: ProviderEnum, validator?: ((provider: ProviderEnum) => boolean) | undefined) => Promise<void>;
|
|
14
|
+
readonly error: SocialOAuthError | undefined;
|
|
15
|
+
readonly handleError: (code: SocialOAuthErrorCode, message: string) => void;
|
|
16
|
+
readonly isProcessing: boolean;
|
|
17
|
+
readonly setError: import("react").Dispatch<import("react").SetStateAction<SocialOAuthError | undefined>>;
|
|
18
|
+
readonly setIsProcessing: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { __awaiter } from '../../../../../_virtual/_tslib.js';
|
|
2
|
+
import { useState, useRef } from 'react';
|
|
3
|
+
import { OauthResultStatus } from '@dynamic-labs/sdk-api';
|
|
4
|
+
import { SocialOAuthErrorCode } from '@dynamic-labs/types';
|
|
5
|
+
import { SocialAccountAlreadyExistsError, NoAccessError } from '@dynamic-labs/utils';
|
|
6
|
+
import { useInternalDynamicContext } from '../../../context/DynamicContext/useInternalDynamicContext.js';
|
|
7
|
+
import { getOAuthResult, verifyOAuth, signInOAuth } from '../../../data/api.js';
|
|
8
|
+
import { useUpdateUserProfileByJWTCallback } from '../useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js';
|
|
9
|
+
import { decodeJwt } from '../../../shared/utils/functions/decodeJwt/decodeJwt.js';
|
|
10
|
+
import '@dynamic-labs/iconic';
|
|
11
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
12
|
+
import 'react/jsx-runtime';
|
|
13
|
+
import { useViewContext } from '../../../context/ViewContext/ViewContext.js';
|
|
14
|
+
import { logger } from '../../../shared/logger.js';
|
|
15
|
+
import '@dynamic-labs/wallet-book';
|
|
16
|
+
import '../../constants/colors.js';
|
|
17
|
+
import '../../../shared/utils/classes/storage/localStorage.js';
|
|
18
|
+
import 'viem';
|
|
19
|
+
import '../../../shared/consts/index.js';
|
|
20
|
+
import '@dynamic-labs/multi-wallet';
|
|
21
|
+
import { getAuthToken } from '../../functions/getAuthToken/getAuthToken.js';
|
|
22
|
+
import { randomString } from '../../functions/randomString/randomString.js';
|
|
23
|
+
import { stringifyURIQuery } from '../../functions/stringifyURIQuery/stringifyURIQuery.js';
|
|
24
|
+
import { digestSHA256 } from '../../functions/digestSHA256/digestSHA256.js';
|
|
25
|
+
import { encodeBase64URL } from '../../functions/encodeBase64URL/encodeBase64URL.js';
|
|
26
|
+
import { getOauthLoginUrl } from '../../functions/getOauthLoginUrl/getOauthLoginUrl.js';
|
|
27
|
+
import { useCreateUserProfileByJWTCallback } from '../useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js';
|
|
28
|
+
import { useErrorContext } from '../../../context/ErrorContext/ErrorContext.js';
|
|
29
|
+
import { useEmbeddedWallet } from '../useEmbeddedWallet/useEmbeddedWallet.js';
|
|
30
|
+
|
|
31
|
+
const socialProviders = [
|
|
32
|
+
'discord',
|
|
33
|
+
'facebook',
|
|
34
|
+
'github',
|
|
35
|
+
'google',
|
|
36
|
+
'instagram',
|
|
37
|
+
'twitch',
|
|
38
|
+
'twitter',
|
|
39
|
+
];
|
|
40
|
+
// pkce params are only required for twitter and break if added for other providers, like google
|
|
41
|
+
// so we should only add provider that support pkce to this list
|
|
42
|
+
const providersRequiringPkce = ['twitter', 'github'];
|
|
43
|
+
const providersWithoutWindowOpenerRefence = ['twitter'];
|
|
44
|
+
// Hook to handle common social auth logic (for social linking and social sign in)
|
|
45
|
+
const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
46
|
+
var _a;
|
|
47
|
+
const { environmentId, onboardingOnlyJwt, setOnboardingOnlyJwt, setCallback, setShowAuthFlow, setIsVerificationInProgress, projectSettings, } = useInternalDynamicContext();
|
|
48
|
+
const { setView } = useViewContext();
|
|
49
|
+
const { setErrorMessage, setError: setContextError } = useErrorContext();
|
|
50
|
+
const { updateUserProfileByJWT } = useUpdateUserProfileByJWTCallback();
|
|
51
|
+
const { createUserProfileByJWT } = useCreateUserProfileByJWTCallback();
|
|
52
|
+
const { createEmbeddedWallet } = useEmbeddedWallet();
|
|
53
|
+
const [isProcessing, setIsProcessing] = useState(false);
|
|
54
|
+
const [error, setError] = useState();
|
|
55
|
+
const providersWaitingOauthMessage = useRef({});
|
|
56
|
+
const authWindowInterval = useRef();
|
|
57
|
+
const shouldPool = useRef(false);
|
|
58
|
+
const userJwt = (_a = getAuthToken()) !== null && _a !== void 0 ? _a : onboardingOnlyJwt;
|
|
59
|
+
const clearError = () => {
|
|
60
|
+
setError(undefined);
|
|
61
|
+
setContextError(undefined);
|
|
62
|
+
};
|
|
63
|
+
const handleError = (code, message) => {
|
|
64
|
+
logger.error(message);
|
|
65
|
+
setIsProcessing(false);
|
|
66
|
+
setError({ code, message });
|
|
67
|
+
setErrorMessage(code);
|
|
68
|
+
onError === null || onError === void 0 ? void 0 : onError();
|
|
69
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
70
|
+
};
|
|
71
|
+
const poolOauthResult = (provider, state) => __awaiter(void 0, void 0, void 0, function* () {
|
|
72
|
+
if (!shouldPool.current) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const result = yield getOAuthResult(environmentId, provider, {
|
|
76
|
+
state,
|
|
77
|
+
});
|
|
78
|
+
if ((result === null || result === void 0 ? void 0 : result.status) !== OauthResultStatus.Completed) {
|
|
79
|
+
setTimeout(() => poolOauthResult(provider, state), 1000);
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
shouldPool.current = false;
|
|
83
|
+
const authMessage = {
|
|
84
|
+
code: result === null || result === void 0 ? void 0 : result.code,
|
|
85
|
+
error: result === null || result === void 0 ? void 0 : result.error,
|
|
86
|
+
provider,
|
|
87
|
+
type: 'authorization_response',
|
|
88
|
+
};
|
|
89
|
+
window.postMessage(authMessage, '*');
|
|
90
|
+
});
|
|
91
|
+
const checkValidProvider = (provider) => {
|
|
92
|
+
if (!provider) {
|
|
93
|
+
handleError(SocialOAuthErrorCode.NO_PROVIDER, 'Provider is required');
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
if (!socialProviders.includes(provider)) {
|
|
97
|
+
handleError(SocialOAuthErrorCode.INVALID_PROVIDER, `Invalid social provider. Valid providers are: ${socialProviders.join(', ')}`);
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
return true;
|
|
101
|
+
};
|
|
102
|
+
const linkAccount = (provider, code, verifier, state) => __awaiter(void 0, void 0, void 0, function* () {
|
|
103
|
+
try {
|
|
104
|
+
const jwt = yield verifyOAuth(environmentId, provider, {
|
|
105
|
+
code,
|
|
106
|
+
codeVerifier: verifier,
|
|
107
|
+
state,
|
|
108
|
+
}, String(userJwt));
|
|
109
|
+
if (!jwt) {
|
|
110
|
+
handleError(SocialOAuthErrorCode.VERIFICATION_ERROR, `Failed to link social account: ${provider}`);
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
yield updateUserProfileByJWT(jwt);
|
|
114
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
115
|
+
}
|
|
116
|
+
catch (error) {
|
|
117
|
+
if (error instanceof SocialAccountAlreadyExistsError) {
|
|
118
|
+
handleError(SocialOAuthErrorCode.ACCOUNT_ALREADY_LINKED_TO_DIFFERENT_PROFILE, `Social account already linked to a different profile: ${provider}`);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
const signInAccount = (provider, code, verifier, state) => __awaiter(void 0, void 0, void 0, function* () {
|
|
123
|
+
try {
|
|
124
|
+
const jwt = yield signInOAuth(environmentId, provider, {
|
|
125
|
+
code,
|
|
126
|
+
codeVerifier: verifier,
|
|
127
|
+
state,
|
|
128
|
+
});
|
|
129
|
+
if (!jwt) {
|
|
130
|
+
handleError(SocialOAuthErrorCode.SIGNIN_ERROR, `Failed to sign-in with social account: ${provider}`);
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
setIsVerificationInProgress(true);
|
|
134
|
+
const decodedJwt = decodeJwt(jwt);
|
|
135
|
+
if (decodedJwt === null || decodedJwt === void 0 ? void 0 : decodedJwt.missingFields.length) {
|
|
136
|
+
setOnboardingOnlyJwt(jwt);
|
|
137
|
+
setView('collect-user-data-login-with-email');
|
|
138
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
setCallback('authSuccess');
|
|
142
|
+
yield createUserProfileByJWT(jwt);
|
|
143
|
+
try {
|
|
144
|
+
// this function will check turnkey wallet enabled and create wallet if needed
|
|
145
|
+
// if not enabled, it will throw an error.
|
|
146
|
+
createEmbeddedWallet();
|
|
147
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
148
|
+
}
|
|
149
|
+
catch (e) {
|
|
150
|
+
setShowAuthFlow(false);
|
|
151
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
catch (error) {
|
|
155
|
+
if (error instanceof NoAccessError) {
|
|
156
|
+
setView('no-access');
|
|
157
|
+
}
|
|
158
|
+
handleError(SocialOAuthErrorCode.GENERAL_ERROR, error);
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
const connectSocialAccount = (provider, validator) => __awaiter(void 0, void 0, void 0, function* () {
|
|
162
|
+
var _b, _c;
|
|
163
|
+
clearInterval(authWindowInterval.current);
|
|
164
|
+
clearError();
|
|
165
|
+
setIsProcessing(true);
|
|
166
|
+
if (!checkValidProvider(provider)) {
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
// invalid connect request
|
|
170
|
+
if (validator && !validator(provider)) {
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
const authWindow = window.open('', '_blank', 'width=500,height=600');
|
|
174
|
+
const state = randomString(8);
|
|
175
|
+
const verifier = randomString(43);
|
|
176
|
+
const clearListeners = () => {
|
|
177
|
+
window.removeEventListener('message', handleAuthWindowMessage);
|
|
178
|
+
providersWaitingOauthMessage.current = Object.assign(Object.assign({}, providersWaitingOauthMessage.current), { [provider]: false });
|
|
179
|
+
};
|
|
180
|
+
const handleAuthWindowMessage = (event) => __awaiter(void 0, void 0, void 0, function* () {
|
|
181
|
+
var _d;
|
|
182
|
+
const message = event.data;
|
|
183
|
+
const isAuthorizationMessage = (message === null || message === void 0 ? void 0 : message.type) === 'authorization_response';
|
|
184
|
+
if (isAuthorizationMessage) {
|
|
185
|
+
logger.debug('Message received', { data: message });
|
|
186
|
+
}
|
|
187
|
+
const isValidMessage = isAuthorizationMessage && (message === null || message === void 0 ? void 0 : message.provider) === provider;
|
|
188
|
+
// don't process invalid messages for provider
|
|
189
|
+
if (!isValidMessage) {
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
setIsProcessing(true);
|
|
193
|
+
if (!((_d = providersWaitingOauthMessage.current) === null || _d === void 0 ? void 0 : _d[provider])) {
|
|
194
|
+
handleError(SocialOAuthErrorCode.SESSION_TIMEOUT, `Connecting ${provider} account session timeout.`);
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
clearListeners();
|
|
198
|
+
const { code, error } = message;
|
|
199
|
+
if (error && error !== 'undefined') {
|
|
200
|
+
handleError(SocialOAuthErrorCode.OAUTH_ERROR, `Failed to connect ${provider} social account: ${error}`);
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
if (!code) {
|
|
204
|
+
handleError(SocialOAuthErrorCode.NO_AUTH_CODE, `Failed to connect ${provider} social account: no authorization code`);
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
if (authMode === 'signin') {
|
|
208
|
+
yield signInAccount(provider, code, verifier, state);
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
yield linkAccount(provider, code, verifier, state);
|
|
212
|
+
}
|
|
213
|
+
setIsProcessing(false);
|
|
214
|
+
});
|
|
215
|
+
const loginUrl = getOauthLoginUrl((_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) !== null && _b !== void 0 ? _b : [], provider, environmentId);
|
|
216
|
+
if (!loginUrl) {
|
|
217
|
+
handleError(SocialOAuthErrorCode.NO_OAUTH_URL, `Failed to get login url to connect social account: ${provider}`);
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
let oauthLoginUrl = loginUrl;
|
|
221
|
+
if (providersRequiringPkce.includes(provider)) {
|
|
222
|
+
const digest = yield digestSHA256(verifier);
|
|
223
|
+
const pkceParams = stringifyURIQuery({
|
|
224
|
+
code_challenge: encodeBase64URL(digest),
|
|
225
|
+
code_challenge_method: 'S256',
|
|
226
|
+
state: state,
|
|
227
|
+
});
|
|
228
|
+
oauthLoginUrl = `${loginUrl}&${pkceParams}`;
|
|
229
|
+
}
|
|
230
|
+
if (!((_c = providersWaitingOauthMessage.current) === null || _c === void 0 ? void 0 : _c[provider])) {
|
|
231
|
+
window.addEventListener('message', handleAuthWindowMessage);
|
|
232
|
+
providersWaitingOauthMessage.current = Object.assign(Object.assign({}, providersWaitingOauthMessage.current), { [provider]: true });
|
|
233
|
+
}
|
|
234
|
+
authWindow === null || authWindow === void 0 ? void 0 : authWindow.location.assign(oauthLoginUrl);
|
|
235
|
+
if (!providersWithoutWindowOpenerRefence.includes(provider)) {
|
|
236
|
+
// For provider that support window.opener, we need to clear all states/listeners when the window is closed
|
|
237
|
+
authWindowInterval.current = setInterval(() => {
|
|
238
|
+
var _a;
|
|
239
|
+
if (!(authWindow === null || authWindow === void 0 ? void 0 : authWindow.closed)) {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
clearInterval(authWindowInterval.current);
|
|
243
|
+
setIsProcessing(false);
|
|
244
|
+
// user didn't complete oauth
|
|
245
|
+
if ((_a = providersWaitingOauthMessage.current) === null || _a === void 0 ? void 0 : _a[provider]) {
|
|
246
|
+
onError === null || onError === void 0 ? void 0 : onError();
|
|
247
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
248
|
+
}
|
|
249
|
+
}, 2000);
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
// For provider that don't support window.opener, we need to use a timeout to pool the oauth result
|
|
253
|
+
// If we don't get a valid result in {async sessionTimeout} ms, we'll assume the user closed the window
|
|
254
|
+
// and we'll clear all states/listeners
|
|
255
|
+
// start pooling oauth result
|
|
256
|
+
shouldPool.current = true;
|
|
257
|
+
poolOauthResult(provider, state);
|
|
258
|
+
authWindowInterval.current = setInterval(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
259
|
+
var _e;
|
|
260
|
+
shouldPool.current = false;
|
|
261
|
+
// clear all states/listeners, assuming user closed the window before completing oauth
|
|
262
|
+
if ((_e = providersWaitingOauthMessage.current) === null || _e === void 0 ? void 0 : _e[provider]) {
|
|
263
|
+
clearListeners();
|
|
264
|
+
handleError(SocialOAuthErrorCode.OAUTH_WINDOW_TIMEOUT, `Connecting ${provider} account window timeout.`);
|
|
265
|
+
}
|
|
266
|
+
clearInterval(authWindowInterval.current);
|
|
267
|
+
setIsProcessing(false);
|
|
268
|
+
onSettled === null || onSettled === void 0 ? void 0 : onSettled();
|
|
269
|
+
}), sessionTimeout);
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
return {
|
|
273
|
+
checkValidProvider,
|
|
274
|
+
connectSocialAccount,
|
|
275
|
+
error,
|
|
276
|
+
handleError,
|
|
277
|
+
isProcessing,
|
|
278
|
+
setError,
|
|
279
|
+
setIsProcessing,
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
export { useSocialAuth };
|
|
@@ -5,23 +5,23 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var useIsomorphicLayoutEffect = require('../useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.cjs');
|
|
7
7
|
|
|
8
|
-
// https://usehooks-ts.com/react-hook/use-timeout
|
|
9
|
-
const useTimeout = (callback, delay) => {
|
|
10
|
-
const savedCallback = React.useRef(callback);
|
|
11
|
-
// Remember the latest callback if it changes.
|
|
12
|
-
useIsomorphicLayoutEffect.useIsomorphicLayoutEffect(() => {
|
|
13
|
-
savedCallback.current = callback;
|
|
14
|
-
}, [callback]);
|
|
15
|
-
// Set up the timeout.
|
|
16
|
-
React.useEffect(() => {
|
|
17
|
-
// Don't schedule if no delay is specified.
|
|
18
|
-
// Note: 0 is a valid value for delay.
|
|
19
|
-
if (!delay && delay !== 0) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const id = setTimeout(() => savedCallback.current(), delay);
|
|
23
|
-
return () => clearTimeout(id);
|
|
24
|
-
}, [delay]);
|
|
8
|
+
// https://usehooks-ts.com/react-hook/use-timeout
|
|
9
|
+
const useTimeout = (callback, delay) => {
|
|
10
|
+
const savedCallback = React.useRef(callback);
|
|
11
|
+
// Remember the latest callback if it changes.
|
|
12
|
+
useIsomorphicLayoutEffect.useIsomorphicLayoutEffect(() => {
|
|
13
|
+
savedCallback.current = callback;
|
|
14
|
+
}, [callback]);
|
|
15
|
+
// Set up the timeout.
|
|
16
|
+
React.useEffect(() => {
|
|
17
|
+
// Don't schedule if no delay is specified.
|
|
18
|
+
// Note: 0 is a valid value for delay.
|
|
19
|
+
if (!delay && delay !== 0) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const id = setTimeout(() => savedCallback.current(), delay);
|
|
23
|
+
return () => clearTimeout(id);
|
|
24
|
+
}, [delay]);
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
exports.useTimeout = useTimeout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useTimeout: (callback: () => void, delay: number | null) => void;
|
|
1
|
+
export declare const useTimeout: (callback: () => void, delay: number | null) => void;
|