ketcher-react 2.6.2 → 2.6.3

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
@@ -2504,7 +2504,7 @@ function load(struct, options) {
2504
2504
  _context.next = 16;
2505
2505
  return editor.event.confirm.dispatch();
2506
2506
  case 16:
2507
- parsedStruct.sgroups = parsedStruct.sgroups.filter(function (key, sGroup) {
2507
+ parsedStruct.sgroups = parsedStruct.sgroups.filter(function (_key, sGroup) {
2508
2508
  return supportedSGroupTypes[sGroup.type];
2509
2509
  });
2510
2510
  case 17:
@@ -2523,7 +2523,8 @@ function load(struct, options) {
2523
2523
  parsedStruct.setImplicitHydrogen();
2524
2524
  stereAtomsMap = ketcherCore.getStereoAtomsMap(parsedStruct, Array.from(parsedStruct.bonds.values()));
2525
2525
  parsedStruct.atoms.forEach(function (atom, id) {
2526
- if (parsedStruct.atomGetNeighbors(id).length === 0) {
2526
+ var _parsedStruct$atomGet;
2527
+ if ((parsedStruct === null || parsedStruct === void 0 ? void 0 : (_parsedStruct$atomGet = parsedStruct.atomGetNeighbors(id)) === null || _parsedStruct$atomGet === void 0 ? void 0 : _parsedStruct$atomGet.length) === 0) {
2527
2528
  atom.stereoLabel = null;
2528
2529
  atom.stereoParity = 0;
2529
2530
  } else {
@@ -21813,8 +21814,8 @@ var KetcherBuilder = function () {
21813
21814
  initApp(element, staticResourcesUrl, {
21814
21815
  buttons: buttons || {},
21815
21816
  errorHandler: errorHandler || null,
21816
- version: "2.6.2" ,
21817
- buildDate: "2022-11-18T12:28:46" ,
21817
+ version: "2.6.3" ,
21818
+ buildDate: "2022-11-29T12:22:11" ,
21818
21819
  buildNumber: ''
21819
21820
  }, structService, resolve);
21820
21821
  });