@lifi/widget 3.23.0 → 3.23.1-beta.0
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/dist/esm/AppDrawer.style.d.ts +1 -1
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.js +2 -5
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.js.map +1 -1
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +0 -1
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.js +2 -10
- package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.js.map +1 -1
- package/dist/esm/components/AmountInput/AmountInputAdornment.style.d.ts +1 -1
- package/dist/esm/components/ButtonTertiary.d.ts +1 -1
- package/dist/esm/components/Card/CardIconButton.d.ts +1 -1
- package/dist/esm/components/Header/Header.style.d.ts +1 -1
- package/dist/esm/components/Header/SettingsButton.style.d.ts +1 -1
- package/dist/esm/components/Messages/AccountDeployedMessage.d.ts +2 -0
- package/dist/esm/components/Messages/AccountDeployedMessage.js +13 -0
- package/dist/esm/components/Messages/AccountDeployedMessage.js.map +1 -0
- package/dist/esm/components/Messages/WarningMessages.js +3 -0
- package/dist/esm/components/Messages/WarningMessages.js.map +1 -1
- package/dist/esm/components/Messages/useMessageQueue.js +8 -1
- package/dist/esm/components/Messages/useMessageQueue.js.map +1 -1
- package/dist/esm/components/Skeleton/WidgetSkeleton.style.d.ts +2 -2
- package/dist/esm/components/TokenList/TokenList.style.d.ts +1 -1
- package/dist/esm/config/version.d.ts +1 -1
- package/dist/esm/config/version.js +1 -1
- package/dist/esm/config/version.js.map +1 -1
- package/dist/esm/hooks/useToAddressRequirements.d.ts +1 -0
- package/dist/esm/hooks/useToAddressRequirements.js +5 -0
- package/dist/esm/hooks/useToAddressRequirements.js.map +1 -1
- package/dist/esm/i18n/bn.json +12 -5
- package/dist/esm/i18n/de.json +16 -9
- package/dist/esm/i18n/en.json +1 -0
- package/dist/esm/i18n/es.json +13 -6
- package/dist/esm/i18n/fr.json +13 -6
- package/dist/esm/i18n/hi.json +32 -25
- package/dist/esm/i18n/id.json +15 -8
- package/dist/esm/i18n/it.json +14 -7
- package/dist/esm/i18n/ja.json +12 -5
- package/dist/esm/i18n/ko.json +12 -5
- package/dist/esm/i18n/pt.json +16 -9
- package/dist/esm/i18n/th.json +12 -5
- package/dist/esm/i18n/tr.json +13 -6
- package/dist/esm/i18n/uk.json +12 -5
- package/dist/esm/i18n/vi.json +13 -6
- package/dist/esm/i18n/zh.json +12 -5
- package/dist/esm/pages/SendToWallet/SendToWalletPage.js +4 -3
- package/dist/esm/pages/SendToWallet/SendToWalletPage.js.map +1 -1
- package/dist/esm/pages/SendToWallet/SendToWalletPage.style.d.ts +2 -2
- package/dist/esm/types/widget.d.ts +2 -1
- package/dist/esm/types/widget.js +1 -0
- package/dist/esm/types/widget.js.map +1 -1
- package/package.json +1 -1
- package/package.json.tmp +1 -1
- package/src/components/ActiveTransactions/ActiveTransactions.style.ts +1 -11
- package/src/components/ActiveTransactions/ActiveTransactions.tsx +12 -13
- package/src/components/Messages/AccountDeployedMessage.tsx +27 -0
- package/src/components/Messages/WarningMessages.tsx +3 -0
- package/src/components/Messages/useMessageQueue.ts +9 -0
- package/src/config/version.ts +1 -1
- package/src/hooks/useToAddressRequirements.ts +7 -0
- package/src/i18n/bn.json +12 -5
- package/src/i18n/de.json +16 -9
- package/src/i18n/en.json +1 -0
- package/src/i18n/es.json +13 -6
- package/src/i18n/fr.json +13 -6
- package/src/i18n/hi.json +32 -25
- package/src/i18n/id.json +15 -8
- package/src/i18n/it.json +14 -7
- package/src/i18n/ja.json +12 -5
- package/src/i18n/ko.json +12 -5
- package/src/i18n/pt.json +16 -9
- package/src/i18n/th.json +12 -5
- package/src/i18n/tr.json +13 -6
- package/src/i18n/uk.json +12 -5
- package/src/i18n/vi.json +13 -6
- package/src/i18n/zh.json +12 -5
- package/src/pages/SendToWallet/SendToWalletPage.tsx +19 -16
- package/src/types/widget.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CloseButtonLayout: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "
|
|
1
|
+
export declare const CloseButtonLayout: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loading" | "loadingIndicator"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -4,10 +4,10 @@ import { useTranslation } from 'react-i18next';
|
|
|
4
4
|
import { useNavigate } from 'react-router-dom';
|
|
5
5
|
import { useExecutingRoutesIds } from '../../stores/routes/useExecutingRoutesIds.js';
|
|
6
6
|
import { navigationRoutes } from '../../utils/navigationRoutes.js';
|
|
7
|
+
import { ButtonTertiary } from '../ButtonTertiary.js';
|
|
7
8
|
import { Card } from '../Card/Card.js';
|
|
8
9
|
import { CardTitle } from '../Card/CardTitle.js';
|
|
9
10
|
import { ActiveTransactionItem } from './ActiveTransactionItem.js';
|
|
10
|
-
import { ShowAllButton } from './ActiveTransactions.style.js';
|
|
11
11
|
export const ActiveTransactions = (props) => {
|
|
12
12
|
const { t } = useTranslation();
|
|
13
13
|
const navigate = useNavigate();
|
|
@@ -19,9 +19,6 @@ export const ActiveTransactions = (props) => {
|
|
|
19
19
|
navigate(navigationRoutes.activeTransactions);
|
|
20
20
|
};
|
|
21
21
|
const hasShowAll = executingRoutes?.length > 2;
|
|
22
|
-
return (_jsxs(Card, { type: "selected", selectionColor: "secondary", ...props, children: [_jsx(CardTitle, { children: t('header.activeTransactions') }),
|
|
23
|
-
pt: 1.5,
|
|
24
|
-
pb: hasShowAll ? 0 : 2,
|
|
25
|
-
}, children: executingRoutes.slice(0, 2).map((routeId) => (_jsx(ActiveTransactionItem, { routeId: routeId, dense: true }, routeId))) }), hasShowAll ? (_jsx(ShowAllButton, { disableRipple: true, fullWidth: true, onClick: handleShowAll, children: t('button.showAll') })) : null] }));
|
|
22
|
+
return (_jsxs(Card, { type: "selected", selectionColor: "secondary", ...props, children: [_jsx(CardTitle, { children: t('header.activeTransactions') }), _jsxs(Stack, { spacing: 1.5, sx: { m: 2 }, children: [executingRoutes.slice(0, 2).map((routeId) => (_jsx(ActiveTransactionItem, { routeId: routeId, dense: true }, routeId))), hasShowAll ? (_jsx(ButtonTertiary, { variant: "text", onClick: handleShowAll, disableRipple: true, fullWidth: true, children: t('button.showAll') })) : null] })] }));
|
|
26
23
|
};
|
|
27
24
|
//# sourceMappingURL=ActiveTransactions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveTransactions.js","sourceRoot":"","sources":["../../../../src/components/ActiveTransactions/ActiveTransactions.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAA;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ActiveTransactions.js","sourceRoot":"","sources":["../../../../src/components/ActiveTransactions/ActiveTransactions.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAA;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAElE,MAAM,CAAC,MAAM,kBAAkB,GAAwB,CAAC,KAAK,EAAE,EAAE;IAC/D,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAA;IAC9B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAA;IAC9B,MAAM,eAAe,GAAG,qBAAqB,EAAE,CAAA;IAE/C,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC;QAC7B,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,aAAa,GAAG,GAAG,EAAE;QACzB,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAA;IAC/C,CAAC,CAAA;IAED,MAAM,UAAU,GAAG,eAAe,EAAE,MAAM,GAAG,CAAC,CAAA;IAE9C,OAAO,CACL,MAAC,IAAI,IAAC,IAAI,EAAC,UAAU,EAAC,cAAc,EAAC,WAAW,KAAK,KAAK,aACxD,KAAC,SAAS,cAAE,CAAC,CAAC,2BAA2B,CAAC,GAAa,EACvD,MAAC,KAAK,IAAC,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,aAC9B,eAAe,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC5C,KAAC,qBAAqB,IAAe,OAAO,EAAE,OAAO,EAAE,KAAK,UAAhC,OAAO,CAA4B,CAChE,CAAC,EACD,UAAU,CAAC,CAAC,CAAC,CACZ,KAAC,cAAc,IACb,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,aAAa,EACtB,aAAa,QACb,SAAS,kBAER,CAAC,CAAC,gBAAgB,CAAC,GACL,CAClB,CAAC,CAAC,CAAC,IAAI,IACF,IACH,CACR,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "alignItems" | "children" | "sx" | "style" | "autoFocus" | "className" | "tabIndex" | "classes" | "action" | "divider" | "dense" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
2
|
export declare const ListItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "alignItems" | "children" | "sx" | "style" | "className" | "classes" | "slots" | "slotProps" | "componentsProps" | "divider" | "dense" | "components" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "disablePadding" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
3
|
-
export declare const ShowAllButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListItem as MuiListItem, ListItemButton as MuiListItemButton, listItemSecondaryActionClasses, styled, } from '@mui/material';
|
|
2
2
|
export const ListItemButton = styled(MuiListItemButton)(({ theme }) => ({
|
|
3
3
|
borderRadius: theme.vars.shape.borderRadius,
|
|
4
4
|
paddingLeft: theme.spacing(1.5),
|
|
@@ -11,7 +11,7 @@ export const ListItemButton = styled(MuiListItemButton)(({ theme }) => ({
|
|
|
11
11
|
export const ListItem = styled(MuiListItem, {
|
|
12
12
|
shouldForwardProp: (prop) => prop !== 'disableRipple',
|
|
13
13
|
})(({ theme }) => ({
|
|
14
|
-
padding: theme.spacing(0
|
|
14
|
+
padding: theme.spacing(0),
|
|
15
15
|
[`.${listItemSecondaryActionClasses.root}`]: {
|
|
16
16
|
right: theme.spacing(3),
|
|
17
17
|
},
|
|
@@ -19,12 +19,4 @@ export const ListItem = styled(MuiListItem, {
|
|
|
19
19
|
cursor: 'pointer',
|
|
20
20
|
},
|
|
21
21
|
}));
|
|
22
|
-
export const ShowAllButton = styled(Button)(({ theme }) => ({
|
|
23
|
-
background: 'none',
|
|
24
|
-
'&:hover': {
|
|
25
|
-
background: 'none',
|
|
26
|
-
},
|
|
27
|
-
padding: theme.spacing(0.75, 2),
|
|
28
|
-
fontSize: '0.875rem',
|
|
29
|
-
}));
|
|
30
22
|
//# sourceMappingURL=ActiveTransactions.style.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveTransactions.style.js","sourceRoot":"","sources":["../../../../src/components/ActiveTransactions/ActiveTransactions.style.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"ActiveTransactions.style.js","sourceRoot":"","sources":["../../../../src/components/ActiveTransactions/ActiveTransactions.style.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,IAAI,WAAW,EACvB,cAAc,IAAI,iBAAiB,EACnC,8BAA8B,EAC9B,MAAM,GACP,MAAM,eAAe,CAAA;AAEtB,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY;IAC3C,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;IAC/B,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;IAChC,MAAM,EAAE,EAAE;IACV,SAAS,EAAE;QACT,eAAe,EAAE,QAAQ,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,mBAAmB,UAAU;KACjF;CACF,CAAC,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,EAAE;IAC1C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,eAAe;CACtD,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IACzB,CAAC,IAAI,8BAA8B,CAAC,IAAI,EAAE,CAAC,EAAE;QAC3C,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;KACxB;IACD,SAAS,EAAE;QACT,MAAM,EAAE,SAAS;KAClB;CACF,CAAC,CAAC,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const MaxButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "
|
|
1
|
+
export declare const MaxButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loading" | "loadingIndicator" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
2
|
export declare const MaxButtonSkeleton: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "width" | "height" | "animation" | "children" | "sx" | "style" | "className" | "classes" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ButtonTertiary: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "
|
|
1
|
+
export declare const ButtonTertiary: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loading" | "loadingIndicator" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { LinkProps } from '@mui/material';
|
|
2
|
-
export declare const CardIconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "
|
|
2
|
+
export declare const CardIconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loading" | "loadingIndicator"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
3
|
component?: React.ElementType;
|
|
4
4
|
} & Pick<LinkProps, "rel" | "target" | "href">, {}, {}>;
|
|
@@ -3,7 +3,7 @@ export declare const HeaderAppBar: import("@emotion/styled").StyledComponent<imp
|
|
|
3
3
|
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
4
4
|
sticky?: boolean;
|
|
5
5
|
}, {}, {}>;
|
|
6
|
-
export declare const WalletButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "
|
|
6
|
+
export declare const WalletButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loading" | "loadingIndicator" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
7
7
|
subvariant?: WidgetSubvariant;
|
|
8
8
|
}, {}, {}>;
|
|
9
9
|
export declare const DrawerWalletContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -2,5 +2,5 @@ export declare const SettingsIconBadge: import("@emotion/styled").StyledComponen
|
|
|
2
2
|
interface SettingsIconButtonProps {
|
|
3
3
|
variant?: 'info' | 'warning';
|
|
4
4
|
}
|
|
5
|
-
export declare const SettingsIconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "
|
|
5
|
+
export declare const SettingsIconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loading" | "loadingIndicator"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & SettingsIconButtonProps, {}, {}>;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Wallet from '@mui/icons-material/Wallet';
|
|
3
|
+
import { Typography } from '@mui/material';
|
|
4
|
+
import { useTranslation } from 'react-i18next';
|
|
5
|
+
import { AlertMessage } from './AlertMessage.js';
|
|
6
|
+
export const AccountDeployedMessage = ({ ...props }) => {
|
|
7
|
+
const { t } = useTranslation();
|
|
8
|
+
return (_jsx(AlertMessage, { title: _jsx(Typography, { variant: "body2", sx: {
|
|
9
|
+
px: 1,
|
|
10
|
+
color: 'text.primary',
|
|
11
|
+
}, children: t('info.message.accountDeployedMessage') }), icon: _jsx(Wallet, {}), multiline: true, ...props }));
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=AccountDeployedMessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountDeployedMessage.js","sourceRoot":"","sources":["../../../../src/components/Messages/AccountDeployedMessage.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,4BAA4B,CAAA;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,sBAAsB,GAAuB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IACzE,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAA;IAC9B,OAAO,CACL,KAAC,YAAY,IACX,KAAK,EACH,KAAC,UAAU,IACT,OAAO,EAAC,OAAO,EACf,EAAE,EAAE;gBACF,EAAE,EAAE,CAAC;gBACL,KAAK,EAAE,cAAc;aACtB,YAEA,CAAC,CAAC,qCAAqC,CAAC,GAC9B,EAEf,IAAI,EAAE,KAAC,MAAM,KAAG,EAChB,SAAS,WACL,KAAK,GACT,CACH,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Collapse } from '@mui/material';
|
|
3
|
+
import { AccountDeployedMessage } from './AccountDeployedMessage.js';
|
|
3
4
|
import { AccountNotDeployedMessage } from './AccountNotDeployedMessage.js';
|
|
4
5
|
import { FundsSufficiencyMessage } from './FundsSufficiencyMessage.js';
|
|
5
6
|
import { GasSufficiencyMessage } from './GasSufficiencyMessage.js';
|
|
@@ -18,6 +19,8 @@ export const WarningMessages = ({ route, allowInteraction, ...props }) => {
|
|
|
18
19
|
return (_jsx(GasSufficiencyMessage, { insufficientGas: messages[0].props?.insufficientGas, ...props }));
|
|
19
20
|
case 'ACCOUNT_NOT_DEPLOYED':
|
|
20
21
|
return _jsx(AccountNotDeployedMessage, { ...props });
|
|
22
|
+
case 'ACCOUNT_DEPLOYED':
|
|
23
|
+
return _jsx(AccountDeployedMessage, { ...props });
|
|
21
24
|
case 'TO_ADDRESS_REQUIRED':
|
|
22
25
|
return _jsx(ToAddressRequiredMessage, { ...props });
|
|
23
26
|
default:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningMessages.js","sourceRoot":"","sources":["../../../../src/components/Messages/WarningMessages.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAA;AAC5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAOtD,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,EAC9D,KAAK,EACL,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,eAAe,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAA;IAE1E,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,QAAQ,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC;YACxB,KAAK,gCAAgC;gBACnC,OAAO,CACL,KAAC,kCAAkC,IACjC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,KAAK,EAC/B,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,KAC/B,KAAK,GACT,CACH,CAAA;YACH,KAAK,oBAAoB;gBACvB,OAAO,KAAC,uBAAuB,OAAK,KAAK,GAAI,CAAA;YAC/C,KAAK,kBAAkB;gBACrB,OAAO,CACL,KAAC,qBAAqB,IACpB,eAAe,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,eAAe,KAC/C,KAAK,GACT,CACH,CAAA;YACH,KAAK,sBAAsB;gBACzB,OAAO,KAAC,yBAAyB,OAAK,KAAK,GAAI,CAAA;YACjD,KAAK,qBAAqB;gBACxB,OAAO,KAAC,wBAAwB,OAAK,KAAK,GAAI,CAAA;YAChD;gBACE,OAAO,IAAI,CAAA;QACf,CAAC;IACH,CAAC,CAAA;IAED,OAAO,CACL,KAAC,QAAQ,IAAC,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,aAAa,QAAC,YAAY,kBAChE,UAAU,EAAE,GACJ,CACZ,CAAA;AACH,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"WarningMessages.js","sourceRoot":"","sources":["../../../../src/components/Messages/WarningMessages.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAA;AAC5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,C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js';
|
|
|
4
4
|
import { useRouteRequiredAccountConnection } from '../../hooks/useRouteRequiredAccountConnection.js';
|
|
5
5
|
import { useToAddressRequirements } from '../../hooks/useToAddressRequirements.js';
|
|
6
6
|
export const useMessageQueue = (route, allowInteraction) => {
|
|
7
|
-
const { requiredToAddress, toAddress, accountNotDeployedAtDestination, isLoading: isToAddressRequirementsLoading, } = useToAddressRequirements(route);
|
|
7
|
+
const { requiredToAddress, toAddress, accountNotDeployedAtDestination, accountDeployedAtDestination, isLoading: isToAddressRequirementsLoading, } = useToAddressRequirements(route);
|
|
8
8
|
const { insufficientFromToken, isLoading: isFromTokenSufficiencyLoading } = useFromTokenSufficiency(route);
|
|
9
9
|
const { insufficientGas, isLoading: isGasSufficiencyLoading } = useGasSufficiency(route);
|
|
10
10
|
const { missingChain, missingAccountAddress } = useRouteRequiredAccountConnection(route);
|
|
@@ -42,11 +42,18 @@ export const useMessageQueue = (route, allowInteraction) => {
|
|
|
42
42
|
priority: 5,
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
+
if (accountDeployedAtDestination && !allowInteraction) {
|
|
46
|
+
queue.push({
|
|
47
|
+
id: 'ACCOUNT_DEPLOYED',
|
|
48
|
+
priority: 6,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
45
51
|
return queue.sort((a, b) => a.priority - b.priority);
|
|
46
52
|
}, [
|
|
47
53
|
allowInteraction,
|
|
48
54
|
insufficientFromToken,
|
|
49
55
|
insufficientGas,
|
|
56
|
+
accountDeployedAtDestination,
|
|
50
57
|
accountNotDeployedAtDestination,
|
|
51
58
|
requiredToAddress,
|
|
52
59
|
toAddress,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMessageQueue.js","sourceRoot":"","sources":["../../../../src/components/Messages/useMessageQueue.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAA;AAChF,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AE,eAAe,EAAE;aAC3B,CAAC,CAAA;QACJ,CAAC;QAED,IAAI,+BAA+B,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACzD,KAAK,CAAC,IAAI,CAAC;gBACT,EAAE,EAAE,sBAAsB;gBAC1B,QAAQ,EAAE,CAAC;aACZ,CAAC,CAAA;QACJ,CAAC;QAED,IAAI,iBAAiB,IAAI,CAAC,SAAS,EAAE,CAAC;YACpC,KAAK,CAAC,IAAI,CAAC;gBACT,EAAE,EAAE,qBAAqB;gBACzB,QAAQ,EAAE,CAAC;aACZ,CAAC,CAAA;QACJ,CAAC;QAED,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAA;IACtD,CAAC,EAAE;QACD,gBAAgB;QAChB,qBAAqB;QACrB,eAAe;QACf,+BAA+B;QAC/B,iBAAiB;QACjB,SAAS;QACT,YAAY;QACZ,qBAAqB;KACtB,CAAC,CAAA;IAEF,OAAO;QACL,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,YAAY,CAAC,MAAM,GAAG,CAAC;QACpC,SAAS,EACP,uBAAuB;YACvB,6BAA6B;YAC7B,8BAA8B;KACjC,CAAA;AACH,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"useMessageQueue.js","sourceRoot":"","sources":["../../../../src/components/Messages/useMessageQueue.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAA;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAA;AACpG,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAA;AAQlF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAa,EAAE,g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,CAAA;QACJ,CAAC;QAED,IAAI,iBAAiB,IAAI,CAAC,SAAS,EAAE,CAAC;YACpC,KAAK,CAAC,IAAI,CAAC;gBACT,EAAE,EAAE,qBAAqB;gBACzB,QAAQ,EAAE,CAAC;aACZ,CAAC,CAAA;QACJ,CAAC;QAED,IAAI,4BAA4B,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtD,KAAK,CAAC,IAAI,CAAC;gBACT,EAAE,EAAE,kBAAkB;gBACtB,QAAQ,EAAE,CAAC;aACZ,CAAC,CAAA;QACJ,CAAC;QAED,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAA;IACtD,CAAC,EAAE;QACD,gBAAgB;QAChB,qBAAqB;QACrB,eAAe;QACf,4BAA4B;QAC5B,+BAA+B;QAC/B,iBAAiB;QACjB,SAAS;QACT,YAAY;QACZ,qBAAqB;KACtB,CAAC,CAAA;IAEF,OAAO;QACL,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,YAAY,CAAC,MAAM,GAAG,CAAC;QACpC,SAAS,EACP,uBAAuB;YACvB,6BAA6B;YAC7B,8BAA8B;KACjC,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -5,7 +5,7 @@ export declare const SkeletonAmountContainer: import("@emotion/styled").StyledCo
|
|
|
5
5
|
export declare const SkeletonCard: import("@emotion/styled").StyledComponent<import("@mui/material").CardOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "sx" | "style" | "className" | "classes" | "variant" | "elevation" | "square" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
6
6
|
export declare const SkeletonInputCard: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").CardOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "sx" | "style" | "className" | "classes" | "variant" | "elevation" | "square" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("../Card/Card.js").CardProps, "title" | "color" | "content" | "translate" | "children" | "ref" | "sx" | "slot" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "type" | "classes" | "variant" | "elevation" | "component" | "square" | "theme" | "as" | "raised" | "selectionColor" | "indented"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
7
|
export declare const SkeletonReviewButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
|
-
export declare const SkeletonReviewButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "
|
|
9
|
-
export declare const SkeletonSendToWalletButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "
|
|
8
|
+
export declare const SkeletonReviewButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loading" | "loadingIndicator" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
9
|
+
export declare const SkeletonSendToWalletButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "variant" | "href" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loading" | "loadingIndicator" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
10
10
|
export declare const SkeletonPoweredByContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
11
|
export declare const SkeletonHeaderContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ListItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "alignItems" | "children" | "sx" | "style" | "className" | "classes" | "slots" | "slotProps" | "componentsProps" | "divider" | "dense" | "components" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "disablePadding" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
|
-
export declare const IconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "
|
|
2
|
+
export declare const IconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "classes" | "action" | "size" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loading" | "loadingIndicator"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
3
|
component?: React.ElementType;
|
|
4
4
|
} & import("@mui/material").LinkOwnProps & Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "classes" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "underline" | "TypographyClasses"> & {
|
|
5
5
|
component?: React.ElementType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/widget";
|
|
2
|
-
export declare const version = "3.23.0";
|
|
2
|
+
export declare const version = "3.23.1-beta.0";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/config/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,cAAc,CAAA;AAClC,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/config/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,cAAc,CAAA;AAClC,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAA"}
|
|
@@ -3,6 +3,7 @@ export declare const useToAddressRequirements: (route?: RouteExtended) => {
|
|
|
3
3
|
requiredToAddress: boolean | undefined;
|
|
4
4
|
requiredToChainType: import("@lifi/sdk").ChainType | undefined;
|
|
5
5
|
accountNotDeployedAtDestination: boolean;
|
|
6
|
+
accountDeployedAtDestination: boolean;
|
|
6
7
|
toAddress: string | undefined;
|
|
7
8
|
isFromContractAddress: boolean;
|
|
8
9
|
isToContractAddress: boolean;
|
|
@@ -38,10 +38,15 @@ export const useToAddressRequirements = (route) => {
|
|
|
38
38
|
!fromContractCodeHasDelegationIndicator &&
|
|
39
39
|
!isToContractAddress &&
|
|
40
40
|
fromAddress?.toLowerCase() === toAddress?.toLowerCase();
|
|
41
|
+
const accountDeployedAtDestination = isFromContractAddress &&
|
|
42
|
+
isToContractAddress &&
|
|
43
|
+
!fromContractCodeHasDelegationIndicator &&
|
|
44
|
+
fromAddress?.toLowerCase() === toAddress?.toLowerCase();
|
|
41
45
|
return {
|
|
42
46
|
requiredToAddress,
|
|
43
47
|
requiredToChainType: toChain?.chainType,
|
|
44
48
|
accountNotDeployedAtDestination,
|
|
49
|
+
accountDeployedAtDestination,
|
|
45
50
|
toAddress,
|
|
46
51
|
isFromContractAddress,
|
|
47
52
|
isToContractAddress,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToAddressRequirements.js","sourceRoot":"","sources":["../../../src/hooks/useToAddressRequirements.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAA;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACjE,OAAO,EAAE,QA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I,mBAAmB;QACvD,SAAS,EAAE,qBAAqB,IAAI,mBAAmB;KACxD,CAAA;AACH,CAAC,CAAA"}
|
package/dist/esm/i18n/bn.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"close": "",
|
|
22
22
|
"confirm": "",
|
|
23
23
|
"connectAnotherWallet": "",
|
|
24
|
+
"connectChainWallet": "",
|
|
24
25
|
"connectWallet": "ওয়ালেট সংযুক্ত করুন",
|
|
25
26
|
"contactSupport": "সাপোর্ট এ যোগাযোগ করুন",
|
|
26
27
|
"continue": "এগিয়ে যান",
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
"startSwapping": "",
|
|
48
49
|
"swap": "সোওয়াপ",
|
|
49
50
|
"swapReview": "",
|
|
51
|
+
"system": "",
|
|
50
52
|
"tryAgain": "আবার চেষ্টা করুন",
|
|
51
53
|
"viewCoverage": "কভারেজ দেখুন",
|
|
52
54
|
"viewOnExplorer": "এক্সপ্লোরারে দেখুন"
|
|
@@ -66,7 +68,9 @@
|
|
|
66
68
|
"gas": "গ্যাস",
|
|
67
69
|
"payWith": "",
|
|
68
70
|
"receive": "",
|
|
71
|
+
"received": "",
|
|
69
72
|
"recentWallets": "",
|
|
73
|
+
"refunded": "",
|
|
70
74
|
"selectChain": "চেইন নির্বাচন করুন",
|
|
71
75
|
"selectWallet": "আপনার ওয়ালেট নির্বাচন করুন",
|
|
72
76
|
"send": "",
|
|
@@ -90,7 +94,8 @@
|
|
|
90
94
|
"emptyTokenList": "",
|
|
91
95
|
"emptyTransactionHistory": "",
|
|
92
96
|
"routeNotFound": "",
|
|
93
|
-
"toAddressIsRequired": ""
|
|
97
|
+
"toAddressIsRequired": "",
|
|
98
|
+
"missingRouteRequiredAccount": ""
|
|
94
99
|
},
|
|
95
100
|
"title": {
|
|
96
101
|
"autoRefuel": "",
|
|
@@ -101,9 +106,7 @@
|
|
|
101
106
|
},
|
|
102
107
|
"success": {
|
|
103
108
|
"message": {
|
|
104
|
-
"exchangePartiallySuccessful": ""
|
|
105
|
-
"exchangeSuccessful": "",
|
|
106
|
-
"checkoutSuccessful": ""
|
|
109
|
+
"exchangePartiallySuccessful": ""
|
|
107
110
|
},
|
|
108
111
|
"title": {
|
|
109
112
|
"bridgePartiallySuccessful": "",
|
|
@@ -145,9 +148,11 @@
|
|
|
145
148
|
"message": {
|
|
146
149
|
"allowanceRequired": "",
|
|
147
150
|
"insufficientFunds": "",
|
|
151
|
+
"rateLimitExceeded": "",
|
|
148
152
|
"remainInYourWallet": "",
|
|
149
153
|
"signatureRejected": "",
|
|
150
154
|
"slippageThreshold": "স্লিপেজ সংজ্ঞায়িত থ্রেশহোল্ডের চেয়ে বড়। একটি নতুন উদ্ধৃতি পেতে একটি নতুন রুট অনুরোধ করুন।",
|
|
155
|
+
"thirdPartyError": "",
|
|
151
156
|
"transactionCanceled": "",
|
|
152
157
|
"transactionConflict": "",
|
|
153
158
|
"transactionExpired": "",
|
|
@@ -167,8 +172,10 @@
|
|
|
167
172
|
"exchangeRateUpdateCanceled": "",
|
|
168
173
|
"gasLimitIsTooLow": "গ্যাসের সীমা খুব কম",
|
|
169
174
|
"insufficientFunds": "",
|
|
175
|
+
"rateLimitExceeded": "",
|
|
170
176
|
"signatureRejected": "",
|
|
171
177
|
"slippageNotMet": "স্লিপেজ শর্ত পূরণ করা হয়নি",
|
|
178
|
+
"thirdPartyError": "",
|
|
172
179
|
"transactionCanceled": "লেনদেন বাতিল করা হয়েছে",
|
|
173
180
|
"transactionConflict": "",
|
|
174
181
|
"transactionExpired": "",
|
|
@@ -308,7 +315,7 @@
|
|
|
308
315
|
"searchExchanges": ""
|
|
309
316
|
},
|
|
310
317
|
"settings": {
|
|
311
|
-
"
|
|
318
|
+
"appearance": "",
|
|
312
319
|
"enabledBridges": "",
|
|
313
320
|
"enabledExchanges": "",
|
|
314
321
|
"gasPrice": {
|
package/dist/esm/i18n/de.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"close": "",
|
|
22
22
|
"confirm": "",
|
|
23
23
|
"connectAnotherWallet": "",
|
|
24
|
+
"connectChainWallet": "",
|
|
24
25
|
"connectWallet": "Wallet verbinden",
|
|
25
26
|
"contactSupport": "Support kontaktieren",
|
|
26
27
|
"continue": "Fortsetzen",
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
"startSwapping": "Swap starten",
|
|
48
49
|
"swap": "Swap",
|
|
49
50
|
"swapReview": "",
|
|
51
|
+
"system": "",
|
|
50
52
|
"tryAgain": "Erneut versuchen",
|
|
51
53
|
"viewCoverage": "Deckung anzeigen",
|
|
52
54
|
"viewOnExplorer": "Im Explorer anzeigen"
|
|
@@ -55,18 +57,20 @@
|
|
|
55
57
|
"activeTransactions": "Aktive Transaktion",
|
|
56
58
|
"amount": "",
|
|
57
59
|
"bookmarkedWallets": "",
|
|
58
|
-
"bridge": "
|
|
60
|
+
"bridge": "",
|
|
59
61
|
"checkout": "Zur Kasse",
|
|
60
62
|
"checkoutDetails": "",
|
|
61
63
|
"deposit": "",
|
|
62
64
|
"depositDetails": "",
|
|
63
65
|
"depositTo": "",
|
|
64
|
-
"exchange": "
|
|
66
|
+
"exchange": "",
|
|
65
67
|
"from": "Swap von",
|
|
66
68
|
"gas": "Gas",
|
|
67
69
|
"payWith": "Zahle mit",
|
|
68
70
|
"receive": "",
|
|
71
|
+
"received": "",
|
|
69
72
|
"recentWallets": "",
|
|
73
|
+
"refunded": "",
|
|
70
74
|
"selectChain": "Chain auswählen",
|
|
71
75
|
"selectWallet": "Wallet wählen",
|
|
72
76
|
"send": "",
|
|
@@ -90,7 +94,8 @@
|
|
|
90
94
|
"emptyTokenList": "Es wurden keine Tokens auf der Chain {{chainName}} gefunden oder Sie haben keine. Bitte versuchen Sie die Suche erneut mit der Contract-Adresse falls Ihr Token nicht erscheint oder wechseln Sie die Chain.",
|
|
91
95
|
"emptyTransactionHistory": "Die Transaktionshistorie wird nur lokal gespeichert und gelöscht, wenn Sie Ihre Browserdaten löschen.",
|
|
92
96
|
"routeNotFound": "Gründe dafür könnten lauten: geringe Liquidität, gewählter Betrag ist zu niedrig, die Gaskosten sind zu hoch oder es gibt keine Routen für die ausgewählte Kombination.",
|
|
93
|
-
"toAddressIsRequired": ""
|
|
97
|
+
"toAddressIsRequired": "",
|
|
98
|
+
"missingRouteRequiredAccount": ""
|
|
94
99
|
},
|
|
95
100
|
"title": {
|
|
96
101
|
"autoRefuel": "",
|
|
@@ -101,9 +106,7 @@
|
|
|
101
106
|
},
|
|
102
107
|
"success": {
|
|
103
108
|
"message": {
|
|
104
|
-
"exchangePartiallySuccessful": ""
|
|
105
|
-
"exchangeSuccessful": "",
|
|
106
|
-
"checkoutSuccessful": ""
|
|
109
|
+
"exchangePartiallySuccessful": ""
|
|
107
110
|
},
|
|
108
111
|
"title": {
|
|
109
112
|
"bridgePartiallySuccessful": "Bridge teilweise erfolgreich",
|
|
@@ -145,9 +148,11 @@
|
|
|
145
148
|
"message": {
|
|
146
149
|
"allowanceRequired": "Überweisungsbetrag für {{tokenSymbol}} überschreitet Ihre derzeitige Zulassung. Bitte erhöhen Sie das Limit und versuchen Sie es erneut.",
|
|
147
150
|
"insufficientFunds": "Sie haben nicht genug Gas, um die Kosten der Transaktion zu decken.",
|
|
151
|
+
"rateLimitExceeded": "",
|
|
148
152
|
"remainInYourWallet": "",
|
|
149
153
|
"signatureRejected": "",
|
|
150
154
|
"slippageThreshold": "Die Slippage ist größer als der definierte Schwellenwert. Bitte fordern Sie eine neue Route an, um ein neues Angebot zu erhalten.",
|
|
155
|
+
"thirdPartyError": "",
|
|
151
156
|
"transactionCanceled": "",
|
|
152
157
|
"transactionConflict": "",
|
|
153
158
|
"transactionExpired": "",
|
|
@@ -167,8 +172,10 @@
|
|
|
167
172
|
"exchangeRateUpdateCanceled": "",
|
|
168
173
|
"gasLimitIsTooLow": "Das Gaslimit ist zu niedrig",
|
|
169
174
|
"insufficientFunds": "Unzureichendes Guthaben",
|
|
175
|
+
"rateLimitExceeded": "",
|
|
170
176
|
"signatureRejected": "",
|
|
171
177
|
"slippageNotMet": "Slippagebedingungen nicht erfüllt",
|
|
178
|
+
"thirdPartyError": "",
|
|
172
179
|
"transactionCanceled": "Transaktion abgebrochen",
|
|
173
180
|
"transactionConflict": "",
|
|
174
181
|
"transactionExpired": "",
|
|
@@ -284,10 +291,10 @@
|
|
|
284
291
|
"stepBridge": "Bridge",
|
|
285
292
|
"stepBridgeAndBuy": "Bridge und Kauf",
|
|
286
293
|
"stepBridgeAndDeposit": "",
|
|
287
|
-
"stepBuy": "
|
|
294
|
+
"stepBuy": "",
|
|
288
295
|
"stepDeposit": "",
|
|
289
296
|
"stepDetails": "{{tool}} via LI.FI",
|
|
290
|
-
"stepSwap": "
|
|
297
|
+
"stepSwap": "",
|
|
291
298
|
"stepSwapAndBridge": "Tauschen und überbrücken",
|
|
292
299
|
"stepSwapAndBuy": "Tauschen und kaufen",
|
|
293
300
|
"stepSwapAndDeposit": "",
|
|
@@ -308,7 +315,7 @@
|
|
|
308
315
|
"searchExchanges": ""
|
|
309
316
|
},
|
|
310
317
|
"settings": {
|
|
311
|
-
"
|
|
318
|
+
"appearance": "",
|
|
312
319
|
"enabledBridges": "",
|
|
313
320
|
"enabledExchanges": "",
|
|
314
321
|
"gasPrice": {
|
package/dist/esm/i18n/en.json
CHANGED
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
"info": {
|
|
88
88
|
"message": {
|
|
89
|
+
"accountDeployedMessage": "Your smart account may not have the same address on other chains. Please double-check before proceeding.",
|
|
89
90
|
"autoRefuel": "You're low on {{chainName}} gas. By continuing, you'll get enough gas to complete the transaction.",
|
|
90
91
|
"emptyActiveTransactions": "Transactions in progress will appear here. Once completed, find them in transaction history.",
|
|
91
92
|
"emptyBridgesList": "We couldn't find any bridges that match your search",
|