@teselagen/ove 0.8.10 → 0.8.12

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/index.cjs.js CHANGED
@@ -56613,7 +56613,11 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
56613
56613
  entities: normalizedEntities
56614
56614
  });
56615
56615
  }
56616
- const convertedSchema = React.useMemo(() => convertSchema(_schema), [_schema]);
56616
+ const __schema = useDeepEqualMemo(_schema);
56617
+ const convertedSchema = React.useMemo(
56618
+ () => convertSchema(__schema),
56619
+ [__schema]
56620
+ );
56617
56621
  if (isLocalCall) {
56618
56622
  if (!noForm && (!formName || formName === "tgDataTable")) {
56619
56623
  throw new Error(
@@ -116630,7 +116634,7 @@ function showFileDialog({ multiple = false, onSelect }) {
116630
116634
  input.click();
116631
116635
  }
116632
116636
  __name(showFileDialog, "showFileDialog");
116633
- const version = "0.8.9";
116637
+ const version = "0.8.11";
116634
116638
  const packageJson = {
116635
116639
  version
116636
116640
  };
@@ -121425,9 +121429,6 @@ function VectorInteractionHOC(Component) {
121425
121429
  disableBpEditing,
121426
121430
  maxInsertSize,
121427
121431
  showAminoAcidUnitAsCodon
121428
- // updateSequenceData,
121429
- // wrappedInsertSequenceDataAtPositionOrRange
121430
- // handleInsert
121431
121432
  } = this.props;
121432
121433
  const sequenceLength = sequenceData2.sequence.length;
121433
121434
  const isReplace = selectionLayer2.start > -1;
package/index.es.js CHANGED
@@ -56595,7 +56595,11 @@ const DataTable = /* @__PURE__ */ __name((_w) => {
56595
56595
  entities: normalizedEntities
56596
56596
  });
56597
56597
  }
56598
- const convertedSchema = useMemo$1(() => convertSchema(_schema), [_schema]);
56598
+ const __schema = useDeepEqualMemo(_schema);
56599
+ const convertedSchema = useMemo$1(
56600
+ () => convertSchema(__schema),
56601
+ [__schema]
56602
+ );
56599
56603
  if (isLocalCall) {
56600
56604
  if (!noForm && (!formName || formName === "tgDataTable")) {
56601
56605
  throw new Error(
@@ -116612,7 +116616,7 @@ function showFileDialog({ multiple = false, onSelect }) {
116612
116616
  input.click();
116613
116617
  }
116614
116618
  __name(showFileDialog, "showFileDialog");
116615
- const version = "0.8.9";
116619
+ const version = "0.8.11";
116616
116620
  const packageJson = {
116617
116621
  version
116618
116622
  };
@@ -121407,9 +121411,6 @@ function VectorInteractionHOC(Component2) {
121407
121411
  disableBpEditing,
121408
121412
  maxInsertSize,
121409
121413
  showAminoAcidUnitAsCodon
121410
- // updateSequenceData,
121411
- // wrappedInsertSequenceDataAtPositionOrRange
121412
- // handleInsert
121413
121414
  } = this.props;
121414
121415
  const sequenceLength = sequenceData2.sequence.length;
121415
121416
  const isReplace = selectionLayer2.start > -1;
package/index.umd.js CHANGED
@@ -85644,7 +85644,11 @@ ${latestSubscriptionCallbackError.current.stack}
85644
85644
  entities: normalizedEntities
85645
85645
  });
85646
85646
  }
85647
- const convertedSchema = reactExports.useMemo(() => convertSchema(_schema), [_schema]);
85647
+ const __schema = useDeepEqualMemo(_schema);
85648
+ const convertedSchema = reactExports.useMemo(
85649
+ () => convertSchema(__schema),
85650
+ [__schema]
85651
+ );
85648
85652
  if (isLocalCall) {
85649
85653
  if (!noForm && (!formName || formName === "tgDataTable")) {
85650
85654
  throw new Error(
@@ -144728,7 +144732,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
144728
144732
  input.click();
144729
144733
  }
144730
144734
  __name(showFileDialog, "showFileDialog");
144731
- const version = "0.8.9";
144735
+ const version = "0.8.11";
144732
144736
  const packageJson = {
144733
144737
  version
144734
144738
  };
@@ -147921,9 +147925,6 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
147921
147925
  disableBpEditing,
147922
147926
  maxInsertSize,
147923
147927
  showAminoAcidUnitAsCodon
147924
- // updateSequenceData,
147925
- // wrappedInsertSequenceDataAtPositionOrRange
147926
- // handleInsert
147927
147928
  } = this.props;
147928
147929
  const sequenceLength = sequenceData2.sequence.length;
147929
147930
  const isReplace = selectionLayer2.start > -1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.8.10",
3
+ "version": "0.8.12",
4
4
  "main": "./src/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -405,9 +405,6 @@ function VectorInteractionHOC(Component /* options */) {
405
405
  disableBpEditing,
406
406
  maxInsertSize,
407
407
  showAminoAcidUnitAsCodon
408
- // updateSequenceData,
409
- // wrappedInsertSequenceDataAtPositionOrRange
410
- // handleInsert
411
408
  } = this.props;
412
409
  const sequenceLength = sequenceData.sequence.length;
413
410
  const isReplace = selectionLayer.start > -1;