@kent-tokyo/chematic 1.0.6 → 1.0.7

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.
@@ -2814,6 +2814,7 @@ export interface InitOutput {
2814
2814
  readonly molecule_report_json: (a: number, b: number) => [number, number, number, number];
2815
2815
  readonly molhandle_aromatic_ring_count: (a: number) => number;
2816
2816
  readonly molhandle_assign_cip_json: (a: number) => [number, number];
2817
+ readonly molhandle_atom_count: (a: number) => number;
2817
2818
  readonly molhandle_bbb_passes: (a: number) => number;
2818
2819
  readonly molhandle_bbb_score: (a: number) => number;
2819
2820
  readonly molhandle_bertz_ct: (a: number) => number;
@@ -2949,6 +2950,7 @@ export interface InitOutput {
2949
2950
  readonly sssr_rings_json: (a: number) => [number, number];
2950
2951
  readonly standardize_smiles: (a: number, b: number) => [number, number];
2951
2952
  readonly standardize_smiles_report_json: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
2953
+ readonly start: () => void;
2952
2954
  readonly stereo_parent_json: (a: number) => [number, number];
2953
2955
  readonly super_parent_json: (a: number, b: number, c: number, d: number, e: bigint) => [number, number];
2954
2956
  readonly super_parent_report_json: (a: number, b: number, c: number, d: number, e: bigint) => [number, number];
@@ -2987,8 +2989,6 @@ export interface InitOutput {
2987
2989
  readonly write_smiles: (a: number) => [number, number];
2988
2990
  readonly xlogp3_json: (a: number) => [number, number];
2989
2991
  readonly xlogp3_per_atom_json: (a: number) => [number, number];
2990
- readonly molhandle_atom_count: (a: number) => number;
2991
- readonly start: () => void;
2992
2992
  readonly __wbindgen_malloc: (a: number, b: number) => number;
2993
2993
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
2994
2994
  readonly __externref_table_alloc: () => number;
package/chematic_wasm.js CHANGED
@@ -6954,11 +6954,11 @@ export function xlogp3_per_atom_json(mol) {
6954
6954
  function __wbg_get_imports() {
6955
6955
  const import0 = {
6956
6956
  __proto__: null,
6957
- __wbg___wbindgen_is_undefined_6cff064c44e0d823: function(arg0) {
6957
+ __wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(arg0) {
6958
6958
  const ret = arg0 === undefined;
6959
6959
  return ret;
6960
6960
  },
6961
- __wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
6961
+ __wbg___wbindgen_string_get_92ab86bb19cbc12f: function(arg0, arg1) {
6962
6962
  const obj = arg1;
6963
6963
  const ret = typeof(obj) === 'string' ? obj : undefined;
6964
6964
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -6966,18 +6966,18 @@ function __wbg_get_imports() {
6966
6966
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6967
6967
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6968
6968
  },
6969
- __wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
6969
+ __wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
6970
6970
  throw new Error(getStringFromWasm0(arg0, arg1));
6971
6971
  },
6972
- __wbg_error_dd408a7b3cb542dd: function(arg0) {
6972
+ __wbg_error_756c5934221e6fee: function(arg0) {
6973
6973
  console.error(arg0);
6974
6974
  },
6975
- __wbg_new_from_slice_8aed4f0384605526: function(arg0, arg1) {
6976
- const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
6975
+ __wbg_new_from_slice_3b4c7f1456059f80: function(arg0, arg1) {
6976
+ const ret = new Float64Array(getArrayF64FromWasm0(arg0, arg1));
6977
6977
  return ret;
6978
6978
  },
6979
- __wbg_new_from_slice_f6e95bc2809a2b07: function(arg0, arg1) {
6980
- const ret = new Float64Array(getArrayF64FromWasm0(arg0, arg1));
6979
+ __wbg_new_from_slice_a500ec81601be48f: function(arg0, arg1) {
6980
+ const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
6981
6981
  return ret;
6982
6982
  },
6983
6983
  __wbg_now_e7c6795a7f81e10f: function(arg0) {
@@ -6988,28 +6988,28 @@ function __wbg_get_imports() {
6988
6988
  const ret = arg0.performance;
6989
6989
  return ret;
6990
6990
  },
6991
- __wbg_static_accessor_GLOBAL_THIS_466428f93b4eaa76: function() {
6992
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
6991
+ __wbg_static_accessor_GLOBAL_8eb4cd83130a11a0: function() {
6992
+ const ret = typeof global === 'undefined' ? null : global;
6993
6993
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
6994
6994
  },
6995
- __wbg_static_accessor_GLOBAL_c7aea38d4de089bc: function() {
6996
- const ret = typeof global === 'undefined' ? null : global;
6995
+ __wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db: function() {
6996
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
6997
6997
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
6998
6998
  },
6999
- __wbg_static_accessor_SELF_42d4fae05e59267a: function() {
6999
+ __wbg_static_accessor_SELF_d8b50611246a6d92: function() {
7000
7000
  const ret = typeof self === 'undefined' ? null : self;
7001
7001
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7002
7002
  },
7003
- __wbg_static_accessor_WINDOW_e0db14a0eba6a812: function() {
7003
+ __wbg_static_accessor_WINDOW_fd0bc376bf0f8b42: function() {
7004
7004
  const ret = typeof window === 'undefined' ? null : window;
7005
7005
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7006
7006
  },
7007
- __wbindgen_cast_0000000000000001: function(arg0) {
7007
+ __wbindgen_generic_0000000000000001: function(arg0) {
7008
7008
  // Cast intrinsic for `F64 -> Externref`.
7009
7009
  const ret = arg0;
7010
7010
  return ret;
7011
7011
  },
7012
- __wbindgen_cast_0000000000000002: function(arg0, arg1) {
7012
+ __wbindgen_generic_0000000000000002: function(arg0, arg1) {
7013
7013
  // Cast intrinsic for `Ref(String) -> Externref`.
7014
7014
  const ret = getStringFromWasm0(arg0, arg1);
7015
7015
  return ret;
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Kentaro Tanabe (kent-tokyo) <kent-tokyo@users.noreply.github.com>"
6
6
  ],
7
7
  "description": "WebAssembly bindings for chematic — use chematic from JavaScript/TypeScript",
8
- "version": "1.0.6",
8
+ "version": "1.0.7",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",