@dynamic-labs/sdk-react-core 4.18.6 → 4.18.7
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 +20 -0
- package/package.cjs +2 -2
- package/package.js +2 -2
- package/package.json +12 -12
- package/src/lib/components/Button/Button.d.ts +1 -1
- package/src/lib/components/ModalHeader/ModalHeader.cjs +2 -1
- package/src/lib/components/ModalHeader/ModalHeader.js +2 -1
- package/src/lib/components/ModalHeader/ModalHeader.types.d.ts +3 -1
- package/src/lib/components/TypographyButton/TypographyButton.cjs +2 -0
- package/src/lib/components/TypographyButton/TypographyButton.js +2 -0
- package/src/lib/locale/en/translation.cjs +53 -0
- package/src/lib/locale/en/translation.d.ts +53 -0
- package/src/lib/locale/en/translation.js +53 -0
- package/src/lib/shared/assets/index.d.ts +1 -0
- package/src/lib/shared/assets/session.cjs +54 -0
- package/src/lib/shared/assets/session.js +30 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/index.d.ts +1 -0
- package/src/lib/utils/functions/isZKSyncEnabled/index.d.ts +1 -0
- package/src/lib/utils/functions/isZKSyncEnabled/isZKSyncEnabled.cjs +11 -0
- package/src/lib/utils/functions/isZKSyncEnabled/isZKSyncEnabled.d.ts +2 -0
- package/src/lib/utils/functions/isZKSyncEnabled/isZKSyncEnabled.js +7 -0
- package/src/lib/views/UserDeleteAccountView/UserDeleteAccountView.cjs +1 -3
- package/src/lib/views/UserDeleteAccountView/UserDeleteAccountView.js +1 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.cjs +4 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/mapViewToComponent.js +4 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/AccountAndSecuritySettingsView.cjs +5 -1
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/AccountAndSecuritySettingsView.js +6 -2
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/EmptySessionsView/EmptySessionsView.cjs +15 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/EmptySessionsView/EmptySessionsView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/EmptySessionsView/EmptySessionsView.js +11 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/EmptySessionsView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/SessionManagementInfoView/SessionManagementInfoView.cjs +28 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/SessionManagementInfoView/SessionManagementInfoView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/SessionManagementInfoView/SessionManagementInfoView.js +24 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/SessionManagementInfoView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/SessionManagementView.cjs +33 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/SessionManagementView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/SessionManagementView.js +29 -0
- package/src/lib/widgets/DynamicWidget/views/SessionManagementView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +5 -1
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +5 -1
- package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.18.7](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.6...v4.18.7) (2025-05-21)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add zero dev kernel migration to v3.3 ([#8747](https://github.com/dynamic-labs/dynamic-auth/issues/8747)) ([ce10ef8](https://github.com/dynamic-labs/dynamic-auth/commit/ce10ef85d12452c2c21758c909f1e28f9fa5fbae))
|
|
8
|
+
* bump [@dynamic-labs-wallet](https://github.com/dynamic-labs-wallet) to v0.0.74 ([#8746](https://github.com/dynamic-labs/dynamic-auth/issues/8746)) ([98e3a0b](https://github.com/dynamic-labs/dynamic-auth/commit/98e3a0b845e7d6c34a2c748597198825713f4bcf))
|
|
9
|
+
* support kernel versio 0.3.2 and 0.3.3 ([#8738](https://github.com/dynamic-labs/dynamic-auth/issues/8738)) ([1115830](https://github.com/dynamic-labs/dynamic-auth/commit/1115830966318960d39a497c8b29188d9d9a447f))
|
|
10
|
+
* v3 solana confirmation ui ([#8731](https://github.com/dynamic-labs/dynamic-auth/issues/8731)) ([cfa5ba0](https://github.com/dynamic-labs/dynamic-auth/commit/cfa5ba07a946b847e60388c80afbd8aa233e9ebf))
|
|
11
|
+
* v3 svm send balance ([#8726](https://github.com/dynamic-labs/dynamic-auth/issues/8726)) ([236ec48](https://github.com/dynamic-labs/dynamic-auth/commit/236ec4843152f4b720aa7332e650db68c2d111b2))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **alex/qntm-3201:** send empty data field when using zksync sendbalance ([#8733](https://github.com/dynamic-labs/dynamic-auth/issues/8733)) ([4c42035](https://github.com/dynamic-labs/dynamic-auth/commit/4c420350cf7404ac80db8b552594233a3de9fb57))
|
|
17
|
+
* allow for continuing signing if zksync account exists while attempting to deploy ([#8736](https://github.com/dynamic-labs/dynamic-auth/issues/8736)) ([1ff82e4](https://github.com/dynamic-labs/dynamic-auth/commit/1ff82e418e14300b9dec662fba517c5533c1caac))
|
|
18
|
+
* api kernel version on react native extension ([#8754](https://github.com/dynamic-labs/dynamic-auth/issues/8754)) ([c2f0bb4](https://github.com/dynamic-labs/dynamic-auth/commit/c2f0bb4ac86214f4e3bbdac5cf4b481a7a304449))
|
|
19
|
+
* CTRL wallet eip6963 detection ([#8727](https://github.com/dynamic-labs/dynamic-auth/issues/8727)) ([194334f](https://github.com/dynamic-labs/dynamic-auth/commit/194334f7fd541917d9a7f6b452145a47cf7ae853))
|
|
20
|
+
* **QNTM-3249:** fix mobile layout alignment in send view ([#8740](https://github.com/dynamic-labs/dynamic-auth/issues/8740)) ([7d8e02c](https://github.com/dynamic-labs/dynamic-auth/commit/7d8e02c11830f547b6fcfbc7b518ee3f045df41a))
|
|
21
|
+
|
|
2
22
|
### [4.18.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.5...v4.18.6) (2025-05-16)
|
|
3
23
|
|
|
4
24
|
|
package/package.cjs
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
|
-
var version = "4.18.
|
|
6
|
+
var version = "4.18.7";
|
|
7
7
|
var dependencies = {
|
|
8
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
8
|
+
"@dynamic-labs/sdk-api-core": "0.0.672",
|
|
9
9
|
"@hcaptcha/react-hcaptcha": "1.4.4",
|
|
10
10
|
"@thumbmarkjs/thumbmarkjs": "0.16.0",
|
|
11
11
|
"country-list": "2.3.0",
|
package/package.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
|
-
var version = "4.18.
|
|
2
|
+
var version = "4.18.7";
|
|
3
3
|
var dependencies = {
|
|
4
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
4
|
+
"@dynamic-labs/sdk-api-core": "0.0.672",
|
|
5
5
|
"@hcaptcha/react-hcaptcha": "1.4.4",
|
|
6
6
|
"@thumbmarkjs/thumbmarkjs": "0.16.0",
|
|
7
7
|
"country-list": "2.3.0",
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.7",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
5
|
+
"@dynamic-labs/sdk-api-core": "0.0.672",
|
|
6
6
|
"@hcaptcha/react-hcaptcha": "1.4.4",
|
|
7
7
|
"@thumbmarkjs/thumbmarkjs": "0.16.0",
|
|
8
8
|
"country-list": "2.3.0",
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"yup": "0.32.11",
|
|
15
15
|
"react-international-phone": "4.2.5",
|
|
16
16
|
"bs58": "5.0.0",
|
|
17
|
-
"@dynamic-labs/assert-package-version": "4.18.
|
|
18
|
-
"@dynamic-labs/iconic": "4.18.
|
|
19
|
-
"@dynamic-labs/logger": "4.18.
|
|
20
|
-
"@dynamic-labs/multi-wallet": "4.18.
|
|
21
|
-
"@dynamic-labs/rpc-providers": "4.18.
|
|
22
|
-
"@dynamic-labs/store": "4.18.
|
|
23
|
-
"@dynamic-labs/types": "4.18.
|
|
24
|
-
"@dynamic-labs/utils": "4.18.
|
|
25
|
-
"@dynamic-labs/wallet-book": "4.18.
|
|
26
|
-
"@dynamic-labs/wallet-connector-core": "4.18.
|
|
17
|
+
"@dynamic-labs/assert-package-version": "4.18.7",
|
|
18
|
+
"@dynamic-labs/iconic": "4.18.7",
|
|
19
|
+
"@dynamic-labs/logger": "4.18.7",
|
|
20
|
+
"@dynamic-labs/multi-wallet": "4.18.7",
|
|
21
|
+
"@dynamic-labs/rpc-providers": "4.18.7",
|
|
22
|
+
"@dynamic-labs/store": "4.18.7",
|
|
23
|
+
"@dynamic-labs/types": "4.18.7",
|
|
24
|
+
"@dynamic-labs/utils": "4.18.7",
|
|
25
|
+
"@dynamic-labs/wallet-book": "4.18.7",
|
|
26
|
+
"@dynamic-labs/wallet-connector-core": "4.18.7",
|
|
27
27
|
"eventemitter3": "5.0.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, MouseEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { BaseButtonProps } from '../BaseButton';
|
|
3
|
-
type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'brand-primary' | 'card';
|
|
3
|
+
type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'brand-primary' | 'card' | 'danger';
|
|
4
4
|
type ButtonPadding = 'small' | 'medium' | 'large' | 'none' | 'default' | 'login-screen-height';
|
|
5
5
|
export declare const defaultButtonVariant: ButtonVariant;
|
|
6
6
|
export type ButtonProps = BaseButtonProps & {
|
|
@@ -8,7 +8,7 @@ var React = require('react');
|
|
|
8
8
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
9
9
|
var isGlobalWalletPopup = require('../../shared/utils/functions/isGlobalWalletPopup/isGlobalWalletPopup.cjs');
|
|
10
10
|
|
|
11
|
-
const ModalHeader = ({ alignContent, children, leading, displayLeading = true, trailing, displayTrailing = true, style, displayBorder, description, }) => {
|
|
11
|
+
const ModalHeader = ({ alignContent, children, leading, displayLeading = true, trailing, displayTrailing = true, style, displayBorder, description, variant = 'default', }) => {
|
|
12
12
|
const hasLeading = displayLeading && leading && React.Children.count(leading);
|
|
13
13
|
const hasTrailing = displayTrailing && trailing && React.Children.count(trailing);
|
|
14
14
|
const trailingClassName = classNames.classNames('modal-header__content__trailing', {
|
|
@@ -17,6 +17,7 @@ const ModalHeader = ({ alignContent, children, leading, displayLeading = true, t
|
|
|
17
17
|
return (jsxRuntime.jsxs("div", { className: classNames.classNames('modal-header', {
|
|
18
18
|
'modal-header--border': displayBorder,
|
|
19
19
|
'modal-header--empty': !hasLeading && !children && !hasTrailing,
|
|
20
|
+
'modal-header--filled': variant === 'filled',
|
|
20
21
|
}), style: style, children: [jsxRuntime.jsxs("div", { className: classNames.classNames('modal-header__content', alignContent &&
|
|
21
22
|
`modal-header__content--align-content-${alignContent}`), children: [displayLeading && (jsxRuntime.jsx("div", { className: classNames.classNames('modal-header__content__leading', {
|
|
22
23
|
'modal-header__content__leading--empty': !hasLeading,
|
|
@@ -4,7 +4,7 @@ import { Children } from 'react';
|
|
|
4
4
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
5
5
|
import { isGlobalWalletPopup } from '../../shared/utils/functions/isGlobalWalletPopup/isGlobalWalletPopup.js';
|
|
6
6
|
|
|
7
|
-
const ModalHeader = ({ alignContent, children, leading, displayLeading = true, trailing, displayTrailing = true, style, displayBorder, description, }) => {
|
|
7
|
+
const ModalHeader = ({ alignContent, children, leading, displayLeading = true, trailing, displayTrailing = true, style, displayBorder, description, variant = 'default', }) => {
|
|
8
8
|
const hasLeading = displayLeading && leading && Children.count(leading);
|
|
9
9
|
const hasTrailing = displayTrailing && trailing && Children.count(trailing);
|
|
10
10
|
const trailingClassName = classNames('modal-header__content__trailing', {
|
|
@@ -13,6 +13,7 @@ const ModalHeader = ({ alignContent, children, leading, displayLeading = true, t
|
|
|
13
13
|
return (jsxs("div", { className: classNames('modal-header', {
|
|
14
14
|
'modal-header--border': displayBorder,
|
|
15
15
|
'modal-header--empty': !hasLeading && !children && !hasTrailing,
|
|
16
|
+
'modal-header--filled': variant === 'filled',
|
|
16
17
|
}), style: style, children: [jsxs("div", { className: classNames('modal-header__content', alignContent &&
|
|
17
18
|
`modal-header__content--align-content-${alignContent}`), children: [displayLeading && (jsx("div", { className: classNames('modal-header__content__leading', {
|
|
18
19
|
'modal-header__content__leading--empty': !hasLeading,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2
|
+
export type ModalHeaderVariant = 'default' | 'filled';
|
|
2
3
|
export type ModalHeaderProps = {
|
|
3
4
|
alignContent?: 'bottom';
|
|
4
5
|
children?: ReactNode;
|
|
5
|
-
leading?:
|
|
6
|
+
leading?: ReactNode;
|
|
6
7
|
displayLeading?: boolean;
|
|
7
8
|
positionAbsolute?: boolean;
|
|
8
9
|
trailing?: ReactNode;
|
|
@@ -10,5 +11,6 @@ export type ModalHeaderProps = {
|
|
|
10
11
|
style?: CSSProperties;
|
|
11
12
|
displayBorder?: boolean;
|
|
12
13
|
description?: ReactNode;
|
|
14
|
+
variant?: ModalHeaderVariant;
|
|
13
15
|
};
|
|
14
16
|
export type ModalHeaderComponent = (props: ModalHeaderProps) => ReactElement;
|
|
@@ -12,6 +12,7 @@ var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
|
12
12
|
const defaultTypographyVariantMap = {
|
|
13
13
|
'brand-primary': 'button_primary',
|
|
14
14
|
card: 'body_normal',
|
|
15
|
+
danger: 'button_primary',
|
|
15
16
|
primary: 'button_primary',
|
|
16
17
|
secondary: 'button_secondary',
|
|
17
18
|
tertiary: 'button_tertiary',
|
|
@@ -19,6 +20,7 @@ const defaultTypographyVariantMap = {
|
|
|
19
20
|
const defaultTypographyColorMap = {
|
|
20
21
|
'brand-primary': 'primary',
|
|
21
22
|
card: 'primary',
|
|
23
|
+
danger: 'white',
|
|
22
24
|
primary: 'primary',
|
|
23
25
|
secondary: 'primary',
|
|
24
26
|
tertiary: 'secondary',
|
|
@@ -8,6 +8,7 @@ import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
|
8
8
|
const defaultTypographyVariantMap = {
|
|
9
9
|
'brand-primary': 'button_primary',
|
|
10
10
|
card: 'body_normal',
|
|
11
|
+
danger: 'button_primary',
|
|
11
12
|
primary: 'button_primary',
|
|
12
13
|
secondary: 'button_secondary',
|
|
13
14
|
tertiary: 'button_tertiary',
|
|
@@ -15,6 +16,7 @@ const defaultTypographyVariantMap = {
|
|
|
15
16
|
const defaultTypographyColorMap = {
|
|
16
17
|
'brand-primary': 'primary',
|
|
17
18
|
card: 'primary',
|
|
19
|
+
danger: 'white',
|
|
18
20
|
primary: 'primary',
|
|
19
21
|
secondary: 'primary',
|
|
20
22
|
tertiary: 'secondary',
|
|
@@ -960,6 +960,24 @@ const translation = {
|
|
|
960
960
|
empty_screen: {
|
|
961
961
|
title: 'Nothing to see here yet!',
|
|
962
962
|
},
|
|
963
|
+
delete_account: {
|
|
964
|
+
title: 'Delete My Account',
|
|
965
|
+
description:
|
|
966
|
+
'Deleting your account will permanently remove all data, including wallet details and linked smart contract wallets. This action cannot be undone.',
|
|
967
|
+
backup_confirmation_embedded:
|
|
968
|
+
"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.",
|
|
969
|
+
backup_confirmation_no_embedded:
|
|
970
|
+
'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.',
|
|
971
|
+
type_delete: 'Enter DELETE in the box below to confirm this action.',
|
|
972
|
+
cancel: 'Cancel',
|
|
973
|
+
confirm: 'Delete Account',
|
|
974
|
+
deleting: 'Deleting...',
|
|
975
|
+
type_delete_label: 'Type to confirm',
|
|
976
|
+
},
|
|
977
|
+
session_management: {
|
|
978
|
+
title: 'Security Settings',
|
|
979
|
+
session_management_button: 'Session Management',
|
|
980
|
+
},
|
|
963
981
|
}
|
|
964
982
|
*/
|
|
965
983
|
dyn_settings: {
|
|
@@ -1003,6 +1021,10 @@ const translation = {
|
|
|
1003
1021
|
deleting: 'Deleting...',
|
|
1004
1022
|
type_delete_label: 'Type to confirm',
|
|
1005
1023
|
},
|
|
1024
|
+
session_management: {
|
|
1025
|
+
title: 'Security Settings',
|
|
1026
|
+
session_management_button: 'Session Management',
|
|
1027
|
+
},
|
|
1006
1028
|
},
|
|
1007
1029
|
/**
|
|
1008
1030
|
* @description copy keys for global wallet view
|
|
@@ -1984,6 +2006,37 @@ const translation = {
|
|
|
1984
2006
|
using_hardware_wallet_toggle_label: 'Using Ledger with {{chainName}}',
|
|
1985
2007
|
button: 'Connect',
|
|
1986
2008
|
},
|
|
2009
|
+
/**
|
|
2010
|
+
* @description copy keys for session management view
|
|
2011
|
+
* @default
|
|
2012
|
+
* {
|
|
2013
|
+
aria: {
|
|
2014
|
+
back_button_label: 'Back',
|
|
2015
|
+
info_button_label: 'Info',
|
|
2016
|
+
},
|
|
2017
|
+
title: 'Session Management',
|
|
2018
|
+
empty_sessions_view: {
|
|
2019
|
+
title: 'No active sessions found',
|
|
2020
|
+
},
|
|
2021
|
+
}
|
|
2022
|
+
*/
|
|
2023
|
+
dyn_session_management: {
|
|
2024
|
+
aria: {
|
|
2025
|
+
back_button_label: 'Back',
|
|
2026
|
+
info_button_label: 'Info',
|
|
2027
|
+
},
|
|
2028
|
+
title: 'Session Management',
|
|
2029
|
+
empty_sessions_view: {
|
|
2030
|
+
title: 'No active sessions found',
|
|
2031
|
+
},
|
|
2032
|
+
info_view: {
|
|
2033
|
+
title: 'Connected App Sessions',
|
|
2034
|
+
description_bold: 'Easily manage which apps have access to your wallet. ',
|
|
2035
|
+
description_2: "Each session represents a connection you've made with a site or app.",
|
|
2036
|
+
description_3: 'You can revoke access anytime to stay in control of where and how your wallet is used.',
|
|
2037
|
+
continue_button: 'Continue',
|
|
2038
|
+
},
|
|
2039
|
+
},
|
|
1987
2040
|
/**
|
|
1988
2041
|
* @description copy keys for sign message flow views
|
|
1989
2042
|
* @default
|
|
@@ -954,6 +954,24 @@ export declare const translation: {
|
|
|
954
954
|
empty_screen: {
|
|
955
955
|
title: 'Nothing to see here yet!',
|
|
956
956
|
},
|
|
957
|
+
delete_account: {
|
|
958
|
+
title: 'Delete My Account',
|
|
959
|
+
description:
|
|
960
|
+
'Deleting your account will permanently remove all data, including wallet details and linked smart contract wallets. This action cannot be undone.',
|
|
961
|
+
backup_confirmation_embedded:
|
|
962
|
+
"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.",
|
|
963
|
+
backup_confirmation_no_embedded:
|
|
964
|
+
'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.',
|
|
965
|
+
type_delete: 'Enter DELETE in the box below to confirm this action.',
|
|
966
|
+
cancel: 'Cancel',
|
|
967
|
+
confirm: 'Delete Account',
|
|
968
|
+
deleting: 'Deleting...',
|
|
969
|
+
type_delete_label: 'Type to confirm',
|
|
970
|
+
},
|
|
971
|
+
session_management: {
|
|
972
|
+
title: 'Security Settings',
|
|
973
|
+
session_management_button: 'Session Management',
|
|
974
|
+
},
|
|
957
975
|
}
|
|
958
976
|
*/
|
|
959
977
|
dyn_settings: {
|
|
@@ -999,6 +1017,10 @@ export declare const translation: {
|
|
|
999
1017
|
deleting: string;
|
|
1000
1018
|
type_delete_label: string;
|
|
1001
1019
|
};
|
|
1020
|
+
session_management: {
|
|
1021
|
+
title: string;
|
|
1022
|
+
session_management_button: string;
|
|
1023
|
+
};
|
|
1002
1024
|
};
|
|
1003
1025
|
/**
|
|
1004
1026
|
* @description copy keys for global wallet view
|
|
@@ -1980,6 +2002,37 @@ export declare const translation: {
|
|
|
1980
2002
|
using_hardware_wallet_toggle_label: string;
|
|
1981
2003
|
button: string;
|
|
1982
2004
|
};
|
|
2005
|
+
/**
|
|
2006
|
+
* @description copy keys for session management view
|
|
2007
|
+
* @default
|
|
2008
|
+
* {
|
|
2009
|
+
aria: {
|
|
2010
|
+
back_button_label: 'Back',
|
|
2011
|
+
info_button_label: 'Info',
|
|
2012
|
+
},
|
|
2013
|
+
title: 'Session Management',
|
|
2014
|
+
empty_sessions_view: {
|
|
2015
|
+
title: 'No active sessions found',
|
|
2016
|
+
},
|
|
2017
|
+
}
|
|
2018
|
+
*/
|
|
2019
|
+
dyn_session_management: {
|
|
2020
|
+
aria: {
|
|
2021
|
+
back_button_label: string;
|
|
2022
|
+
info_button_label: string;
|
|
2023
|
+
};
|
|
2024
|
+
title: string;
|
|
2025
|
+
empty_sessions_view: {
|
|
2026
|
+
title: string;
|
|
2027
|
+
};
|
|
2028
|
+
info_view: {
|
|
2029
|
+
title: string;
|
|
2030
|
+
description_bold: string;
|
|
2031
|
+
description_2: string;
|
|
2032
|
+
description_3: string;
|
|
2033
|
+
continue_button: string;
|
|
2034
|
+
};
|
|
2035
|
+
};
|
|
1983
2036
|
/**
|
|
1984
2037
|
* @description copy keys for sign message flow views
|
|
1985
2038
|
* @default
|
|
@@ -956,6 +956,24 @@ const translation = {
|
|
|
956
956
|
empty_screen: {
|
|
957
957
|
title: 'Nothing to see here yet!',
|
|
958
958
|
},
|
|
959
|
+
delete_account: {
|
|
960
|
+
title: 'Delete My Account',
|
|
961
|
+
description:
|
|
962
|
+
'Deleting your account will permanently remove all data, including wallet details and linked smart contract wallets. This action cannot be undone.',
|
|
963
|
+
backup_confirmation_embedded:
|
|
964
|
+
"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.",
|
|
965
|
+
backup_confirmation_no_embedded:
|
|
966
|
+
'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.',
|
|
967
|
+
type_delete: 'Enter DELETE in the box below to confirm this action.',
|
|
968
|
+
cancel: 'Cancel',
|
|
969
|
+
confirm: 'Delete Account',
|
|
970
|
+
deleting: 'Deleting...',
|
|
971
|
+
type_delete_label: 'Type to confirm',
|
|
972
|
+
},
|
|
973
|
+
session_management: {
|
|
974
|
+
title: 'Security Settings',
|
|
975
|
+
session_management_button: 'Session Management',
|
|
976
|
+
},
|
|
959
977
|
}
|
|
960
978
|
*/
|
|
961
979
|
dyn_settings: {
|
|
@@ -999,6 +1017,10 @@ const translation = {
|
|
|
999
1017
|
deleting: 'Deleting...',
|
|
1000
1018
|
type_delete_label: 'Type to confirm',
|
|
1001
1019
|
},
|
|
1020
|
+
session_management: {
|
|
1021
|
+
title: 'Security Settings',
|
|
1022
|
+
session_management_button: 'Session Management',
|
|
1023
|
+
},
|
|
1002
1024
|
},
|
|
1003
1025
|
/**
|
|
1004
1026
|
* @description copy keys for global wallet view
|
|
@@ -1980,6 +2002,37 @@ const translation = {
|
|
|
1980
2002
|
using_hardware_wallet_toggle_label: 'Using Ledger with {{chainName}}',
|
|
1981
2003
|
button: 'Connect',
|
|
1982
2004
|
},
|
|
2005
|
+
/**
|
|
2006
|
+
* @description copy keys for session management view
|
|
2007
|
+
* @default
|
|
2008
|
+
* {
|
|
2009
|
+
aria: {
|
|
2010
|
+
back_button_label: 'Back',
|
|
2011
|
+
info_button_label: 'Info',
|
|
2012
|
+
},
|
|
2013
|
+
title: 'Session Management',
|
|
2014
|
+
empty_sessions_view: {
|
|
2015
|
+
title: 'No active sessions found',
|
|
2016
|
+
},
|
|
2017
|
+
}
|
|
2018
|
+
*/
|
|
2019
|
+
dyn_session_management: {
|
|
2020
|
+
aria: {
|
|
2021
|
+
back_button_label: 'Back',
|
|
2022
|
+
info_button_label: 'Info',
|
|
2023
|
+
},
|
|
2024
|
+
title: 'Session Management',
|
|
2025
|
+
empty_sessions_view: {
|
|
2026
|
+
title: 'No active sessions found',
|
|
2027
|
+
},
|
|
2028
|
+
info_view: {
|
|
2029
|
+
title: 'Connected App Sessions',
|
|
2030
|
+
description_bold: 'Easily manage which apps have access to your wallet. ',
|
|
2031
|
+
description_2: "Each session represents a connection you've made with a site or app.",
|
|
2032
|
+
description_3: 'You can revoke access anytime to stay in control of where and how your wallet is used.',
|
|
2033
|
+
continue_button: 'Continue',
|
|
2034
|
+
},
|
|
2035
|
+
},
|
|
1983
2036
|
/**
|
|
1984
2037
|
* @description copy keys for sign message flow views
|
|
1985
2038
|
* @default
|
|
@@ -86,6 +86,7 @@ export { ReactComponent as QuestionMarkIcon } from './question-mark.svg';
|
|
|
86
86
|
export { ReactComponent as SavePasswordHeroIcon } from './save-password-hero.svg';
|
|
87
87
|
export { ReactComponent as SecureActionIcon } from './secure-action.svg';
|
|
88
88
|
export { ReactComponent as SendIcon } from './send.svg';
|
|
89
|
+
export { ReactComponent as SessionIcon } from './session.svg';
|
|
89
90
|
export { ReactComponent as SettingsIconOutline } from './settings-outline.svg';
|
|
90
91
|
export { ReactComponent as SettingsIcon } from './settings.svg';
|
|
91
92
|
export { ReactComponent as ShieldIcon } from './shield.svg';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var React = require('react');
|
|
7
|
+
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n["default"] = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
|
|
28
|
+
var _path;
|
|
29
|
+
var _excluded = ["title", "titleId"];
|
|
30
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
31
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
32
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
|
|
33
|
+
var SvgSession = function SvgSession(_ref) {
|
|
34
|
+
var title = _ref.title,
|
|
35
|
+
titleId = _ref.titleId,
|
|
36
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
37
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
38
|
+
width: 24,
|
|
39
|
+
height: 24,
|
|
40
|
+
viewBox: "0 0 24 24",
|
|
41
|
+
fill: "none",
|
|
42
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
+
"aria-labelledby": titleId
|
|
44
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
45
|
+
id: titleId
|
|
46
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M12 4a8 8 0 1 0 7.791 9.823l-.384.384a1 1 0 0 1-1.414-1.414l2-2a1 1 0 0 1 1.415 0l2 2a1 1 0 0 1-1.415 1.414l-.195-.195C20.867 18.57 16.834 22 12 22 6.477 22 2 17.523 2 12S6.477 2 12 2a9.996 9.996 0 0 1 8.616 4.92 1 1 0 0 1-1.723 1.018A7.996 7.996 0 0 0 12 4Zm0 2a1 1 0 0 1 1 1v4.465l2.555 1.703a1 1 0 0 1-1.11 1.664l-3-2A1 1 0 0 1 11 12V7a1 1 0 0 1 1-1Z",
|
|
50
|
+
fill: "#ABACB2"
|
|
51
|
+
})));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
exports.ReactComponent = SvgSession;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
var _path;
|
|
5
|
+
var _excluded = ["title", "titleId"];
|
|
6
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
7
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) { o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } } return t; }
|
|
9
|
+
var SvgSession = function SvgSession(_ref) {
|
|
10
|
+
var title = _ref.title,
|
|
11
|
+
titleId = _ref.titleId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
width: 24,
|
|
15
|
+
height: 24,
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
"aria-labelledby": titleId
|
|
20
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
21
|
+
id: titleId
|
|
22
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
clipRule: "evenodd",
|
|
25
|
+
d: "M12 4a8 8 0 1 0 7.791 9.823l-.384.384a1 1 0 0 1-1.414-1.414l2-2a1 1 0 0 1 1.415 0l2 2a1 1 0 0 1-1.415 1.414l-.195-.195C20.867 18.57 16.834 22 12 22 6.477 22 2 17.523 2 12S6.477 2 12 2a9.996 9.996 0 0 1 8.616 4.92 1 1 0 0 1-1.723 1.018A7.996 7.996 0 0 0 12 4Zm0 2a1 1 0 0 1 1 1v4.465l2.555 1.703a1 1 0 0 1-1.11 1.664l-3-2A1 1 0 0 1 11 12V7a1 1 0 0 1 1-1Z",
|
|
26
|
+
fill: "#ABACB2"
|
|
27
|
+
})));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { SvgSession as ReactComponent };
|