@teselagen/ove 0.5.16 → 0.5.17

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.umd.js CHANGED
@@ -41043,25 +41043,16 @@ ${latestSubscriptionCallbackError.current.stack}
41043
41043
  var _cof = /* @__PURE__ */ __name(function(it) {
41044
41044
  return toString$3.call(it).slice(8, -1);
41045
41045
  }, "_cof");
41046
- var _iobject;
41047
- var hasRequired_iobject;
41048
- function require_iobject() {
41049
- if (hasRequired_iobject)
41050
- return _iobject;
41051
- hasRequired_iobject = 1;
41052
- var cof2 = _cof;
41053
- _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
41054
- return cof2(it) == "String" ? it.split("") : Object(it);
41055
- };
41056
- return _iobject;
41057
- }
41058
- __name(require_iobject, "require_iobject");
41046
+ var cof$2 = _cof;
41047
+ var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
41048
+ return cof$2(it) == "String" ? it.split("") : Object(it);
41049
+ };
41059
41050
  var _defined = /* @__PURE__ */ __name(function(it) {
41060
41051
  if (it == void 0)
41061
41052
  throw TypeError("Can't call method on " + it);
41062
41053
  return it;
41063
41054
  }, "_defined");
41064
- var IObject = require_iobject();
41055
+ var IObject = _iobject;
41065
41056
  var defined$2 = _defined;
41066
41057
  var _toIobject = /* @__PURE__ */ __name(function(it) {
41067
41058
  return IObject(defined$2(it));
@@ -41182,7 +41173,7 @@ ${latestSubscriptionCallbackError.current.stack}
41182
41173
  var gOPS2 = _objectGops;
41183
41174
  var pIE2 = require_objectPie();
41184
41175
  var toObject2 = _toObject;
41185
- var IObject2 = require_iobject();
41176
+ var IObject2 = _iobject;
41186
41177
  var $assign = Object.assign;
41187
41178
  _objectAssign = !$assign || _fails(function() {
41188
41179
  var A2 = {};
@@ -150281,7 +150272,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150281
150272
  }
150282
150273
  __name(showFileDialog, "showFileDialog");
150283
150274
  const name = "@teselagen/ove";
150284
- const version = "0.5.15";
150275
+ const version = "0.5.16";
150285
150276
  const main = "./src/index.js";
150286
150277
  const type = "module";
150287
150278
  const exports$1 = {
@@ -164227,6 +164218,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
164227
164218
  updatedData = data;
164228
164219
  }
164229
164220
  }
164221
+ const _bases = updatedData.bases || bases;
164230
164222
  if (!data.useLinkedOligo) {
164231
164223
  delete updatedData.bases;
164232
164224
  }
@@ -164259,6 +164251,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
164259
164251
  );
164260
164252
  if (beforeAnnotationCreate) {
164261
164253
  const shouldContinue = yield beforeAnnotationCreate({
164254
+ bases: _bases,
164262
164255
  annotationTypePlural,
164263
164256
  annotation: newAnnotation,
164264
164257
  props: this.props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.5.16",
3
+ "version": "0.5.17",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -254,6 +254,7 @@ class AddOrEditAnnotationDialog extends React.Component {
254
254
  updatedData = data;
255
255
  }
256
256
  }
257
+ const _bases = updatedData.bases || bases;
257
258
  if (!data.useLinkedOligo) {
258
259
  delete updatedData.bases;
259
260
  }
@@ -291,6 +292,7 @@ class AddOrEditAnnotationDialog extends React.Component {
291
292
 
292
293
  if (beforeAnnotationCreate) {
293
294
  const shouldContinue = await beforeAnnotationCreate({
295
+ bases: _bases,
294
296
  annotationTypePlural,
295
297
  annotation: newAnnotation,
296
298
  props: this.props,