@0xsquid/squid-types
Advanced tools
Comparing version 0.1.69 to 0.1.70
@@ -5,3 +5,3 @@ import { ChainData, ChainType } from "../chains"; | ||
import { QuoteAction } from "../quote"; | ||
import { ChainCall, SlippageMode, SquidData } from "../squid"; | ||
import { ChainCall, SquidData } from "../squid"; | ||
import { Token } from "../tokens"; | ||
@@ -25,6 +25,3 @@ import { WrapDirection, WrapperType } from "../wrappers"; | ||
toAddress?: string; | ||
slippageConfig: { | ||
slippage?: number; | ||
autoMode: SlippageMode; | ||
}; | ||
slippage: number; | ||
quoteOnly?: boolean; | ||
@@ -48,6 +45,3 @@ enableBoost?: boolean; | ||
toAddress?: string; | ||
slippageConfig: { | ||
slippage?: number; | ||
autoMode: SlippageMode; | ||
}; | ||
slippage: number; | ||
quoteOnly?: boolean; | ||
@@ -54,0 +48,0 @@ enableBoost?: boolean; |
@@ -137,6 +137,1 @@ /// <reference types="long" /> | ||
} | ||
export declare enum SlippageMode { | ||
AGGRESSIVE = 0, | ||
NORMAL = 1, | ||
FLEXIBLE = 2 | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SlippageMode = exports.CosmosCallType = exports.SquidCallType = exports.SquidRouteType = void 0; | ||
exports.CosmosCallType = exports.SquidCallType = exports.SquidRouteType = void 0; | ||
var SquidRouteType; | ||
@@ -28,8 +28,2 @@ (function (SquidRouteType) { | ||
})(CosmosCallType || (exports.CosmosCallType = CosmosCallType = {})); | ||
var SlippageMode; | ||
(function (SlippageMode) { | ||
SlippageMode[SlippageMode["AGGRESSIVE"] = 0] = "AGGRESSIVE"; | ||
SlippageMode[SlippageMode["NORMAL"] = 1] = "NORMAL"; | ||
SlippageMode[SlippageMode["FLEXIBLE"] = 2] = "FLEXIBLE"; | ||
})(SlippageMode || (exports.SlippageMode = SlippageMode = {})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@0xsquid/squid-types", | ||
"version": "0.1.69", | ||
"version": "0.1.70", | ||
"description": "JS and TS types relating to 0xsquid related projects.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
56937
1434