@shapeshiftoss/swapper 14.5.2 → 14.6.0

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.
package/dist/api.d.ts CHANGED
@@ -158,7 +158,7 @@ export declare type ApprovalNeededOutput = {
158
158
  export declare enum SwapperName {
159
159
  Thorchain = "THORChain",
160
160
  Osmosis = "Osmosis",
161
- CowSwap = "CowSwap",
161
+ CowSwap = "CoW Swap",
162
162
  Zrx = "0x",
163
163
  Test = "Test"
164
164
  }
@@ -167,7 +167,7 @@ export declare enum SwapperType {
167
167
  ZrxAvalanche = "0xAvalanche",
168
168
  Thorchain = "Thorchain",
169
169
  Osmosis = "Osmosis",
170
- CowSwap = "CowSwap",
170
+ CowSwap = "CoW Swap",
171
171
  Test = "Test"
172
172
  }
173
173
  export declare type TradeTxs = {
package/dist/api.js CHANGED
@@ -8,7 +8,7 @@ var SwapperName;
8
8
  (function (SwapperName) {
9
9
  SwapperName["Thorchain"] = "THORChain";
10
10
  SwapperName["Osmosis"] = "Osmosis";
11
- SwapperName["CowSwap"] = "CowSwap";
11
+ SwapperName["CowSwap"] = "CoW Swap";
12
12
  SwapperName["Zrx"] = "0x";
13
13
  SwapperName["Test"] = "Test";
14
14
  })(SwapperName = exports.SwapperName || (exports.SwapperName = {}));
@@ -18,7 +18,7 @@ var SwapperType;
18
18
  SwapperType["ZrxAvalanche"] = "0xAvalanche";
19
19
  SwapperType["Thorchain"] = "Thorchain";
20
20
  SwapperType["Osmosis"] = "Osmosis";
21
- SwapperType["CowSwap"] = "CowSwap";
21
+ SwapperType["CowSwap"] = "CoW Swap";
22
22
  SwapperType["Test"] = "Test";
23
23
  })(SwapperType = exports.SwapperType || (exports.SwapperType = {}));
24
24
  // Swap Errors
@@ -1,3 +1,3 @@
1
1
  export declare const APPROVAL_GAS_LIMIT = "100000";
2
2
  export declare const DEFAULT_SLIPPAGE = "0.03";
3
- export declare const ALLOWABLE_MARKET_MOVEMENT = "0.005";
3
+ export declare const ALLOWABLE_MARKET_MOVEMENT = "0.01";
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ALLOWABLE_MARKET_MOVEMENT = exports.DEFAULT_SLIPPAGE = exports.APPROVAL_GAS_LIMIT = void 0;
4
4
  exports.APPROVAL_GAS_LIMIT = '100000'; // Most approvals are around 40k, we've seen 72k in the wild, so 100000 for safety.
5
5
  exports.DEFAULT_SLIPPAGE = '0.03'; // 3%
6
- exports.ALLOWABLE_MARKET_MOVEMENT = '0.005'; // 0.5% is what https://app.thorswap.finance/ uses
6
+ exports.ALLOWABLE_MARKET_MOVEMENT = '0.01'; // 1%
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/swapper",
3
- "version": "14.5.2",
3
+ "version": "14.6.0",
4
4
  "description": "An interface and implementations to trade coins via various protocols",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",