@lifi/widget 3.23.0 → 3.23.2-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.
Files changed (75) hide show
  1. package/dist/esm/AppDrawer.style.d.ts +1 -1
  2. package/dist/esm/components/ActiveTransactions/ActiveTransactions.js +2 -5
  3. package/dist/esm/components/ActiveTransactions/ActiveTransactions.js.map +1 -1
  4. package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +0 -1
  5. package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.js +2 -10
  6. package/dist/esm/components/ActiveTransactions/ActiveTransactions.style.js.map +1 -1
  7. package/dist/esm/components/AmountInput/AmountInputAdornment.style.d.ts +1 -1
  8. package/dist/esm/components/ButtonTertiary.d.ts +1 -1
  9. package/dist/esm/components/Card/CardIconButton.d.ts +1 -1
  10. package/dist/esm/components/Header/Header.style.d.ts +1 -1
  11. package/dist/esm/components/Header/SettingsButton.style.d.ts +1 -1
  12. package/dist/esm/components/Messages/AccountDeployedMessage.d.ts +2 -0
  13. package/dist/esm/components/Messages/AccountDeployedMessage.js +13 -0
  14. package/dist/esm/components/Messages/AccountDeployedMessage.js.map +1 -0
  15. package/dist/esm/components/Messages/WarningMessages.js +3 -0
  16. package/dist/esm/components/Messages/WarningMessages.js.map +1 -1
  17. package/dist/esm/components/Messages/useMessageQueue.js +8 -1
  18. package/dist/esm/components/Messages/useMessageQueue.js.map +1 -1
  19. package/dist/esm/components/Skeleton/WidgetSkeleton.style.d.ts +2 -2
  20. package/dist/esm/components/TokenList/TokenList.style.d.ts +1 -1
  21. package/dist/esm/config/version.d.ts +1 -1
  22. package/dist/esm/config/version.js +1 -1
  23. package/dist/esm/config/version.js.map +1 -1
  24. package/dist/esm/hooks/useToAddressRequirements.d.ts +1 -0
  25. package/dist/esm/hooks/useToAddressRequirements.js +5 -0
  26. package/dist/esm/hooks/useToAddressRequirements.js.map +1 -1
  27. package/dist/esm/i18n/bn.json +12 -5
  28. package/dist/esm/i18n/de.json +16 -9
  29. package/dist/esm/i18n/en.json +1 -0
  30. package/dist/esm/i18n/es.json +13 -6
  31. package/dist/esm/i18n/fr.json +13 -6
  32. package/dist/esm/i18n/hi.json +32 -25
  33. package/dist/esm/i18n/id.json +15 -8
  34. package/dist/esm/i18n/it.json +14 -7
  35. package/dist/esm/i18n/ja.json +12 -5
  36. package/dist/esm/i18n/ko.json +12 -5
  37. package/dist/esm/i18n/pt.json +16 -9
  38. package/dist/esm/i18n/th.json +12 -5
  39. package/dist/esm/i18n/tr.json +13 -6
  40. package/dist/esm/i18n/uk.json +12 -5
  41. package/dist/esm/i18n/vi.json +13 -6
  42. package/dist/esm/i18n/zh.json +12 -5
  43. package/dist/esm/pages/SendToWallet/SendToWalletPage.js +10 -5
  44. package/dist/esm/pages/SendToWallet/SendToWalletPage.js.map +1 -1
  45. package/dist/esm/pages/SendToWallet/SendToWalletPage.style.d.ts +2 -2
  46. package/dist/esm/types/widget.d.ts +4 -2
  47. package/dist/esm/types/widget.js +2 -0
  48. package/dist/esm/types/widget.js.map +1 -1
  49. package/package.json +1 -1
  50. package/package.json.tmp +1 -1
  51. package/src/components/ActiveTransactions/ActiveTransactions.style.ts +1 -11
  52. package/src/components/ActiveTransactions/ActiveTransactions.tsx +12 -13
  53. package/src/components/Messages/AccountDeployedMessage.tsx +28 -0
  54. package/src/components/Messages/WarningMessages.tsx +3 -0
  55. package/src/components/Messages/useMessageQueue.ts +9 -0
  56. package/src/config/version.ts +1 -1
  57. package/src/hooks/useToAddressRequirements.ts +7 -0
  58. package/src/i18n/bn.json +12 -5
  59. package/src/i18n/de.json +16 -9
  60. package/src/i18n/en.json +1 -0
  61. package/src/i18n/es.json +13 -6
  62. package/src/i18n/fr.json +13 -6
  63. package/src/i18n/hi.json +32 -25
  64. package/src/i18n/id.json +15 -8
  65. package/src/i18n/it.json +14 -7
  66. package/src/i18n/ja.json +12 -5
  67. package/src/i18n/ko.json +12 -5
  68. package/src/i18n/pt.json +16 -9
  69. package/src/i18n/th.json +12 -5
  70. package/src/i18n/tr.json +13 -6
  71. package/src/i18n/uk.json +12 -5
  72. package/src/i18n/vi.json +13 -6
  73. package/src/i18n/zh.json +12 -5
  74. package/src/pages/SendToWallet/SendToWalletPage.tsx +77 -66
  75. package/src/types/widget.ts +2 -0
