@kent-tokyo/chematic 1.0.4 → 1.0.6

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/README.md CHANGED
@@ -160,29 +160,9 @@ portable across native and `wasm32-unknown-unknown`
160
160
  precision across every JS engine, only that the value is finite, non-negative,
161
161
  and enforced correctly on all of them.
162
162
 
163
- ## Version History
164
-
165
- **v0.1.94** (2026-06-12):
166
- - SA Score corpus expanded: 188 FDA molecules (1415 unique fragments)
167
- - Enhanced fingerprints: True MHFP, True ERG, path FP with bond types
168
- - Full multi-sphere CIP stereochemistry for R/S assignment
169
- - InChI stereo layer round-trip support (tetrahedral and E/Z)
170
-
171
- **v0.1.93** (2026-06-12):
172
- - Full multi-sphere CIP priority rules
173
- - Correct stereochemistry assignment for complex chiral centers
174
-
175
- **v0.1.92** (2026-06-12):
176
- - InChI stereo layer parsing (tetrahedral `/t` and E/Z `/b`)
177
- - Path fingerprint with bond type interleaving
178
-
179
- **v0.1.91** (2026-06-12):
180
- - True MHFP (structural fragment hashing)
181
- - True ERG (Ertl 2017 functional group detection)
182
-
183
163
  ## Bundle Size
184
164
 
185
- ~500 KB gzip / ~1.3 MB raw (reduced from ~819 KB gzip in v0.4.17, -38.5%).
165
+ The optimized v1.0.2-candidate artifact was measured at **3.30 MB raw / 1.21 MB gzip**. Bundle size depends on features and toolchain; see [`benchmarks/2026-09-04-wasm-size.md`](../../benchmarks/2026-09-04-wasm-size.md) for exact tools, digest, and reproduction steps.
186
166
 
187
167
  PNG rasterization (`tiny_skia`) is excluded from the WASM build — use SVG output instead. All SVG depiction APIs remain fully available.
188
168
 
@@ -638,7 +638,7 @@ export function cip_assignments_json(mol: MolHandle): string;
638
638
  /**
639
639
  * Atoms the accurate CIP engine could not resolve a tetrahedral R/S for, as a JSON
640
640
  * array of `{atomIdx, reason}` objects. `reason` is `"tied"` (a genuine CIP-rule tie,
641
- * not a missing rule) or `"budgetExceeded"`. Always `[]` for the legacy engine (see
641
+ * not a missing rule), `"budgetExceeded"`, or `"oracleUnstable"`. Always `[]` for the legacy engine (see
642
642
  * [`cip_assignments_json`]) -- it never reports "I don't know". Returns `"null"` on
643
643
  * an internal engine error.
644
644
  */
package/chematic_wasm.js CHANGED
@@ -1518,7 +1518,7 @@ export function cip_assignments_json(mol) {
1518
1518
  /**
1519
1519
  * Atoms the accurate CIP engine could not resolve a tetrahedral R/S for, as a JSON
1520
1520
  * array of `{atomIdx, reason}` objects. `reason` is `"tied"` (a genuine CIP-rule tie,
1521
- * not a missing rule) or `"budgetExceeded"`. Always `[]` for the legacy engine (see
1521
+ * not a missing rule), `"budgetExceeded"`, or `"oracleUnstable"`. Always `[]` for the legacy engine (see
1522
1522
  * [`cip_assignments_json`]) -- it never reports "I don't know". Returns `"null"` on
1523
1523
  * an internal engine error.
1524
1524
  * @param {MolHandle} mol
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.4",
8
+ "version": "1.0.6",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",