@shapeshiftoss/swapper 17.1.0 → 17.3.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.
@@ -36,7 +36,7 @@ class ThorchainSwapper {
36
36
  [types_1.KnownChainIds.BitcoinCashMainnet]: true,
37
37
  [types_1.KnownChainIds.CosmosMainnet]: true,
38
38
  [types_1.KnownChainIds.ThorchainMainnet]: true,
39
- [types_1.KnownChainIds.AvalancheMainnet]: false,
39
+ [types_1.KnownChainIds.AvalancheMainnet]: true,
40
40
  [types_1.KnownChainIds.OptimismMainnet]: false,
41
41
  };
42
42
  this.buySupportedChainIds = {
@@ -47,7 +47,7 @@ class ThorchainSwapper {
47
47
  [types_1.KnownChainIds.BitcoinCashMainnet]: true,
48
48
  [types_1.KnownChainIds.CosmosMainnet]: true,
49
49
  [types_1.KnownChainIds.ThorchainMainnet]: true,
50
- [types_1.KnownChainIds.AvalancheMainnet]: false,
50
+ [types_1.KnownChainIds.AvalancheMainnet]: true,
51
51
  [types_1.KnownChainIds.OptimismMainnet]: false,
52
52
  };
53
53
  this.supportedSellAssetIds = [caip_1.thorchainAssetId];
@@ -1,3 +1,3 @@
1
1
  export declare const APPROVAL_GAS_LIMIT = "100000";
2
- export declare const DEFAULT_SLIPPAGE = "0.03";
2
+ export declare const DEFAULT_SLIPPAGE = "0.002";
3
3
  export declare const ALLOWABLE_MARKET_MOVEMENT = "0.01";
@@ -2,5 +2,5 @@
2
2
  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
- exports.DEFAULT_SLIPPAGE = '0.03'; // 3%
5
+ exports.DEFAULT_SLIPPAGE = '0.002'; // .2%
6
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": "17.1.0",
3
+ "version": "17.3.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",