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.js CHANGED
@@ -652,7 +652,7 @@ function getDefaultTumorType() {
652
652
  }
653
653
  var memoized = new Map();
654
654
  function getAnnotationData(mutation, oncoKbCancerGenes, hotspotData, myCancerGenomeData, oncoKbData, usingPublicOncoKbInstance, civicGenes, civicVariants, indexedVariantAnnotations, resolveTumorType, resolveEntrezGeneId) {
655
- var _a;
655
+ var _a, _b;
656
656
  if (resolveTumorType === void 0) { resolveTumorType = getDefaultTumorType; }
657
657
  if (resolveEntrezGeneId === void 0) { resolveEntrezGeneId = getDefaultEntrezGeneId; }
658
658
  var value;
@@ -718,7 +718,7 @@ function getAnnotationData(mutation, oncoKbCancerGenes, hotspotData, myCancerGen
718
718
  hotspotStatus: hotspotData ? hotspotData.status : 'pending',
719
719
  vue: (indexedVariantAnnotations === null || indexedVariantAnnotations === void 0 ? void 0 : indexedVariantAnnotations.isComplete) &&
720
720
  indexedVariantAnnotations.result
721
- ? (_a = cbioportalUtils.getVariantAnnotation(mutation, indexedVariantAnnotations.result)) === null || _a === void 0 ? void 0 : _a.annotation_summary.vues : undefined,
721
+ ? (_b = (_a = cbioportalUtils.getVariantAnnotation(mutation, indexedVariantAnnotations.result)) === null || _a === void 0 ? void 0 : _a.annotation_summary) === null || _b === void 0 ? void 0 : _b.vues : undefined,
722
722
  };
723
723
  // oncoKbData may exist but it might be an instance of Error, in that case we flag the status as error
724
724
  if (oncoKbData && oncoKbData.result instanceof Error) {