@@ -10,6 +10,7 @@ import { useTranslation } from 'react-i18next';
10
10
  import { useNavigate } from 'react-router-dom';
11
11
  import { ButtonTertiary } from '../../components/ButtonTertiary.js';
12
12
  import { CardButton } from '../../components/Card/CardButton.js';
13
+ import { AccountDeployedMessage } from '../../components/Messages/AccountDeployedMessage.js';
13
14
  import { AddressType, useAddressValidation, } from '../../hooks/useAddressValidation.js';
14
15
  import { useChain } from '../../hooks/useChain.js';
15
16
  import { useHeader } from '../../hooks/useHeader.js';
@@ -19,6 +20,7 @@ import { useBookmarkActions } from '../../stores/bookmarks/useBookmarkActions.js
19
20
  import { useBookmarks } from '../../stores/bookmarks/useBookmarks.js';
20
21
  import { useFieldActions } from '../../stores/form/useFieldActions.js';
21
22
  import { useFieldValues } from '../../stores/form/useFieldValues.js';
23
+ import { HiddenUI, RequiredUI } from '../../types/widget.js';
22
24
  import { navigationRoutes } from '../../utils/navigationRoutes.js';
23
25
  import { BookmarkAddressSheet } from './BookmarkAddressSheet.js';
24
26
  import { ConfirmAddressSheet } from './ConfirmAddressSheet.js';
