@0xsquid/squid-types 0.1.20 → 0.1.23

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.
@@ -10,7 +10,7 @@ export interface Quote {
10
10
  estimatedRouteDuration: number;
11
11
  fromAmountUsd?: string;
12
12
  toAmountUsd?: string;
13
- slippage?: number;
13
+ aggregateSlippage?: number;
14
14
  }
15
15
  export interface QuoteAction {
16
16
  type: ActionType;
@@ -147,6 +147,7 @@ export interface SwapDetails extends BaseSwapDetails {
147
147
  dex: Dex;
148
148
  calls: ChainCall[];
149
149
  custom?: Record<string, any>;
150
+ pools?: string[];
150
151
  }
151
152
  export interface SimpleSwapDetails extends BaseSwapDetails {
152
153
  dexName: DexName;
@@ -2,7 +2,9 @@ import { Token } from "../tokens";
2
2
  export declare enum WrapperType {
3
3
  WRAPPED_NATIVE = "WrappedNative",
4
4
  OVERNIGHT = "Overnight",
5
- DEUS = "Deus"
5
+ DEUS = "Deus",
6
+ WSTETH = "WstETH",
7
+ WRAPPED_MAI = "WrappedMAI"
6
8
  }
7
9
  export declare enum WrapDirection {
8
10
  WRAP = "wrap",
@@ -6,6 +6,8 @@ var WrapperType;
6
6
  WrapperType["WRAPPED_NATIVE"] = "WrappedNative";
7
7
  WrapperType["OVERNIGHT"] = "Overnight";
8
8
  WrapperType["DEUS"] = "Deus";
9
+ WrapperType["WSTETH"] = "WstETH";
10
+ WrapperType["WRAPPED_MAI"] = "WrappedMAI";
9
11
  })(WrapperType = exports.WrapperType || (exports.WrapperType = {}));
10
12
  var WrapDirection;
11
13
  (function (WrapDirection) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/wrappers/index.ts"],"names":[],"mappings":";;;AAEA,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,+CAAgC,CAAA;IAChC,sCAAuB,CAAA;IACvB,4BAAa,CAAA;AACf,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,8BAAa,CAAA;IACb,kCAAiB,CAAA;AACnB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/wrappers/index.ts"],"names":[],"mappings":";;;AAEA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,+CAAgC,CAAA;IAChC,sCAAuB,CAAA;IACvB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,yCAA0B,CAAA;AAC5B,CAAC,EANW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAMtB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,8BAAa,CAAA;IACb,kCAAiB,CAAA;AACnB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsquid/squid-types",
3
- "version": "0.1.20",
3
+ "version": "0.1.23",
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",