Skip to content

Commit

Permalink
fix: remove onChainQuoting (#112)
Browse files Browse the repository at this point in the history
* fix: remove onChainQuoting

* format
  • Loading branch information
jmdev3 authored Sep 19, 2024
1 parent 8f85be6 commit 1e8035b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsquid/squid-types",
"version": "0.1.106",
"version": "0.1.107",
"description": "JS and TS types relating to 0xsquid related projects.",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
8 changes: 7 additions & 1 deletion src/quote/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,11 @@ export interface QuoteAction extends Omit<PathAction, "data"> {
exchangeRate: string;
priceImpact: string;
stage?: ActionStage;
data: SwapDetails | WrapDetails | BridgeDetails | CustomCallDetails | FeeDetails | LiquidityProviderDetails;
data:
| SwapDetails
| WrapDetails
| BridgeDetails
| CustomCallDetails
| FeeDetails
| LiquidityProviderDetails;
}
2 changes: 0 additions & 2 deletions src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export interface RouteRequest {
receiveGasOnDestination?: boolean;
fallbackAddresses?: FallbackAddress[];
bypassGuardrails?: boolean;
onChainQuoting?: boolean;
}

export interface RouteRequestPopulated {
Expand All @@ -51,7 +50,6 @@ export interface RouteRequestPopulated {
prefer?: DexName[];
receiveGasOnDestination?: boolean;
fallbackAddresses?: FallbackAddress[];
onChainQuoting?: boolean;
bypassGuardrails?: boolean;
}

Expand Down

0 comments on commit 1e8035b

Please sign in to comment.