@@ -40,7 +42,7 @@ export const SendToWalletPage = () => {
40
42
  const { chain: toChain } = useChain(toChainId);
41
43
  const [isDoneButtonLoading, setIsDoneButtonLoading] = useState(false);
42
44
  const [isBookmarkButtonLoading, setIsBookmarkButtonLoading] = useState(false);
43
- const { variant } = useWidgetConfig();
45
+ const { variant, hiddenUI, requiredUI } = useWidgetConfig();
44
46
  const { accounts } = useAccount();
45
47
  const connectedWallets = accounts.filter((account) => account.isConnected);
46
48
  useHeader(t('header.sendToWallet'));
@@ -143,13 +145,16 @@ export const SendToWalletPage = () => {
143
145
  const placeholder = t('sendToWallet.enterAddress', {
144
146
  context: 'long',
145
147
  });
146
- return (_jsxs(FullHeightAdjustablePageContainer, { bottomGutters: true, enableFullHeight: variant !== 'drawer', children: [_jsxs(SendToWalletCard, { type: errorMessage ? 'error' : 'default', sx: {
148
+ return (_jsxs(FullHeightAdjustablePageContainer, { bottomGutters: true, enableFullHeight: variant !== 'drawer', children: [_jsxs(Box, { sx: {
149
+ display: 'flex',
150
+ flexDirection: 'column',
151
+ gap: 2,
147
152
  marginBottom: 6,
148
- }, children: [_jsx(AddressInput, { size: "small", autoComplete: "off", autoCorrect: "off", autoCapitalize: "off", spellCheck: "false", onChange: handleInputChange, value: inputAddressValue, placeholder: placeholder, "aria-label": placeholder, maxRows: 2, inputProps: { maxLength: 128 }, multiline: true }), errorMessage ? (_jsx(ValidationAlert, { icon: _jsx(ErrorIcon, {}), sx: { pb: 2, paddingX: 2 }, children: errorMessage })) : null, _jsxs(SendToWalletButtonRow, { sx: { paddingX: 2, paddingBottom: 2 }, children: [_jsx(ButtonTertiary, { variant: "text", onClick: handleDone, loading: isDoneButtonLoading, loadingPosition: "center", sx: { flexGrow: 1 }, children: t('button.done') }), _jsx(Tooltip, { title: t('button.bookmark'), children: _jsx(SendToWalletIconButton, { onClick: handleBookmarkAddress, loading: isBookmarkButtonLoading, loadingPosition: "center", children: _jsx(TurnedIn, { fontSize: "small" }) }) })] }), _jsx(ConfirmAddressSheet, { ref: confirmAddressSheetRef, validatedBookmark: validatedWallet, onConfirm: handleOnConfirm }), _jsx(BookmarkAddressSheet, { ref: bookmarkAddressSheetRef, validatedWallet: validatedWallet, onAddBookmark: handleAddBookmark })] }), _jsxs(Box, { sx: { display: 'flex', flexDirection: 'column', gap: 1 }, children: [_jsx(CardButton, { title: t('header.recentWallets'), icon: _jsx(History, {}), onClick: handleRecentWalletsClick, children: !!recentWallets.length && (_jsx(Typography, { sx: {
153
+ }, children: [_jsxs(SendToWalletCard, { type: errorMessage ? 'error' : 'default', children: [_jsx(AddressInput, { size: "small", autoComplete: "off", autoCorrect: "off", autoCapitalize: "off", spellCheck: "false", onChange: handleInputChange, value: inputAddressValue, placeholder: placeholder, "aria-label": placeholder, maxRows: 2, inputProps: { maxLength: 128 }, multiline: true }), errorMessage ? (_jsx(ValidationAlert, { icon: _jsx(ErrorIcon, {}), sx: { pb: 2, paddingX: 2 }, children: errorMessage })) : null, _jsxs(SendToWalletButtonRow, { sx: { paddingX: 2, paddingBottom: 2 }, children: [_jsx(ButtonTertiary, { variant: "text", onClick: handleDone, loading: isDoneButtonLoading, loadingPosition: "center", sx: { flexGrow: 1 }, children: t('button.done') }), _jsx(Tooltip, { title: t('button.bookmark'), children: _jsx(SendToWalletIconButton, { onClick: handleBookmarkAddress, loading: isBookmarkButtonLoading, loadingPosition: "center", children: _jsx(TurnedIn, { fontSize: "small" }) }) })] }), _jsx(ConfirmAddressSheet, { ref: confirmAddressSheetRef, validatedBookmark: validatedWallet, onConfirm: handleOnConfirm }), _jsx(BookmarkAddressSheet, { ref: bookmarkAddressSheetRef, validatedWallet: validatedWallet, onAddBookmark: handleAddBookmark })] }), requiredUI?.includes(RequiredUI.AccountDeployedMessage) && (_jsx(AccountDeployedMessage, {}))] }), _jsxs(Box, { sx: { display: 'flex', flexDirection: 'column', gap: 1 }, children: [_jsx(CardButton, { title: t('header.recentWallets'), icon: _jsx(History, {}), onClick: handleRecentWalletsClick, children: !!recentWallets.length && (_jsx(Typography, { sx: {
149
154
  color: 'text.secondary',
150
- }, children: recentWallets.length })) }), _jsx(CardButton, { title: t('sendToWallet.connectedWallets'), icon: _jsx(Wallet, {}), onClick: handleConnectedWalletsClick, children: !!connectedWallets.length && (_jsx(Typography, { sx: {
155
+ }, children: recentWallets.length })) }), !hiddenUI?.includes(HiddenUI.AddressBookConnectedWallets) && (_jsx(CardButton, { title: t('sendToWallet.connectedWallets'), icon: _jsx(Wallet, {}), onClick: handleConnectedWalletsClick, children: !!connectedWallets.length && (_jsx(Typography, { sx: {
151
156
  color: 'text.secondary',
152
- }, children: connectedWallets.length })) }), _jsx(CardButton, { title: t('header.bookmarkedWallets'), icon: _jsx(TurnedIn, {}), onClick: handleBookmarkedWalletsClick, children: !!bookmarks.length && (_jsx(Typography, { sx: {
157
+ }, children: connectedWallets.length })) })), _jsx(CardButton, { title: t('header.bookmarkedWallets'), icon: _jsx(TurnedIn, {}), onClick: handleBookmarkedWalletsClick, children: !!bookmarks.length && (_jsx(Typography, { sx: {
153
158
  color: 'text.secondary',
154
159
  }, children: bookmarks.length })) })] })] }));
155
160
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SendToWalletPage.js","sourceRoot":"","sources":["../../../../src/pages/SendToWallet/SendToWalletPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,SAAS,MAAM,2BAA2B,CAAA;AACjD,OAAO,OAAO,MAAM,6BAA6B,CAAA;AACjD,OAAO,QAAQ,MAAM,8BAA8B,CAAA;AACnD,OAAO,MAAM,MAAM,4BAA4B,CAAA;AAC/C,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAExD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAChE,OAAO,EACL,WAAW,EACX,oBAAoB,GACrB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAA;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,kDAAk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CAC5D,KAAC,UAAU,IACT,KAAK,EAAE,CAAC,CAAC,+BAA+B,CAAC,EACzC,IAAI,EAAE,KAAC,MAAM,KAAG,EAChB,OAAO,EAAE,2BAA2B,YAEnC,CAAC,CAAC,gBAAgB,CAAC,MAAM,IAAI,CAC5B,KAAC,UAAU,IACT,EAAE,EAAE;gCACF,KAAK,EAAE,gBAAgB;6BACxB,YAEA,gBAAgB,CAAC,MAAM,GACb,CACd,GACU,CACd,EACD,KAAC,UAAU,IACT,KAAK,EAAE,CAAC,CAAC,0BAA0B,CAAC,EACpC,IAAI,EAAE,KAAC,QAAQ,KAAG,EAClB,OAAO,EAAE,4BAA4B,YAEpC,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CACrB,KAAC,UAAU,IACT,EAAE,EAAE;gCACF,KAAK,EAAE,gBAAgB;6BACxB,YAEA,SAAS,CAAC,MAAM,GACN,CACd,GACU,IACT,IAC4B,CACrC,CAAA;AACH,CAAC,CAAA"}
@@ -9,7 +9,7 @@ export declare const FullHeightAdjustablePageContainer: import("@emotion/styled"
9
9
  export declare const SendToWalletCard: 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("../../components/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>, {}, {}>;
10
10
  export declare const SendToWalletSheetContainer: 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 SendToWalletButtonRow: 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>, {}, {}>;
12
- export declare const SendToWalletIconButton: 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>, {}, {}>;
12
+ export declare const SendToWalletIconButton: 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>, {}, {}>;
13
13
  export declare const IconContainer: 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>, {}, {}>;
14
14
  export declare const SheetTitle: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "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"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
15
15
  export declare const SheetAddressContainer: 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>, {}, {}>;
@@ -18,5 +18,5 @@ export declare const BookmarksListContainer: import("@emotion/styled").StyledCom
18
18
  export declare const BookmarkButtonContainer: 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>, {}, {}>;
19
19
  export declare const EmptyContainer: 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>, {}, {}>;
20
20
  export declare const ValidationAlert: import("@emotion/styled").StyledComponent<import("@mui/material").AlertProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
21
- export declare const OptionsMenuButton: 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" | "loading" | "loadingIndicator" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
21
+ export declare const OptionsMenuButton: 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>, {}, {}>;
22
22
  export {};
@@ -62,11 +62,13 @@ export declare enum HiddenUI {
62
62
  ReverseTokensButton = "reverseTokensButton",
63
63
  RouteTokenDescription = "routeTokenDescription",
64
64
  ChainSelect = "chainSelect",
65
- BridgesSettings = "bridgesSettings"
65
+ BridgesSettings = "bridgesSettings",
66
+ AddressBookConnectedWallets = "addressBookConnectedWallets"
66
67
  }
67
68
  export type HiddenUIType = `${HiddenUI}`;
68
69
  export declare enum RequiredUI {
69
- ToAddress = "toAddress"
70
+ ToAddress = "toAddress",
71
+ AccountDeployedMessage = "accountDeployedMessage"
70
72
  }
71
73
  export type RequiredUIType = `${RequiredUI}`;
72
74
  export type DefaultUI = {
@@ -20,9 +20,11 @@ export var HiddenUI;
20
20
  HiddenUI["RouteTokenDescription"] = "routeTokenDescription";
21
21
  HiddenUI["ChainSelect"] = "chainSelect";
22
22
  HiddenUI["BridgesSettings"] = "bridgesSettings";
23
+ HiddenUI["AddressBookConnectedWallets"] = "addressBookConnectedWallets";
23
24
  })(HiddenUI || (HiddenUI = {}));
24
25
  export var RequiredUI;
25
26
  (function (RequiredUI) {
26
27
  RequiredUI["ToAddress"] = "toAddress";
28
+ RequiredUI["AccountDeployedMessage"] = "accountDeployedMessage";
27
29
  })(RequiredUI || (RequiredUI = {}));
28
30
  //# sourceMappingURL=widget.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../src/types/widget.ts"],"names":[],"mappings":"AAoFA,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,uCAAyB,CAAA;IACzB,qCAAuB,CAAA;IACvB,qCAAuB,CAAA;IACvB,iCAAmB,CAAA;AACrB,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;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AGrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/widget",
3
- "version": "3.23.0",
3
+ "version": "3.23.2-beta.0",
4
4
  "description": "LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
package/package.json.tmp CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/widget",
3
- "version": "3.23.0",
3
+ "version": "3.23.2-beta.0",
4
4
  "description": "LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -1,5 +1,4 @@
1
1
  import {
2
- Button,
3
2
  ListItem as MuiListItem,
4
3
  ListItemButton as MuiListItemButton,
5
4
  listItemSecondaryActionClasses,
@@ -19,7 +18,7 @@ export const ListItemButton = styled(MuiListItemButton)(({ theme }) => ({
19
18
  export const ListItem = styled(MuiListItem, {
20
19
  shouldForwardProp: (prop) => prop !== 'disableRipple',
21
20
  })(({ theme }) => ({
22
- padding: theme.spacing(0, 2),
21
+ padding: theme.spacing(0),
23
22
  [`.${listItemSecondaryActionClasses.root}`]: {
24
23
  right: theme.spacing(3),
25
24
  },
@@ -27,12 +26,3 @@ export const ListItem = styled(MuiListItem, {
27
26
  cursor: 'pointer',
28
27
  },
29
28
  }))
30
-
31
- export const ShowAllButton = styled(Button)(({ theme }) => ({
32
- background: 'none',
33
- '&:hover': {
34
- background: 'none',
35
- },
36
- padding: theme.spacing(0.75, 2),
37
- fontSize: '0.875rem',
38
- }))
@@ -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
 
12
12
  export const ActiveTransactions: React.FC<CardProps> = (props) => {
13
13
  const { t } = useTranslation()
@@ -27,22 +27,21 @@ export const ActiveTransactions: React.FC<CardProps> = (props) => {
27
27
  return (
28
28
  <Card type="selected" selectionColor="secondary" {...props}>
29
29
  <CardTitle>{t('header.activeTransactions')}</CardTitle>
30
- <Stack
31
- spacing={1.5}
32
- sx={{
33
- pt: 1.5,
34
- pb: hasShowAll ? 0 : 2,
35
- }}
36
- >
30
+ <Stack spacing={1.5} sx={{ m: 2 }}>
37
31
  {executingRoutes.slice(0, 2).map((routeId) => (
38
32
  <ActiveTransactionItem key={routeId} routeId={routeId} dense />
39
33
  ))}
34
+ {hasShowAll ? (
35
+ <ButtonTertiary
36
+ variant="text"
37
+ onClick={handleShowAll}
38
+ disableRipple
39
+ fullWidth
40
+ >
41
+ {t('button.showAll')}
42
+ </ButtonTertiary>
43
+ ) : null}
40
44
  </Stack>
41
- {hasShowAll ? (
42
- <ShowAllButton disableRipple fullWidth onClick={handleShowAll}>
43
- {t('button.showAll')}
44
- </ShowAllButton>
45
- ) : null}
46
45
  </Card>
47
46
  )
48
47
  }
@@ -0,0 +1,28 @@
1
+ import WarningRounded from '@mui/icons-material/WarningRounded'
2
+ import type { BoxProps } from '@mui/material'
3
+ import { Typography } from '@mui/material'
4
+ import { useTranslation } from 'react-i18next'
5
+ import { AlertMessage } from './AlertMessage.js'
6
+
7
+ export const AccountDeployedMessage: React.FC<BoxProps> = ({ ...props }) => {
8
+ const { t } = useTranslation()
9
+ return (
10
+ <AlertMessage
11
+ title={
12
+ <Typography
13
+ variant="body2"
14
+ sx={{
15
+ px: 1,
16
+ color: 'text.primary',
17
+ }}
18
+ >
19
+ {t('info.message.accountDeployedMessage')}
20
+ </Typography>
21
+ }
22
+ icon={<WarningRounded />}
23
+ severity="warning"
24
+ multiline
25
+ {...props}
26
+ />
27
+ )
28
+ }
@@ -1,6 +1,7 @@
1
1
  import type { Route } from '@lifi/sdk'
2
2
  import type { BoxProps } from '@mui/material'
3
3
  import { Collapse } from '@mui/material'
4
+ import { AccountDeployedMessage } from './AccountDeployedMessage.js'
4
5
  import { AccountNotDeployedMessage } from './AccountNotDeployedMessage.js'
5
6
  import { FundsSufficiencyMessage } from './FundsSufficiencyMessage.js'
6
7
  import { GasSufficiencyMessage } from './GasSufficiencyMessage.js'
@@ -41,6 +42,8 @@ export const WarningMessages: React.FC<WarningMessagesProps> = ({
41
42
  )
42
43
  case 'ACCOUNT_NOT_DEPLOYED':
43
44
  return <AccountNotDeployedMessage {...props} />
45
+ case 'ACCOUNT_DEPLOYED':
46
+ return <AccountDeployedMessage {...props} />
44
47
  case 'TO_ADDRESS_REQUIRED':
45
48
  return <ToAddressRequiredMessage {...props} />
46
49
  default:
@@ -16,6 +16,7 @@ export const useMessageQueue = (route?: Route, allowInteraction?: boolean) => {
16
16
  requiredToAddress,
17
17
  toAddress,
18
18
  accountNotDeployedAtDestination,
19
+ accountDeployedAtDestination,
19
20
  isLoading: isToAddressRequirementsLoading,
20
21
  } = useToAddressRequirements(route)
21
22
  const { insufficientFromToken, isLoading: isFromTokenSufficiencyLoading } =
@@ -65,11 +66,19 @@ export const useMessageQueue = (route?: Route, allowInteraction?: boolean) => {
65
66
  })
66
67
  }
67
68
 
69
+ if (accountDeployedAtDestination && !allowInteraction) {
70
+ queue.push({
71
+ id: 'ACCOUNT_DEPLOYED',
72
+ priority: 6,
73
+ })
74
+ }
75
+
68
76
  return queue.sort((a, b) => a.priority - b.priority)
69
77
  }, [
70
78
  allowInteraction,
71
79
  insufficientFromToken,
72
80
  insufficientGas,
81
+ accountDeployedAtDestination,
73
82
  accountNotDeployedAtDestination,
74
83
  requiredToAddress,
75
84
  toAddress,
@@ -1,2 +1,2 @@
1
1
  export const name = '@lifi/widget'
2
- export const version = '3.23.0'
2
+ export const version = '3.23.2-beta.0'
@@ -68,10 +68,17 @@ export const useToAddressRequirements = (route?: RouteExtended) => {
68
68
  !isToContractAddress &&
69
69
  fromAddress?.toLowerCase() === toAddress?.toLowerCase()
70
70
 
71
+ const accountDeployedAtDestination =
72
+ isFromContractAddress &&
73
+ isToContractAddress &&
74
+ !fromContractCodeHasDelegationIndicator &&
75
+ fromAddress?.toLowerCase() === toAddress?.toLowerCase()
76
+
71
77
  return {
72
78
  requiredToAddress,
73
79
  requiredToChainType: toChain?.chainType,
74
80
  accountNotDeployedAtDestination,
81
+ accountDeployedAtDestination,
75
82
  toAddress,
76
83
  isFromContractAddress,
77
84
  isToContractAddress,
package/src/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
- "theme": "",
318
+ "appearance": "",
312
319
  "enabledBridges": "",
313
320
  "enabledExchanges": "",
314
321
  "gasPrice": {
package/src/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": "Bridge",
60
+ "bridge": "",
59
61
  "checkout": "Zur Kasse",
60
62
  "checkoutDetails": "",
61
63
  "deposit": "",
62
64
  "depositDetails": "",
63
65
  "depositTo": "",
64
- "exchange": "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": "Buy",
294
+ "stepBuy": "",
288
295
  "stepDeposit": "",
289
296
  "stepDetails": "{{tool}} via LI.FI",
290
- "stepSwap": "Swap",
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
- "theme": "",
318
+ "appearance": "",
312
319
  "enabledBridges": "",
313
320
  "enabledExchanges": "",
314
321
  "gasPrice": {
package/src/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",