@dynamic-labs/sdk-react-core 1.1.0-alpha.1 → 1.1.0-alpha.2
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 +7 -0
- package/package.cjs +2 -2
- package/package.js +2 -2
- package/package.json +11 -11
- package/src/lib/components/CopyButton/CopyButton.d.ts +2 -1
- package/src/lib/locale/en/translation.cjs +118 -1
- package/src/lib/locale/en/translation.d.ts +118 -1
- package/src/lib/locale/en/translation.js +118 -1
- package/src/lib/shared/utils/functions/chain/getChainIcon.cjs +1 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.js +2 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +3 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +3 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +3 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +3 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.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/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/SocialWrongAccountView/SocialWrongAccountView.cjs +4 -3
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +4 -3
- 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/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
## [1.1.0-alpha.2](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.1...v1.1.0-alpha.2) (2023-12-18)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* increase timeout when fetching wallet network ([#4197](https://github.com/dynamic-labs/DynamicAuth/issues/4197)) ([bd43d45](https://github.com/dynamic-labs/DynamicAuth/commit/bd43d452dccf36f68bd012e5737480599b93c3b5))
|
|
8
|
+
|
|
2
9
|
## [1.1.0-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.0...v1.1.0-alpha.1) (2023-12-15)
|
|
3
10
|
|
|
4
11
|
## [1.1.0-alpha.0](https://github.com/dynamic-labs/DynamicAuth/compare/v1.0.0-alpha.14...v1.1.0-alpha.0) (2023-12-12)
|
package/package.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var version = "1.1.0-alpha.
|
|
5
|
+
var version = "1.1.0-alpha.2";
|
|
6
6
|
var dependencies = {
|
|
7
|
-
"@dynamic-labs/iconic": "0.1.
|
|
7
|
+
"@dynamic-labs/iconic": "0.1.47",
|
|
8
8
|
"@dynamic-labs/sdk-api": "0.0.330",
|
|
9
9
|
"@hcaptcha/react-hcaptcha": "1.4.4",
|
|
10
10
|
"country-list": "2.3.0",
|
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "1.1.0-alpha.
|
|
3
|
+
"version": "1.1.0-alpha.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
7
7
|
"directory": "packages/sdk-react-core"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@dynamic-labs/iconic": "0.1.
|
|
10
|
+
"@dynamic-labs/iconic": "0.1.47",
|
|
11
11
|
"@dynamic-labs/sdk-api": "0.0.330",
|
|
12
12
|
"@hcaptcha/react-hcaptcha": "1.4.4",
|
|
13
13
|
"country-list": "2.3.0",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"react-focus-lock": "2.9.2",
|
|
18
18
|
"react-i18next": "^13.2.0",
|
|
19
19
|
"yup": "0.32.11",
|
|
20
|
-
"@dynamic-labs/ethereum": "1.1.0-alpha.
|
|
21
|
-
"@dynamic-labs/logger": "1.1.0-alpha.
|
|
22
|
-
"@dynamic-labs/multi-wallet": "1.1.0-alpha.
|
|
23
|
-
"@dynamic-labs/rpc-providers": "1.1.0-alpha.
|
|
24
|
-
"@dynamic-labs/types": "1.1.0-alpha.
|
|
25
|
-
"@dynamic-labs/utils": "1.1.0-alpha.
|
|
26
|
-
"@dynamic-labs/viem-utils": "1.1.0-alpha.
|
|
27
|
-
"@dynamic-labs/wallet-book": "1.1.0-alpha.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "1.1.0-alpha.
|
|
20
|
+
"@dynamic-labs/ethereum": "1.1.0-alpha.2",
|
|
21
|
+
"@dynamic-labs/logger": "1.1.0-alpha.2",
|
|
22
|
+
"@dynamic-labs/multi-wallet": "1.1.0-alpha.2",
|
|
23
|
+
"@dynamic-labs/rpc-providers": "1.1.0-alpha.2",
|
|
24
|
+
"@dynamic-labs/types": "1.1.0-alpha.2",
|
|
25
|
+
"@dynamic-labs/utils": "1.1.0-alpha.2",
|
|
26
|
+
"@dynamic-labs/viem-utils": "1.1.0-alpha.2",
|
|
27
|
+
"@dynamic-labs/wallet-book": "1.1.0-alpha.2",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "1.1.0-alpha.2",
|
|
29
29
|
"eventemitter3": "5.0.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { CopyKey } from '../../..';
|
|
2
3
|
type Props = ComponentPropsWithoutRef<'button'> & {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
className?: string;
|
|
5
6
|
onClick?: VoidFunction;
|
|
6
7
|
textToCopy: string;
|
|
7
8
|
};
|
|
8
|
-
export declare const CopyButton: ({ children, className, textToCopy, onClick, }: Props) => JSX.Element;
|
|
9
|
+
export declare const CopyButton: ({ children, className, textToCopy, onClick, }: Props & CopyKey) => JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -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?',
|
|
@@ -557,7 +591,7 @@ const translation = {
|
|
|
557
591
|
'To complete this process, ensure you are using the same device/browser.',
|
|
558
592
|
start_button: 'Send me an email',
|
|
559
593
|
title: 'Initiate Request',
|
|
560
|
-
}
|
|
594
|
+
},
|
|
561
595
|
}
|
|
562
596
|
*/
|
|
563
597
|
dyn_passkey_recovery: {
|
|
@@ -581,6 +615,80 @@ const translation = {
|
|
|
581
615
|
title: 'Initiate Request',
|
|
582
616
|
},
|
|
583
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
|
+
},
|
|
584
692
|
/**
|
|
585
693
|
* @description copy keys for passkeys creation flow for existent embedded wallets
|
|
586
694
|
* @default
|
|
@@ -934,12 +1042,21 @@ const translation = {
|
|
|
934
1042
|
* @default
|
|
935
1043
|
* {
|
|
936
1044
|
sign: {
|
|
1045
|
+
spinner: {
|
|
1046
|
+
cancel: 'Cancel',
|
|
1047
|
+
confirm_transfer:
|
|
1048
|
+
'Sign the message to confirm transferring this wallet to this account.',
|
|
1049
|
+
},
|
|
937
1050
|
title: 'Sign to confirm transfer',
|
|
938
1051
|
},
|
|
939
1052
|
}
|
|
940
1053
|
*/
|
|
941
1054
|
dyn_wallet_transfer: {
|
|
942
1055
|
sign: {
|
|
1056
|
+
spinner: {
|
|
1057
|
+
cancel: 'Cancel',
|
|
1058
|
+
confirm_transfer: 'Sign the message to confirm transferring this wallet to this account.',
|
|
1059
|
+
},
|
|
943
1060
|
title: 'Sign to confirm transfer',
|
|
944
1061
|
},
|
|
945
1062
|
},
|
|
@@ -53,6 +53,18 @@ export declare const translation: {
|
|
|
53
53
|
title: string;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* @description copy keys for Dynamic Captcha
|
|
58
|
+
* @default
|
|
59
|
+
* {
|
|
60
|
+
verify_user_subtitle: 'We need to quickly verify you’re human before we proceed.',
|
|
61
|
+
verify_user_title: "Let's verify you're human",
|
|
62
|
+
}
|
|
63
|
+
*/
|
|
64
|
+
dyn_captcha: {
|
|
65
|
+
verify_user_subtitle: string;
|
|
66
|
+
verify_user_title: string;
|
|
67
|
+
};
|
|
56
68
|
/**
|
|
57
69
|
* @description copy keys for chainalysis blocked wallet view
|
|
58
70
|
* @default
|
|
@@ -113,6 +125,8 @@ export declare const translation: {
|
|
|
113
125
|
error_message: 'This network is not available, please update.',
|
|
114
126
|
title: 'Update Network',
|
|
115
127
|
},
|
|
128
|
+
update_email_tooltip:
|
|
129
|
+
'This email is tied to your wallet so cannot be updated',
|
|
116
130
|
}
|
|
117
131
|
*/
|
|
118
132
|
dyn_collect_user_data: {
|
|
@@ -162,6 +176,7 @@ export declare const translation: {
|
|
|
162
176
|
error_message: string;
|
|
163
177
|
title: string;
|
|
164
178
|
};
|
|
179
|
+
update_email_tooltip: string;
|
|
165
180
|
};
|
|
166
181
|
/**
|
|
167
182
|
* @description copy keys for email verification view after email logging in with magiclink
|
|
@@ -265,6 +280,12 @@ export declare const translation: {
|
|
|
265
280
|
wallet_list: {
|
|
266
281
|
button_only: 'Continue with a wallet',
|
|
267
282
|
},
|
|
283
|
+
wrong_social_account: {
|
|
284
|
+
retry_button: 'Try again',
|
|
285
|
+
retry_title: 'Please connect with: ',
|
|
286
|
+
subtitle: 'You must connect with the same account you originally signed in with.',
|
|
287
|
+
title: 'Whoops. Wrong Account',
|
|
288
|
+
},
|
|
268
289
|
}
|
|
269
290
|
*/
|
|
270
291
|
dyn_login: {
|
|
@@ -310,6 +331,12 @@ export declare const translation: {
|
|
|
310
331
|
wallet_list: {
|
|
311
332
|
button_only: string;
|
|
312
333
|
};
|
|
334
|
+
wrong_social_account: {
|
|
335
|
+
retry_button: string;
|
|
336
|
+
retry_title: string;
|
|
337
|
+
subtitle: string;
|
|
338
|
+
title: string;
|
|
339
|
+
};
|
|
313
340
|
};
|
|
314
341
|
/**
|
|
315
342
|
* @description copy keys for Dynamic manage passkeys view which are used inside dynamic widget
|
|
@@ -351,14 +378,21 @@ export declare const translation: {
|
|
|
351
378
|
* {
|
|
352
379
|
cancel_button: "No, I'll use a different email",
|
|
353
380
|
confirm_button: 'Yes, link to existing account',
|
|
381
|
+
errors: {
|
|
382
|
+
merge_error: 'Something went wrong, please try again.',
|
|
383
|
+
},
|
|
354
384
|
existing_account: 'An account already exists that uses',
|
|
355
385
|
existing_account_trail: 'email.',
|
|
356
386
|
title: 'Would you like to link this wallet to this existing account?',
|
|
387
|
+
},
|
|
357
388
|
}
|
|
358
389
|
*/
|
|
359
390
|
dyn_merge_user_accounts: {
|
|
360
391
|
cancel_button: string;
|
|
361
392
|
confirm_button: string;
|
|
393
|
+
errors: {
|
|
394
|
+
merge_error: string;
|
|
395
|
+
};
|
|
362
396
|
existing_account: string;
|
|
363
397
|
existing_account_trail: string;
|
|
364
398
|
title: string;
|
|
@@ -552,7 +586,7 @@ export declare const translation: {
|
|
|
552
586
|
'To complete this process, ensure you are using the same device/browser.',
|
|
553
587
|
start_button: 'Send me an email',
|
|
554
588
|
title: 'Initiate Request',
|
|
555
|
-
}
|
|
589
|
+
},
|
|
556
590
|
}
|
|
557
591
|
*/
|
|
558
592
|
dyn_passkey_recovery: {
|
|
@@ -576,6 +610,80 @@ export declare const translation: {
|
|
|
576
610
|
title: string;
|
|
577
611
|
};
|
|
578
612
|
};
|
|
613
|
+
/**
|
|
614
|
+
* @description copy keys for Dynamic pending wallet connection
|
|
615
|
+
* @default
|
|
616
|
+
* {
|
|
617
|
+
mobile: 'Click connect in your mobile wallet',
|
|
618
|
+
computer: 'Click connect in your wallet popup',
|
|
619
|
+
}
|
|
620
|
+
*/
|
|
621
|
+
dyn_pending_connection: {
|
|
622
|
+
mobile: string;
|
|
623
|
+
computer: string;
|
|
624
|
+
};
|
|
625
|
+
/**
|
|
626
|
+
* @description copy keys for Dynamic pending signature, we have overrides for phantom ledger which does not support message signing.
|
|
627
|
+
* @default
|
|
628
|
+
* {
|
|
629
|
+
click_to_sign: 'Click to Sign',
|
|
630
|
+
note: 'Note: ',
|
|
631
|
+
phantom_ledger_sign: "Click sign in your wallet to confirm you own this wallet (this doesn't cost gas).",
|
|
632
|
+
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.",
|
|
633
|
+
regular_sign_description: 'Click sign-in in your wallet to confirm you own this wallet.',
|
|
634
|
+
}
|
|
635
|
+
*/
|
|
636
|
+
dyn_pending_signature: {
|
|
637
|
+
click_to_sign: string;
|
|
638
|
+
note: string;
|
|
639
|
+
phantom_ledger_sign: string;
|
|
640
|
+
phantom_ledger_warning: string;
|
|
641
|
+
regular_sign_description: string;
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* @description copy keys for Dynamic QR code Wallet Connection Pop-Up
|
|
645
|
+
* @default
|
|
646
|
+
* {
|
|
647
|
+
copy_button: 'Copy QR URI',
|
|
648
|
+
open_button: 'Open {{wallet}} App',
|
|
649
|
+
scan_title: "Scan this QR code from your mobile wallet or phone's camera to connect.",
|
|
650
|
+
wallet_not_installed: {
|
|
651
|
+
browser_install: 'Install {{browser}} extension',
|
|
652
|
+
install: 'Install {{wallet}} extension to connect',
|
|
653
|
+
refresh: 'Refresh the page once installed',
|
|
654
|
+
select: 'Select from your preferred options below:',
|
|
655
|
+
},
|
|
656
|
+
}
|
|
657
|
+
*/
|
|
658
|
+
dyn_qr_code: {
|
|
659
|
+
copy_button: string;
|
|
660
|
+
open_button: string;
|
|
661
|
+
scan_title: string;
|
|
662
|
+
wallet_not_installed: {
|
|
663
|
+
browser_install: string;
|
|
664
|
+
install: string;
|
|
665
|
+
refresh: string;
|
|
666
|
+
select: string;
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
/**
|
|
670
|
+
* @description copy keys for Dynamic wallet locked/disconnected
|
|
671
|
+
* @default
|
|
672
|
+
* {
|
|
673
|
+
connect_continue: 'Connect your wallet to continue',
|
|
674
|
+
title: 'Welcome back',
|
|
675
|
+
subtitle: "We couldn't connect to your wallet. Click connect to retry the connection ",
|
|
676
|
+
connect: 'Connect wallet',
|
|
677
|
+
logout: 'Log out',
|
|
678
|
+
}
|
|
679
|
+
*/
|
|
680
|
+
dyn_wallet_locked: {
|
|
681
|
+
connect_continue: string;
|
|
682
|
+
title: string;
|
|
683
|
+
subtitle: string;
|
|
684
|
+
connect: string;
|
|
685
|
+
logout: string;
|
|
686
|
+
};
|
|
579
687
|
/**
|
|
580
688
|
* @description copy keys for passkeys creation flow for existent embedded wallets
|
|
581
689
|
* @default
|
|
@@ -929,12 +1037,21 @@ export declare const translation: {
|
|
|
929
1037
|
* @default
|
|
930
1038
|
* {
|
|
931
1039
|
sign: {
|
|
1040
|
+
spinner: {
|
|
1041
|
+
cancel: 'Cancel',
|
|
1042
|
+
confirm_transfer:
|
|
1043
|
+
'Sign the message to confirm transferring this wallet to this account.',
|
|
1044
|
+
},
|
|
932
1045
|
title: 'Sign to confirm transfer',
|
|
933
1046
|
},
|
|
934
1047
|
}
|
|
935
1048
|
*/
|
|
936
1049
|
dyn_wallet_transfer: {
|
|
937
1050
|
sign: {
|
|
1051
|
+
spinner: {
|
|
1052
|
+
cancel: string;
|
|
1053
|
+
confirm_transfer: string;
|
|
1054
|
+
};
|
|
938
1055
|
title: string;
|
|
939
1056
|
};
|
|
940
1057
|
};
|
|
@@ -54,6 +54,18 @@ const translation = {
|
|
|
54
54
|
title: 'Connect to {{appName}}',
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
|
+
/**
|
|
58
|
+
* @description copy keys for Dynamic Captcha
|
|
59
|
+
* @default
|
|
60
|
+
* {
|
|
61
|
+
verify_user_subtitle: 'We need to quickly verify you’re human before we proceed.',
|
|
62
|
+
verify_user_title: "Let's verify you're human",
|
|
63
|
+
}
|
|
64
|
+
*/
|
|
65
|
+
dyn_captcha: {
|
|
66
|
+
verify_user_subtitle: 'We need to quickly verify you’re human before we proceed.',
|
|
67
|
+
verify_user_title: "Let's verify you're human",
|
|
68
|
+
},
|
|
57
69
|
/**
|
|
58
70
|
* @description copy keys for chainalysis blocked wallet view
|
|
59
71
|
* @default
|
|
@@ -114,6 +126,8 @@ const translation = {
|
|
|
114
126
|
error_message: 'This network is not available, please update.',
|
|
115
127
|
title: 'Update Network',
|
|
116
128
|
},
|
|
129
|
+
update_email_tooltip:
|
|
130
|
+
'This email is tied to your wallet so cannot be updated',
|
|
117
131
|
}
|
|
118
132
|
*/
|
|
119
133
|
dyn_collect_user_data: {
|
|
@@ -163,6 +177,7 @@ const translation = {
|
|
|
163
177
|
error_message: 'This network is not available, please update.',
|
|
164
178
|
title: 'Update Network',
|
|
165
179
|
},
|
|
180
|
+
update_email_tooltip: 'This email is tied to your wallet so cannot be updated',
|
|
166
181
|
},
|
|
167
182
|
/**
|
|
168
183
|
* @description copy keys for email verification view after email logging in with magiclink
|
|
@@ -266,6 +281,12 @@ const translation = {
|
|
|
266
281
|
wallet_list: {
|
|
267
282
|
button_only: 'Continue with a wallet',
|
|
268
283
|
},
|
|
284
|
+
wrong_social_account: {
|
|
285
|
+
retry_button: 'Try again',
|
|
286
|
+
retry_title: 'Please connect with: ',
|
|
287
|
+
subtitle: 'You must connect with the same account you originally signed in with.',
|
|
288
|
+
title: 'Whoops. Wrong Account',
|
|
289
|
+
},
|
|
269
290
|
}
|
|
270
291
|
*/
|
|
271
292
|
dyn_login: {
|
|
@@ -311,6 +332,12 @@ const translation = {
|
|
|
311
332
|
wallet_list: {
|
|
312
333
|
button_only: 'Continue with a wallet',
|
|
313
334
|
},
|
|
335
|
+
wrong_social_account: {
|
|
336
|
+
retry_button: 'Try again',
|
|
337
|
+
retry_title: 'Please connect with: ',
|
|
338
|
+
subtitle: 'You must connect with the same account you originally signed in with.',
|
|
339
|
+
title: 'Whoops. Wrong Account',
|
|
340
|
+
},
|
|
314
341
|
},
|
|
315
342
|
/**
|
|
316
343
|
* @description copy keys for Dynamic manage passkeys view which are used inside dynamic widget
|
|
@@ -352,14 +379,21 @@ const translation = {
|
|
|
352
379
|
* {
|
|
353
380
|
cancel_button: "No, I'll use a different email",
|
|
354
381
|
confirm_button: 'Yes, link to existing account',
|
|
382
|
+
errors: {
|
|
383
|
+
merge_error: 'Something went wrong, please try again.',
|
|
384
|
+
},
|
|
355
385
|
existing_account: 'An account already exists that uses',
|
|
356
386
|
existing_account_trail: 'email.',
|
|
357
387
|
title: 'Would you like to link this wallet to this existing account?',
|
|
388
|
+
},
|
|
358
389
|
}
|
|
359
390
|
*/
|
|
360
391
|
dyn_merge_user_accounts: {
|
|
361
392
|
cancel_button: "No, I'll use a different email",
|
|
362
393
|
confirm_button: 'Yes, link to existing account',
|
|
394
|
+
errors: {
|
|
395
|
+
merge_error: 'Something went wrong, please try again.',
|
|
396
|
+
},
|
|
363
397
|
existing_account: 'An account already exists that uses',
|
|
364
398
|
existing_account_trail: 'email.',
|
|
365
399
|
title: 'Would you like to link this wallet to this existing account?',
|
|
@@ -553,7 +587,7 @@ const translation = {
|
|
|
553
587
|
'To complete this process, ensure you are using the same device/browser.',
|
|
554
588
|
start_button: 'Send me an email',
|
|
555
589
|
title: 'Initiate Request',
|
|
556
|
-
}
|
|
590
|
+
},
|
|
557
591
|
}
|
|
558
592
|
*/
|
|
559
593
|
dyn_passkey_recovery: {
|
|
@@ -577,6 +611,80 @@ const translation = {
|
|
|
577
611
|
title: 'Initiate Request',
|
|
578
612
|
},
|
|
579
613
|
},
|
|
614
|
+
/**
|
|
615
|
+
* @description copy keys for Dynamic pending wallet connection
|
|
616
|
+
* @default
|
|
617
|
+
* {
|
|
618
|
+
mobile: 'Click connect in your mobile wallet',
|
|
619
|
+
computer: 'Click connect in your wallet popup',
|
|
620
|
+
}
|
|
621
|
+
*/
|
|
622
|
+
dyn_pending_connection: {
|
|
623
|
+
mobile: 'Click connect in your mobile wallet',
|
|
624
|
+
computer: 'Click connect in your wallet popup',
|
|
625
|
+
},
|
|
626
|
+
/**
|
|
627
|
+
* @description copy keys for Dynamic pending signature, we have overrides for phantom ledger which does not support message signing.
|
|
628
|
+
* @default
|
|
629
|
+
* {
|
|
630
|
+
click_to_sign: 'Click to Sign',
|
|
631
|
+
note: 'Note: ',
|
|
632
|
+
phantom_ledger_sign: "Click sign in your wallet to confirm you own this wallet (this doesn't cost gas).",
|
|
633
|
+
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.",
|
|
634
|
+
regular_sign_description: 'Click sign-in in your wallet to confirm you own this wallet.',
|
|
635
|
+
}
|
|
636
|
+
*/
|
|
637
|
+
dyn_pending_signature: {
|
|
638
|
+
click_to_sign: 'Click to Sign',
|
|
639
|
+
note: 'Note: ',
|
|
640
|
+
phantom_ledger_sign: "Click sign in your wallet to confirm you own this wallet (this doesn't cost gas).",
|
|
641
|
+
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.",
|
|
642
|
+
regular_sign_description: 'Click sign-in in your wallet to confirm you own this wallet.',
|
|
643
|
+
},
|
|
644
|
+
/**
|
|
645
|
+
* @description copy keys for Dynamic QR code Wallet Connection Pop-Up
|
|
646
|
+
* @default
|
|
647
|
+
* {
|
|
648
|
+
copy_button: 'Copy QR URI',
|
|
649
|
+
open_button: 'Open {{wallet}} App',
|
|
650
|
+
scan_title: "Scan this QR code from your mobile wallet or phone's camera to connect.",
|
|
651
|
+
wallet_not_installed: {
|
|
652
|
+
browser_install: 'Install {{browser}} extension',
|
|
653
|
+
install: 'Install {{wallet}} extension to connect',
|
|
654
|
+
refresh: 'Refresh the page once installed',
|
|
655
|
+
select: 'Select from your preferred options below:',
|
|
656
|
+
},
|
|
657
|
+
}
|
|
658
|
+
*/
|
|
659
|
+
dyn_qr_code: {
|
|
660
|
+
copy_button: 'Copy QR URI',
|
|
661
|
+
open_button: 'Open {{wallet}} App',
|
|
662
|
+
scan_title: "Scan this QR code from your mobile wallet or phone's camera to connect.",
|
|
663
|
+
wallet_not_installed: {
|
|
664
|
+
browser_install: 'Install {{browser}} extension',
|
|
665
|
+
install: 'Install {{wallet}} extension to connect',
|
|
666
|
+
refresh: 'Refresh the page once installed',
|
|
667
|
+
select: 'Select from your preferred options below:',
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
/**
|
|
671
|
+
* @description copy keys for Dynamic wallet locked/disconnected
|
|
672
|
+
* @default
|
|
673
|
+
* {
|
|
674
|
+
connect_continue: 'Connect your wallet to continue',
|
|
675
|
+
title: 'Welcome back',
|
|
676
|
+
subtitle: "We couldn't connect to your wallet. Click connect to retry the connection ",
|
|
677
|
+
connect: 'Connect wallet',
|
|
678
|
+
logout: 'Log out',
|
|
679
|
+
}
|
|
680
|
+
*/
|
|
681
|
+
dyn_wallet_locked: {
|
|
682
|
+
connect_continue: 'Connect your wallet to continue',
|
|
683
|
+
title: 'Welcome back',
|
|
684
|
+
subtitle: "We couldn't connect to your wallet. Click connect to retry the connection ",
|
|
685
|
+
connect: 'Connect wallet',
|
|
686
|
+
logout: 'Log out',
|
|
687
|
+
},
|
|
580
688
|
/**
|
|
581
689
|
* @description copy keys for passkeys creation flow for existent embedded wallets
|
|
582
690
|
* @default
|
|
@@ -930,12 +1038,21 @@ const translation = {
|
|
|
930
1038
|
* @default
|
|
931
1039
|
* {
|
|
932
1040
|
sign: {
|
|
1041
|
+
spinner: {
|
|
1042
|
+
cancel: 'Cancel',
|
|
1043
|
+
confirm_transfer:
|
|
1044
|
+
'Sign the message to confirm transferring this wallet to this account.',
|
|
1045
|
+
},
|
|
933
1046
|
title: 'Sign to confirm transfer',
|
|
934
1047
|
},
|
|
935
1048
|
}
|
|
936
1049
|
*/
|
|
937
1050
|
dyn_wallet_transfer: {
|
|
938
1051
|
sign: {
|
|
1052
|
+
spinner: {
|
|
1053
|
+
cancel: 'Cancel',
|
|
1054
|
+
confirm_transfer: 'Sign the message to confirm transferring this wallet to this account.',
|
|
1055
|
+
},
|
|
939
1056
|
title: 'Sign to confirm transfer',
|
|
940
1057
|
},
|
|
941
1058
|
},
|