@0xsquid/squid-types
Advanced tools
Comparing version 0.1.31 to 0.1.33
@@ -12,3 +12,3 @@ import { ChainData, ChainType } from "../chains"; | ||
estimate: Estimate; | ||
transactionRequest: SquidData; | ||
transactionRequest?: SquidData; | ||
params: RouteRequest; | ||
@@ -75,5 +75,6 @@ }; | ||
} | ||
export interface RouteActionResponse extends Omit<QuoteAction, "fromChain" | "toChain"> { | ||
export interface RouteActionResponse extends Omit<RouteAction, "fromChain" | "toChain" | "data"> { | ||
fromChain: string; | ||
toChain: string; | ||
data: _SwapDetails | WrapDetails | BridgeDetails | CustomCallDetails; | ||
} | ||
@@ -103,2 +104,5 @@ export interface RouteAction extends QuoteAction { | ||
} | ||
export interface _SwapDetails extends Omit<SwapDetails, "dex"> { | ||
dex: DexName; | ||
} | ||
export interface SwapDetails { | ||
@@ -105,0 +109,0 @@ target: string; |
{ | ||
"name": "@0xsquid/squid-types", | ||
"version": "0.1.31", | ||
"version": "0.1.33", | ||
"description": "JS and TS types relating to 0xsquid related projects.", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.js", | ||
"prepare": "yarn build", | ||
"build": "yarn clean && tsc", | ||
"build": "tsc", | ||
"release": "release-it", | ||
@@ -40,10 +40,12 @@ "release:pre": "release-it --preRelease=beta", | ||
"license": "Apache-2.0", | ||
"directories": { | ||
"typescript": "^4.9.5" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.59.8", | ||
"eslint": "^8.41.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"typescript": "^4.9.5" | ||
"eslint-config-prettier": "^8.8.0" | ||
}, | ||
"peerDependencies": { | ||
"typescript": ">=4.0.0" | ||
"typescript": "^4.9.5" | ||
}, | ||
@@ -50,0 +52,0 @@ "release-it": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44150
3
1122