react-mutation-mapper 0.8.54 → 0.8.55

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/README.md CHANGED
@@ -58,7 +58,7 @@ class Example extends React.Component {
58
58
  store={
59
59
  new DefaultMutationMapperStore(
60
60
  {hugoGeneSymbol: "TP53", entrezGeneId: 7157},
61
- {isoformOverrideSource: "uniprot", filterMutationsBySelectedTranscript: true},
61
+ {isoformOverrideSource: "mskcc", filterMutationsBySelectedTranscript: true},
62
62
  () => [{
63
63
  chromosome: "17",
64
64
  startPosition: 41246256,
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  export declare function loaderIcon(className?: string): JSX.Element;
3
2
  export declare function errorIcon(errorMessage: string): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Clinvar } from 'genome-nexus-ts-api-client';
3
2
  export declare type ClinvarSummaryProps = {
4
3
  clinvar?: Clinvar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Mutation, RemoteData } from 'cbioportal-utils';
3
2
  import { MyVariantInfo, VariantAnnotation } from 'genome-nexus-ts-api-client';
4
3
  export declare type MyVariantInfoProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IProteinImpactTypeColors } from '../../model/ProteinImpact';
3
2
  export declare function getProteinImpactTypeOptionDisplayValueMap(proteinImpactTypeColorMap: {
4
3
  [proteinImpactType: string]: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PfamDomain, PfamDomainRange } from 'genome-nexus-ts-api-client';
3
2
  import { MobxCache } from 'cbioportal-utils';
4
3
  export interface IDomainTooltipProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Mutation } from 'cbioportal-utils';
3
2
  import { Column } from 'react-table';
4
3
  import { proteinChangeSortMethod } from '../column/ProteinChange';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { OncoKbCardDataType } from 'cbioportal-utils';
3
2
  export default class OncoKbHelper {
4
3
  static get TX_LEVELS(): string[];
package/dist/index.es.js CHANGED
@@ -2031,7 +2031,7 @@ function getUrl(urlTemplate, templateVariables) {
2031
2031
  }
2032
2032
  function fetchVariantAnnotationsByMutation(mutations, fields, isoformOverrideSource, client) {
2033
2033
  if (fields === void 0) { fields = ['annotation_summary']; }
2034
- if (isoformOverrideSource === void 0) { isoformOverrideSource = 'uniprot'; }
2034
+ if (isoformOverrideSource === void 0) { isoformOverrideSource = 'mskcc'; }
2035
2035
  if (client === void 0) { client = DEFAULT_GENOME_NEXUS_CLIENT; }
2036
2036
  return __awaiter(this, void 0, void 0, function () {
2037
2037
  var genomicLocations, _a;
@@ -2059,7 +2059,7 @@ function fetchVariantAnnotationsByMutation(mutations, fields, isoformOverrideSou
2059
2059
  }
2060
2060
  function fetchVariantAnnotationsIndexedByGenomicLocation(mutations, fields, isoformOverrideSource, client) {
2061
2061
  if (fields === void 0) { fields = ['annotation_summary']; }
2062
- if (isoformOverrideSource === void 0) { isoformOverrideSource = 'uniprot'; }
2062
+ if (isoformOverrideSource === void 0) { isoformOverrideSource = 'mskcc'; }
2063
2063
  if (client === void 0) { client = DEFAULT_GENOME_NEXUS_CLIENT; }
2064
2064
  return __awaiter(this, void 0, void 0, function () {
2065
2065
  var variantAnnotations;
@@ -10634,7 +10634,7 @@ var DefaultMutationMapperDataFetcher = /** @class */ (function () {
10634
10634
  configurable: true,
10635
10635
  writable: true,
10636
10636
  value: function (mutations, isoformOverrideSource, client) {
10637
- if (isoformOverrideSource === void 0) { isoformOverrideSource = 'uniprot'; }
10637
+ if (isoformOverrideSource === void 0) { isoformOverrideSource = 'mskcc'; }
10638
10638
  if (client === void 0) { client = this.genomeNexusClient; }
10639
10639
  return __awaiter(this, void 0, void 0, function () {
10640
10640
  var indexedVariantAnnotations;
@@ -11776,7 +11776,7 @@ var DefaultMutationMapperStore = /** @class */ (function () {
11776
11776
  });
11777
11777
  Object.defineProperty(DefaultMutationMapperStore.prototype, "isoformOverrideSource", {
11778
11778
  get: function () {
11779
- return this.config.isoformOverrideSource || 'uniprot';
11779
+ return this.config.isoformOverrideSource || 'mskcc';
11780
11780
  },
11781
11781
  enumerable: false,
11782
11782
  configurable: true