react-mutation-mapper 0.8.63 → 0.8.65

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/dist/index.js CHANGED
@@ -9735,6 +9735,9 @@ var DefaultMutationMapperStore = /** @class */ (function () {
9735
9735
  }
9736
9736
  });
9737
9737
  }); },
9738
+ onError: function () {
9739
+ // allow client level handler to work
9740
+ },
9738
9741
  }, undefined)
9739
9742
  });
9740
9743
  Object.defineProperty(this, "canonicalTranscript", {
@@ -10115,7 +10118,7 @@ var DefaultMutationMapperStore = /** @class */ (function () {
10115
10118
  await: function () { return [_this.oncoKbCancerGenes]; },
10116
10119
  invoke: function () {
10117
10120
  return Promise.resolve(___default["default"].reduce(_this.oncoKbCancerGenes.result, function (map, next) {
10118
- if (next.oncokbAnnotated) {
10121
+ if (next && next.oncokbAnnotated) {
10119
10122
  map[next.entrezGeneId] = true;
10120
10123
  }
10121
10124
  return map;