@dynamic-labs/sdk-react-core 1.0.2 → 1.0.4
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 +25 -0
- package/package.cjs +3 -3
- package/package.js +3 -3
- package/package.json +13 -13
- package/src/lib/components/Alert/Alert.types.d.ts +2 -1
- package/src/lib/components/Button/Button.cjs +2 -2
- package/src/lib/components/Button/Button.d.ts +2 -1
- package/src/lib/components/Button/Button.js +2 -2
- package/src/lib/components/CopyButton/CopyButton.d.ts +2 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +2 -2
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.d.ts +3 -2
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +2 -2
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.cjs +1 -1
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.d.ts +2 -1
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.js +1 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +2 -2
- package/src/lib/components/ErrorContainer/ErrorContainer.d.ts +2 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.js +2 -2
- package/src/lib/components/Input/Input.types.d.ts +2 -1
- package/src/lib/components/ListTile/ListTile.cjs +1 -1
- package/src/lib/components/ListTile/ListTile.js +1 -1
- package/src/lib/components/ListTile/ListTile.types.d.ts +2 -1
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.cjs +9 -5
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.d.ts +1 -1
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.js +9 -5
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +3 -3
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +3 -3
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -1
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -1
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +7 -6
- package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +1 -1
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +7 -6
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +1 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +1 -1
- package/src/lib/components/Search/Search.cjs +1 -1
- package/src/lib/components/Search/Search.d.ts +2 -1
- package/src/lib/components/Search/Search.js +1 -1
- package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.cjs +2 -2
- package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js +2 -2
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +3 -3
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +3 -3
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +1 -1
- package/src/lib/components/TextButton/TextButton.d.ts +2 -1
- package/src/lib/components/Tooltip/Tooltip.cjs +2 -2
- package/src/lib/components/Tooltip/Tooltip.d.ts +2 -1
- package/src/lib/components/Tooltip/Tooltip.js +2 -2
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +3 -3
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.d.ts +2 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +3 -3
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.cjs +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.d.ts +2 -1
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.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/Typography/Typography.types.d.ts +2 -1
- package/src/lib/components/UserProfile/UserProfile.cjs +2 -2
- package/src/lib/components/UserProfile/UserProfile.d.ts +1 -0
- package/src/lib/components/UserProfile/UserProfile.js +2 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +2 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.d.ts +3 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +2 -2
- package/src/lib/context/DynamicContext/DynamicContext.cjs +3 -2
- package/src/lib/context/DynamicContext/DynamicContext.js +3 -2
- package/src/lib/data/api.cjs +0 -13
- package/src/lib/data/api.d.ts +1 -2
- package/src/lib/data/api.js +1 -13
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +2 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +1 -1
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +2 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.d.ts +2 -1
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +2 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +2 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.d.ts +2 -1
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +2 -2
- package/src/lib/locale/en/translation.cjs +124 -1
- package/src/lib/locale/en/translation.d.ts +124 -1
- package/src/lib/locale/en/translation.js +124 -1
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +1 -1
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +1 -1
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +2 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +2 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +2 -1
- package/src/lib/shared/types/index.d.ts +3 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +16 -9
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +16 -9
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +28 -1
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +28 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +2 -0
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +1 -0
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +2 -0
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +2 -4
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +2 -4
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +51 -7
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.d.ts +3 -0
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +51 -7
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +3 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +3 -0
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/index.d.ts +1 -0
- package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.cjs → useProcessNetworkConfigurations/useProcessNetworkConfigurations.cjs} +53 -67
- package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.d.ts → useProcessNetworkConfigurations/useProcessNetworkConfigurations.d.ts} +3 -2
- package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.js → useProcessNetworkConfigurations/useProcessNetworkConfigurations.js} +53 -67
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +20 -14
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +20 -14
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +26 -4
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +26 -4
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +2 -2
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +2 -2
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -1
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +1 -1
- package/src/lib/views/AccountExistsView/AccountExistsView.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/CaptchaVerifyUser/CaptchaVerifyUser.cjs +3 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +3 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +4 -4
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +4 -4
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +9 -8
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +9 -8
- package/src/lib/views/CollectUserDataView/useFields.cjs +11 -0
- package/src/lib/views/CollectUserDataView/useFields.d.ts +11 -0
- package/src/lib/views/CollectUserDataView/useFields.js +11 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +3 -3
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +3 -3
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +1 -1
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +1 -1
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +2 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.js +2 -2
- package/src/lib/views/EmailVerification/EmailVerification.cjs +35 -24
- package/src/lib/views/EmailVerification/EmailVerification.js +35 -24
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +2 -3
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +2 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +2 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.d.ts +3 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +2 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.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/MergeUserAccountsView/MergeUserAccountsView.cjs +3 -3
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +3 -3
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +2 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +2 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +3 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +3 -1
- package/src/lib/views/NoAccess/NoAccess.cjs +1 -1
- package/src/lib/views/NoAccess/NoAccess.js +1 -1
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +6 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +6 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +10 -5
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +10 -5
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +3 -3
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +3 -3
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +7 -4
- package/src/lib/views/PendingConnectView/PendingConnectView.js +7 -4
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +8 -5
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +8 -5
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +11 -8
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +11 -8
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -1
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.d.ts +2 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +1 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +1 -1
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +4 -3
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +4 -3
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +8 -6
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +2 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +8 -6
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +1 -1
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +1 -1
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +1 -1
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +1 -1
- package/src/lib/views/WalletList/WalletList.cjs +6 -9
- package/src/lib/views/WalletList/WalletList.js +6 -9
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +3 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.js +3 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +4 -3
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +4 -3
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +1 -1
- package/src/lib/views/WalletUsedView/WalletUsedView.js +1 -1
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +5 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +5 -3
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.d.ts +3 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +2 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +65 -21
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +66 -22
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +1 -1
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/index.d.ts +0 -1
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.cjs +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.d.ts +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.js +0 -0
package/src/lib/data/api.cjs
CHANGED
|
@@ -295,18 +295,6 @@ const verifyWallet = (environmentId, { messageToSign, signedMessage, publicWalle
|
|
|
295
295
|
return undefined;
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
|
-
const fetchNetworkSettings = (environmentId) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
299
|
-
try {
|
|
300
|
-
const res = yield sdkApi().getNetworksConfigurationByEnvId({
|
|
301
|
-
environmentId,
|
|
302
|
-
});
|
|
303
|
-
return res;
|
|
304
|
-
}
|
|
305
|
-
catch (e) {
|
|
306
|
-
logger.logger.error(e);
|
|
307
|
-
return undefined;
|
|
308
|
-
}
|
|
309
|
-
});
|
|
310
298
|
const fetchProjectSettings = (environmentId) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
311
299
|
try {
|
|
312
300
|
const res = yield sdkApi().getEnvironmentSettings({
|
|
@@ -534,7 +522,6 @@ exports.completePasskeyRecovery = completePasskeyRecovery;
|
|
|
534
522
|
exports.createEmailVerification = createEmailVerification;
|
|
535
523
|
exports.createTurnkeyEvmEmbeddedWallet = createTurnkeyEvmEmbeddedWallet;
|
|
536
524
|
exports.createVisit = createVisit;
|
|
537
|
-
exports.fetchNetworkSettings = fetchNetworkSettings;
|
|
538
525
|
exports.fetchNonce = fetchNonce;
|
|
539
526
|
exports.fetchProjectSettings = fetchProjectSettings;
|
|
540
527
|
exports.getEmailProvider = getEmailProvider;
|
package/src/lib/data/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProjectSettings, UserFields,
|
|
1
|
+
import { ProjectSettings, UserFields, ChainEnum, UpdateSelfResponse, WalletProviderEnum, AuthModeEnum, EmailVerificationCreateResponse, VerifyResponse, OauthRequest, OauthResultRequest, ProviderEnum, OnrampConfiguration, EmailProviderResponse, OauthResultResponse, PasskeyRegistrationCredential } from '@dynamic-labs/sdk-api';
|
|
2
2
|
import { AuthModeType, VerifyWallet } from '../shared/types';
|
|
3
3
|
export declare const fetchNonce: (environmentId: string) => Promise<string | undefined>;
|
|
4
4
|
export declare const getEmailProvider: ({ email, environmentId, }: {
|
|
@@ -49,7 +49,6 @@ export declare const createVisit: ({ authMode, chain, environmentId, walletProvi
|
|
|
49
49
|
walletProvider: string;
|
|
50
50
|
}) => Promise<void | undefined>;
|
|
51
51
|
export declare const verifyWallet: (environmentId: string, { messageToSign, signedMessage, publicWalletAddress, chain, walletName, walletProvider, captchaToken, network, oauth, }: VerifyWallet) => Promise<string | undefined>;
|
|
52
|
-
export declare const fetchNetworkSettings: (environmentId: string) => Promise<NetworkConfigurationResponse[] | undefined>;
|
|
53
52
|
export declare const fetchProjectSettings: (environmentId: string) => Promise<ProjectSettings | undefined>;
|
|
54
53
|
export declare const updateUserProfileFields: (jwt: string | undefined, environmentId: string, fields: UserFields) => Promise<UpdateSelfResponse>;
|
|
55
54
|
export declare const getOauthLoginUrl: (environmentId: string, providerType: ProviderEnum, userJwt: string) => Promise<string | undefined>;
|
package/src/lib/data/api.js
CHANGED
|
@@ -291,18 +291,6 @@ const verifyWallet = (environmentId, { messageToSign, signedMessage, publicWalle
|
|
|
291
291
|
return undefined;
|
|
292
292
|
}
|
|
293
293
|
});
|
|
294
|
-
const fetchNetworkSettings = (environmentId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
295
|
-
try {
|
|
296
|
-
const res = yield sdkApi().getNetworksConfigurationByEnvId({
|
|
297
|
-
environmentId,
|
|
298
|
-
});
|
|
299
|
-
return res;
|
|
300
|
-
}
|
|
301
|
-
catch (e) {
|
|
302
|
-
logger.error(e);
|
|
303
|
-
return undefined;
|
|
304
|
-
}
|
|
305
|
-
});
|
|
306
294
|
const fetchProjectSettings = (environmentId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
307
295
|
try {
|
|
308
296
|
const res = yield sdkApi().getEnvironmentSettings({
|
|
@@ -526,4 +514,4 @@ const getUserPasskeys = ({ userJwt, environmentId, }) => __awaiter(void 0, void
|
|
|
526
514
|
}
|
|
527
515
|
});
|
|
528
516
|
|
|
529
|
-
export { completePasskeyRecovery, createEmailVerification, createTurnkeyEvmEmbeddedWallet, createVisit,
|
|
517
|
+
export { completePasskeyRecovery, createEmailVerification, createTurnkeyEvmEmbeddedWallet, createVisit, fetchNonce, fetchProjectSettings, getEmailProvider, getOAuthResult, getOnrampProviders, getUserPasskeys, initPasskeyRecovery, linkWallet, mapAuthModeTypeToEnum, mapChainToChainEnum, mapProviderToProviderEnum, mergeUserAccounts, retryEmailVerification, revokeSession, sendDynamicProps, signInOAuth, signInWithEmailVerification, transferWallet, unlinkOAuth, unlinkWallet, updateUserProfileFields, verifyEmail, verifyOAuth, verifyWallet };
|
|
@@ -79,7 +79,7 @@ const DynamicAuthLayout = ({ children, className, style, onClose, projectSetting
|
|
|
79
79
|
});
|
|
80
80
|
const { showConnectedWalletProgress } = useAuthLayoutChecks.useAuthLayoutChecks(walletConnector);
|
|
81
81
|
const { showDynamicFooter } = useAuthLayoutChecks.useAuthLayoutChecks(walletConnector);
|
|
82
|
-
return (jsxRuntime.jsx(OverlayCardTarget.OverlayCardTarget, { children: jsxRuntime.jsxs(VerticalAccordion.VerticalAccordion, { style: style, className: className, children: [jsxRuntime.jsxs(AccordionItem.AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsxRuntime.jsx(WalletProgressStepper.WalletProgressStepper, {})), showHeader && (jsxRuntime.jsx(header.Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector })), children, showDynamicFooter && jsxRuntime.jsx(DynamicFooter.DynamicFooter, {}), showToSFooter && jsxRuntime.jsx(ToSFooter.ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsxRuntime.jsx(AccordionItem.AccordionItem, { isOpen: isFooterExpanded, children: jsxRuntime.jsx("div", { children: jsxRuntime.jsx(HelpContent.HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
|
|
82
|
+
return (jsxRuntime.jsx(OverlayCardTarget.OverlayCardTarget, { children: jsxRuntime.jsxs(VerticalAccordion.VerticalAccordion, { style: style, className: className, children: [jsxRuntime.jsxs(AccordionItem.AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsxRuntime.jsx(WalletProgressStepper.WalletProgressStepper, {})), showHeader && (jsxRuntime.jsx(header.Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector, copykey: headerData === null || headerData === void 0 ? void 0 : headerData.copykey })), children, showDynamicFooter && jsxRuntime.jsx(DynamicFooter.DynamicFooter, {}), showToSFooter && jsxRuntime.jsx(ToSFooter.ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsxRuntime.jsx(AccordionItem.AccordionItem, { isOpen: isFooterExpanded, children: jsxRuntime.jsx("div", { children: jsxRuntime.jsx(HelpContent.HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
exports.DynamicAuthLayout = DynamicAuthLayout;
|
|
@@ -75,7 +75,7 @@ const DynamicAuthLayout = ({ children, className, style, onClose, projectSetting
|
|
|
75
75
|
});
|
|
76
76
|
const { showConnectedWalletProgress } = useAuthLayoutChecks(walletConnector);
|
|
77
77
|
const { showDynamicFooter } = useAuthLayoutChecks(walletConnector);
|
|
78
|
-
return (jsx(OverlayCardTarget, { children: jsxs(VerticalAccordion, { style: style, className: className, children: [jsxs(AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsx(WalletProgressStepper, {})), showHeader && (jsx(Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector })), children, showDynamicFooter && jsx(DynamicFooter, {}), showToSFooter && jsx(ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsx(AccordionItem, { isOpen: isFooterExpanded, children: jsx("div", { children: jsx(HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
|
|
78
|
+
return (jsx(OverlayCardTarget, { children: jsxs(VerticalAccordion, { style: style, className: className, children: [jsxs(AccordionItem, { isOpen: !isFooterExpanded, dimOnHide: true, children: [showConnectedWalletProgress && !hideBridgeProgressSteppers && (jsx(WalletProgressStepper, {})), showHeader && (jsx(Header, { onClose: onClose, heading: (headerData === null || headerData === void 0 ? void 0 : headerData.heading) || '', projectSettings: projectSettings, walletConnector: walletConnector, copykey: headerData === null || headerData === void 0 ? void 0 : headerData.copykey })), children, showDynamicFooter && jsx(DynamicFooter, {}), showToSFooter && jsx(ToSFooter, {})] }), helpHeaderData && showHelpContent && (jsx(AccordionItem, { isOpen: isFooterExpanded, children: jsx("div", { children: jsx(HelpContent, {}) }, isFooterExpanded.toString()) }))] }) }));
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
export { DynamicAuthLayout };
|
|
@@ -67,7 +67,7 @@ require('../../../components/Popper/Popper/Popper.cjs');
|
|
|
67
67
|
require('../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
68
68
|
require('react-focus-lock');
|
|
69
69
|
|
|
70
|
-
const Header = ({ onClose: handleClose, heading, projectSettings, walletConnector, }) => {
|
|
70
|
+
const Header = ({ onClose: handleClose, heading, projectSettings, walletConnector, copykey, }) => {
|
|
71
71
|
const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext.useInternalDynamicContext();
|
|
72
72
|
const { setError } = ErrorContext.useErrorContext();
|
|
73
73
|
const { setShowQrCodeImage } = QrCodeContext.useQrCodeContext();
|
|
@@ -101,7 +101,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnecto
|
|
|
101
101
|
leadingButtons.push(infoButton);
|
|
102
102
|
}
|
|
103
103
|
const qrCodePreHeader = (jsxRuntime.jsxs("div", { className: 'qr-code-view__scan-issue-message', children: [jsxRuntime.jsx(Typography.Typography, { color: 'primary', variant: 'body_small', children: "If you're having issues scanning, click\u00A0" }), jsxRuntime.jsx("button", { className: 'qr-code-view__scan-issue-button', onClick: () => setShowQrCodeImage(true), children: "here" })] }));
|
|
104
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', children: !projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
|
|
104
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
exports.Header = Header;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ProjectSettings } from '@dynamic-labs/sdk-api';
|
|
3
3
|
import { WalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
4
|
-
import { ModalProps } from '../../../shared';
|
|
5
|
-
export type WalletHeaderProps = Partial<ModalProps> & {
|
|
4
|
+
import { CopyKey, ModalProps } from '../../../shared';
|
|
5
|
+
export type WalletHeaderProps = Partial<ModalProps> & CopyKey & {
|
|
6
6
|
heading: string | JSX.Element;
|
|
7
7
|
projectSettings?: ProjectSettings;
|
|
8
8
|
walletConnector?: WalletConnector | null;
|
|
@@ -63,7 +63,7 @@ import '../../../components/Popper/Popper/Popper.js';
|
|
|
63
63
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
64
64
|
import 'react-focus-lock';
|
|
65
65
|
|
|
66
|
-
const Header = ({ onClose: handleClose, heading, projectSettings, walletConnector, }) => {
|
|
66
|
+
const Header = ({ onClose: handleClose, heading, projectSettings, walletConnector, copykey, }) => {
|
|
67
67
|
const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext();
|
|
68
68
|
const { setError } = useErrorContext();
|
|
69
69
|
const { setShowQrCodeImage } = useQrCodeContext();
|
|
@@ -97,7 +97,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnecto
|
|
|
97
97
|
leadingButtons.push(infoButton);
|
|
98
98
|
}
|
|
99
99
|
const qrCodePreHeader = (jsxs("div", { className: 'qr-code-view__scan-issue-message', children: [jsx(Typography, { color: 'primary', variant: 'body_small', children: "If you're having issues scanning, click\u00A0" }), jsx("button", { className: 'qr-code-view__scan-issue-button', onClick: () => setShowQrCodeImage(true), children: "here" })] }));
|
|
100
|
-
return (jsxs(Fragment, { children: [jsx(ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', children: !projectSettings ? (jsx(Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
|
|
100
|
+
return (jsxs(Fragment, { children: [jsx(ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? (jsx(Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
export { Header };
|
|
@@ -70,7 +70,7 @@ const HelpHeader = () => {
|
|
|
70
70
|
const { helpHeaderData } = useDynamicLayoutData.useDynamicLayoutData({ authMode, view });
|
|
71
71
|
const { displayBorderBelowHeader } = useAuthLayoutChecks.useAuthLayoutChecks(selectedWalletConnector);
|
|
72
72
|
const backButton = (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: () => setIsFooterExpanded(false), "data-testid": 'back-button', className: 'header__icon', children: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'back-button ' }) }));
|
|
73
|
-
return (jsxRuntime.jsx("div", { className: 'help-header', children: jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
|
|
73
|
+
return (jsxRuntime.jsx("div", { className: 'help-header', children: jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', copykey: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.copykey, children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
exports.HelpHeader = HelpHeader;
|
|
@@ -66,7 +66,7 @@ const HelpHeader = () => {
|
|
|
66
66
|
const { helpHeaderData } = useDynamicLayoutData({ authMode, view });
|
|
67
67
|
const { displayBorderBelowHeader } = useAuthLayoutChecks(selectedWalletConnector);
|
|
68
68
|
const backButton = (jsx(IconButton, { type: 'button', onClick: () => setIsFooterExpanded(false), "data-testid": 'back-button', className: 'header__icon', children: jsx(SvgChevronLeft, { className: 'back-button ' }) }));
|
|
69
|
-
return (jsx("div", { className: 'help-header', children: jsx(ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
|
|
69
|
+
return (jsx("div", { className: 'help-header', children: jsx(ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', copykey: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.copykey, children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
export { HelpHeader };
|
package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs
CHANGED
|
@@ -65,7 +65,7 @@ require('react-focus-lock');
|
|
|
65
65
|
|
|
66
66
|
const PasskeyInfoHelper = () => {
|
|
67
67
|
const { t } = reactI18next.useTranslation();
|
|
68
|
-
return (jsxRuntime.jsx("div", { className: 'passkey-info-help-content__container', children: jsxRuntime.jsx(EnterTileAnimation.EnterTileAnimation, { delay: '300ms', children: jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__typography-wrapper', children: [jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__details', children: [jsxRuntime.jsx(Icon.Icon, { size: 'medium', color: 'text-tertiary', children: jsxRuntime.jsx(userAccount2.ReactComponent, {}) }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'medium', children: t('dyn_passkey_intro.helper.section_1.title') }), jsxRuntime.jsx(Typography.Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', children: t('dyn_passkey_intro.helper.section_1.description') })] })] }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__details', children: [jsxRuntime.jsx(Icon.Icon, { size: 'medium', color: 'text-tertiary', children: jsxRuntime.jsx(footerKeyIcon.ReactComponent, {}) }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'medium', children: t('dyn_passkey_intro.helper.section_2.title') }), jsxRuntime.jsx(Typography.Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', children: t('dyn_passkey_intro.helper.section_2.description') })] })] })] }) }) }));
|
|
68
|
+
return (jsxRuntime.jsx("div", { className: 'passkey-info-help-content__container', children: jsxRuntime.jsx(EnterTileAnimation.EnterTileAnimation, { delay: '300ms', children: jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__typography-wrapper', children: [jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__details', children: [jsxRuntime.jsx(Icon.Icon, { size: 'medium', color: 'text-tertiary', children: jsxRuntime.jsx(userAccount2.ReactComponent, {}) }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'medium', copykey: 'dyn_passkey_intro.helper.section_1.title', children: t('dyn_passkey_intro.helper.section_1.title') }), jsxRuntime.jsx(Typography.Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', copykey: 'dyn_passkey_intro.helper.section_1.description', children: t('dyn_passkey_intro.helper.section_1.description') })] })] }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__details', children: [jsxRuntime.jsx(Icon.Icon, { size: 'medium', color: 'text-tertiary', children: jsxRuntime.jsx(footerKeyIcon.ReactComponent, {}) }), jsxRuntime.jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', weight: 'medium', copykey: 'dyn_passkey_intro.helper.section_2.title', children: t('dyn_passkey_intro.helper.section_2.title') }), jsxRuntime.jsx(Typography.Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', copykey: 'dyn_passkey_intro.helper.section_2.description', children: t('dyn_passkey_intro.helper.section_2.description') })] })] })] }) }) }));
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
exports.PasskeyInfoHelper = PasskeyInfoHelper;
|
|
@@ -61,7 +61,7 @@ import 'react-focus-lock';
|
|
|
61
61
|
|
|
62
62
|
const PasskeyInfoHelper = () => {
|
|
63
63
|
const { t } = useTranslation();
|
|
64
|
-
return (jsx("div", { className: 'passkey-info-help-content__container', children: jsx(EnterTileAnimation, { delay: '300ms', children: jsxs("div", { className: 'passkey-info-help-content__typography-wrapper', children: [jsxs("div", { className: 'passkey-info-help-content__details', children: [jsx(Icon, { size: 'medium', color: 'text-tertiary', children: jsx(SvgUserAccount2, {}) }), jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsx(Typography, { variant: 'title', weight: 'medium', children: t('dyn_passkey_intro.helper.section_1.title') }), jsx(Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', children: t('dyn_passkey_intro.helper.section_1.description') })] })] }), jsxs("div", { className: 'passkey-info-help-content__details', children: [jsx(Icon, { size: 'medium', color: 'text-tertiary', children: jsx(SvgFooterKeyIcon, {}) }), jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsx(Typography, { variant: 'title', weight: 'medium', children: t('dyn_passkey_intro.helper.section_2.title') }), jsx(Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', children: t('dyn_passkey_intro.helper.section_2.description') })] })] })] }) }) }));
|
|
64
|
+
return (jsx("div", { className: 'passkey-info-help-content__container', children: jsx(EnterTileAnimation, { delay: '300ms', children: jsxs("div", { className: 'passkey-info-help-content__typography-wrapper', children: [jsxs("div", { className: 'passkey-info-help-content__details', children: [jsx(Icon, { size: 'medium', color: 'text-tertiary', children: jsx(SvgUserAccount2, {}) }), jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsx(Typography, { variant: 'title', weight: 'medium', copykey: 'dyn_passkey_intro.helper.section_1.title', children: t('dyn_passkey_intro.helper.section_1.title') }), jsx(Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', copykey: 'dyn_passkey_intro.helper.section_1.description', children: t('dyn_passkey_intro.helper.section_1.description') })] })] }), jsxs("div", { className: 'passkey-info-help-content__details', children: [jsx(Icon, { size: 'medium', color: 'text-tertiary', children: jsx(SvgFooterKeyIcon, {}) }), jsxs("div", { className: 'passkey-info-help-content__wrapper', children: [jsx(Typography, { variant: 'title', weight: 'medium', copykey: 'dyn_passkey_intro.helper.section_2.title', children: t('dyn_passkey_intro.helper.section_2.title') }), jsx(Typography, { as: 'p', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-info-help-content__typography--label', copykey: 'dyn_passkey_intro.helper.section_2.description', children: t('dyn_passkey_intro.helper.section_2.description') })] })] })] }) }) }));
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
export { PasskeyInfoHelper };
|
|
@@ -64,9 +64,9 @@ require('react-focus-lock');
|
|
|
64
64
|
var Step = require('../../components/Step/Step.cjs');
|
|
65
65
|
var Stepper = require('../../components/Stepper/Stepper.cjs');
|
|
66
66
|
|
|
67
|
-
const BridgeWelcomeLayout = ({ body, chains = [], onClickAction, onClickClose, title, actionButtonText, }) => {
|
|
67
|
+
const BridgeWelcomeLayout = ({ body, chains = [], onClickAction, onClickClose, title, actionButtonText, copykey, }) => {
|
|
68
68
|
const closeButton = onClickClose && (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close-button', children: jsxRuntime.jsx(close.ReactComponent, {}) }));
|
|
69
|
-
return (jsxRuntime.jsxs("div", { className: 'bridge-welcome-layout', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsxRuntime.jsx("div", { className: 'bridge-welcome-layout__chain-icon-group', children: [...chains].reverse().map((chain, index) => (jsxRuntime.jsx("div", { className: 'bridge-welcome-layout__chain-icon', style: { zIndex: index }, children: chain.icon }, chain.id))) }) }), jsxRuntime.jsxs("div", { className: 'bridge-welcome-layout__body', children: [jsxRuntime.jsxs("div", { className: 'bridge-welcome-layout__message-container', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', children: title }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'secondary', children: body })] }), jsxRuntime.jsx("div", { children: jsxRuntime.jsx(Stepper.Stepper, { children: chains.map((chain) => (jsxRuntime.jsx(Step.Step, { children: chain.name }, chain.id))) }) }), jsxRuntime.jsx(Button.Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: onClickAction, children: actionButtonText })] })] }));
|
|
69
|
+
return (jsxRuntime.jsxs("div", { className: 'bridge-welcome-layout', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsxRuntime.jsx("div", { className: 'bridge-welcome-layout__chain-icon-group', children: [...chains].reverse().map((chain, index) => (jsxRuntime.jsx("div", { className: 'bridge-welcome-layout__chain-icon', style: { zIndex: index }, children: chain.icon }, chain.id))) }) }), jsxRuntime.jsxs("div", { className: 'bridge-welcome-layout__body', children: [jsxRuntime.jsxs("div", { className: 'bridge-welcome-layout__message-container', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', copykey: copykey, children: title }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'secondary', children: body })] }), jsxRuntime.jsx("div", { children: jsxRuntime.jsx(Stepper.Stepper, { children: chains.map((chain) => (jsxRuntime.jsx(Step.Step, { children: chain.name }, chain.id))) }) }), jsxRuntime.jsx(Button.Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: onClickAction, children: actionButtonText })] })] }));
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
exports.BridgeWelcomeLayout = BridgeWelcomeLayout;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
+
import { CopyKey } from '../../shared';
|
|
2
3
|
export type BridgeWelcomeLayoutChainInfo = {
|
|
3
4
|
id: number;
|
|
4
5
|
name: string;
|
|
@@ -15,5 +16,5 @@ export type BridgeWelcomeLayoutProps = {
|
|
|
15
16
|
}[];
|
|
16
17
|
onClickClose?: MouseEventHandler<HTMLButtonElement>;
|
|
17
18
|
onClickAction?: MouseEventHandler<HTMLButtonElement>;
|
|
18
|
-
};
|
|
19
|
+
} & CopyKey;
|
|
19
20
|
export declare const BridgeWelcomeLayout: FC<BridgeWelcomeLayoutProps>;
|
|
@@ -60,9 +60,9 @@ import 'react-focus-lock';
|
|
|
60
60
|
import { Step } from '../../components/Step/Step.js';
|
|
61
61
|
import { Stepper } from '../../components/Stepper/Stepper.js';
|
|
62
62
|
|
|
63
|
-
const BridgeWelcomeLayout = ({ body, chains = [], onClickAction, onClickClose, title, actionButtonText, }) => {
|
|
63
|
+
const BridgeWelcomeLayout = ({ body, chains = [], onClickAction, onClickClose, title, actionButtonText, copykey, }) => {
|
|
64
64
|
const closeButton = onClickClose && (jsx(IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close-button', children: jsx(SvgClose, {}) }));
|
|
65
|
-
return (jsxs("div", { className: 'bridge-welcome-layout', children: [jsx(ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsx("div", { className: 'bridge-welcome-layout__chain-icon-group', children: [...chains].reverse().map((chain, index) => (jsx("div", { className: 'bridge-welcome-layout__chain-icon', style: { zIndex: index }, children: chain.icon }, chain.id))) }) }), jsxs("div", { className: 'bridge-welcome-layout__body', children: [jsxs("div", { className: 'bridge-welcome-layout__message-container', children: [jsx(Typography, { variant: 'title', color: 'primary', children: title }), jsx(Typography, { variant: 'body_normal', color: 'secondary', children: body })] }), jsx("div", { children: jsx(Stepper, { children: chains.map((chain) => (jsx(Step, { children: chain.name }, chain.id))) }) }), jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: onClickAction, children: actionButtonText })] })] }));
|
|
65
|
+
return (jsxs("div", { className: 'bridge-welcome-layout', children: [jsx(ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsx("div", { className: 'bridge-welcome-layout__chain-icon-group', children: [...chains].reverse().map((chain, index) => (jsx("div", { className: 'bridge-welcome-layout__chain-icon', style: { zIndex: index }, children: chain.icon }, chain.id))) }) }), jsxs("div", { className: 'bridge-welcome-layout__body', children: [jsxs("div", { className: 'bridge-welcome-layout__message-container', children: [jsx(Typography, { variant: 'title', color: 'primary', copykey: copykey, children: title }), jsx(Typography, { variant: 'body_normal', color: 'secondary', children: body })] }), jsx("div", { children: jsx(Stepper, { children: chains.map((chain) => (jsx(Step, { children: chain.name }, chain.id))) }) }), jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: onClickAction, children: actionButtonText })] })] }));
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export { BridgeWelcomeLayout };
|
|
@@ -63,10 +63,10 @@ require('../../components/Popper/Popper/Popper.cjs');
|
|
|
63
63
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
64
64
|
require('react-focus-lock');
|
|
65
65
|
|
|
66
|
-
const ConnectedWalletsListLayout = ({ title, body, onClickBack, onClickClose, onClickAction, actionButtonText = 'Continue', children, }) => {
|
|
66
|
+
const ConnectedWalletsListLayout = ({ title, body, onClickBack, onClickClose, onClickAction, actionButtonText = 'Continue', children, copykey, }) => {
|
|
67
67
|
const closeButton = onClickClose && (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close-button', children: jsxRuntime.jsx(close.ReactComponent, {}) }));
|
|
68
68
|
const backButton = onClickBack && (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: onClickBack, "data-testid": 'back-button', children: jsxRuntime.jsx(chevronLeft.ReactComponent, {}) }));
|
|
69
|
-
return (jsxRuntime.jsxs("div", { className: 'connected-wallets-list-layout', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: backButton, trailing: closeButton, children: jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', children: title }) }), jsxRuntime.jsxs("div", { className: 'connected-wallets-list-layout__body', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'secondary', className: 'connected-wallets-list-layout__body__text', children: body }), children, jsxRuntime.jsx(Button.Button, { buttonPadding: 'large', buttonVariant: 'primary', onClick: onClickAction, children: actionButtonText })] })] }));
|
|
69
|
+
return (jsxRuntime.jsxs("div", { className: 'connected-wallets-list-layout', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: backButton, trailing: closeButton, children: jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', copykey: copykey, children: title }) }), jsxRuntime.jsxs("div", { className: 'connected-wallets-list-layout__body', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', color: 'secondary', className: 'connected-wallets-list-layout__body__text', children: body }), children, jsxRuntime.jsx(Button.Button, { buttonPadding: 'large', buttonVariant: 'primary', onClick: onClickAction, children: actionButtonText })] })] }));
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
exports.ConnectedWalletsListLayout = ConnectedWalletsListLayout;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC, MouseEventHandler, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import { CopyKey } from '../../shared';
|
|
2
3
|
export type ConnectedWalletsListLayoutProps = {
|
|
3
4
|
title: ReactNode;
|
|
4
5
|
body?: ReactNode;
|
|
@@ -6,5 +7,5 @@ export type ConnectedWalletsListLayoutProps = {
|
|
|
6
7
|
onClickBack?: MouseEventHandler<HTMLButtonElement>;
|
|
7
8
|
onClickAction?: MouseEventHandler<HTMLButtonElement>;
|
|
8
9
|
actionButtonText?: ReactNode;
|
|
9
|
-
};
|
|
10
|
+
} & CopyKey;
|
|
10
11
|
export declare const ConnectedWalletsListLayout: FC<PropsWithChildren<ConnectedWalletsListLayoutProps>>;
|
|
@@ -59,10 +59,10 @@ import '../../components/Popper/Popper/Popper.js';
|
|
|
59
59
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
60
60
|
import 'react-focus-lock';
|
|
61
61
|
|
|
62
|
-
const ConnectedWalletsListLayout = ({ title, body, onClickBack, onClickClose, onClickAction, actionButtonText = 'Continue', children, }) => {
|
|
62
|
+
const ConnectedWalletsListLayout = ({ title, body, onClickBack, onClickClose, onClickAction, actionButtonText = 'Continue', children, copykey, }) => {
|
|
63
63
|
const closeButton = onClickClose && (jsx(IconButton, { type: 'button', onClick: onClickClose, "data-testid": 'close-button', children: jsx(SvgClose, {}) }));
|
|
64
64
|
const backButton = onClickBack && (jsx(IconButton, { type: 'button', onClick: onClickBack, "data-testid": 'back-button', children: jsx(SvgChevronLeft, {}) }));
|
|
65
|
-
return (jsxs("div", { className: 'connected-wallets-list-layout', children: [jsx(ModalHeader, { leading: backButton, trailing: closeButton, children: jsx(Typography, { variant: 'title', color: 'primary', children: title }) }), jsxs("div", { className: 'connected-wallets-list-layout__body', children: [jsx(Typography, { variant: 'body_normal', color: 'secondary', className: 'connected-wallets-list-layout__body__text', children: body }), children, jsx(Button, { buttonPadding: 'large', buttonVariant: 'primary', onClick: onClickAction, children: actionButtonText })] })] }));
|
|
65
|
+
return (jsxs("div", { className: 'connected-wallets-list-layout', children: [jsx(ModalHeader, { leading: backButton, trailing: closeButton, children: jsx(Typography, { variant: 'title', color: 'primary', copykey: copykey, children: title }) }), jsxs("div", { className: 'connected-wallets-list-layout__body', children: [jsx(Typography, { variant: 'body_normal', color: 'secondary', className: 'connected-wallets-list-layout__body__text', children: body }), children, jsx(Button, { buttonPadding: 'large', buttonVariant: 'primary', onClick: onClickAction, children: actionButtonText })] })] }));
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export { ConnectedWalletsListLayout };
|
|
@@ -58,6 +58,18 @@ const translation = {
|
|
|
58
58
|
title: 'Connect to {{appName}}',
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
|
+
/**
|
|
62
|
+
* @description copy keys for Dynamic Captcha
|
|
63
|
+
* @default
|
|
64
|
+
* {
|
|
65
|
+
verify_user_subtitle: 'We need to quickly verify you’re human before we proceed.',
|
|
66
|
+
verify_user_title: "Let's verify you're human",
|
|
67
|
+
}
|
|
68
|
+
*/
|
|
69
|
+
dyn_captcha: {
|
|
70
|
+
verify_user_subtitle: 'We need to quickly verify you’re human before we proceed.',
|
|
71
|
+
verify_user_title: "Let's verify you're human",
|
|
72
|
+
},
|
|
61
73
|
/**
|
|
62
74
|
* @description copy keys for chainalysis blocked wallet view
|
|
63
75
|
* @default
|
|
@@ -118,6 +130,8 @@ const translation = {
|
|
|
118
130
|
error_message: 'This network is not available, please update.',
|
|
119
131
|
title: 'Update Network',
|
|
120
132
|
},
|
|
133
|
+
update_email_tooltip:
|
|
134
|
+
'This email is tied to your wallet so cannot be updated',
|
|
121
135
|
}
|
|
122
136
|
*/
|
|
123
137
|
dyn_collect_user_data: {
|
|
@@ -167,6 +181,7 @@ const translation = {
|
|
|
167
181
|
error_message: 'This network is not available, please update.',
|
|
168
182
|
title: 'Update Network',
|
|
169
183
|
},
|
|
184
|
+
update_email_tooltip: 'This email is tied to your wallet so cannot be updated',
|
|
170
185
|
},
|
|
171
186
|
/**
|
|
172
187
|
* @description copy keys for email verification view after email logging in with magiclink
|
|
@@ -270,6 +285,12 @@ const translation = {
|
|
|
270
285
|
wallet_list: {
|
|
271
286
|
button_only: 'Continue with a wallet',
|
|
272
287
|
},
|
|
288
|
+
wrong_social_account: {
|
|
289
|
+
retry_button: 'Try again',
|
|
290
|
+
retry_title: 'Please connect with: ',
|
|
291
|
+
subtitle: 'You must connect with the same account you originally signed in with.',
|
|
292
|
+
title: 'Whoops. Wrong Account',
|
|
293
|
+
},
|
|
273
294
|
}
|
|
274
295
|
*/
|
|
275
296
|
dyn_login: {
|
|
@@ -315,6 +336,12 @@ const translation = {
|
|
|
315
336
|
wallet_list: {
|
|
316
337
|
button_only: 'Continue with a wallet',
|
|
317
338
|
},
|
|
339
|
+
wrong_social_account: {
|
|
340
|
+
retry_button: 'Try again',
|
|
341
|
+
retry_title: 'Please connect with: ',
|
|
342
|
+
subtitle: 'You must connect with the same account you originally signed in with.',
|
|
343
|
+
title: 'Whoops. Wrong Account',
|
|
344
|
+
},
|
|
318
345
|
},
|
|
319
346
|
/**
|
|
320
347
|
* @description copy keys for Dynamic manage passkeys view which are used inside dynamic widget
|
|
@@ -356,14 +383,21 @@ const translation = {
|
|
|
356
383
|
* {
|
|
357
384
|
cancel_button: "No, I'll use a different email",
|
|
358
385
|
confirm_button: 'Yes, link to existing account',
|
|
386
|
+
errors: {
|
|
387
|
+
merge_error: 'Something went wrong, please try again.',
|
|
388
|
+
},
|
|
359
389
|
existing_account: 'An account already exists that uses',
|
|
360
390
|
existing_account_trail: 'email.',
|
|
361
391
|
title: 'Would you like to link this wallet to this existing account?',
|
|
392
|
+
},
|
|
362
393
|
}
|
|
363
394
|
*/
|
|
364
395
|
dyn_merge_user_accounts: {
|
|
365
396
|
cancel_button: "No, I'll use a different email",
|
|
366
397
|
confirm_button: 'Yes, link to existing account',
|
|
398
|
+
errors: {
|
|
399
|
+
merge_error: 'Something went wrong, please try again.',
|
|
400
|
+
},
|
|
367
401
|
existing_account: 'An account already exists that uses',
|
|
368
402
|
existing_account_trail: 'email.',
|
|
369
403
|
title: 'Would you like to link this wallet to this existing account?',
|
|
@@ -471,6 +505,7 @@ const translation = {
|
|
|
471
505
|
confirm_code: 'Confirm verification code',
|
|
472
506
|
hang_tight: 'Hang tight while we get things ready for you',
|
|
473
507
|
verification_succeeded: 'Verification code confirmed',
|
|
508
|
+
title: 'Confirm verification code',
|
|
474
509
|
}
|
|
475
510
|
*/
|
|
476
511
|
dyn_otp_verification: {
|
|
@@ -479,6 +514,7 @@ const translation = {
|
|
|
479
514
|
confirm_code: 'Confirm verification code',
|
|
480
515
|
hang_tight: 'Hang tight while we get things ready for you',
|
|
481
516
|
verification_succeeded: 'Verification code confirmed',
|
|
517
|
+
title: 'Confirm verification code',
|
|
482
518
|
},
|
|
483
519
|
/**
|
|
484
520
|
* @description copy key for passkey created success banner
|
|
@@ -555,7 +591,7 @@ const translation = {
|
|
|
555
591
|
'To complete this process, ensure you are using the same device/browser.',
|
|
556
592
|
start_button: 'Send me an email',
|
|
557
593
|
title: 'Initiate Request',
|
|
558
|
-
}
|
|
594
|
+
},
|
|
559
595
|
}
|
|
560
596
|
*/
|
|
561
597
|
dyn_passkey_recovery: {
|
|
@@ -579,6 +615,80 @@ const translation = {
|
|
|
579
615
|
title: 'Initiate Request',
|
|
580
616
|
},
|
|
581
617
|
},
|
|
618
|
+
/**
|
|
619
|
+
* @description copy keys for Dynamic pending wallet connection
|
|
620
|
+
* @default
|
|
621
|
+
* {
|
|
622
|
+
mobile: 'Click connect in your mobile wallet',
|
|
623
|
+
computer: 'Click connect in your wallet popup',
|
|
624
|
+
}
|
|
625
|
+
*/
|
|
626
|
+
dyn_pending_connection: {
|
|
627
|
+
mobile: 'Click connect in your mobile wallet',
|
|
628
|
+
computer: 'Click connect in your wallet popup',
|
|
629
|
+
},
|
|
630
|
+
/**
|
|
631
|
+
* @description copy keys for Dynamic pending signature, we have overrides for phantom ledger which does not support message signing.
|
|
632
|
+
* @default
|
|
633
|
+
* {
|
|
634
|
+
click_to_sign: 'Click to Sign',
|
|
635
|
+
note: 'Note: ',
|
|
636
|
+
phantom_ledger_sign: "Click sign in your wallet to confirm you own this wallet (this doesn't cost gas).",
|
|
637
|
+
phantom_ledger_warning: "Ledger with Phantom doesn't support message signing. When logging in, a small fee (which should not apply) may appear. See below to learn more.",
|
|
638
|
+
regular_sign_description: 'Click sign-in in your wallet to confirm you own this wallet.',
|
|
639
|
+
}
|
|
640
|
+
*/
|
|
641
|
+
dyn_pending_signature: {
|
|
642
|
+
click_to_sign: 'Click to Sign',
|
|
643
|
+
note: 'Note: ',
|
|
644
|
+
phantom_ledger_sign: "Click sign in your wallet to confirm you own this wallet (this doesn't cost gas).",
|
|
645
|
+
phantom_ledger_warning: "Ledger with Phantom doesn't support message signing. When logging in, a small fee (which should not apply) may appear. See below to learn more.",
|
|
646
|
+
regular_sign_description: 'Click sign-in in your wallet to confirm you own this wallet.',
|
|
647
|
+
},
|
|
648
|
+
/**
|
|
649
|
+
* @description copy keys for Dynamic QR code Wallet Connection Pop-Up
|
|
650
|
+
* @default
|
|
651
|
+
* {
|
|
652
|
+
copy_button: 'Copy QR URI',
|
|
653
|
+
open_button: 'Open {{wallet}} App',
|
|
654
|
+
scan_title: "Scan this QR code from your mobile wallet or phone's camera to connect.",
|
|
655
|
+
wallet_not_installed: {
|
|
656
|
+
browser_install: 'Install {{browser}} extension',
|
|
657
|
+
install: 'Install {{wallet}} extension to connect',
|
|
658
|
+
refresh: 'Refresh the page once installed',
|
|
659
|
+
select: 'Select from your preferred options below:',
|
|
660
|
+
},
|
|
661
|
+
}
|
|
662
|
+
*/
|
|
663
|
+
dyn_qr_code: {
|
|
664
|
+
copy_button: 'Copy QR URI',
|
|
665
|
+
open_button: 'Open {{wallet}} App',
|
|
666
|
+
scan_title: "Scan this QR code from your mobile wallet or phone's camera to connect.",
|
|
667
|
+
wallet_not_installed: {
|
|
668
|
+
browser_install: 'Install {{browser}} extension',
|
|
669
|
+
install: 'Install {{wallet}} extension to connect',
|
|
670
|
+
refresh: 'Refresh the page once installed',
|
|
671
|
+
select: 'Select from your preferred options below:',
|
|
672
|
+
},
|
|
673
|
+
},
|
|
674
|
+
/**
|
|
675
|
+
* @description copy keys for Dynamic wallet locked/disconnected
|
|
676
|
+
* @default
|
|
677
|
+
* {
|
|
678
|
+
connect_continue: 'Connect your wallet to continue',
|
|
679
|
+
title: 'Welcome back',
|
|
680
|
+
subtitle: "We couldn't connect to your wallet. Click connect to retry the connection ",
|
|
681
|
+
connect: 'Connect wallet',
|
|
682
|
+
logout: 'Log out',
|
|
683
|
+
}
|
|
684
|
+
*/
|
|
685
|
+
dyn_wallet_locked: {
|
|
686
|
+
connect_continue: 'Connect your wallet to continue',
|
|
687
|
+
title: 'Welcome back',
|
|
688
|
+
subtitle: "We couldn't connect to your wallet. Click connect to retry the connection ",
|
|
689
|
+
connect: 'Connect wallet',
|
|
690
|
+
logout: 'Log out',
|
|
691
|
+
},
|
|
582
692
|
/**
|
|
583
693
|
* @description copy keys for passkeys creation flow for existent embedded wallets
|
|
584
694
|
* @default
|
|
@@ -863,6 +973,7 @@ const translation = {
|
|
|
863
973
|
warning: 'Linking your wallet to this account will unlink it from its previously associated account',
|
|
864
974
|
},
|
|
865
975
|
log_out_button: 'Log out',
|
|
976
|
+
title: 'Transfer this wallet?'
|
|
866
977
|
}
|
|
867
978
|
*/
|
|
868
979
|
dyn_wallet_link: {
|
|
@@ -878,6 +989,7 @@ const translation = {
|
|
|
878
989
|
warning: 'Linking your wallet to this account will unlink it from its previously associated account',
|
|
879
990
|
},
|
|
880
991
|
log_out_button: 'Log out',
|
|
992
|
+
title: 'Transfer this wallet?',
|
|
881
993
|
},
|
|
882
994
|
/**
|
|
883
995
|
* @description copy keys for connecting wallets list view
|
|
@@ -930,12 +1042,21 @@ const translation = {
|
|
|
930
1042
|
* @default
|
|
931
1043
|
* {
|
|
932
1044
|
sign: {
|
|
1045
|
+
spinner: {
|
|
1046
|
+
cancel: 'Cancel',
|
|
1047
|
+
confirm_transfer:
|
|
1048
|
+
'Sign the message to confirm transferring this wallet to this account.',
|
|
1049
|
+
},
|
|
933
1050
|
title: 'Sign to confirm transfer',
|
|
934
1051
|
},
|
|
935
1052
|
}
|
|
936
1053
|
*/
|
|
937
1054
|
dyn_wallet_transfer: {
|
|
938
1055
|
sign: {
|
|
1056
|
+
spinner: {
|
|
1057
|
+
cancel: 'Cancel',
|
|
1058
|
+
confirm_transfer: 'Sign the message to confirm transferring this wallet to this account.',
|
|
1059
|
+
},
|
|
939
1060
|
title: 'Sign to confirm transfer',
|
|
940
1061
|
},
|
|
941
1062
|
},
|
|
@@ -952,6 +1073,8 @@ const translation = {
|
|
|
952
1073
|
connect: 'Connect your wallet',
|
|
953
1074
|
empty_wallets: '{{action}} additional wallets to see them here.',
|
|
954
1075
|
other_wallets: 'My other wallets',
|
|
1076
|
+
empty_wallets_action_link: 'Link',
|
|
1077
|
+
empty_wallets_action_connect: 'Connect',
|
|
955
1078
|
},
|
|
956
1079
|
};
|
|
957
1080
|
|