@scallop-io/sui-scallop-sdk 2.1.3-merge-split-ve-sca-alpha.4 → 2.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scallop-io/sui-scallop-sdk",
3
- "version": "2.1.3-merge-split-ve-sca-alpha.4",
3
+ "version": "2.1.4",
4
4
  "description": "Typescript sdk for interacting with Scallop contract on SUI",
5
5
  "keywords": [
6
6
  "sui",
@@ -388,8 +388,7 @@ class ScallopUtils implements ScallopUtilsInterface {
388
388
  });
389
389
 
390
390
  if (assetCoinName) {
391
- const parsedPrice = feed.getEmaPriceUnchecked();
392
-
391
+ const parsedPrice = feed.getPriceUnchecked();
393
392
  return {
394
393
  coinName: assetCoinName,
395
394
  price: parsedPrice.getPriceAsNumberUnchecked(),