@lifi/widget 1.28.4 → 1.29.1
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/AppDrawer.style.d.ts +1 -1
- package/AppProvider.js +2 -2
- package/cjs/AppDrawer.style.d.ts +1 -1
- package/cjs/AppProvider.js +2 -2
- package/cjs/components/ActiveSwaps/ActiveSwaps.style.d.ts +2 -2
- package/cjs/components/ActiveSwaps/ActiveSwaps.style.js +1 -1
- package/cjs/components/AppContainer.d.ts +2 -2
- package/cjs/components/BottomSheet/BottomSheet.d.ts +1 -1
- package/cjs/components/Card/Card.d.ts +5 -3
- package/cjs/components/Card/Card.js +1 -3
- package/cjs/components/ChainSelect/ChainSelect.d.ts +0 -1
- package/cjs/components/ChainSelect/ChainSelect.style.d.ts +7 -5
- package/cjs/components/GasSufficiencyMessage/GasSufficiencyMessage.style.d.ts +2 -2
- package/cjs/components/Header/Header.style.d.ts +3 -3
- package/cjs/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +1 -1
- package/cjs/components/SendToWallet/SendToWallet.style.d.ts +1 -1
- package/cjs/components/SmallAvatar.d.ts +2 -2
- package/cjs/components/Step/CircularProgress.d.ts +0 -1
- package/cjs/components/Step/CircularProgress.style.d.ts +2 -2
- package/cjs/components/Step/StepList.d.ts +0 -1
- package/cjs/components/Step/StepProcess.style.d.ts +1 -1
- package/cjs/components/SwapInput/SwapInput.style.d.ts +1 -1
- package/cjs/components/SwapInput/SwapInputAdornment.style.d.ts +1 -1
- package/cjs/components/SwapInput/SwapInputEndAdornment.d.ts +0 -1
- package/cjs/components/SwapRouteCard/SwapRouteCard.style.d.ts +1 -1
- package/cjs/components/SwapRouteCard/SwapRouteCard.style.js +1 -1
- package/cjs/components/SwapRouteCard/SwapRouteCardSkeleton.js +3 -1
- package/cjs/components/SwapRoutes/SwapRoutes.style.d.ts +6 -6
- package/cjs/components/SwapRoutes/SwapRoutesExpanded.d.ts +0 -1
- package/cjs/components/Switch.js +1 -1
- package/cjs/components/Token/Token.style.d.ts +4 -4
- package/cjs/components/Token/Token.style.js +3 -1
- package/cjs/components/TokenAvatar/TokenAvatar.style.d.ts +4 -4
- package/cjs/components/TokenList/TokenList.style.d.ts +1 -1
- package/cjs/components/TokenList/TokenList.style.js +1 -1
- package/cjs/config/theme.js +22 -27
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/hooks/useChains.js +2 -3
- package/cjs/hooks/useRouteExecution.js +4 -3
- package/cjs/hooks/useTools.js +2 -1
- package/cjs/pages/ActiveSwapsPage/ActiveSwapsPage.d.ts +0 -1
- package/cjs/pages/SelectChainPage/SelectChainPage.style.js +1 -1
- package/cjs/pages/SelectNativeTokenPage/SelectNativeTokenPage.style.js +1 -1
- package/cjs/pages/SelectTokenPage/SearchTokenInput.d.ts +0 -1
- package/cjs/pages/SelectWalletPage/SelectWalletPage.d.ts +0 -1
- package/cjs/pages/SelectWalletPage/SelectWalletPage.style.js +1 -1
- package/cjs/pages/SettingsPage/AdvancedPreferences.d.ts +0 -1
- package/cjs/pages/SettingsPage/ColorSchemeButtonGroup.style.d.ts +1 -1
- package/cjs/pages/SettingsPage/GasPriceSelect.d.ts +0 -1
- package/cjs/pages/SettingsPage/SettingsPage.d.ts +0 -1
- package/cjs/pages/SettingsPage/ShowDestinationWallet.d.ts +0 -1
- package/cjs/pages/SettingsPage/SlippageInput.d.ts +0 -1
- package/cjs/pages/SwapPage/StatusBottomSheet.style.d.ts +4 -4
- package/cjs/providers/WalletProvider/WalletProvider.js +1 -1
- package/cjs/providers/WidgetProvider/WidgetProvider.js +3 -2
- package/cjs/stores/StoreProvider.d.ts +3 -0
- package/cjs/stores/StoreProvider.js +13 -0
- package/cjs/stores/chains/ChainOrderStore.d.ts +9 -0
- package/cjs/stores/chains/ChainOrderStore.js +44 -0
- package/cjs/stores/chains/createChainOrderStore.d.ts +4 -0
- package/cjs/stores/chains/{useChainOrderStore.js → createChainOrderStore.js} +4 -4
- package/cjs/stores/chains/index.d.ts +2 -1
- package/cjs/stores/chains/index.js +2 -1
- package/cjs/stores/chains/types.d.ts +2 -2
- package/cjs/stores/chains/useChainOrder.js +2 -2
- package/cjs/stores/index.d.ts +1 -0
- package/cjs/stores/index.js +1 -0
- package/cjs/stores/routes/RouteExecutionStore.d.ts +9 -0
- package/cjs/stores/routes/RouteExecutionStore.js +44 -0
- package/cjs/stores/routes/createRouteExecutionStore.d.ts +3 -0
- package/cjs/stores/routes/{useRouteExecutionStore.js → createRouteExecutionStore.js} +6 -4
- package/cjs/stores/routes/index.d.ts +1 -1
- package/cjs/stores/routes/index.js +1 -1
- package/cjs/stores/routes/types.d.ts +5 -5
- package/cjs/stores/routes/useExecutingRoutesIds.js +2 -2
- package/cjs/stores/routes/useSetExecutableRoute.js +2 -2
- package/cjs/stores/routes/useSwapHistory.js +2 -2
- package/cjs/stores/settings/SettingsStore.d.ts +11 -0
- package/cjs/stores/settings/SettingsStore.js +58 -0
- package/cjs/stores/settings/createSettingsStore.d.ts +5 -0
- package/cjs/stores/settings/{useSettingsStore.js → createSettingsStore.js} +4 -19
- package/cjs/stores/settings/index.d.ts +1 -1
- package/cjs/stores/settings/index.js +1 -1
- package/cjs/stores/settings/types.d.ts +4 -4
- package/cjs/stores/settings/useAppearance.js +2 -2
- package/cjs/stores/settings/useSettings.js +2 -2
- package/cjs/stores/types.d.ts +5 -0
- package/cjs/stores/types.js +2 -0
- package/cjs/types/widget.d.ts +1 -0
- package/components/ActiveSwaps/ActiveSwaps.style.d.ts +2 -2
- package/components/ActiveSwaps/ActiveSwaps.style.js +1 -1
- package/components/AppContainer.d.ts +2 -2
- package/components/BottomSheet/BottomSheet.d.ts +1 -1
- package/components/Card/Card.d.ts +5 -3
- package/components/Card/Card.js +1 -3
- package/components/ChainSelect/ChainSelect.d.ts +0 -1
- package/components/ChainSelect/ChainSelect.style.d.ts +7 -5
- package/components/GasSufficiencyMessage/GasSufficiencyMessage.style.d.ts +2 -2
- package/components/Header/Header.style.d.ts +3 -3
- package/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +1 -1
- package/components/SendToWallet/SendToWallet.style.d.ts +1 -1
- package/components/SmallAvatar.d.ts +2 -2
- package/components/Step/CircularProgress.d.ts +0 -1
- package/components/Step/CircularProgress.style.d.ts +2 -2
- package/components/Step/StepList.d.ts +0 -1
- package/components/Step/StepProcess.style.d.ts +1 -1
- package/components/SwapInput/SwapInput.style.d.ts +1 -1
- package/components/SwapInput/SwapInputAdornment.style.d.ts +1 -1
- package/components/SwapInput/SwapInputEndAdornment.d.ts +0 -1
- package/components/SwapRouteCard/SwapRouteCard.style.d.ts +1 -1
- package/components/SwapRouteCard/SwapRouteCard.style.js +1 -1
- package/components/SwapRouteCard/SwapRouteCardSkeleton.js +3 -1
- package/components/SwapRoutes/SwapRoutes.style.d.ts +6 -6
- package/components/SwapRoutes/SwapRoutesExpanded.d.ts +0 -1
- package/components/Switch.js +1 -1
- package/components/Token/Token.style.d.ts +4 -4
- package/components/Token/Token.style.js +4 -2
- package/components/TokenAvatar/TokenAvatar.style.d.ts +4 -4
- package/components/TokenList/TokenList.style.d.ts +1 -1
- package/components/TokenList/TokenList.style.js +1 -1
- package/config/theme.js +22 -27
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/hooks/useChains.js +3 -4
- package/hooks/useRouteExecution.js +5 -4
- package/hooks/useTools.js +3 -2
- package/package.json +11 -11
- package/pages/ActiveSwapsPage/ActiveSwapsPage.d.ts +0 -1
- package/pages/SelectChainPage/SelectChainPage.style.js +1 -1
- package/pages/SelectNativeTokenPage/SelectNativeTokenPage.style.js +1 -1
- package/pages/SelectTokenPage/SearchTokenInput.d.ts +0 -1
- package/pages/SelectWalletPage/SelectWalletPage.d.ts +0 -1
- package/pages/SelectWalletPage/SelectWalletPage.style.js +1 -1
- package/pages/SettingsPage/AdvancedPreferences.d.ts +0 -1
- package/pages/SettingsPage/ColorSchemeButtonGroup.style.d.ts +1 -1
- package/pages/SettingsPage/GasPriceSelect.d.ts +0 -1
- package/pages/SettingsPage/SettingsPage.d.ts +0 -1
- package/pages/SettingsPage/ShowDestinationWallet.d.ts +0 -1
- package/pages/SettingsPage/SlippageInput.d.ts +0 -1
- package/pages/SwapPage/StatusBottomSheet.style.d.ts +4 -4
- package/providers/WalletProvider/WalletProvider.js +1 -1
- package/providers/WidgetProvider/WidgetProvider.js +4 -3
- package/stores/StoreProvider.d.ts +3 -0
- package/stores/StoreProvider.js +9 -0
- package/stores/chains/ChainOrderStore.d.ts +9 -0
- package/stores/chains/ChainOrderStore.js +38 -0
- package/stores/chains/createChainOrderStore.d.ts +4 -0
- package/stores/chains/{useChainOrderStore.js → createChainOrderStore.js} +2 -3
- package/stores/chains/index.d.ts +2 -1
- package/stores/chains/index.js +2 -1
- package/stores/chains/types.d.ts +2 -2
- package/stores/chains/useChainOrder.js +1 -1
- package/stores/index.d.ts +1 -0
- package/stores/index.js +1 -0
- package/stores/routes/RouteExecutionStore.d.ts +9 -0
- package/stores/routes/RouteExecutionStore.js +38 -0
- package/stores/routes/createRouteExecutionStore.d.ts +3 -0
- package/stores/routes/{useRouteExecutionStore.js → createRouteExecutionStore.js} +4 -3
- package/stores/routes/index.d.ts +1 -1
- package/stores/routes/index.js +1 -1
- package/stores/routes/types.d.ts +5 -5
- package/stores/routes/useExecutingRoutesIds.js +1 -1
- package/stores/routes/useSetExecutableRoute.js +1 -1
- package/stores/routes/useSwapHistory.js +1 -1
- package/stores/settings/SettingsStore.d.ts +11 -0
- package/stores/settings/SettingsStore.js +51 -0
- package/stores/settings/createSettingsStore.d.ts +5 -0
- package/stores/settings/{useSettingsStore.js → createSettingsStore.js} +2 -17
- package/stores/settings/index.d.ts +1 -1
- package/stores/settings/index.js +1 -1
- package/stores/settings/types.d.ts +4 -4
- package/stores/settings/useAppearance.js +1 -1
- package/stores/settings/useSettings.js +1 -1
- package/stores/types.d.ts +5 -0
- package/stores/types.js +1 -0
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/types/widget.d.ts +1 -0
- package/cjs/stores/chains/useChainOrderStore.d.ts +0 -17
- package/cjs/stores/routes/useRouteExecutionStore.d.ts +0 -16
- package/cjs/stores/settings/useSettingsStore.d.ts +0 -44
- package/stores/chains/useChainOrderStore.d.ts +0 -17
- package/stores/routes/useRouteExecutionStore.d.ts +0 -16
- package/stores/settings/useSettingsStore.d.ts +0 -44
package/types/widget.d.ts
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ChainOrderStore } from './types';
|
|
2
|
-
export declare const maxChainToOrder = 9;
|
|
3
|
-
export declare const useChainOrderStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<ChainOrderStore>, "persist"> & {
|
|
4
|
-
persist: {
|
|
5
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<ChainOrderStore, {
|
|
6
|
-
chainOrder: number[];
|
|
7
|
-
}>>) => void;
|
|
8
|
-
clearStorage: () => void;
|
|
9
|
-
rehydrate: () => void | Promise<void>;
|
|
10
|
-
hasHydrated: () => boolean;
|
|
11
|
-
onHydrate: (fn: (state: ChainOrderStore) => void) => () => void;
|
|
12
|
-
onFinishHydration: (fn: (state: ChainOrderStore) => void) => () => void;
|
|
13
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<ChainOrderStore, {
|
|
14
|
-
chainOrder: number[];
|
|
15
|
-
}>>;
|
|
16
|
-
};
|
|
17
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { RouteExecutionStore } from './types';
|
|
2
|
-
export declare const useRouteExecutionStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<RouteExecutionStore>, "persist"> & {
|
|
3
|
-
persist: {
|
|
4
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<RouteExecutionStore, {
|
|
5
|
-
routes: Partial<Record<string, import("./types").RouteExecution>>;
|
|
6
|
-
}>>) => void;
|
|
7
|
-
clearStorage: () => void;
|
|
8
|
-
rehydrate: () => void | Promise<void>;
|
|
9
|
-
hasHydrated: () => boolean;
|
|
10
|
-
onHydrate: (fn: (state: RouteExecutionStore) => void) => () => void;
|
|
11
|
-
onFinishHydration: (fn: (state: RouteExecutionStore) => void) => () => void;
|
|
12
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<RouteExecutionStore, {
|
|
13
|
-
routes: Partial<Record<string, import("./types").RouteExecution>>;
|
|
14
|
-
}>>;
|
|
15
|
-
};
|
|
16
|
-
}>;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { WidgetConfig } from '../../types';
|
|
2
|
-
import type { SettingsState, SettingsStore } from './types';
|
|
3
|
-
export declare const defaultConfigurableSettings: Pick<SettingsState, 'routePriority' | 'slippage'>;
|
|
4
|
-
export declare const defaultSettings: SettingsState;
|
|
5
|
-
export declare const useSettingsStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SettingsStore>, "persist"> & {
|
|
6
|
-
persist: {
|
|
7
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<SettingsStore, {
|
|
8
|
-
setValue: import("./types").ValueSetter<SettingsState>;
|
|
9
|
-
setValues: import("./types").ValuesSetter<SettingsState>;
|
|
10
|
-
initializeTools(toolType: import("./types").SettingsToolType, tools: string[]): void;
|
|
11
|
-
setTools(toolType: import("./types").SettingsToolType, tools: string[], availableTools: (Pick<import("@lifi/types").Bridge, "key"> | Pick<import("@lifi/types").Exchange, "key">)[]): void;
|
|
12
|
-
advancedPreferences: boolean;
|
|
13
|
-
appearance: import("../../types").Appearance;
|
|
14
|
-
gasPrice?: string | undefined;
|
|
15
|
-
language?: string | undefined;
|
|
16
|
-
routePriority?: "RECOMMENDED" | "FASTEST" | "CHEAPEST" | "SAFEST" | undefined;
|
|
17
|
-
showDestinationWallet: boolean;
|
|
18
|
-
slippage?: string | undefined;
|
|
19
|
-
_enabledBridges?: Record<string, boolean> | undefined;
|
|
20
|
-
_enabledExchanges?: Record<string, boolean> | undefined;
|
|
21
|
-
}>>) => void;
|
|
22
|
-
clearStorage: () => void;
|
|
23
|
-
rehydrate: () => void | Promise<void>;
|
|
24
|
-
hasHydrated: () => boolean;
|
|
25
|
-
onHydrate: (fn: (state: SettingsStore) => void) => () => void;
|
|
26
|
-
onFinishHydration: (fn: (state: SettingsStore) => void) => () => void;
|
|
27
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<SettingsStore, {
|
|
28
|
-
setValue: import("./types").ValueSetter<SettingsState>;
|
|
29
|
-
setValues: import("./types").ValuesSetter<SettingsState>;
|
|
30
|
-
initializeTools(toolType: import("./types").SettingsToolType, tools: string[]): void;
|
|
31
|
-
setTools(toolType: import("./types").SettingsToolType, tools: string[], availableTools: (Pick<import("@lifi/types").Bridge, "key"> | Pick<import("@lifi/types").Exchange, "key">)[]): void;
|
|
32
|
-
advancedPreferences: boolean;
|
|
33
|
-
appearance: import("../../types").Appearance;
|
|
34
|
-
gasPrice?: string | undefined;
|
|
35
|
-
language?: string | undefined;
|
|
36
|
-
routePriority?: "RECOMMENDED" | "FASTEST" | "CHEAPEST" | "SAFEST" | undefined;
|
|
37
|
-
showDestinationWallet: boolean;
|
|
38
|
-
slippage?: string | undefined;
|
|
39
|
-
_enabledBridges?: Record<string, boolean> | undefined;
|
|
40
|
-
_enabledExchanges?: Record<string, boolean> | undefined;
|
|
41
|
-
}>>;
|
|
42
|
-
};
|
|
43
|
-
}>;
|
|
44
|
-
export declare const setDefaultSettings: (config?: WidgetConfig) => void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ChainOrderStore } from './types';
|
|
2
|
-
export declare const maxChainToOrder = 9;
|
|
3
|
-
export declare const useChainOrderStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<ChainOrderStore>, "persist"> & {
|
|
4
|
-
persist: {
|
|
5
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<ChainOrderStore, {
|
|
6
|
-
chainOrder: number[];
|
|
7
|
-
}>>) => void;
|
|
8
|
-
clearStorage: () => void;
|
|
9
|
-
rehydrate: () => void | Promise<void>;
|
|
10
|
-
hasHydrated: () => boolean;
|
|
11
|
-
onHydrate: (fn: (state: ChainOrderStore) => void) => () => void;
|
|
12
|
-
onFinishHydration: (fn: (state: ChainOrderStore) => void) => () => void;
|
|
13
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<ChainOrderStore, {
|
|
14
|
-
chainOrder: number[];
|
|
15
|
-
}>>;
|
|
16
|
-
};
|
|
17
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { RouteExecutionStore } from './types';
|
|
2
|
-
export declare const useRouteExecutionStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<RouteExecutionStore>, "persist"> & {
|
|
3
|
-
persist: {
|
|
4
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<RouteExecutionStore, {
|
|
5
|
-
routes: Partial<Record<string, import("./types").RouteExecution>>;
|
|
6
|
-
}>>) => void;
|
|
7
|
-
clearStorage: () => void;
|
|
8
|
-
rehydrate: () => void | Promise<void>;
|
|
9
|
-
hasHydrated: () => boolean;
|
|
10
|
-
onHydrate: (fn: (state: RouteExecutionStore) => void) => () => void;
|
|
11
|
-
onFinishHydration: (fn: (state: RouteExecutionStore) => void) => () => void;
|
|
12
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<RouteExecutionStore, {
|
|
13
|
-
routes: Partial<Record<string, import("./types").RouteExecution>>;
|
|
14
|
-
}>>;
|
|
15
|
-
};
|
|
16
|
-
}>;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { WidgetConfig } from '../../types';
|
|
2
|
-
import type { SettingsState, SettingsStore } from './types';
|
|
3
|
-
export declare const defaultConfigurableSettings: Pick<SettingsState, 'routePriority' | 'slippage'>;
|
|
4
|
-
export declare const defaultSettings: SettingsState;
|
|
5
|
-
export declare const useSettingsStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<SettingsStore>, "persist"> & {
|
|
6
|
-
persist: {
|
|
7
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<SettingsStore, {
|
|
8
|
-
setValue: import("./types").ValueSetter<SettingsState>;
|
|
9
|
-
setValues: import("./types").ValuesSetter<SettingsState>;
|
|
10
|
-
initializeTools(toolType: import("./types").SettingsToolType, tools: string[]): void;
|
|
11
|
-
setTools(toolType: import("./types").SettingsToolType, tools: string[], availableTools: (Pick<import("@lifi/types").Bridge, "key"> | Pick<import("@lifi/types").Exchange, "key">)[]): void;
|
|
12
|
-
advancedPreferences: boolean;
|
|
13
|
-
appearance: import("../../types").Appearance;
|
|
14
|
-
gasPrice?: string | undefined;
|
|
15
|
-
language?: string | undefined;
|
|
16
|
-
routePriority?: "RECOMMENDED" | "FASTEST" | "CHEAPEST" | "SAFEST" | undefined;
|
|
17
|
-
showDestinationWallet: boolean;
|
|
18
|
-
slippage?: string | undefined;
|
|
19
|
-
_enabledBridges?: Record<string, boolean> | undefined;
|
|
20
|
-
_enabledExchanges?: Record<string, boolean> | undefined;
|
|
21
|
-
}>>) => void;
|
|
22
|
-
clearStorage: () => void;
|
|
23
|
-
rehydrate: () => void | Promise<void>;
|
|
24
|
-
hasHydrated: () => boolean;
|
|
25
|
-
onHydrate: (fn: (state: SettingsStore) => void) => () => void;
|
|
26
|
-
onFinishHydration: (fn: (state: SettingsStore) => void) => () => void;
|
|
27
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<SettingsStore, {
|
|
28
|
-
setValue: import("./types").ValueSetter<SettingsState>;
|
|
29
|
-
setValues: import("./types").ValuesSetter<SettingsState>;
|
|
30
|
-
initializeTools(toolType: import("./types").SettingsToolType, tools: string[]): void;
|
|
31
|
-
setTools(toolType: import("./types").SettingsToolType, tools: string[], availableTools: (Pick<import("@lifi/types").Bridge, "key"> | Pick<import("@lifi/types").Exchange, "key">)[]): void;
|
|
32
|
-
advancedPreferences: boolean;
|
|
33
|
-
appearance: import("../../types").Appearance;
|
|
34
|
-
gasPrice?: string | undefined;
|
|
35
|
-
language?: string | undefined;
|
|
36
|
-
routePriority?: "RECOMMENDED" | "FASTEST" | "CHEAPEST" | "SAFEST" | undefined;
|
|
37
|
-
showDestinationWallet: boolean;
|
|
38
|
-
slippage?: string | undefined;
|
|
39
|
-
_enabledBridges?: Record<string, boolean> | undefined;
|
|
40
|
-
_enabledExchanges?: Record<string, boolean> | undefined;
|
|
41
|
-
}>>;
|
|
42
|
-
};
|
|
43
|
-
}>;
|
|
44
|
-
export declare const setDefaultSettings: (config?: WidgetConfig) => void;
|