@particle-network/connectkit
Version:
323 lines (320 loc) • 12 kB
JavaScript
"use client";
import {
__esm
} from "./chunk-Y7A564BU.mjs";
// src/locales/en-US.json
var connectWallet, disconnect, connected, preferPhone, preferEmail, usePhone, useEmail, signupTitle, connectorsTitle, captchaTitle, walletconnectTitle, selectChainTitle, viewAllWallets, continueWithWallet, connectingUnavailable, connectingUnavailableDesc, connectingInstall, connectingInstallDesc, connectingRequest, connectingRequestDesc, connectingConnected, connectingConnectedDesc, connectingRejected, connectingRejectedDesc, connectingFailed, connectingFailedDesc, connectingNotconnected, connectingNotconnectedDesc, phoneNumber, email, enterEmail, enterValidEmail, unknownError, verificationCode, incorrectCode, continue2, didNotReceiveCode, resendCode, enterValidPhoneNumber, somethingWentWrong, somethingWentWrongLater, emailFormatError, invalidOrIncorrectNumber, recommended, popular, installed, lastUsed, multichain, enterPhoneNumber, copied, linkLoginAccount, accountAndSecurity, copyQRURI, getWallet, scanQRCode, connect, installToConnect, selectPreferredOptions, installExtension, refreshPageOnceInstalled, walletSupportsMultipleChains, selectChainToConnect, scanWithPhone, connectingRequestAuthDesc, or, walletOnlyAvailableOnMobile, installBrowserFirst, wallet, buy, switchNetwork, noData, receive, send, onlySupport, copyAddress, searchByNameOrCode, invalidOrIncorrectNumberMistype, networkError, invalidCode, codeDeleted, sessionExpired, loginWithPasskey, usePasskeyToLogin, usePasskeyToLoginSmartAccount, createNewPasskey, gotWallet, requestingPasskey, passkeyPrompt, setupPasskeyPrompt, requestCancelled, tryAgain, setupPasskey, passkeyStorageInfo, passkeyDeletionWarning, convenientAndFast, biometricTransactionInfo, increasedSecurity, passkeySecurityInfo, continueWithSmartWalletPasskey, connectingPasskeyUnavailable, connectingPasskeyUnavailableDesc, en_US_default;
var init_en_US = __esm({
"src/locales/en-US.json"() {
connectWallet = "Connect Wallet";
disconnect = "Disconnect";
connected = "Connected";
preferPhone = "Prefer to use a phone number?";
preferEmail = "Prefer to use an email?";
usePhone = "Use phone";
useEmail = "Use email";
signupTitle = "Log in or sign up";
connectorsTitle = "Log in or sign up";
captchaTitle = "Confirm verification code";
walletconnectTitle = "Connect";
selectChainTitle = "Select Chain";
viewAllWallets = "View all wallets";
continueWithWallet = "Continue with a wallet";
connectingUnavailable = "Unsupported Browser";
connectingUnavailableDesc = "To connect your {0} wallet,\ninstall the extension on {0}.";
connectingInstall = "Install {0}";
connectingInstallDesc = "To connect your {0} wallet,\ninstall the browser extension.";
connectingRequest = "Requesting Connection";
connectingRequestDesc = "Click connect in your wallet popup.";
connectingConnected = "Already Connected";
connectingConnectedDesc = "It is now okay to close this popup";
connectingRejected = "Request Cancelled";
connectingRejectedDesc = "You cancelled the request.\nClick above to try again.";
connectingFailed = "Request Failed";
connectingFailedDesc = "Something went wrong. \nClick above to try again later.";
connectingNotconnected = "Login to {0}";
connectingNotconnectedDesc = "To continue, please login to your {0} extension.";
phoneNumber = "Phone Number";
email = "Email";
enterEmail = "Please enter your email address.";
enterValidEmail = "Please enter a valid email address.";
unknownError = "An unknown error occurred";
verificationCode = "We've sent a verification code to";
incorrectCode = "The code you entered is incorrect. Please try again.";
continue2 = "Continue";
didNotReceiveCode = "Did not receive your code yet?";
resendCode = "Re-send code";
enterValidPhoneNumber = "Please enter a valid phone number";
somethingWentWrong = "Something went wrong. Please try again.";
somethingWentWrongLater = "Something went wrong. Please try again later.";
emailFormatError = "Email format error.";
invalidOrIncorrectNumber = "Invalid or incorrect number. Please try again.";
recommended = "Recommended";
popular = "Popular";
installed = "Installed";
lastUsed = "Last Used";
multichain = "Multichain";
enterPhoneNumber = "Please enter your phone number";
copied = "Copied";
linkLoginAccount = "Link Login Account";
accountAndSecurity = "Account and Security";
copyQRURI = "Copy QR URI";
getWallet = "Get Wallet";
scanQRCode = "Scan this QR code from your mobile wallet or phone's camera to connect.";
connect = "Connect";
installToConnect = "Install {0} to connect";
selectPreferredOptions = "Select from your preferred options below:";
installExtension = "Install {0} extension";
refreshPageOnceInstalled = "Please refresh the page once installed.";
walletSupportsMultipleChains = "This wallet supports multiple chains.";
selectChainToConnect = "Select which chain you'd like to connect to.";
scanWithPhone = "Scan with phone";
connectingRequestAuthDesc = "Log in and grant permissions.";
or = "OR";
walletOnlyAvailableOnMobile = "This wallet is only available on mobile. Scan this QR code from your mobile phone to download this app.";
installBrowserFirst = "You need to Install {0} Browser first and then use {1} Wallet.";
wallet = "Wallet";
buy = "Buy";
switchNetwork = "Switch Network";
noData = "No data";
receive = "Receive";
send = "Send";
onlySupport = "Only support {0} related assets";
copyAddress = "Copy Address";
searchByNameOrCode = "Search by country name or code";
invalidOrIncorrectNumberMistype = "Invalid or incorrect number. Did you mistype it?";
networkError = "Network error, please try again";
invalidCode = "Invalid code";
codeDeleted = "Code has expired. Please send it again.";
sessionExpired = "Your session has expired, please login again to continue.";
loginWithPasskey = "Log in with passkey";
usePasskeyToLogin = "Passkey Smart Wallet";
usePasskeyToLoginSmartAccount = "Use a passkey to create or access a Smart Wallet.";
createNewPasskey = "Create a Passkey Smart Wallet";
gotWallet = "Log in with passkey";
requestingPasskey = "Requesting Connection";
passkeyPrompt = "Follow the prompts to verify your passkey.";
setupPasskeyPrompt = "Follow the prompts to set up a passkey.";
requestCancelled = "You cancelled the request.\nClick above to try again.";
tryAgain = "Try Again";
setupPasskey = "Set up a passkey";
passkeyStorageInfo = "Passkeys are stored in your device and can only be accessed by you.";
passkeyDeletionWarning = "WARNING: Please avoid bulk clean-ups and passkey deletions to avoid accidental deletion.";
convenientAndFast = "Fast and convenient";
biometricTransactionInfo = "Use Face ID or Touch ID to quickly authenticate transactions.";
increasedSecurity = "Increased security";
passkeySecurityInfo = "Passkeys are end-to-end encrypted in your device or password manager to prevent phishing attempts.";
continueWithSmartWalletPasskey = "Continue with Passkey Smart Wallet";
connectingPasskeyUnavailable = "Request Failed";
connectingPasskeyUnavailableDesc = "Passkey is not available here. Please try another login method or change devices (e.g.browser, terminal).";
en_US_default = {
connectWallet,
disconnect,
connected,
preferPhone,
preferEmail,
usePhone,
useEmail,
signupTitle,
connectorsTitle,
captchaTitle,
walletconnectTitle,
selectChainTitle,
viewAllWallets,
continueWithWallet,
connectingUnavailable,
connectingUnavailableDesc,
connectingInstall,
connectingInstallDesc,
connectingRequest,
connectingRequestDesc,
connectingConnected,
connectingConnectedDesc,
connectingRejected,
connectingRejectedDesc,
connectingFailed,
connectingFailedDesc,
connectingNotconnected,
connectingNotconnectedDesc,
phoneNumber,
email,
enterEmail,
enterValidEmail,
unknownError,
verificationCode,
incorrectCode,
continue: continue2,
didNotReceiveCode,
resendCode,
enterValidPhoneNumber,
somethingWentWrong,
somethingWentWrongLater,
emailFormatError,
invalidOrIncorrectNumber,
recommended,
popular,
installed,
lastUsed,
multichain,
enterPhoneNumber,
copied,
linkLoginAccount,
accountAndSecurity,
copyQRURI,
getWallet,
scanQRCode,
connect,
installToConnect,
selectPreferredOptions,
installExtension,
refreshPageOnceInstalled,
walletSupportsMultipleChains,
selectChainToConnect,
scanWithPhone,
connectingRequestAuthDesc,
or,
walletOnlyAvailableOnMobile,
installBrowserFirst,
wallet,
buy,
switchNetwork,
noData,
receive,
send,
onlySupport,
copyAddress,
searchByNameOrCode,
invalidOrIncorrectNumberMistype,
networkError,
invalidCode,
codeDeleted,
sessionExpired,
loginWithPasskey,
usePasskeyToLogin,
usePasskeyToLoginSmartAccount,
createNewPasskey,
gotWallet,
requestingPasskey,
passkeyPrompt,
setupPasskeyPrompt,
requestCancelled,
tryAgain,
setupPasskey,
passkeyStorageInfo,
passkeyDeletionWarning,
convenientAndFast,
biometricTransactionInfo,
increasedSecurity,
passkeySecurityInfo,
continueWithSmartWalletPasskey,
connectingPasskeyUnavailable,
connectingPasskeyUnavailableDesc
};
}
});
export {
init_en_US,
connectWallet,
disconnect,
connected,
preferPhone,
preferEmail,
usePhone,
useEmail,
signupTitle,
connectorsTitle,
captchaTitle,
walletconnectTitle,
selectChainTitle,
viewAllWallets,
continueWithWallet,
connectingUnavailable,
connectingUnavailableDesc,
connectingInstall,
connectingInstallDesc,
connectingRequest,
connectingRequestDesc,
connectingConnected,
connectingConnectedDesc,
connectingRejected,
connectingRejectedDesc,
connectingFailed,
connectingFailedDesc,
connectingNotconnected,
connectingNotconnectedDesc,
phoneNumber,
email,
enterEmail,
enterValidEmail,
unknownError,
verificationCode,
incorrectCode,
continue2 as continue,
didNotReceiveCode,
resendCode,
enterValidPhoneNumber,
somethingWentWrong,
somethingWentWrongLater,
emailFormatError,
invalidOrIncorrectNumber,
recommended,
popular,
installed,
lastUsed,
multichain,
enterPhoneNumber,
copied,
linkLoginAccount,
accountAndSecurity,
copyQRURI,
getWallet,
scanQRCode,
connect,
installToConnect,
selectPreferredOptions,
installExtension,
refreshPageOnceInstalled,
walletSupportsMultipleChains,
selectChainToConnect,
scanWithPhone,
connectingRequestAuthDesc,
or,
walletOnlyAvailableOnMobile,
installBrowserFirst,
wallet,
buy,
switchNetwork,
noData,
receive,
send,
onlySupport,
copyAddress,
searchByNameOrCode,
invalidOrIncorrectNumberMistype,
networkError,
invalidCode,
codeDeleted,
sessionExpired,
loginWithPasskey,
usePasskeyToLogin,
usePasskeyToLoginSmartAccount,
createNewPasskey,
gotWallet,
requestingPasskey,
passkeyPrompt,
setupPasskeyPrompt,
requestCancelled,
tryAgain,
setupPasskey,
passkeyStorageInfo,
passkeyDeletionWarning,
convenientAndFast,
biometricTransactionInfo,
increasedSecurity,
passkeySecurityInfo,
continueWithSmartWalletPasskey,
connectingPasskeyUnavailable,
connectingPasskeyUnavailableDesc,
en_US_default
};
//# sourceMappingURL=chunk-TVDFKXAV.mjs.map