rdkit-esm 0.5.0 → 0.5.1-rc.0
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 +2 -7
- package/package.json +2 -2
- package/dist/4c709c835a45b633.wasm +0 -0
package/dist/index.js
CHANGED
|
@@ -3835,13 +3835,9 @@ var require_RDKit_minimal = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
3835
3835
|
} else if (typeof define === "function" && define["amd"]) define([], () => initRDKitModule$1);
|
|
3836
3836
|
}));
|
|
3837
3837
|
|
|
3838
|
-
//#endregion
|
|
3839
|
-
//#region MinimalLib/dist/RDKit_minimal.wasm?url
|
|
3840
|
-
var import_RDKit_minimal = /* @__PURE__ */ __toESM(require_RDKit_minimal(), 1);
|
|
3841
|
-
var RDKit_minimal_default = "4c709c835a45b633.wasm";
|
|
3842
|
-
|
|
3843
3838
|
//#endregion
|
|
3844
3839
|
//#region src/mol-array.ts
|
|
3840
|
+
var import_RDKit_minimal = /* @__PURE__ */ __toESM(require_RDKit_minimal(), 1);
|
|
3845
3841
|
/**
|
|
3846
3842
|
* An array of {@link Mol} instances with batch lifecycle management.
|
|
3847
3843
|
*
|
|
@@ -4877,8 +4873,7 @@ var RDKit = class {
|
|
|
4877
4873
|
* to the JS bundle's location — works regardless of where the page is served.
|
|
4878
4874
|
*/
|
|
4879
4875
|
function resolveWasmUrl() {
|
|
4880
|
-
|
|
4881
|
-
return new URL(url, import.meta.url).href;
|
|
4876
|
+
return new URL("../MinimalLib/dist/RDKit_minimal.wasm", import.meta.url).href;
|
|
4882
4877
|
}
|
|
4883
4878
|
async function initRDKit(options, constructor = RDKit) {
|
|
4884
4879
|
const locateFile = options?.locateFile ?? (() => resolveWasmUrl());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rdkit-esm",
|
|
3
|
-
"version": "0.5.0",
|
|
3
|
+
"version": "0.5.1-rc.0",
|
|
4
4
|
"description": "RDKit minimal lib for the modern web.",
|
|
5
5
|
"homepage": "https://github.com/tandemai/rdkit-esm#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
"typescript": "^5.9.3",
|
|
45
45
|
"vitest": "^4.0.16"
|
|
46
46
|
}
|
|
47
|
-
}
|
|
47
|
+
}
|
|
Binary file
|