coinrayjs 2.0.24 → 2.0.25

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.
@@ -9915,7 +9915,7 @@ function _m(e, t) {
9915
9915
  }
9916
9916
  //#endregion
9917
9917
  //#region lib/coinray.ts
9918
- var vm = (e) => om(e) ? encodeURIComponent(e) : e, ym = "2.0.24", bm = class extends Error {
9918
+ var vm = (e) => om(e) ? encodeURIComponent(e) : e, ym = "2.0.25", bm = class extends Error {
9919
9919
  errorCode;
9920
9920
  errorMessage;
9921
9921
  exchange;
@@ -11739,7 +11739,7 @@ var vm = (e) => om(e) ? encodeURIComponent(e) : e, ym = "2.0.24", bm = class ext
11739
11739
  getMarket() {
11740
11740
  if (this.coinraySymbol) {
11741
11741
  let e = this.coinrayCache.getMarket(this.coinraySymbol);
11742
- return e.overridePrices(this.getPriceOverrides), e;
11742
+ return e?.overridePrices(this.getPriceOverrides), e;
11743
11743
  }
11744
11744
  throw new Im(`Market not found: ${this.coinraySymbol}`);
11745
11745
  }