ketcher-react 2.6.2 → 2.6.4

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.
@@ -2443,7 +2443,7 @@ function load(struct, options) {
2443
2443
  _context.next = 16;
2444
2444
  return editor.event.confirm.dispatch();
2445
2445
  case 16:
2446
- parsedStruct.sgroups = parsedStruct.sgroups.filter(function (key, sGroup) {
2446
+ parsedStruct.sgroups = parsedStruct.sgroups.filter(function (_key, sGroup) {
2447
2447
  return supportedSGroupTypes[sGroup.type];
2448
2448
  });
2449
2449
  case 17:
@@ -2462,7 +2462,8 @@ function load(struct, options) {
2462
2462
  parsedStruct.setImplicitHydrogen();
2463
2463
  stereAtomsMap = getStereoAtomsMap(parsedStruct, Array.from(parsedStruct.bonds.values()));
2464
2464
  parsedStruct.atoms.forEach(function (atom, id) {
2465
- if (parsedStruct.atomGetNeighbors(id).length === 0) {
2465
+ var _parsedStruct$atomGet;
2466
+ if ((parsedStruct === null || parsedStruct === void 0 ? void 0 : (_parsedStruct$atomGet = parsedStruct.atomGetNeighbors(id)) === null || _parsedStruct$atomGet === void 0 ? void 0 : _parsedStruct$atomGet.length) === 0) {
2466
2467
  atom.stereoLabel = null;
2467
2468
  atom.stereoParity = 0;
2468
2469
  } else {
@@ -2850,7 +2851,7 @@ var zoom = {
2850
2851
 
2851
2852
  var openHelpLink = function openHelpLink() {
2852
2853
  var _window$open;
2853
- return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.6.2\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
2854
+ return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.6.3\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
2854
2855
  };
2855
2856
  var help = {
2856
2857
  help: {
@@ -21752,8 +21753,8 @@ var KetcherBuilder = function () {
21752
21753
  initApp(element, staticResourcesUrl, {
21753
21754
  buttons: buttons || {},
21754
21755
  errorHandler: errorHandler || null,
21755
- version: "2.6.2" ,
21756
- buildDate: "2022-11-18T12:28:46" ,
21756
+ version: "2.6.4" ,
21757
+ buildDate: "2022-12-01T13:14:40" ,
21757
21758
  buildNumber: ''
21758
21759
  }, structService, resolve);
21759
21760
  });