react-mutation-mapper 0.8.82 → 0.8.83

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.es.js CHANGED
@@ -615,7 +615,7 @@ function getDefaultTumorType() {
615
615
  }
616
616
  var memoized = new Map();
617
617
  function getAnnotationData(mutation, oncoKbCancerGenes, hotspotData, myCancerGenomeData, oncoKbData, usingPublicOncoKbInstance, civicGenes, civicVariants, indexedVariantAnnotations, resolveTumorType, resolveEntrezGeneId) {
618
- var _a;
618
+ var _a, _b;
619
619
  if (resolveTumorType === void 0) { resolveTumorType = getDefaultTumorType; }
620
620
  if (resolveEntrezGeneId === void 0) { resolveEntrezGeneId = getDefaultEntrezGeneId; }
621
621
  var value;
@@ -681,7 +681,7 @@ function getAnnotationData(mutation, oncoKbCancerGenes, hotspotData, myCancerGen
681
681
  hotspotStatus: hotspotData ? hotspotData.status : 'pending',
682
682
  vue: (indexedVariantAnnotations === null || indexedVariantAnnotations === void 0 ? void 0 : indexedVariantAnnotations.isComplete) &&
683
683
  indexedVariantAnnotations.result
684
- ? (_a = getVariantAnnotation(mutation, indexedVariantAnnotations.result)) === null || _a === void 0 ? void 0 : _a.annotation_summary.vues : undefined,
684
+ ? (_b = (_a = getVariantAnnotation(mutation, indexedVariantAnnotations.result)) === null || _a === void 0 ? void 0 : _a.annotation_summary) === null || _b === void 0 ? void 0 : _b.vues : undefined,
685
685
  };
686
686
  // oncoKbData may exist but it might be an instance of Error, in that case we flag the status as error
687
687
  if (oncoKbData && oncoKbData.result instanceof Error) {