stackswap-front-api-test-02 1.0.88 → 1.0.89

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.
@@ -272,7 +272,7 @@ class SwapManager {
272
272
  return ` 1 ${token_y.symbol} = ${new bignumber_js_1.default((1 / price)).toFixed(token_x.decimal)} ${token_x.symbol}`;
273
273
  }
274
274
  else {
275
- return ` 1 ${token_x.symbol} = ${new bignumber_js_1.default(price).toFixed(token_x.decimal)} ${token_y.symbol}`;
275
+ return ` 1 ${token_x.symbol} = ${new bignumber_js_1.default(price).toFixed(token_y.decimal)} ${token_y.symbol}`;
276
276
  }
277
277
  }
278
278
  return '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stackswap-front-api-test-02",
3
- "version": "1.0.88",
3
+ "version": "1.0.89",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "start": "tsc -b tsconfig.build.json --watch --verbose",
@@ -318,7 +318,7 @@ export class SwapManager {
318
318
  if (price_invert) {
319
319
  return ` 1 ${token_y.symbol} = ${new BigNumber((1 / price)).toFixed(token_x.decimal)} ${token_x.symbol}`;
320
320
  } else {
321
- return ` 1 ${token_x.symbol} = ${new BigNumber(price).toFixed(token_x.decimal)} ${token_y.symbol}`;
321
+ return ` 1 ${token_x.symbol} = ${new BigNumber(price).toFixed(token_y.decimal)} ${token_y.symbol}`;
322
322
  }
323
323
  }
324
324
  return '';