@0xsquid/squid-types 0.1.7 → 0.1.9

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.
@@ -11,6 +11,8 @@ export type FeeCost = {
11
11
  name: FeeType;
12
12
  description: string;
13
13
  percentage: string;
14
+ gasLimit?: number;
15
+ gasMultiplier?: number;
14
16
  token: Token;
15
17
  amount: string;
16
18
  amountUSD: string;
@@ -37,6 +37,8 @@ export interface RouteRequest {
37
37
  }
38
38
  export interface Route {
39
39
  actions: RouteAction[];
40
+ fromToken: Token;
41
+ toToken: Token;
40
42
  fromAmount: string;
41
43
  toAmount: string;
42
44
  toAmountMin: string;
@@ -80,9 +82,11 @@ export interface RouteRequestPopulated {
80
82
  receiveGasOnDestination?: boolean;
81
83
  }
82
84
  export interface RouteResponse {
83
- estimate: Estimate;
84
- transactionRequest: SquidData;
85
- params: RouteRequest;
85
+ route: {
86
+ estimate: Estimate;
87
+ transactionRequest: SquidData;
88
+ params: RouteRequest;
89
+ };
86
90
  }
87
91
  export interface Estimate extends Route {
88
92
  actions: SimpleRouteAction[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsquid/squid-types",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "JS and TS types relating to 0xsquid related projects.",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",