@aurigami/sdk 1.2.0 → 1.2.1

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.
@@ -2297,6 +2297,11 @@ function _fetchStNEARPrice() {
2297
2297
  return _fetchStNEARPrice.apply(this, arguments);
2298
2298
  }
2299
2299
 
2300
+ function shouldFetchFromCoingecko(address) {
2301
+ address = address.toLowerCase();
2302
+ return address == networkAddresses.tokens.AURORA || address == networkAddresses.tokens.TRI;
2303
+ }
2304
+
2300
2305
  function fetchPrice(_x11, _x12) {
2301
2306
  return _fetchPrice.apply(this, arguments);
2302
2307
  }
@@ -2324,7 +2329,7 @@ function _fetchPrice() {
2324
2329
  return _context8.abrupt("return", fetchStNEARPrice());
2325
2330
 
2326
2331
  case 4:
2327
- if (!isSameAddress(address, networkAddresses.tokens.AURORA)) {
2332
+ if (!shouldFetchFromCoingecko(address)) {
2328
2333
  _context8.next = 6;
2329
2334
  break;
2330
2335
  }