Skip to content

Commit abf4a6f

Browse files
committed
organize swap provider type and history types
1 parent 13d7b41 commit abf4a6f

File tree

6 files changed

+267
-231
lines changed

6 files changed

+267
-231
lines changed

apps/extension/src/pages/ibc-swap/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ import { useInsufficientFeeAnalytics } from "../../hooks/analytics/use-insuffici
6868
import { getShouldTopUpSignOptions } from "../../utils/should-top-up-sign-options";
6969
import { useSwapFeeBps } from "./hooks/use-swap-fee-bps";
7070
import { useSwapPriceImpact } from "./hooks/use-swap-price-impact";
71-
import {
72-
RouteStepType,
73-
SwapProvider,
74-
} from "@keplr-wallet/stores-internal/build/swap/types";
71+
import { RouteStepType, SwapProvider } from "@keplr-wallet/stores-internal";
7572
import { Button } from "../../components/button";
7673
import { EvmGasSimulationOutcome, EthTxStatus } from "@keplr-wallet/types";
7774
// import { useSwapAnalytics } from "./hooks/use-swap-analytics";

apps/stores-internal/src/swap/types.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
export enum SwapProvider {
2-
SKIP = "skip",
3-
SQUID = "squid",
4-
}
1+
import { SwapProvider } from "@keplr-wallet/types";
2+
export { SwapProvider };
53

64
export enum SwapChainType {
75
COSMOS = "cosmos",

0 commit comments

Comments
 (0)