@dynamic-labs/sdk-react-core
Version:
A React SDK for implementing wallet web3 authentication and authorization to your website.
1,651 lines (1,650 loc) • 81.1 kB
TypeScript
export declare const translation: {
/**
* @description copy keys for account exists view
* @default
* {
connect: 'Connect with {{socialOauth}}',
description: 'It looks like an account already exists using',
title: 'Account already exists',
trail_message_email: '. Please log in with your email.',
trail_message_social: 'through {{socialOauth}}',
}
*/
dyn_sandbox_maximum_threshold: {
title: string;
description: string;
button: string;
};
dyn_account_exists: {
connect: string;
description_email: string;
description_social: string;
title: string;
trail_message_email: string;
trail_message_social: string;
};
/**
* @description copy keys for active wallet information (address, network, etc)
* @default
* {
testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
ordinals_address: 'Ordinals address',
payment_address: 'Payment address',
balance: 'Total balance',
options: {
copy_ens: 'Copy ENS',
view_address: 'View address',
disconnect: 'Disconnect',
settings: 'Wallet settings',
export: 'Export private keys',
},
}
*/
dyn_active_wallet_info: {
testnet_warning: string;
ordinals_address: string;
payment_address: string;
balance: string;
options: {
copy_ens: string;
view_address: string;
disconnect: string;
settings: string;
export: string;
};
};
/**
* @description copy keys for wallet details card
* @default
* {
header: 'Wallet Details',
address: 'Address',
copy: 'Copy',
copied: 'Copied!',
}
*/
dyn_wallet_details_card: {
header: string;
address: string;
copy: string;
copied: string;
};
/**
* @description copy keys for add network view
* @default
* {
title: 'Add {{name}} network to your wallet',
add_button: {
title: 'Add network',
},
cancel_button: {
title: 'Cancel',
},
}
*/
dyn_add_network_view: {
title: string;
description: string;
add_button: {
title: string;
};
cancel_button: {
title: string;
};
};
/**
* @description copy keys for bridge view
* @default
* {
summary_view: {
connection_succeed: 'Congratulations on connecting both your {{firstBlockchainName}} and {{secondBlockchainName}} wallets',
title: 'Welcome to {{appName}}',
},
welcome_view: {
button: 'Get started',
description: 'You’ll need to connect both your {{firstBlockchainName}} and {{secondBlockchainName}} wallets to get started',
title: 'Connect to {{appName}}',
},
widget: {
address: 'Copy wallet address',
connect: 'Connect wallet',
connect_with_network: 'Connect {{blockchainName}} wallet',
copy: {
address: 'Copy wallet address',
ens: 'Copy ENS',
},
disconnect: 'Disconnect',
edit_profile: 'Edit profile',
wallet_network: '{{networkName}} wallet',
},
}
*/
dyn_bridge: {
summary_view: {
connection_succeed: string;
title: string;
};
welcome_view: {
button: string;
description: string;
title: string;
};
widget: {
address: string;
connect: string;
connect_with_network: string;
copy: {
address: string;
ens: string;
};
disconnect: string;
edit_profile: string;
wallet_network: string;
};
};
/**
* @description copy keys for Dynamic Captcha
* @default
* {
verify_user_subtitle: 'We need to quickly verify you’re human before we proceed.',
verify_user_title: "Let's verify you're human",
}
*/
dyn_captcha: {
verify_user_subtitle: string;
verify_user_title: string;
};
/**
* @description copy keys for sanctioned access blocked view
* @default
* {
* title: 'Access Blocked',
* content: 'Logging in is not available to persons in {{jurisdiction}} as you are in a sanctioned jurisdiction.',
* }
*/
dyn_access_blocked: {
title: string;
content: string;
};
/**
* @description copy keys for chainalysis blocked wallet view
* @default
* {
title: 'Access denied',
}
*/
dyn_chainalysis_blocked_wallet: {
title: string;
};
/**
* @description copy keys for collecting user data
* @default
* {
description: 'We need a bit of information to get started',
fields: {
alias: {
label: 'Alias',
},
country: {
label: 'Country',
},
email: {
label: 'Email',
validation: 'Email is not valid',
},
first_name: {
label: 'First Name',
},
job_title: {
label: 'Job Title',
},
last_name: {
label: 'Last Name',
},
phone_number: {
label: 'Phone number',
validation: 'Phone number is not valid',
too_short: 'Phone number is too short',
},
policies_consent: {
label: 'Policies Consent',
},
t_shirt_size: {
label: 'T-Shirt Size',
},
team: {
label: 'Team',
},
username: {
label: 'Username',
validation: 'Username is not valid',
},
},
greeting: 'Welcome to {{appName}}',
log_out_button: 'Log out',
not_supported_network: {
description: 'Your wallet is not connected to a supported network. Please update before continuing.',
error_message: 'This network is not available, please update.',
title: 'Update Network',
},
update_email_tooltip:
'This email is tied to your wallet so cannot be updated',
update_phone_number_tooltip:
'This phone number is tied to your wallet so cannot be updated',
lock_editing_multiple_verified_fields:
'You can only edit 1 field at a time that requires verification',
}
*/
dyn_collect_user_data: {
description: string;
fields: {
alias: {
label: string;
};
country: {
label: string;
};
email: {
label: string;
validation: string;
};
first_name: {
label: string;
};
job_title: {
label: string;
};
last_name: {
label: string;
};
phone_number: {
label: string;
validation: string;
too_short: string;
};
policies_consent: {
label: string;
};
t_shirt_size: {
label: string;
};
team: {
label: string;
};
username: {
label: string;
validation: string;
};
};
greeting: string;
log_out_button: string;
not_supported_network: {
description: string;
error_message: string;
title: string;
};
update_email_tooltip: string;
update_phone_number_tooltip: string;
lock_editing_multiple_verified_fields: string;
};
/**
* @description copy keys for common component text and labels
* @default
* {
aria: {
collapsed: 'Collapsed',
expanded: 'Expanded',
},
}
*/
dyn_common: {
aria: {
collapsed: string;
expanded: string;
};
};
/**
* @description copy keys for create password view
* @default
* {
continue: 'Continue',
create_input: {
label: 'Create passcode',
placeholder: 'Create passcode',
},
confirm_input: {
label: 'Confirm passcode',
placeholder: 'Confirm passcode',
},
current_password_input: {
label: 'Current passcode',
placeholder: 'Current passcode',
},
description:
"Choose a strong, unique passcode to ensure your account's security and privacy.",
errors: {
invalid_current_password: 'Invalid current passcode',
error_changing_password: 'Error changing passcode',
new_password_same_as_old: 'New passcode cannot be the same as the old passcode',
password_mismatch: 'Passcodes do not match',
user_closed_view: 'User closed the view',
},
intro: {
continue: 'Set up a passcode',
description: {
title: 'Add a passcode to protect your account',
additional_protection: {
title: 'Passcode Security',
description:
'Add a secure passcode to further prevent un-authrized access to your account.',
},
restore_access: {
title: 'Restore Access',
description:
'You will be asked to enter it when signing on to a new device.',
},
},
title: 'Add a Passcode',
},
logout: 'Log out',
title: {
create: 'Create passcode',
update: 'Create new passcode',
},
update_input: {
label: 'New passcode',
placeholder: 'New passcode',
},
}
*/
dyn_create_password: {
continue: string;
create_input: {
label: string;
placeholder: string;
};
confirm_input: {
label: string;
placeholder: string;
};
current_password_input: {
label: string;
placeholder: string;
};
description: string;
errors: {
invalid_current_password: string;
error_changing_password: string;
new_password_same_as_old: string;
password_mismatch: string;
user_closed_view: string;
};
intro: {
continue: string;
description: {
title: string;
additional_protection: {
title: string;
description: string;
};
restore_access: {
title: string;
description: string;
};
};
title: string;
};
logout: string;
title: {
create: string;
update: string;
};
update_input: {
label: string;
placeholder: string;
};
};
/**
* @description copy keys for creating wallet wallet message
* @default
* {
loading_message: 'Your wallet is being created...',
}
*/
dyn_creating_wallet: {
loading_message: string;
};
/**
* @description copy keys for email verification view after email logging in with magiclink
* @default
* {
description: 'We’ve sent a verification email to',
note: 'Note: it might take a few seconds to proceed after clicking the link in your email',
title: 'Confirm your email',
}
*/
dyn_email_confirmation: {
description: string;
note: string;
title: string;
};
/**
* @description copy keys for email update view
* @default
* {
current_email: 'Your current email address is',
label: 'Email address',
send_verification: 'Send Verification Code',
title: 'Update email',
}
*/
dyn_email_update: {
current_email: string;
label: string;
send_verification: string;
title: string;
};
/**
* @description copy keys for one-time password verification view after logging in with dynamic email or phone number provider or after kyc verification
* @default
* {
code_not_received: 'Did not receive a code? Check spam or',
code_sent: 'Code sent',
description: 'We’ve sent a verification code to',
log_out_button: 'Log out',
resend_code: 'Re-send code',
resend_code_in: 'Re-send code in {{remainingSeconds}}',
confirm_code: 'Confirm verification code',
verification_succeeded: 'Verification code confirmed',
hang_tight: 'Hang tight while we get things ready for you',
email: {
title: 'Confirm your email',
complete:
'Verification complete, the email is now verified to this account.',
},
phone_number: {
title: 'Confirm your phone number',
edit: 'Edit phone number',
complete:
'Verification complete, the phone number is now verified to this account.',
},
},
*/
dyn_otp_verification: {
code_not_received: string;
code_sent: string;
description: string;
log_out_button: string;
resend_code: string;
resend_code_in: string;
confirm_code: string;
verification_succeeded: string;
hang_tight: string;
email: {
title: string;
complete: string;
};
phone_number: {
title: string;
edit: string;
complete: string;
};
};
/**
* @description copy keys for deposit view
* @default
* {
title: 'Deposit',
}
*/
dyn_deposit: {
title: string;
receive_funds_on: string;
};
/**
* @description copy keys for embedded wallet authenticator choice view
* @default
* {
description:
'Protect your account and simplify your transaction experience.',
email: {
badge: 'Fastest',
description: ' You will need to renew after {{expiration}} minutes ',
title: 'Use a one-time code',
},
passkey: {
auth_info: {
convinience: {
title: 'Convenient and Fast',
description:
'Use Face ID or Touch ID to complete transactions quickly.',
},
security: {
title: 'Increased Security',
description:
'Passkeys are encrypted end-to-end on your device or password manager to prevent phishing attempts.',
},
add_button: 'Add a passkey',
start_button: 'Add a passkey',
},
no_email_auth_info: {
convinience: {
title: 'Simple and Fast',
description:
'Works across devices and syncs between devices and browsers.',
},
security: {
title: 'Secured with a bio-metric',
description: 'Phishing resistant and encrypted.',
},
add_button: 'Add passkey',
start_button: 'Add passkey',
},
badge: 'Recommended',
description:
'Works across devices & secured with biometric to prevent phishing attempts ',
title: 'Create new passkey',
reveal_title: 'Add a passkey',
},
skip: 'Not now',
title: 'Account security',
need_help_title: 'Problem Signing?',
need_help_description: 'Select from an option below to complete',
reveal_title: 'Verification Required',
reveal_description: 'Choose a verification method.',
}
*/
dyn_embedded_authenticator: {
description: string;
email: {
badge: string;
description: string;
title: string;
};
passkey: {
auth_info: {
convinience: {
title: string;
description: string;
};
security: {
title: string;
description: string;
};
add_button: string;
start_button: string;
};
no_email_auth_info: {
convinience: {
title: string;
description: string;
};
security: {
title: string;
description: string;
};
add_button: string;
start_button: string;
};
badge: string;
description: string;
title: string;
reveal_title: string;
};
skip: string;
title: string;
need_help_title: string;
need_help_description: string;
reveal_title: string;
reveal_description: string;
};
/**
* @description copy keys for enter password view
* @default
* {
continue_button_label: 'Continue',
description: 'Please enter your passcode below to continue.',
error: {
invalid_password: 'Invalid passcode',
},
input: {
label: 'Passcode',
placeholder: 'Passcode',
},
title: 'Enter passcode',
}
*/
dyn_enter_password: {
continue_button_label: string;
description: string;
error: {
invalid_password: string;
};
input: {
label: string;
placeholder: string;
};
title: string;
};
/**
* @description copy keys for Dynamic Farcaster connect view
* @default
* {
copy_button: 'Copy QR URI',
scan_title: "Scan this QR code from your mobile app or phone's camera to connect.",
}
*/
dyn_farcaster_connect_view: {
copy_button: string;
scan_title: string;
};
/**
* @description copy keys for log in view
* @default
* dyn_login: {
connect_wallet: {
title: 'Connect',
},
email_form: {
email_field: {
label: 'Enter your email',
},
submit_button: {
label: 'Continue',
},
},
email_or_phone: {
use_email: 'Use email',
use_phone: 'Use phone',
prefer_email: 'Prefer email sign up?',
prefer_phone: 'Prefer phone number sign up?',
},
helper: {
all_wallet_list: 'Get your first wallet',
email_form: {
invalid_email: 'Invalid or incorrect email. Did you mistype it?',
},
pending_connect: {
title: 'Connecting a wallet',
},
pending_signature: {
title: 'Signing a wallet',
},
pending_signature_without_back_button: {
title: 'Signing a wallet',
},
phone_number_form: {
invalid_phone: 'Invalid or incorrect number. Did you mistype it?',
invalid_sms_verification:
'The code you entered is incorrect. Please try again.',
too_many_sms_verification_attempts:
'Too many verification attempts, please try again later.',
},
qr_code: {
title: 'Connecting a wallet',
},
wallet_only: 'Get your first wallet',
},
qr_code: {
title: 'Connect',
},
separators: {
default: 'OR',
},
sign_wallet: {
title: 'Sign',
},
select_wallet_in_wallet_group: {
title: 'Select',
},
social: {
button_label: 'Continue with {{provider}}',
overlay_title: 'Choose a social account',
},
title: {
all: 'Log in or sign up',
all_wallet_list: 'Select your wallet',
wallet_only: 'Select your wallet',
},
wallet_group: {
title: 'Select Chain',
},
wallet_list: {
button_only: 'Continue with a wallet',
},
mobile_wallet_redirect: {
backup_title: 'Connect mobile app',
prompt: "Tap 'Open' to continue",
get_app_prompt: 'Get',
open_prompt: 'Open',
redirect_fail_message:
"If the app doesn't open, you might need to download the {{walletName}} Wallet app.",
app_store: 'App Store',
play_store: 'Play Store',
},
wrong_social_account: {
retry_button: 'Try again',
retry_title: 'Please connect with: ',
subtitle:
'You must connect with the same account you originally signed in with.',
title: 'Whoops. Wrong Account',
},
},
*/
dyn_login: {
connect_wallet: {
title: string;
};
email_form: {
email_field: {
label: string;
};
submit_button: {
label: string;
};
};
email_or_phone: {
use_email: string;
use_phone: string;
prefer_email: string;
prefer_phone: string;
};
helper: {
all_wallet_list: string;
email_form: {
invalid_email: string;
};
pending_connect: {
title: string;
};
pending_signature: {
title: string;
};
pending_signature_without_back_button: {
title: string;
};
phone_number_form: {
invalid_phone: string;
invalid_sms_verification: string;
too_many_sms_verification_attempts: string;
};
qr_code: {
title: string;
};
wallet_only: string;
};
qr_code: {
title: string;
};
separators: {
default: string;
};
sign_wallet: {
title: string;
};
select_wallet_in_wallet_group: {
title: string;
};
social: {
button_label: string;
overlay_title: string;
};
title: {
all: string;
all_wallet_list: string;
wallet_only: string;
};
wallet_group: {
title: string;
};
wallet_list: {
button_only: string;
};
mobile_wallet_redirect: {
backup_title: string;
prompt: string;
get_app_prompt: string;
open_prompt: string;
redirect_fail_message: string;
app_store: string;
play_store: string;
};
wrong_social_account: {
retry_button: string;
retry_title: string;
subtitle: string;
title: string;
};
};
/**
* @description copy keys for Dynamic manage passkeys view which are used inside dynamic widget
* @default
* {
title: 'My passkeys',
passkey_from: 'from',
passkey_providers: {
android: 'Android Phone',
brave: 'Brave Browser',
chrome: 'Google Chrome',
edge: 'Microsoft Edge',
firefox: 'Firefox',
iPhone: 'iPhone',
opera: 'Opera Browser',
safari: 'Safari Browser',
},
recovery_button: 'Set up new passkey',
}
*/
dyn_manage_passkeys: {
title: string;
passkey_from: string;
passkey_providers: {
android: string;
brave: string;
chrome: string;
edge: string;
firefox: string;
iPhone: string;
opera: string;
safari: string;
};
recovery_button: string;
};
/**
* @description copy keys for Dynamic rename passkey view
* @default
* {
error: Whoops! There was an error updating your passkey
input_label: 'Passkey name',
save: 'Save',
title: 'Rename your passkey',
not_found: 'No passkeys found',
}
*/
dyn_rename_passkeys: {
error: string;
input_label: string;
save: string;
title: string;
not_found: string;
};
/**
* @description export keys for Dynamic embedded reveal view
* @default
* {
title: 'Export wallet',
agreement_title: 'Agree to continue',
private_key_title: 'Private key',
recovery_phrase_title: 'Secret recovery phrase',
description:
'Your wallet is non-custodial, meaning you are always in control of it.',
statement_1: {
title: 'Do not publicly share your {{keyType}}',
description: 'Your {{keyType}} controls your account and assets.',
},
checkbox_label:
'I am responsible for safeguarding and using my wallet key information.',
reveal_description: 'Make sure to safely back up this information',
reveal_button_label: 'Reveal',
copy_button_label: 'Copy to clipboard',
done_button_label: "I'm Done",
aa_warning: {
title: 'Your assets are not in this wallet.',
subtitle:
'This is a smart-contract wallet. You will not see your balance if you import this to an external service. Please send your assets to your preferred external wallet first to access your funds:',
button: 'here',
},
unlink: 'Unlink wallet info',
},
*/
dyn_embedded_reveal: {
title: string;
agreement_title: string;
prompt_for_export_title: string;
private_key_title: string;
recovery_phrase_title: string;
badge_label: string;
prompt_for_export_description: string;
statement_1: {
title: string;
description: string;
};
statement_2: {
title: string;
};
checkbox_label: string;
reveal_description: string;
skip_button_label: string;
reveal_button_label: string;
backup_button_label: string;
copy_button_label: string;
done_button_label: string;
aa_warning: {
title: string;
subtitle: string;
button: string;
};
unlink: string;
};
/**
* @description export keys for Dynamic embedded delete view
* @default
*
*/
dyn_embedded_delete: {
title: string;
description_1: string;
description_2: string;
acknowledgement: string;
cancel_button: string;
action_button: string;
};
/**
* @description Settings for Dynamic settings view which are used inside dynamic widget
* @default
* {
global_connectivity_section: {
title: 'Global Connectivity',
connected_apps_button: 'Connected Apps',
},
export_section: {
private_key_button: 'Private key',
srp_button: 'Recovery phrase',
title: 'Export & Backup',
},
identity_section: {
title: 'Recovery',
add_email_button: 'Add an email',
},
tags: { recommended: 'Recommended' },
security_section: {
email_auth_button: 'One time code',
passkey_button: 'Passkeys',
password_button: 'Passcode',
mfa_button: 'Authenticator App',
title: '2 factor authentication',
},
title: 'Settings',
button_logout: 'Log out',
empty_screen: {
title: 'Nothing to see here yet!',
},
delete_account: {
title: 'Delete My Account',
description:
'Deleting your account will permanently remove all data, including wallet details and linked smart contract wallets. This action cannot be undone.',
backup_confirmation_embedded:
"I confirm I've backed up my wallet keys. If I proceed, a new wallet will be created. Any wallets or assets not backed up will be lost permanently.",
backup_confirmation_no_embedded:
'I confirm that all of my information will be deleted. If I return, a new user profile will be created. These changes cannot be undone.',
type_delete: 'Enter DELETE in the box below to confirm this action.',
cancel: 'Cancel',
confirm: 'Delete Account',
deleting: 'Deleting...',
type_delete_label: 'Type to confirm',
},
session_management: {
title: 'Security Settings',
session_management_button: 'Session Management',
},
}
*/
dyn_settings: {
global_connectivity_section: {
title: string;
connected_apps_button: string;
};
export_section: {
private_key_button: string;
srp_button: string;
title: string;
};
identity_section: {
title: string;
add_email_button: string;
};
tags: {
recommended: string;
};
security_section: {
email_auth_button: string;
passkey_button: string;
password_button: string;
mfa_button: string;
title: string;
};
title: string;
button_logout: string;
account_security: {
title: string;
};
empty_screen: {
title: string;
};
delete_account: {
title: string;
description: string;
backup_confirmation_embedded: string;
backup_confirmation_no_embedded: string;
type_delete: string;
cancel: string;
confirm: string;
deleting: string;
type_delete_label: string;
};
session_management: {
title: string;
session_management_button: string;
};
};
/**
* @description copy keys for global wallet view
* @default
* {
connect_to_apps: 'Connect to apps',
scan_qr_code: 'Scan QR Code',
or: 'OR',
walletconnect_uri: 'WalletConnect URI',
the_dapp: 'the dApp',
this_app: 'this app',
confirm: {
title: 'Confirm Connection',
description: 'Are you sure you want to connect to {{name}}?',
cancel_button: 'Cancel',
connect_button: 'Connect',
},
banner: {
warning: 'There was an error connecting to {{name}}.',
success: 'Successfully connected to {{name}}.',
already_connected: 'You are already connected to {{name}}.',
expired:
'The link you entered expired, please get a new URI from the app.',
bad_input:
'Invalid URI. Please check below for how to find the valid URI.',
},
help: {
title: 'How do I find the URI code?',
step: {
1: '1. Go to the website you want to connect to',
2: '2. Locate the "Connect" or "Login" button',
3: '3. Open WalletConnect from the list',
},
learn_more: 'Learn more about global wallets',
},
malicious_site: {
certain: {
title: 'Malicious app detected!',
subtitle_header: 'Risk of losing funds',
subtitle_text:
'The site is known to exploit and or take assets from connected wallets.',
go_back: 'Cancel',
proceed: 'Proceed',
},
unknown: {
title: 'Site verification did not run.',
subtitle_header: 'Double check the app',
subtitle_text:
'We were unable to verify the vailidity of the app at this time.',
go_back: 'Cancel',
proceed: 'Proceed',
},
},
connected_apps: {
title: 'Connected Apps',
no_connections: 'No connected apps',
},
},
*/
global_wallet: {
connect_to_apps: string;
scan_qr_code: string;
or: string;
walletconnect_uri: string;
the_dapp: string;
this_app: string;
confirm: {
title: string;
description: string;
cancel_button: string;
connect_button: string;
};
banner: {
warning: string;
success: string;
already_connected: string;
expired: string;
bad_input: string;
};
help: {
title: string;
step: {
1: string;
2: string;
3: string;
};
learn_more: string;
};
malicious_site: {
certain: {
title: string;
subtitle_header: string;
subtitle_text: string;
go_back: string;
proceed: string;
};
unknown: {
title: string;
subtitle_header: string;
subtitle_text: string;
go_back: string;
proceed: string;
};
};
connected_apps: {
title: string;
subtitle: string;
success: string;
};
};
/**
* @description copy keys for mfa management view
* @default
* {
title: 'Authenticator App',
add_mfa_button: 'Authenticator App',
no_devices: 'No authenticator apps configured',
generate_backup_codes_button: 'Get new backup codes',
},
*/
dyn_manage_mfa: {
title: string;
add_mfa_button: string;
no_devices: string;
generate_backup_codes_button: string;
};
/**
* @description copy keys for waas backup unsuccessful view
* @default
* {
title: 'Backup Unsuccessful',
description: "We weren't able to back up your wallet. To keep things secure, we'll need to refresh and generate a new wallet for you.",
try_again: 'Try Again',
},
*/
dyn_waas: {
backup_unsuccessful: {
title: string;
description: string;
try_again: string;
};
};
/**
* @description copy keys for mfa views
* @default
* {
choose_device_view: {
title: 'Secure your account',
select_options: 'Protect your account by adding multi-factor authentication',
authenticator_app: 'Authenticator app',
authenticator_app_description:
'Use your preferred authenticator app such as Authy, Google Authenticator, etc.',
backup_code: 'Backup code',
backup_code_description:
'Enter one of your saved backup codes to authenticate.',
choose_another_method: 'Choose another method',
choose_another_method_description: 'Use one of the methods below:',
logout: 'Log out',
},
display_backup_codes_view: {
title: 'Back up your codes',
body: 'Backup codes help recover your account if you lose access to your device. Each code can be used only 1 time.',
warning: 'You won’t be able to see these again',
copy_all: 'Copy all',
download: 'Download',
checkbox: 'I have safely stored a copy of my backup codes',
complete: 'Complete',
},
otp_verification_view: {
title: 'Confirm verification code',
body: 'Enter the verification code generated by your authenticator app',
error: 'Invalid code. Please try again.',
rate_limit_error: 'Too many attempts, please try again later.',
choose_another_method: 'Sign in another way',
},
secure_device_view: {
title: 'Secure your account',
body: 'Setup a new sign-in method in your authenticator app',
continue: 'Continue',
helper: {
button: "Can't scan QR Code?",
title: 'Troubles with scanning?',
step1: {
title: 'Open your Authenticator App',
description: 'You will set up a new sign-in method',
},
step2: {
title: 'Enter the key provided below',
description: 'Make sure time-based or one-time password is enabled.',
},
uri: {
title: 'Copy the full URI',
description:
'This only works if your authenticator app supports TOTP URIs',
},
},
logout: 'Log out',
},
},
*/
dyn_mfa: {
choose_device_view: {
title: string;
select_options: string;
authenticator_app: string;
authenticator_app_description: string;
backup_code: string;
backup_code_description: string;
choose_another_method: string;
choose_another_method_description: string;
logout: string;
};
display_backup_codes_view: {
title: string;
body: string;
warning: string;
copy_all: string;
download: string;
checkbox: string;
complete: string;
};
otp_verification_view: {
title: string;
body: string;
error: string;
rate_limit_error: string;
choose_another_method: string;
};
secure_device_view: {
title: string;
body: string;
continue: string;
helper: {
button: string;
title: string;
step1: {
title: string;
description: string;
};
step2: {
title: string;
description: string;
};
uri: {
title: string;
description: string;
};
};
logout: string;
};
recovery_view: {
title: string;
body: string;
input_label: string;
button_label: string;
get_help: {
description: string;
button_label: string;
};
helper: {
title: string;
};
};
};
/**
* @description copy keys for merge user accounts view
* @default
* {
confirm_button: 'Merge accounts',
errors: {
merge_error: 'Something went wrong, please try again.',
},
wallet: {
content: 'This wallet is associated to another account. Would you like to merge accounts?',
title: 'Wallet already in use',
},
}
*/
dyn_merge_user_accounts: {
confirm_button: string;
errors: {
merge_error: string;
};
wallet: {
content: string;
title: string;
};
};
/**
* @description copy keys for merge user accounts conflicts view
* @default
* {
confirm_button: 'Confirm & Merge',
description:
'You have some conflicting information. Please select your preferences',
errors: {
merge_error: 'Something went wrong, please try again.',
},
title: 'Confirm your preferences',
}
*/
dyn_merge_user_accounts_conflicts: {
confirm_button: string;
description: string;
errors: {
merge_error: string;
};
title: string;
};
/**
* @description copy keys for merge user accounts view when using email associated to a different account
* @default
* {
cancel_button: "No, I'll use a different email",
confirm_button: 'Yes, link to existing account',
errors: {
merge_error: 'Something went wrong, please try again.',
},
existing_account: 'An account already exists that uses',
existing_account_trail: 'email.',
title: 'Would you like to link this wallet to this existing account?',
}
*/
dyn_merge_user_accounts_with_same_email: {
cancel_button: string;
confirm_button: string;
errors: {
merge_error: string;
};
existing_account: string;
existing_account_trail: string;
title: string;
};
/**
* @description copy key for Dynamic need help footer section
* @default
* {
info: 'Problem Signing?',
contact_support: 'Contact support',
divider: 'or',
help_button: 'go here.',
}
*/
dyn_need_help_section: {
info: {
v1: string;
not_v1: string;
};
contact_support: string;
divider: string;
help_button: string;
visit_platform: string;
};
/**
* @description copy keys for network not supported view
* @default
* {
button: 'Switch Network',
subtitle: 'Your wallet is not connected to a supported network. Please update before continuing.',
title: 'Update Network',
warning_message: 'This network is not available, please update.',
}
*/
dyn_network_not_supported: {
button: string;
subtitle: string;
title: string;
warning_message: string;
wallet: string;
};
/**
* @description copy keys for network not supported view for manual switch
* @default
* {
subtitle_network_defined_metamaskstarknet:
'To continue, please update the network in your wallet to {{network}} by visiting the Starknet Snap companion app',
subtitle_network_defined_metamaskstarknet_companion_app: 'companion app',
subtitle_network_defined: 'To continue, please update the network in your wallet to {{network}}',
subtitle_no_network_defined: 'Your wallet does not support switching networks from this app. Switch networks directly in your wallet.',
title: 'Update your Network',
warning_message: 'This network is not available, please update.',
}
*/
dyn_network_not_supported_manual_switch: {
subtitle_network_defined_metamaskstarknet: string;
subtitle_network_defined_metamaskstarknet_companion_app: string;
subtitle_network_defined: string;
subtitle_no_network_defined: string;
title: string;
warning_message: string;
};
/**
* @description copy keys for no access view
* @default
* {
chainalysis: {
button_text: 'Try another method',
description: 'This wallet has been correlated to illicit activity and cannot access this site.',
social_media_link_text: 'Why am I seeing this message?',
social_media_link_url: 'https://docs.dynamic.xyz/docs',
title: 'This address seems corrupted.',
},
default: {
button_text: 'Try another method',
description: "You are not currently on the allow list.",
title: 'Access denied',
},
gate: {
button_text: 'Try a different wallet',
description: 'A NFT or a token is required to access this site.',
title: 'You cannot access the site',
},
not_in_the_list_image_alt: 'user is not in the list',
title: "You don't have access",
}
*/
dyn_no_access: {
chainalysis: {
button_text: string;
description: string;
social_media_link_text: string;
social_media_link_url: string;
title: string;
};
default: {
button_text: string;
description: string;
title: string;
};
gate: {
button_text: string;
description: string;
title: string;
};
not_in_the_list_image_alt: string;
title: string;
};
/**
* @description copy keys for email OTP verification for magiclink
* @default
* {
banner_text: 'Sign in to access your email based wallet',
}
*/
dyn_magic_verification: {
banner_text: string;
};
/**
* @description copy key for passkey created success banner
* @default
* {
text: 'A new passkey has been created',
}
*/
dyn_passkey_success: {
created: string;
edited: string;
};
/**
* @description copy keys for passkey intro view
* @default
* {
button: 'Set up a passkey',
button_logout: 'Log out',
button_skip: 'Skip for now',
disabled: 'Passkeys are not available on this device or browser. Please open on Chrome, Safari, or Brave to continue',
helper: {
section_1: {
description: 'Passkeys are a standard built by Apple, Google and others, and eliminates the use of passwords.',
title: 'Built by Apple and Google',
},
section_2: {
description: 'Passkeys are stored on your phone and are not shared with anyone.',
title: 'Secure and Private',
},
title: "What's Passkey",
tooltip: 'Need some help?',
},
sms_auth: {
title: 'Finish set up',
description:
'Add a security method to finish your profile and complete transactions',
},
subtitle: 'Passkeys are stored natively to your device with a biometric and can only be accessed by you.',
title: 'Secure your wallet',
}
*/
dyn_passkey_intro: {
button: string;
button_logout: string;
button_skip: string;
disabled: string;
helper: {
section_1: {
description: string;
title: string;
};
section_2: {
description: string;
title: string;
};
title: string;
tooltip: string;
};
sms_auth: {
title: string;
description: string;
};
subtitle: string;
title: string;
};
/**
* @description copy keys for passkey new domain detected modal
* @default
* {
title: 'New domain detected',
description: 'To complete your transaction select a signing method',
actions: {
passkey: {
title: 'Add new passkey',
subtitle: 'Does not expire. Works across devices & secured with biometric.',
},
emailAuth: {
title: 'Use a one-time code',
subtitle: 'Allows you to transact for 30 min',
},
badges: {
recommended: 'Recommended',
fastest: 'Fastest',
},
},
}
*/
dyn_passkey_new_domain_detected: {
title: string;
description: string;
actions: {
passkey: {
title: string;
subtitle: string;
};
emailAuth: {
title: string;
subtitle: string;
};
badges: {
recommended: string;
fastest: string;
};
};
};
/**
* @description copy keys for passkeys recovery flow
* @default
* {
add_email: {
description:
'Don’t get locked out if you delete your passkey or lose your device.',
input_label: 'Enter your email',
title: 'Add a recovery email',
confirm_button: 'Confirm with a passkey',
skip_button: 'Skip for now',
success_message: 'Recovery email added!',
},
code: {
description: 'A verification code has been sent to {{email}}',
input_label: 'Enter your code here...',
title: 'Verification code sent',
resend: {
button: 'Resend code',
text: "Didn't receive a code?",
},
},
complete: {
complete_button: 'Create a passkey',
description: 'Secure your wallet by adding a new passkey.',
title: 'Create a new passkey',
},
start: {
description:
'To complete this process, ensure you are using the same device/browser.',
start_button: 'Send me an email',
title: 'Initiate Request',
},
}
*/
dyn_passkey_recovery: {
add_email: {
description: string;
input_label: string;
title: string;
confirm_button: string;
skip_button: string;
success_message: string;
};
code: {
description: string;
input_label: string;
title: string;
resend: {
button: string;
text: string;
};
};
complete: {
complete_button: string;
description: string;
title: string;
};
start: {
description: string;
start_button: