@xchainjs/xchain-thorchain-amm 2.0.11 → 2.0.13

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/lib/index.esm.js CHANGED
@@ -29,6 +29,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
29
29
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
30
30
  PERFORMANCE OF THIS SOFTWARE.
31
31
  ***************************************************************************** */
32
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
33
+
32
34
 
33
35
  function __awaiter(thisArg, _arguments, P, generator) {
34
36
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -38,7 +40,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
38
40
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
39
41
  step((generator = generator.apply(thisArg, _arguments || [])).next());
40
42
  });
41
- }
43
+ }
44
+
45
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
46
+ var e = new Error(message);
47
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
48
+ };
42
49
 
43
50
  /**
44
51
  * Check if a chain is EVM and supported by the protocol
package/lib/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var xchainAvax = require('@xchainjs/xchain-avax');
6
4
  var xchainBinance = require('@xchainjs/xchain-binance');
7
5
  var xchainBitcoin = require('@xchainjs/xchain-bitcoin');
@@ -33,6 +31,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33
31
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
34
32
  PERFORMANCE OF THIS SOFTWARE.
35
33
  ***************************************************************************** */
34
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
35
+
36
36
 
37
37
  function __awaiter(thisArg, _arguments, P, generator) {
38
38
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -42,7 +42,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
42
42
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
43
43
  step((generator = generator.apply(thisArg, _arguments || [])).next());
44
44
  });
45
- }
45
+ }
46
+
47
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
48
+ var e = new Error(message);
49
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
50
+ };
46
51
 
47
52
  /**
48
53
  * Check if a chain is EVM and supported by the protocol
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xchainjs/xchain-thorchain-amm",
3
- "version": "2.0.11",
3
+ "version": "2.0.13",
4
4
  "description": "module that exposes estimating & swappping cryptocurrency assets on thorchain",
5
5
  "keywords": [
6
6
  "THORChain",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "scripts": {
27
27
  "clean": "rm -rf .turbo && rm -rf lib",
28
- "build": "yarn clean && rollup -c",
28
+ "build": "yarn clean && rollup -c --bundleConfigAsCjs",
29
29
  "build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
30
30
  "test": "jest",
31
31
  "e2e": "jest --config jest.config.e2e.js",
@@ -36,21 +36,21 @@
36
36
  "url": "https://github.com/xchainjs/xchainjs-lib/issues"
37
37
  },
38
38
  "dependencies": {
39
- "@xchainjs/xchain-avax": "1.0.9",
40
- "@xchainjs/xchain-binance": "6.0.5",
41
- "@xchainjs/xchain-bitcoin": "1.1.1",
42
- "@xchainjs/xchain-bitcoincash": "1.0.5",
43
- "@xchainjs/xchain-bsc": "1.0.9",
44
- "@xchainjs/xchain-client": "1.0.5",
45
- "@xchainjs/xchain-cosmos": "2.0.6",
46
- "@xchainjs/xchain-doge": "1.0.5",
47
- "@xchainjs/xchain-ethereum": "1.0.9",
48
- "@xchainjs/xchain-evm": "1.0.9",
49
- "@xchainjs/xchain-litecoin": "1.0.5",
50
- "@xchainjs/xchain-thorchain": "2.0.7",
51
- "@xchainjs/xchain-thorchain-query": "1.0.5",
52
- "@xchainjs/xchain-util": "1.0.4",
53
- "@xchainjs/xchain-wallet": "1.0.11",
39
+ "@xchainjs/xchain-avax": "1.0.10",
40
+ "@xchainjs/xchain-binance": "6.0.6",
41
+ "@xchainjs/xchain-bitcoin": "1.1.2",
42
+ "@xchainjs/xchain-bitcoincash": "1.0.6",
43
+ "@xchainjs/xchain-bsc": "1.0.10",
44
+ "@xchainjs/xchain-client": "1.0.6",
45
+ "@xchainjs/xchain-cosmos": "2.0.8",
46
+ "@xchainjs/xchain-doge": "1.0.6",
47
+ "@xchainjs/xchain-ethereum": "1.0.10",
48
+ "@xchainjs/xchain-evm": "1.0.10",
49
+ "@xchainjs/xchain-litecoin": "1.0.6",
50
+ "@xchainjs/xchain-thorchain": "2.0.8",
51
+ "@xchainjs/xchain-thorchain-query": "1.0.6",
52
+ "@xchainjs/xchain-util": "1.0.5",
53
+ "@xchainjs/xchain-wallet": "1.0.12",
54
54
  "ethers": "5.7.2"
55
55
  },
56
56
  "devDependencies": {