openchemlib 9.4.0 → 9.4.1

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.
@@ -49048,7 +49048,7 @@ function getExports($wnd) {
49048
49048
  return creator.getMolfile();
49049
49049
  };
49050
49050
  _.toSVG = function toSVG(width_0, height, id_0, options) {
49051
- if (!width_0 || !height) {
49051
+ if (typeof width_0 !== "number" || typeof height !== "number") {
49052
49052
  throw new Error("Molecule#toSVG requires width and height to be specified");
49053
49053
  }
49054
49054
  options = options || {};
@@ -70983,7 +70983,7 @@ function getExports($wnd) {
70983
70983
  $sendStats("moduleStartup", "end");
70984
70984
  $gwt && $gwt.permProps && __gwtModuleFunction.__moduleStartupDone($gwt.permProps);
70985
70985
  const toReturn = $wnd["OCL"];
70986
- toReturn.version = "9.4.0";
70986
+ toReturn.version = "9.4.1";
70987
70987
  return toReturn;
70988
70988
  }
70989
70989
  var isBrowserWindow = typeof window !== "undefined" && typeof window.document !== "undefined";
@@ -71127,8 +71127,8 @@ export {
71127
71127
  };
71128
71128
  /**
71129
71129
  * openchemlib - Manipulate molecules
71130
- * @version v9.4.0
71131
- * @date 2025-07-10T13:55:55.814Z
71130
+ * @version v9.4.1
71131
+ * @date 2025-07-11T08:21:58.008Z
71132
71132
  * @link https://github.com/cheminfo/openchemlib-js
71133
71133
  * @license BSD-3-Clause
71134
71134
  */