@dynamic-labs/sdk-react-core 3.0.0-alpha.40 → 3.0.0-alpha.42
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 +10 -0
- package/package.cjs +2 -2
- package/package.js +2 -2
- package/package.json +13 -13
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +3 -3
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +3 -3
- package/src/lib/components/Captcha/Captcha.cjs +1 -1
- package/src/lib/components/Captcha/Captcha.js +1 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +1 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +1 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +1 -1
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +1 -1
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +1 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.js +1 -1
- package/src/lib/components/LogoutButton/LogoutButton.cjs +1 -1
- package/src/lib/components/LogoutButton/LogoutButton.js +1 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +1 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +1 -1
- package/src/lib/components/MfaDeviceTileSkeleton/MfaDeviceTileSkeleton.cjs +11 -0
- package/src/lib/components/MfaDeviceTileSkeleton/MfaDeviceTileSkeleton.d.ts +2 -0
- package/src/lib/components/MfaDeviceTileSkeleton/MfaDeviceTileSkeleton.js +7 -0
- package/src/lib/components/MfaDeviceTileSkeleton/index.d.ts +1 -0
- package/src/lib/components/Modal/Modal.cjs +1 -1
- package/src/lib/components/Modal/Modal.js +1 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +1 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.js +1 -1
- package/src/lib/components/OverlayCard/OverlayCard.cjs +1 -1
- package/src/lib/components/OverlayCard/OverlayCard.js +1 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +1 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +1 -1
- package/src/lib/components/Portal/Portal.cjs +1 -1
- package/src/lib/components/Portal/Portal.js +1 -1
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +1 -1
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +1 -1
- package/src/lib/components/QRCode/QRCode.cjs +1 -1
- package/src/lib/components/QRCode/QRCode.js +1 -1
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +1 -1
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +1 -1
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.cjs +1 -1
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.js +1 -1
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.cjs +1 -1
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.js +1 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +1 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +1 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
- package/src/lib/components/SendBalancePageLayout/components/TokensBalanceDropdown/TokensBalanceDropdown.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/components/TokensBalanceDropdown/TokensBalanceDropdown.js +1 -1
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +1 -1
- package/src/lib/components/ShadowDOM/ShadowDOM.js +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.js +1 -1
- package/src/lib/components/SyncAuthFlow/SyncAuthFlow.cjs +1 -1
- package/src/lib/components/SyncAuthFlow/SyncAuthFlow.js +1 -1
- package/src/lib/components/Toolkit/Toolkit.cjs +1 -1
- package/src/lib/components/Toolkit/Toolkit.js +1 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +1 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +1 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +1 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +1 -1
- package/src/lib/components/Tooltip/Tooltip.cjs +1 -1
- package/src/lib/components/Tooltip/Tooltip.js +1 -1
- package/src/lib/components/TosAndPp/TosAndPp.cjs +1 -1
- package/src/lib/components/TosAndPp/TosAndPp.js +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +1 -1
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -1
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -1
- package/src/lib/components/UserAddress/UserAddress.cjs +1 -1
- package/src/lib/components/UserAddress/UserAddress.js +1 -1
- package/src/lib/components/UserProfile/parts/EditProfileButton/EditProfileButton.cjs +1 -1
- package/src/lib/components/UserProfile/parts/EditProfileButton/EditProfileButton.js +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.js +1 -1
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.cjs +1 -1
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.js +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.cjs +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.js +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.cjs +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.js +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.cjs +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.js +1 -1
- package/src/lib/context/DynamicContext/DynamicContext.cjs +1 -1
- package/src/lib/context/DynamicContext/DynamicContext.js +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +1 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +1 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +1 -1
- package/src/lib/context/FundingContext/FundingContext.cjs +1 -1
- package/src/lib/context/FundingContext/FundingContext.js +1 -1
- package/src/lib/context/LoadingContext/LoadingContext.cjs +1 -1
- package/src/lib/context/LoadingContext/LoadingContext.js +1 -1
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +1 -1
- package/src/lib/context/PasskeyContext/PasskeyContext.js +1 -1
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +1 -1
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +1 -1
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +1 -1
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +1 -1
- package/src/lib/context/ReinitializeContext/ReinitializeContextProvider.cjs +1 -1
- package/src/lib/context/ReinitializeContext/ReinitializeContextProvider.js +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -1
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.cjs +1 -1
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.js +1 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +1 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +1 -1
- package/src/lib/context/WalletContext/WalletContext.cjs +1 -1
- package/src/lib/context/WalletContext/WalletContext.js +1 -1
- package/src/lib/context/WidgetRegistry/WidgetRegistryContextProvider.cjs +1 -1
- package/src/lib/context/WidgetRegistry/WidgetRegistryContextProvider.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +1 -1
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +1 -7
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +1 -7
- package/src/lib/locale/en/translation.cjs +7 -2
- package/src/lib/locale/en/translation.d.ts +6 -1
- package/src/lib/locale/en/translation.js +7 -2
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.cjs +1 -1
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.js +1 -1
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.cjs +1 -1
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.js +1 -1
- package/src/lib/modals/SyncWalletPromptModal/SyncWalletPromptModal.cjs +1 -1
- package/src/lib/modals/SyncWalletPromptModal/SyncWalletPromptModal.js +1 -1
- package/src/lib/shared/assets/index.d.ts +1 -0
- package/src/lib/shared/assets/{wallet.cjs → info.cjs} +8 -6
- package/src/lib/shared/assets/{wallet.js → info.js} +8 -6
- package/src/lib/shared/assets/profile-outline.cjs +5 -5
- package/src/lib/shared/assets/profile-outline.js +5 -5
- package/src/lib/shared/assets/settings-outline.cjs +5 -5
- package/src/lib/shared/assets/settings-outline.js +5 -5
- package/src/lib/shared/assets/wallet-outline-v2.cjs +5 -5
- package/src/lib/shared/assets/wallet-outline-v2.js +5 -5
- package/src/lib/shared/types/dynamicHandlers.d.ts +1 -1
- package/src/lib/store/hooks/useNetworkConfigurations/useNetworkConfigurations.cjs +1 -1
- package/src/lib/store/hooks/useNetworkConfigurations/useNetworkConfigurations.js +1 -1
- package/src/lib/store/hooks/useProjectSettings/useProjectSettings.cjs +1 -1
- package/src/lib/store/hooks/useProjectSettings/useProjectSettings.js +1 -1
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.cjs +1 -1
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.js +1 -1
- package/src/lib/utils/functions/getEOAWallet/getEOAWallet.cjs +1 -1
- package/src/lib/utils/functions/getEOAWallet/getEOAWallet.js +1 -1
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.cjs +1 -1
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.js +1 -1
- package/src/lib/utils/functions/getSessionKeyCompatibleConnectorFetchers/getSessionKeyCompatibleConnectorFetchers.cjs +1 -1
- package/src/lib/utils/functions/getSessionKeyCompatibleConnectorFetchers/getSessionKeyCompatibleConnectorFetchers.js +1 -1
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.cjs +1 -1
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.js +1 -1
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.cjs +1 -1
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.js +1 -1
- package/src/lib/utils/functions/isCookieEnabled/isCookieEnabled.cjs +1 -1
- package/src/lib/utils/functions/isCookieEnabled/isCookieEnabled.js +1 -1
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.cjs +1 -1
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.js +1 -1
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.cjs +1 -1
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +1 -1
- package/src/lib/utils/hooks/index.d.ts +1 -1
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +1 -1
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +1 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +1 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +1 -1
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +1 -1
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +1 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +1 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +1 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +1 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +1 -1
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +1 -1
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +1 -1
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.cjs +1 -1
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.js +1 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +1 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +1 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +1 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.js +1 -1
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.cjs +1 -1
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.js +1 -1
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +1 -1
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +1 -1
- package/src/lib/utils/hooks/useHandleAuthenticatedUser/index.d.ts +1 -0
- package/src/lib/utils/hooks/{useHandleVerifiedUser/useHandleVerifiedUser.cjs → useHandleAuthenticatedUser/useHandleAuthenticatedUser.cjs} +11 -9
- package/src/lib/utils/hooks/useHandleAuthenticatedUser/useHandleAuthenticatedUser.d.ts +2 -0
- package/src/lib/utils/hooks/{useHandleVerifiedUser/useHandleVerifiedUser.js → useHandleAuthenticatedUser/useHandleAuthenticatedUser.js} +11 -9
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +1 -1
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +1 -1
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.cjs +1 -1
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.js +1 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +1 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +1 -1
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +1 -1
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +1 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +1 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +1 -1
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +1 -1
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +1 -1
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.cjs +1 -1
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.js +1 -1
- package/src/lib/utils/hooks/useMfa/useMfa.cjs +1 -1
- package/src/lib/utils/hooks/useMfa/useMfa.js +1 -1
- package/src/lib/utils/hooks/useMfaModals/useMfaModals.cjs +1 -1
- package/src/lib/utils/hooks/useMfaModals/useMfaModals.js +1 -1
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.cjs +1 -1
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.js +1 -1
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.cjs +1 -1
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.js +1 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +1 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +1 -1
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +1 -1
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +1 -1
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.cjs +1 -1
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.js +1 -1
- package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.cjs +1 -1
- package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.js +1 -1
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +1 -1
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +1 -1
- package/src/lib/utils/hooks/useSelectWalletOption/useSelectWalletOption.cjs +1 -1
- package/src/lib/utils/hooks/useSelectWalletOption/useSelectWalletOption.js +1 -1
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.cjs +1 -1
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.js +1 -1
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +1 -1
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +1 -1
- package/src/lib/utils/hooks/useSwitchWallet/useSwitchWallet.cjs +1 -1
- package/src/lib/utils/hooks/useSwitchWallet/useSwitchWallet.js +1 -1
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.cjs +1 -1
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.js +1 -1
- package/src/lib/utils/hooks/useSyncMfaFlow/useSyncMfaFlow.cjs +1 -1
- package/src/lib/utils/hooks/useSyncMfaFlow/useSyncMfaFlow.js +1 -1
- package/src/lib/utils/hooks/useSyncOnboardingFlow/useSyncOnboardingFlow.cjs +1 -1
- package/src/lib/utils/hooks/useSyncOnboardingFlow/useSyncOnboardingFlow.js +1 -1
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.cjs +1 -1
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.js +1 -1
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.cjs +1 -1
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.js +1 -1
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.cjs +5 -5
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.js +5 -5
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +1 -1
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +1 -1
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +1 -1
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +1 -1
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +1 -1
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.cjs +1 -1
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +1 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +1 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +1 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -1
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +1 -1
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +1 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +1 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +1 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +1 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +1 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +1 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +1 -1
- package/src/lib/views/CollectUserDataView/useFields.cjs +1 -1
- package/src/lib/views/CollectUserDataView/useFields.js +1 -1
- package/src/lib/views/CreatePasswordView/CreatePasswordView.cjs +1 -1
- package/src/lib/views/CreatePasswordView/CreatePasswordView.js +1 -1
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +11 -2
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +13 -4
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +1 -1
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +1 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.cjs +1 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.js +1 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +1 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +1 -1
- package/src/lib/views/LoginView/useLoginView/useLoginView.cjs +1 -1
- package/src/lib/views/LoginView/useLoginView/useLoginView.js +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +1 -1
- package/src/lib/views/MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.cjs +3 -3
- package/src/lib/views/MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.js +3 -3
- package/src/lib/views/MfaVerificationView/MfaVerificationView.cjs +1 -1
- package/src/lib/views/MfaVerificationView/MfaVerificationView.js +1 -1
- package/src/lib/views/NoAccess/useNoAccessText.cjs +1 -1
- package/src/lib/views/NoAccess/useNoAccessText.js +1 -1
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +1 -1
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +1 -1
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.cjs +1 -1
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.js +1 -1
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.cjs +1 -1
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.js +1 -1
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +1 -1
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +1 -1
- package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -1
- package/src/lib/views/QrCodeView/QrCodeView.js +1 -1
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +1 -1
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +1 -1
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +1 -1
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +1 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -1
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +1 -1
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +1 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -1
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +1 -1
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +1 -1
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +1 -1
- package/src/lib/views/WalletGroupView/WalletGroupView.js +1 -1
- package/src/lib/views/WalletList/WalletList.cjs +1 -1
- package/src/lib/views/WalletList/WalletList.js +1 -1
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +1 -1
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +1 -1
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +1 -1
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +1 -7
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +1 -7
- package/src/lib/widgets/DynamicWidget/components/BottomNavBar/BottomNavBar.cjs +85 -1
- package/src/lib/widgets/DynamicWidget/components/BottomNavBar/BottomNavBar.d.ts +0 -1
- package/src/lib/widgets/DynamicWidget/components/BottomNavBar/BottomNavBar.js +85 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/ManageMfaWidgetView.cjs +7 -4
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/ManageMfaWidgetView.d.ts +0 -2
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/ManageMfaWidgetView.js +8 -4
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/UserDeviceTile.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/UserDeviceTile.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/UserDeviceTile.js +4 -3
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/utils/sort.cjs +23 -0
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/utils/sort.d.ts +4 -0
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/utils/sort.js +17 -0
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +1 -2
- package/src/lib/shared/assets/profile.cjs +0 -65
- package/src/lib/shared/assets/profile.js +0 -41
- package/src/lib/shared/assets/settings.cjs +0 -54
- package/src/lib/shared/assets/settings.js +0 -30
- package/src/lib/utils/hooks/useHandleVerifiedUser/index.d.ts +0 -1
- package/src/lib/utils/hooks/useHandleVerifiedUser/useHandleVerifiedUser.d.ts +0 -2
package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs
CHANGED
|
@@ -68,6 +68,7 @@ require('../../../../views/WalletList/WalletList.cjs');
|
|
|
68
68
|
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
69
69
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
70
70
|
require('@hcaptcha/react-hcaptcha');
|
|
71
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
71
72
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
72
73
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
73
74
|
require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
@@ -80,7 +81,6 @@ var NoQrNotInstalledModalView = require('../NoQrNotInstalledModalView/NoQrNotIns
|
|
|
80
81
|
var PendingConnectionModal = require('../PendingConnectionModal/PendingConnectionModal.cjs');
|
|
81
82
|
var PendingSignModal = require('../PendingSignModal/PendingSignModal.cjs');
|
|
82
83
|
var QrCodeModalView = require('../QrCodeModalView/QrCodeModalView.cjs');
|
|
83
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
84
84
|
require('../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
85
85
|
require('../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
86
86
|
require('../../../../../polyfills.cjs');
|
package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js
CHANGED
|
@@ -64,6 +64,7 @@ import '../../../../views/WalletList/WalletList.js';
|
|
|
64
64
|
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
65
65
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
66
66
|
import '@hcaptcha/react-hcaptcha';
|
|
67
|
+
import '../../context/DynamicWidgetContext.js';
|
|
67
68
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
68
69
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
69
70
|
import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
@@ -76,7 +77,6 @@ import { NoQrNotInstalledModalView } from '../NoQrNotInstalledModalView/NoQrNotI
|
|
|
76
77
|
import { PendingConnectionModal, PendingConnectionWidgetPortal } from '../PendingConnectionModal/PendingConnectionModal.js';
|
|
77
78
|
import { PendingSignModal, PendingSignWidgetPortal } from '../PendingSignModal/PendingSignModal.js';
|
|
78
79
|
import { QrCodeModalView } from '../QrCodeModalView/QrCodeModalView.js';
|
|
79
|
-
import '../../context/DynamicWidgetContext.js';
|
|
80
80
|
import '../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
81
81
|
import '../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
82
82
|
import '../../../../../polyfills.js';
|
|
@@ -67,6 +67,7 @@ require('../../../../views/WalletList/WalletList.cjs');
|
|
|
67
67
|
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
68
68
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
69
69
|
require('@hcaptcha/react-hcaptcha');
|
|
70
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
70
71
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
71
72
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
72
73
|
require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
@@ -79,7 +80,6 @@ var DefaultPromptModal = require('../DefaultPromptModal/DefaultPromptModal.cjs')
|
|
|
79
80
|
var useConnectedAccountWallet = require('../../../../utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.cjs');
|
|
80
81
|
var SwitchAccountView = require('./SwitchAccountView/SwitchAccountView.cjs');
|
|
81
82
|
var SwitchOrUseActiveAccountView = require('./SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs');
|
|
82
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
83
83
|
require('../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
84
84
|
require('../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
85
85
|
require('../../../../../polyfills.cjs');
|
package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js
CHANGED
|
@@ -63,6 +63,7 @@ import '../../../../views/WalletList/WalletList.js';
|
|
|
63
63
|
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
64
64
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
65
65
|
import '@hcaptcha/react-hcaptcha';
|
|
66
|
+
import '../../context/DynamicWidgetContext.js';
|
|
66
67
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
67
68
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
68
69
|
import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
@@ -75,7 +76,6 @@ import { DefaultPromptLayout } from '../DefaultPromptModal/DefaultPromptModal.js
|
|
|
75
76
|
import { useConnectedAccountWallet } from '../../../../utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.js';
|
|
76
77
|
import { SwitchAccountView } from './SwitchAccountView/SwitchAccountView.js';
|
|
77
78
|
import { SwitchOrUseActiveAccountView } from './SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js';
|
|
78
|
-
import '../../context/DynamicWidgetContext.js';
|
|
79
79
|
import '../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
80
80
|
import '../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
81
81
|
import '../../../../../polyfills.js';
|
|
@@ -68,6 +68,7 @@ require('../../../../views/WalletList/WalletList.cjs');
|
|
|
68
68
|
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
69
69
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
70
70
|
require('@hcaptcha/react-hcaptcha');
|
|
71
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
71
72
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
72
73
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
73
74
|
require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
@@ -79,7 +80,6 @@ var WidgetPortal = require('../../components/WidgetPortal/WidgetPortal.cjs');
|
|
|
79
80
|
var EmailConnectorPendingSignModalContent = require('../../components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs');
|
|
80
81
|
var EmailOTPConnectorPendingSignModalContent = require('../../components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs');
|
|
81
82
|
var DefaultPendingSignModalContent = require('./DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs');
|
|
82
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
83
83
|
require('../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
84
84
|
require('../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
85
85
|
require('../../../../../polyfills.cjs');
|
|
@@ -64,6 +64,7 @@ import '../../../../views/WalletList/WalletList.js';
|
|
|
64
64
|
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
65
65
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
66
66
|
import '@hcaptcha/react-hcaptcha';
|
|
67
|
+
import '../../context/DynamicWidgetContext.js';
|
|
67
68
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
68
69
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
69
70
|
import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
@@ -75,7 +76,6 @@ import { WidgetPortal } from '../../components/WidgetPortal/WidgetPortal.js';
|
|
|
75
76
|
import { EmailConnectorPendingSignModalContent } from '../../components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js';
|
|
76
77
|
import { EmailOTPConnectorPendingSignModalContent } from '../../components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js';
|
|
77
78
|
import { DefaultPendingSignModalContent } from './DefaultPendingSignModalContent/DefaultPendingSignModalContent.js';
|
|
78
|
-
import '../../context/DynamicWidgetContext.js';
|
|
79
79
|
import '../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
80
80
|
import '../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
81
81
|
import '../../../../../polyfills.js';
|
|
@@ -70,6 +70,7 @@ require('../../../../views/WalletList/WalletList.cjs');
|
|
|
70
70
|
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
71
71
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
72
72
|
require('@hcaptcha/react-hcaptcha');
|
|
73
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
73
74
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
74
75
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
75
76
|
require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
@@ -78,7 +79,6 @@ require('@dynamic-labs/viem-utils');
|
|
|
78
79
|
require('../../components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
79
80
|
var PromptModal = require('../../components/PromptModal/PromptModal.cjs');
|
|
80
81
|
var WidgetPortal = require('../../components/WidgetPortal/WidgetPortal.cjs');
|
|
81
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
82
82
|
require('../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
83
83
|
require('../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
84
84
|
require('../../../../../polyfills.cjs');
|
|
@@ -66,6 +66,7 @@ import '../../../../views/WalletList/WalletList.js';
|
|
|
66
66
|
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
67
67
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
68
68
|
import '@hcaptcha/react-hcaptcha';
|
|
69
|
+
import '../../context/DynamicWidgetContext.js';
|
|
69
70
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
70
71
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
71
72
|
import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
@@ -74,7 +75,6 @@ import '@dynamic-labs/viem-utils';
|
|
|
74
75
|
import '../../components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
75
76
|
import { PromptModal } from '../../components/PromptModal/PromptModal.js';
|
|
76
77
|
import { WidgetPortal } from '../../components/WidgetPortal/WidgetPortal.js';
|
|
77
|
-
import '../../context/DynamicWidgetContext.js';
|
|
78
78
|
import '../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
79
79
|
import '../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
80
80
|
import '../../../../../polyfills.js';
|
|
@@ -73,7 +73,9 @@ require('../../../../components/Input/Input.cjs');
|
|
|
73
73
|
require('@dynamic-labs/viem-utils');
|
|
74
74
|
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
75
75
|
require('../ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
76
|
+
var MfaDeviceTileSkeleton = require('../../../../components/MfaDeviceTileSkeleton/MfaDeviceTileSkeleton.cjs');
|
|
76
77
|
var UserDeviceTile = require('./components/UserDeviceTile.cjs');
|
|
78
|
+
var sort = require('./components/utils/sort.cjs');
|
|
77
79
|
require('../../../../../polyfills.cjs');
|
|
78
80
|
require('../../../../context/ErrorBoundary/ErrorBoundaryBase.cjs');
|
|
79
81
|
require('../../../../context/ErrorBoundary/ErrorBoundaryContext.cjs');
|
|
@@ -98,17 +100,19 @@ var useDynamicModals = require('../../../../utils/hooks/useDynamicModals/useDyna
|
|
|
98
100
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
99
101
|
require('qrcode');
|
|
100
102
|
|
|
101
|
-
const sortDevicesByDefault = (a, b) => a._default === b._default ? 0 : a._default ? -1 : 1;
|
|
102
103
|
const ManageMfaWidgetView = () => {
|
|
103
104
|
const [userDevices, setUserDevices] = React.useState([]);
|
|
105
|
+
const [loading, setLoading] = React.useState(false);
|
|
104
106
|
const { setDynamicWidgetView } = DynamicWidgetContext.useWidgetContext();
|
|
105
107
|
const { setShowMfaQRCode } = useDynamicModals.useDynamicModals();
|
|
106
108
|
const { getUserDevices, deleteUserDevice } = useMfa.useMfa();
|
|
107
109
|
const { t } = reactI18next.useTranslation();
|
|
108
110
|
const getDevices = React.useCallback(() => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
111
|
+
setLoading(true);
|
|
109
112
|
const devices = yield getUserDevices();
|
|
110
113
|
// set the user devices with the default device first
|
|
111
|
-
setUserDevices(
|
|
114
|
+
setUserDevices(sort.sortAndNameDevices(devices));
|
|
115
|
+
setLoading(false);
|
|
112
116
|
}), [getUserDevices]);
|
|
113
117
|
// re-fetch devices when a new device is added
|
|
114
118
|
useDynamicEvents.useDynamicEvents('mfaCompletionSuccess', () => getDevices());
|
|
@@ -122,8 +126,7 @@ const ManageMfaWidgetView = () => {
|
|
|
122
126
|
getDevices();
|
|
123
127
|
});
|
|
124
128
|
const backButton = (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: () => setDynamicWidgetView('settings'), "data-testid": 'back-button', children: jsxRuntime.jsx(chevronLeft.ReactComponent, {}) }));
|
|
125
|
-
return (jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: backButton, children: jsxRuntime.jsx("div", { className: 'send-balance-page-layout__header-content', children: jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', copykey: 'dyn_manage_mfa.title', children: t('dyn_manage_mfa.title') }) }) }), jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view__scroll-container', children: [userDevices.length === 0 && (jsxRuntime.jsx(Typography.Typography, { className: 'manage-mfa-widget-view__no-devices', variant: 'body_normal', color: 'secondary', copykey: 'dyn_manage_mfa.no_devices', children: t('dyn_manage_mfa.no_devices') })), userDevices.map((device, index) => (jsxRuntime.jsx(UserDeviceTile.UserDeviceTile, { userDevice: device, index: index, deleteDevice: deleteDevice }, device.id)))] }), jsxRuntime.jsx("div", { className: 'manage-mfa-widget-view__add-mfa-button-container', children: jsxRuntime.jsx(TypographyButton.TypographyButton, { buttonClassName: 'manage-mfa-widget-view__add-mfa-button-container__button', onClick: () => setShowMfaQRCode(true), copykey: 'dyn_manage_mfa.add_mfa_button', startSlot: jsxRuntime.jsx(add.ReactComponent, {}), children: t('dyn_manage_mfa.add_mfa_button') }) })] }));
|
|
129
|
+
return (jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: backButton, children: jsxRuntime.jsx("div", { className: 'send-balance-page-layout__header-content', children: jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', copykey: 'dyn_manage_mfa.title', children: t('dyn_manage_mfa.title') }) }) }), jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view__scroll-container', children: [loading && jsxRuntime.jsx(MfaDeviceTileSkeleton.MfaDeviceTileSkeleton, {}), !loading && userDevices.length === 0 && (jsxRuntime.jsx(Typography.Typography, { className: 'manage-mfa-widget-view__no-devices', variant: 'body_normal', color: 'secondary', copykey: 'dyn_manage_mfa.no_devices', children: t('dyn_manage_mfa.no_devices') })), userDevices.map((device, index) => (jsxRuntime.jsx(UserDeviceTile.UserDeviceTile, { userDevice: device, index: index, deleteDevice: deleteDevice }, device.id)))] }), jsxRuntime.jsx("div", { className: 'manage-mfa-widget-view__add-mfa-button-container', children: jsxRuntime.jsx(TypographyButton.TypographyButton, { buttonClassName: 'manage-mfa-widget-view__add-mfa-button-container__button', onClick: () => setShowMfaQRCode(true), copykey: 'dyn_manage_mfa.add_mfa_button', startSlot: jsxRuntime.jsx(add.ReactComponent, {}), children: t('dyn_manage_mfa.add_mfa_button') }) })] }));
|
|
126
130
|
};
|
|
127
131
|
|
|
128
132
|
exports.ManageMfaWidgetView = ManageMfaWidgetView;
|
|
129
|
-
exports.sortDevicesByDefault = sortDevicesByDefault;
|
|
@@ -69,7 +69,9 @@ import '../../../../components/Input/Input.js';
|
|
|
69
69
|
import '@dynamic-labs/viem-utils';
|
|
70
70
|
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
71
71
|
import '../ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
72
|
+
import { MfaDeviceTileSkeleton } from '../../../../components/MfaDeviceTileSkeleton/MfaDeviceTileSkeleton.js';
|
|
72
73
|
import { UserDeviceTile } from './components/UserDeviceTile.js';
|
|
74
|
+
import { sortAndNameDevices } from './components/utils/sort.js';
|
|
73
75
|
import '../../../../../polyfills.js';
|
|
74
76
|
import '../../../../context/ErrorBoundary/ErrorBoundaryBase.js';
|
|
75
77
|
import '../../../../context/ErrorBoundary/ErrorBoundaryContext.js';
|
|
@@ -94,17 +96,19 @@ import { useDynamicModals } from '../../../../utils/hooks/useDynamicModals/useDy
|
|
|
94
96
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
95
97
|
import 'qrcode';
|
|
96
98
|
|
|
97
|
-
const sortDevicesByDefault = (a, b) => a._default === b._default ? 0 : a._default ? -1 : 1;
|
|
98
99
|
const ManageMfaWidgetView = () => {
|
|
99
100
|
const [userDevices, setUserDevices] = useState([]);
|
|
101
|
+
const [loading, setLoading] = useState(false);
|
|
100
102
|
const { setDynamicWidgetView } = useWidgetContext();
|
|
101
103
|
const { setShowMfaQRCode } = useDynamicModals();
|
|
102
104
|
const { getUserDevices, deleteUserDevice } = useMfa();
|
|
103
105
|
const { t } = useTranslation();
|
|
104
106
|
const getDevices = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
107
|
+
setLoading(true);
|
|
105
108
|
const devices = yield getUserDevices();
|
|
106
109
|
// set the user devices with the default device first
|
|
107
|
-
setUserDevices(devices
|
|
110
|
+
setUserDevices(sortAndNameDevices(devices));
|
|
111
|
+
setLoading(false);
|
|
108
112
|
}), [getUserDevices]);
|
|
109
113
|
// re-fetch devices when a new device is added
|
|
110
114
|
useDynamicEvents('mfaCompletionSuccess', () => getDevices());
|
|
@@ -118,7 +122,7 @@ const ManageMfaWidgetView = () => {
|
|
|
118
122
|
getDevices();
|
|
119
123
|
});
|
|
120
124
|
const backButton = (jsx(IconButton, { type: 'button', onClick: () => setDynamicWidgetView('settings'), "data-testid": 'back-button', children: jsx(SvgChevronLeft, {}) }));
|
|
121
|
-
return (jsxs("div", { className: 'manage-mfa-widget-view', children: [jsx(ModalHeader, { leading: backButton, children: jsx("div", { className: 'send-balance-page-layout__header-content', children: jsx(Typography, { variant: 'title', color: 'primary', copykey: 'dyn_manage_mfa.title', children: t('dyn_manage_mfa.title') }) }) }), jsxs("div", { className: 'manage-mfa-widget-view__scroll-container', children: [userDevices.length === 0 && (jsx(Typography, { className: 'manage-mfa-widget-view__no-devices', variant: 'body_normal', color: 'secondary', copykey: 'dyn_manage_mfa.no_devices', children: t('dyn_manage_mfa.no_devices') })), userDevices.map((device, index) => (jsx(UserDeviceTile, { userDevice: device, index: index, deleteDevice: deleteDevice }, device.id)))] }), jsx("div", { className: 'manage-mfa-widget-view__add-mfa-button-container', children: jsx(TypographyButton, { buttonClassName: 'manage-mfa-widget-view__add-mfa-button-container__button', onClick: () => setShowMfaQRCode(true), copykey: 'dyn_manage_mfa.add_mfa_button', startSlot: jsx(SvgAdd, {}), children: t('dyn_manage_mfa.add_mfa_button') }) })] }));
|
|
125
|
+
return (jsxs("div", { className: 'manage-mfa-widget-view', children: [jsx(ModalHeader, { leading: backButton, children: jsx("div", { className: 'send-balance-page-layout__header-content', children: jsx(Typography, { variant: 'title', color: 'primary', copykey: 'dyn_manage_mfa.title', children: t('dyn_manage_mfa.title') }) }) }), jsxs("div", { className: 'manage-mfa-widget-view__scroll-container', children: [loading && jsx(MfaDeviceTileSkeleton, {}), !loading && userDevices.length === 0 && (jsx(Typography, { className: 'manage-mfa-widget-view__no-devices', variant: 'body_normal', color: 'secondary', copykey: 'dyn_manage_mfa.no_devices', children: t('dyn_manage_mfa.no_devices') })), userDevices.map((device, index) => (jsx(UserDeviceTile, { userDevice: device, index: index, deleteDevice: deleteDevice }, device.id)))] }), jsx("div", { className: 'manage-mfa-widget-view__add-mfa-button-container', children: jsx(TypographyButton, { buttonClassName: 'manage-mfa-widget-view__add-mfa-button-container__button', onClick: () => setShowMfaQRCode(true), copykey: 'dyn_manage_mfa.add_mfa_button', startSlot: jsx(SvgAdd, {}), children: t('dyn_manage_mfa.add_mfa_button') }) })] }));
|
|
122
126
|
};
|
|
123
127
|
|
|
124
|
-
export { ManageMfaWidgetView
|
|
128
|
+
export { ManageMfaWidgetView };
|
package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/UserDeviceTile.cjs
CHANGED
|
@@ -83,6 +83,7 @@ require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
|
83
83
|
require('../../../../../views/WalletList/WalletList.cjs');
|
|
84
84
|
require('../../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
85
85
|
require('@hcaptcha/react-hcaptcha');
|
|
86
|
+
var Badge = require('../../../../../components/Badge/Badge.cjs');
|
|
86
87
|
require('../../../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
87
88
|
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
88
89
|
require('../../../../../context/SendBalanceContext/SendBalanceContext.cjs');
|
|
@@ -92,7 +93,7 @@ require('../../../../../context/ReinitializeContext/ReinitializeContextProvider.
|
|
|
92
93
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
93
94
|
require('qrcode');
|
|
94
95
|
|
|
95
|
-
const UserDeviceTile = ({ userDevice,
|
|
96
|
+
const UserDeviceTile = ({ userDevice, deleteDevice, }) => {
|
|
96
97
|
const optionsMenu = [
|
|
97
98
|
{
|
|
98
99
|
Icon: null,
|
|
@@ -100,8 +101,8 @@ const UserDeviceTile = ({ userDevice, index, deleteDevice, }) => {
|
|
|
100
101
|
text: 'Delete',
|
|
101
102
|
},
|
|
102
103
|
];
|
|
103
|
-
const timeSinceCreated = userDevice.
|
|
104
|
-
return (jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view__list-tile', children: [jsxRuntime.jsx(authenticator.ReactComponent, { className: 'manage-mfa-widget-view__list-tile__icon' }), jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view__list-tile__details', children: [jsxRuntime.jsxs(Typography.Typography, { variant: 'body_normal', color: 'primary', children:
|
|
104
|
+
const timeSinceCreated = userDevice.verifiedAt && getTimeSince.getTimeSince(new Date(userDevice.verifiedAt));
|
|
105
|
+
return (jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view__list-tile', children: [jsxRuntime.jsx(authenticator.ReactComponent, { className: 'manage-mfa-widget-view__list-tile__icon' }), jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view__list-tile__details', children: [jsxRuntime.jsxs("div", { className: 'manage-mfa-widget-view__list-tile__details__title', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'primary', children: userDevice.alias || 'Authenticator App' }), userDevice._default && jsxRuntime.jsx(Badge.Badge, { text: 'Default' })] }), timeSinceCreated && (jsxRuntime.jsxs(Typography.Typography, { variant: 'body_small', color: 'secondary', children: ["Created ", timeSinceCreated.value, " ", timeSinceCreated.unit, " ago"] }))] }), jsxRuntime.jsx("div", { style: {
|
|
105
106
|
cursor: 'pointer',
|
|
106
107
|
display: 'flex',
|
|
107
108
|
}, children: jsxRuntime.jsx(DotsMenu.DotsMenu, { direction: 'left', "data-testid": 'dots-menu', options: optionsMenu, buttonClassName: 'manage-mfa-widget-view__list-tile__dots-menu', buttonClassNameWithOpenMenu: 'manage-mfa-widget-view__list-tile__dots-menu' }) })] }, userDevice.id));
|
package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/UserDeviceTile.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export type UserDeviceTileProps = {
|
|
|
5
5
|
index: number;
|
|
6
6
|
deleteDevice: (id: string) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const UserDeviceTile: ({ userDevice,
|
|
8
|
+
export declare const UserDeviceTile: ({ userDevice, deleteDevice, }: UserDeviceTileProps) => JSX.Element;
|
package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/components/UserDeviceTile.js
CHANGED
|
@@ -79,6 +79,7 @@ import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
|
79
79
|
import '../../../../../views/WalletList/WalletList.js';
|
|
80
80
|
import '../../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
81
81
|
import '@hcaptcha/react-hcaptcha';
|
|
82
|
+
import { Badge } from '../../../../../components/Badge/Badge.js';
|
|
82
83
|
import '../../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
83
84
|
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
84
85
|
import '../../../../../context/SendBalanceContext/SendBalanceContext.js';
|
|
@@ -88,7 +89,7 @@ import '../../../../../context/ReinitializeContext/ReinitializeContextProvider.j
|
|
|
88
89
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
89
90
|
import 'qrcode';
|
|
90
91
|
|
|
91
|
-
const UserDeviceTile = ({ userDevice,
|
|
92
|
+
const UserDeviceTile = ({ userDevice, deleteDevice, }) => {
|
|
92
93
|
const optionsMenu = [
|
|
93
94
|
{
|
|
94
95
|
Icon: null,
|
|
@@ -96,8 +97,8 @@ const UserDeviceTile = ({ userDevice, index, deleteDevice, }) => {
|
|
|
96
97
|
text: 'Delete',
|
|
97
98
|
},
|
|
98
99
|
];
|
|
99
|
-
const timeSinceCreated = userDevice.
|
|
100
|
-
return (jsxs("div", { className: 'manage-mfa-widget-view__list-tile', children: [jsx(SvgAuthenticator, { className: 'manage-mfa-widget-view__list-tile__icon' }), jsxs("div", { className: 'manage-mfa-widget-view__list-tile__details', children: [jsxs(Typography, { variant: 'body_normal', color: 'primary', children:
|
|
100
|
+
const timeSinceCreated = userDevice.verifiedAt && getTimeSince(new Date(userDevice.verifiedAt));
|
|
101
|
+
return (jsxs("div", { className: 'manage-mfa-widget-view__list-tile', children: [jsx(SvgAuthenticator, { className: 'manage-mfa-widget-view__list-tile__icon' }), jsxs("div", { className: 'manage-mfa-widget-view__list-tile__details', children: [jsxs("div", { className: 'manage-mfa-widget-view__list-tile__details__title', children: [jsx(Typography, { variant: 'body_normal', color: 'primary', children: userDevice.alias || 'Authenticator App' }), userDevice._default && jsx(Badge, { text: 'Default' })] }), timeSinceCreated && (jsxs(Typography, { variant: 'body_small', color: 'secondary', children: ["Created ", timeSinceCreated.value, " ", timeSinceCreated.unit, " ago"] }))] }), jsx("div", { style: {
|
|
101
102
|
cursor: 'pointer',
|
|
102
103
|
display: 'flex',
|
|
103
104
|
}, children: jsx(DotsMenu, { direction: 'left', "data-testid": 'dots-menu', options: optionsMenu, buttonClassName: 'manage-mfa-widget-view__list-tile__dots-menu', buttonClassNameWithOpenMenu: 'manage-mfa-widget-view__list-tile__dots-menu' }) })] }, userDevice.id));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
const sortDevicesByDefault = (a, b) => a._default === b._default ? 0 : a._default ? -1 : 1;
|
|
7
|
+
const sortDevicesByVerifiedDateDesc = (a, b) => {
|
|
8
|
+
// doing null check for createdAt to avoid runtime error even though it should never be null/undefined
|
|
9
|
+
const dateA = a.verifiedAt ? new Date(a.verifiedAt).getTime() : 0;
|
|
10
|
+
const dateB = b.verifiedAt ? new Date(b.verifiedAt).getTime() : 0;
|
|
11
|
+
return dateA - dateB;
|
|
12
|
+
};
|
|
13
|
+
const sortAndNameDevices = (devices) => devices
|
|
14
|
+
.sort(sortDevicesByVerifiedDateDesc)
|
|
15
|
+
.map((device, index) => {
|
|
16
|
+
device.alias = device.alias || `Authenticator App ${index + 1}`;
|
|
17
|
+
return device;
|
|
18
|
+
})
|
|
19
|
+
.sort(sortDevicesByDefault);
|
|
20
|
+
|
|
21
|
+
exports.sortAndNameDevices = sortAndNameDevices;
|
|
22
|
+
exports.sortDevicesByDefault = sortDevicesByDefault;
|
|
23
|
+
exports.sortDevicesByVerifiedDateDesc = sortDevicesByVerifiedDateDesc;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MFADevice } from '@dynamic-labs/sdk-api-core';
|
|
2
|
+
export declare const sortDevicesByDefault: (a: MFADevice, b: MFADevice) => 0 | 1 | -1;
|
|
3
|
+
export declare const sortDevicesByVerifiedDateDesc: (a: MFADevice, b: MFADevice) => number;
|
|
4
|
+
export declare const sortAndNameDevices: (devices: MFADevice[]) => MFADevice[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
const sortDevicesByDefault = (a, b) => a._default === b._default ? 0 : a._default ? -1 : 1;
|
|
3
|
+
const sortDevicesByVerifiedDateDesc = (a, b) => {
|
|
4
|
+
// doing null check for createdAt to avoid runtime error even though it should never be null/undefined
|
|
5
|
+
const dateA = a.verifiedAt ? new Date(a.verifiedAt).getTime() : 0;
|
|
6
|
+
const dateB = b.verifiedAt ? new Date(b.verifiedAt).getTime() : 0;
|
|
7
|
+
return dateA - dateB;
|
|
8
|
+
};
|
|
9
|
+
const sortAndNameDevices = (devices) => devices
|
|
10
|
+
.sort(sortDevicesByVerifiedDateDesc)
|
|
11
|
+
.map((device, index) => {
|
|
12
|
+
device.alias = device.alias || `Authenticator App ${index + 1}`;
|
|
13
|
+
return device;
|
|
14
|
+
})
|
|
15
|
+
.sort(sortDevicesByDefault);
|
|
16
|
+
|
|
17
|
+
export { sortAndNameDevices, sortDevicesByDefault, sortDevicesByVerifiedDateDesc };
|
|
@@ -84,7 +84,6 @@ var TypographyButton = require('../../../../components/TypographyButton/Typograp
|
|
|
84
84
|
require('formik');
|
|
85
85
|
require('../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
86
86
|
var spinner = require('../../../../components/Spinner/spinner.cjs');
|
|
87
|
-
var ModalHeader = require('../../../../components/ModalHeader/ModalHeader.cjs');
|
|
88
87
|
require('../../../../components/Input/Input.cjs');
|
|
89
88
|
require('@dynamic-labs/viem-utils');
|
|
90
89
|
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
@@ -178,7 +177,7 @@ const SettingsView = () => {
|
|
|
178
177
|
const isMfaEnabled = Boolean((_r = (_q = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.security) === null || _q === void 0 ? void 0 : _q.mfa) === null || _r === void 0 ? void 0 : _r.enabled);
|
|
179
178
|
const shouldShowPasskeyMFA = isPasskeyEnabled && isTurnkeyWallet && !isSessionKeyCompatibleWallet;
|
|
180
179
|
const shouldShowSecuritySection = isMfaEnabled || isCoinbaseWallet || shouldShowPasskeyMFA;
|
|
181
|
-
return (jsxRuntime.jsxs("div", { className: 'settings-view', children: [jsxRuntime.
|
|
180
|
+
return (jsxRuntime.jsxs("div", { className: 'settings-view', children: [jsxRuntime.jsxs("div", { className: 'settings-view__body', children: [jsxRuntime.jsxs("div", { className: 'settings-view__body__section', children: [jsxRuntime.jsx("div", { className: 'settings-view__body__section__title', children: t('dyn_settings.global_section.title') }), jsxRuntime.jsx(TypographyButton.TypographyButton, { dataTestId: 'currency-button', buttonClassName: classNames.classNames('settings-view__body__section__button', 'settings-view__body__section__button__badge'), startSlot:
|
|
182
181
|
// eslint-disable-next-line react/jsx-wrap-multilines
|
|
183
182
|
jsxRuntime.jsxs("div", { className: 'settings-view__body__section__button__start-slot', children: [jsxRuntime.jsx(currency.ReactComponent, { className: 'settings-view__body__section__button__icon' }), jsxRuntime.jsx(Typography.Typography, { color: 'primary', weight: 'medium', copykey: 'dyn_settings.global_section.currency.badge', children: t('dyn_settings.global_section.currency.title') }), jsxRuntime.jsx(Badge.Badge, { text: t('dyn_settings.global_section.currency.badge'), copykey: 'dyn_settings.global_section.currency.badge', variant: 'secondary' })] }), endSlot: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'settings-view__body__section__button__icon-secondary--rotate' }), disabled: true, showInternalLoading: false })] }), shouldShowSecuritySection && (jsxRuntime.jsxs("div", { className: 'settings-view__body__section', children: [jsxRuntime.jsx("div", { className: classNames.classNames('settings-view__body__section__title', {
|
|
184
183
|
'settings-view__body__section__title__info-icon': !isTurnkeyWalletWithAuthenticator,
|
|
@@ -80,7 +80,6 @@ import { TypographyButton } from '../../../../components/TypographyButton/Typogr
|
|
|
80
80
|
import 'formik';
|
|
81
81
|
import '../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
82
82
|
import { Spinner } from '../../../../components/Spinner/spinner.js';
|
|
83
|
-
import { ModalHeader } from '../../../../components/ModalHeader/ModalHeader.js';
|
|
84
83
|
import '../../../../components/Input/Input.js';
|
|
85
84
|
import '@dynamic-labs/viem-utils';
|
|
86
85
|
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
@@ -174,7 +173,7 @@ const SettingsView = () => {
|
|
|
174
173
|
const isMfaEnabled = Boolean((_r = (_q = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.security) === null || _q === void 0 ? void 0 : _q.mfa) === null || _r === void 0 ? void 0 : _r.enabled);
|
|
175
174
|
const shouldShowPasskeyMFA = isPasskeyEnabled && isTurnkeyWallet && !isSessionKeyCompatibleWallet;
|
|
176
175
|
const shouldShowSecuritySection = isMfaEnabled || isCoinbaseWallet || shouldShowPasskeyMFA;
|
|
177
|
-
return (jsxs("div", { className: 'settings-view', children: [
|
|
176
|
+
return (jsxs("div", { className: 'settings-view', children: [jsxs("div", { className: 'settings-view__body', children: [jsxs("div", { className: 'settings-view__body__section', children: [jsx("div", { className: 'settings-view__body__section__title', children: t('dyn_settings.global_section.title') }), jsx(TypographyButton, { dataTestId: 'currency-button', buttonClassName: classNames('settings-view__body__section__button', 'settings-view__body__section__button__badge'), startSlot:
|
|
178
177
|
// eslint-disable-next-line react/jsx-wrap-multilines
|
|
179
178
|
jsxs("div", { className: 'settings-view__body__section__button__start-slot', children: [jsx(SvgCurrency, { className: 'settings-view__body__section__button__icon' }), jsx(Typography, { color: 'primary', weight: 'medium', copykey: 'dyn_settings.global_section.currency.badge', children: t('dyn_settings.global_section.currency.title') }), jsx(Badge, { text: t('dyn_settings.global_section.currency.badge'), copykey: 'dyn_settings.global_section.currency.badge', variant: 'secondary' })] }), endSlot: jsx(SvgChevronLeft, { className: 'settings-view__body__section__button__icon-secondary--rotate' }), disabled: true, showInternalLoading: false })] }), shouldShowSecuritySection && (jsxs("div", { className: 'settings-view__body__section', children: [jsx("div", { className: classNames('settings-view__body__section__title', {
|
|
180
179
|
'settings-view__body__section__title__info-icon': !isTurnkeyWalletWithAuthenticator,
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var React = require('react');
|
|
7
|
-
|
|
8
|
-
function _interopNamespace(e) {
|
|
9
|
-
if (e && e.__esModule) return e;
|
|
10
|
-
var n = Object.create(null);
|
|
11
|
-
if (e) {
|
|
12
|
-
Object.keys(e).forEach(function (k) {
|
|
13
|
-
if (k !== 'default') {
|
|
14
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return e[k]; }
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
n["default"] = e;
|
|
23
|
-
return Object.freeze(n);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
-
|
|
28
|
-
var _g, _defs;
|
|
29
|
-
var _excluded = ["title", "titleId"];
|
|
30
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
31
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
32
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
33
|
-
var SvgProfile = function SvgProfile(_ref) {
|
|
34
|
-
var title = _ref.title,
|
|
35
|
-
titleId = _ref.titleId,
|
|
36
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
37
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
38
|
-
width: 29,
|
|
39
|
-
height: 28,
|
|
40
|
-
viewBox: "0 0 29 28",
|
|
41
|
-
fill: "none",
|
|
42
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
-
"aria-labelledby": titleId
|
|
44
|
-
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
45
|
-
id: titleId
|
|
46
|
-
}, title) : null, _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
47
|
-
clipPath: "url(#profile_svg__a)"
|
|
48
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
49
|
-
fillRule: "evenodd",
|
|
50
|
-
clipRule: "evenodd",
|
|
51
|
-
d: "M24.095 22.523A12.785 12.785 0 0 0 27.333 14c0-7.088-5.745-12.833-12.833-12.833S1.667 6.912 1.667 14c0 3.271 1.224 6.257 3.24 8.524 2.414-2.901 7.001-3.94 9.793-3.94 2.793 0 6.984.832 9.395 3.939ZM9.688 10.792a4.812 4.812 0 1 1 9.624 0 4.812 4.812 0 0 1-9.625 0Z",
|
|
52
|
-
fill: "#383C48"
|
|
53
|
-
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
54
|
-
id: "profile_svg__a"
|
|
55
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
56
|
-
x: 1.667,
|
|
57
|
-
y: 1.167,
|
|
58
|
-
width: 25.667,
|
|
59
|
-
height: 25.667,
|
|
60
|
-
rx: 12.833,
|
|
61
|
-
fill: "#fff"
|
|
62
|
-
})))));
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
exports.ReactComponent = SvgProfile;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
var _g, _defs;
|
|
5
|
-
var _excluded = ["title", "titleId"];
|
|
6
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
9
|
-
var SvgProfile = function SvgProfile(_ref) {
|
|
10
|
-
var title = _ref.title,
|
|
11
|
-
titleId = _ref.titleId,
|
|
12
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
-
width: 29,
|
|
15
|
-
height: 28,
|
|
16
|
-
viewBox: "0 0 29 28",
|
|
17
|
-
fill: "none",
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
-
"aria-labelledby": titleId
|
|
20
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
21
|
-
id: titleId
|
|
22
|
-
}, title) : null, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
23
|
-
clipPath: "url(#profile_svg__a)"
|
|
24
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
25
|
-
fillRule: "evenodd",
|
|
26
|
-
clipRule: "evenodd",
|
|
27
|
-
d: "M24.095 22.523A12.785 12.785 0 0 0 27.333 14c0-7.088-5.745-12.833-12.833-12.833S1.667 6.912 1.667 14c0 3.271 1.224 6.257 3.24 8.524 2.414-2.901 7.001-3.94 9.793-3.94 2.793 0 6.984.832 9.395 3.939ZM9.688 10.792a4.812 4.812 0 1 1 9.624 0 4.812 4.812 0 0 1-9.625 0Z",
|
|
28
|
-
fill: "#383C48"
|
|
29
|
-
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
30
|
-
id: "profile_svg__a"
|
|
31
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
32
|
-
x: 1.667,
|
|
33
|
-
y: 1.167,
|
|
34
|
-
width: 25.667,
|
|
35
|
-
height: 25.667,
|
|
36
|
-
rx: 12.833,
|
|
37
|
-
fill: "#fff"
|
|
38
|
-
})))));
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export { SvgProfile as ReactComponent };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var React = require('react');
|
|
7
|
-
|
|
8
|
-
function _interopNamespace(e) {
|
|
9
|
-
if (e && e.__esModule) return e;
|
|
10
|
-
var n = Object.create(null);
|
|
11
|
-
if (e) {
|
|
12
|
-
Object.keys(e).forEach(function (k) {
|
|
13
|
-
if (k !== 'default') {
|
|
14
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return e[k]; }
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
n["default"] = e;
|
|
23
|
-
return Object.freeze(n);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
-
|
|
28
|
-
var _path;
|
|
29
|
-
var _excluded = ["title", "titleId"];
|
|
30
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
31
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
32
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
33
|
-
var SvgSettings = function SvgSettings(_ref) {
|
|
34
|
-
var title = _ref.title,
|
|
35
|
-
titleId = _ref.titleId,
|
|
36
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
37
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
38
|
-
width: 29,
|
|
39
|
-
height: 28,
|
|
40
|
-
viewBox: "0 0 29 28",
|
|
41
|
-
fill: "none",
|
|
42
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
-
"aria-labelledby": titleId
|
|
44
|
-
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
45
|
-
id: titleId
|
|
46
|
-
}, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
47
|
-
fillRule: "evenodd",
|
|
48
|
-
clipRule: "evenodd",
|
|
49
|
-
d: "M22.227 18.2a1.75 1.75 0 0 1 .121-1.018 1.75 1.75 0 0 1 1.602-1.06h.095a2.121 2.121 0 0 0 0-4.243h-.18a1.75 1.75 0 0 1-1.584-1.023.192.192 0 0 1-.017-.08.217.217 0 0 0-.017-.082 1.75 1.75 0 0 1 .367-1.891l.063-.064a2.12 2.12 0 0 0-.688-3.462 2.121 2.121 0 0 0-2.313.46l-.064.064a1.75 1.75 0 0 1-1.93.35 1.75 1.75 0 0 1-1.06-1.601v-.095a2.121 2.121 0 0 0-4.243 0v.18a1.75 1.75 0 0 1-1.023 1.584.193.193 0 0 1-.08.017.217.217 0 0 0-.082.017 1.75 1.75 0 0 1-1.891-.367l-.064-.063a2.121 2.121 0 0 0-3.462 2.313c.107.257.264.491.46.688l.064.064a1.75 1.75 0 0 1 .35 1.93 1.75 1.75 0 0 1-1.601 1.146h-.096a2.121 2.121 0 0 0 0 4.242h.18a1.75 1.75 0 0 1 1.602 1.06 1.75 1.75 0 0 1-.35 1.93l-.063.065a2.12 2.12 0 0 0 1.5 3.623 2.12 2.12 0 0 0 1.501-.622l.064-.064a1.75 1.75 0 0 1 1.93-.35 1.75 1.75 0 0 1 1.146 1.602v.095a2.121 2.121 0 1 0 4.242 0v-.18a1.75 1.75 0 0 1 1.06-1.601 1.75 1.75 0 0 1 1.93.35l.064.063a2.123 2.123 0 1 0 3.002-3.001l-.064-.064a1.75 1.75 0 0 1-.47-.911ZM18 14a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z",
|
|
50
|
-
fill: "#383C48"
|
|
51
|
-
})));
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
exports.ReactComponent = SvgSettings;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
var _path;
|
|
5
|
-
var _excluded = ["title", "titleId"];
|
|
6
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
9
|
-
var SvgSettings = function SvgSettings(_ref) {
|
|
10
|
-
var title = _ref.title,
|
|
11
|
-
titleId = _ref.titleId,
|
|
12
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
-
width: 29,
|
|
15
|
-
height: 28,
|
|
16
|
-
viewBox: "0 0 29 28",
|
|
17
|
-
fill: "none",
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
-
"aria-labelledby": titleId
|
|
20
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
21
|
-
id: titleId
|
|
22
|
-
}, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
23
|
-
fillRule: "evenodd",
|
|
24
|
-
clipRule: "evenodd",
|
|
25
|
-
d: "M22.227 18.2a1.75 1.75 0 0 1 .121-1.018 1.75 1.75 0 0 1 1.602-1.06h.095a2.121 2.121 0 0 0 0-4.243h-.18a1.75 1.75 0 0 1-1.584-1.023.192.192 0 0 1-.017-.08.217.217 0 0 0-.017-.082 1.75 1.75 0 0 1 .367-1.891l.063-.064a2.12 2.12 0 0 0-.688-3.462 2.121 2.121 0 0 0-2.313.46l-.064.064a1.75 1.75 0 0 1-1.93.35 1.75 1.75 0 0 1-1.06-1.601v-.095a2.121 2.121 0 0 0-4.243 0v.18a1.75 1.75 0 0 1-1.023 1.584.193.193 0 0 1-.08.017.217.217 0 0 0-.082.017 1.75 1.75 0 0 1-1.891-.367l-.064-.063a2.121 2.121 0 0 0-3.462 2.313c.107.257.264.491.46.688l.064.064a1.75 1.75 0 0 1 .35 1.93 1.75 1.75 0 0 1-1.601 1.146h-.096a2.121 2.121 0 0 0 0 4.242h.18a1.75 1.75 0 0 1 1.602 1.06 1.75 1.75 0 0 1-.35 1.93l-.063.065a2.12 2.12 0 0 0 1.5 3.623 2.12 2.12 0 0 0 1.501-.622l.064-.064a1.75 1.75 0 0 1 1.93-.35 1.75 1.75 0 0 1 1.146 1.602v.095a2.121 2.121 0 1 0 4.242 0v-.18a1.75 1.75 0 0 1 1.06-1.601 1.75 1.75 0 0 1 1.93.35l.064.063a2.123 2.123 0 1 0 3.002-3.001l-.064-.064a1.75 1.75 0 0 1-.47-.911ZM18 14a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z",
|
|
26
|
-
fill: "#383C48"
|
|
27
|
-
})));
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export { SvgSettings as ReactComponent };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useHandleVerifiedUser } from './useHandleVerifiedUser';
|