@cosmol-studio/cosmolkit-core-analysis 0.6.1 → 0.6.2-rc.2

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.
Binary file
@@ -3905,98 +3905,98 @@ export const xyzwriteparams_new: (a: number, b: number) => void;
3905
3905
  export const xyzwriteparams_precision: (a: number, b: number) => void;
3906
3906
  export const xyzwriteparams_set_conformerId: (a: number, b: number, c: number) => void;
3907
3907
  export const xyzwriteparams_set_precision: (a: number, b: number, c: number) => void;
3908
- export const __wasm_bindgen_func_elem_715: (a: number, b: number, c: number) => void;
3909
- export const __wasm_bindgen_func_elem_715_3496: (a: number, b: number, c: number) => void;
3910
- export const __wasm_bindgen_func_elem_715_3499: (a: number, b: number, c: number) => void;
3911
- export const __wasm_bindgen_func_elem_715_3500: (a: number, b: number, c: number) => void;
3912
- export const __wasm_bindgen_func_elem_715_3501: (a: number, b: number, c: number) => void;
3913
- export const __wasm_bindgen_func_elem_715_3502: (a: number, b: number, c: number) => void;
3914
- export const __wasm_bindgen_func_elem_715_3503: (a: number, b: number, c: number) => void;
3915
- export const __wasm_bindgen_func_elem_715_3504: (a: number, b: number, c: number) => void;
3916
- export const __wasm_bindgen_func_elem_715_3509: (a: number, b: number, c: number) => void;
3917
- export const __wasm_bindgen_func_elem_715_3510: (a: number, b: number, c: number) => void;
3918
- export const __wasm_bindgen_func_elem_715_3511: (a: number, b: number, c: number) => void;
3919
- export const __wasm_bindgen_func_elem_715_3512: (a: number, b: number, c: number) => void;
3920
- export const __wasm_bindgen_func_elem_715_3513: (a: number, b: number, c: number) => void;
3921
- export const __wasm_bindgen_func_elem_715_3514: (a: number, b: number, c: number) => void;
3922
- export const __wasm_bindgen_func_elem_715_3515: (a: number, b: number, c: number) => void;
3923
- export const __wasm_bindgen_func_elem_715_3517: (a: number, b: number, c: number) => void;
3924
- export const __wasm_bindgen_func_elem_715_3520: (a: number, b: number, c: number) => void;
3925
- export const __wasm_bindgen_func_elem_715_3521: (a: number, b: number, c: number) => void;
3926
- export const __wasm_bindgen_func_elem_715_3526: (a: number, b: number, c: number) => void;
3927
- export const __wasm_bindgen_func_elem_715_3527: (a: number, b: number, c: number) => void;
3928
- export const __wasm_bindgen_func_elem_715_3528: (a: number, b: number, c: number) => void;
3929
- export const __wasm_bindgen_func_elem_715_3529: (a: number, b: number, c: number) => void;
3930
- export const __wasm_bindgen_func_elem_715_3532: (a: number, b: number, c: number) => void;
3931
- export const __wasm_bindgen_func_elem_715_3533: (a: number, b: number, c: number) => void;
3932
- export const __wasm_bindgen_func_elem_715_3534: (a: number, b: number, c: number) => void;
3933
- export const __wasm_bindgen_func_elem_715_3535: (a: number, b: number, c: number) => void;
3934
- export const __wasm_bindgen_func_elem_715_3536: (a: number, b: number, c: number) => void;
3935
- export const __wasm_bindgen_func_elem_715_3537: (a: number, b: number, c: number) => void;
3936
- export const __wasm_bindgen_func_elem_715_3538: (a: number, b: number, c: number) => void;
3937
- export const __wasm_bindgen_func_elem_715_3542: (a: number, b: number, c: number) => void;
3938
- export const __wasm_bindgen_func_elem_715_3544: (a: number, b: number, c: number) => void;
3939
- export const __wasm_bindgen_func_elem_715_3545: (a: number, b: number, c: number) => void;
3940
- export const __wasm_bindgen_func_elem_715_3547: (a: number, b: number, c: number) => void;
3941
- export const __wasm_bindgen_func_elem_715_3558: (a: number, b: number, c: number) => void;
3942
- export const __wasm_bindgen_func_elem_715_3559: (a: number, b: number, c: number) => void;
3943
- export const __wasm_bindgen_func_elem_715_3560: (a: number, b: number, c: number) => void;
3944
- export const __wasm_bindgen_func_elem_715_3561: (a: number, b: number, c: number) => void;
3945
- export const __wasm_bindgen_func_elem_715_3562: (a: number, b: number, c: number) => void;
3946
- export const __wasm_bindgen_func_elem_715_3563: (a: number, b: number, c: number) => void;
3947
- export const __wasm_bindgen_func_elem_715_3565: (a: number, b: number, c: number) => void;
3948
- export const __wasm_bindgen_func_elem_715_3566: (a: number, b: number, c: number) => void;
3949
- export const __wasm_bindgen_func_elem_715_3568: (a: number, b: number, c: number) => void;
3950
- export const __wasm_bindgen_func_elem_715_3569: (a: number, b: number, c: number) => void;
3951
- export const __wasm_bindgen_func_elem_715_3571: (a: number, b: number, c: number) => void;
3952
- export const __wasm_bindgen_func_elem_715_3572: (a: number, b: number, c: number) => void;
3953
- export const __wasm_bindgen_func_elem_715_3574: (a: number, b: number, c: number) => void;
3954
- export const __wasm_bindgen_func_elem_715_3575: (a: number, b: number, c: number) => void;
3955
- export const __wasm_bindgen_func_elem_715_3576: (a: number, b: number, c: number) => void;
3956
- export const __wasm_bindgen_func_elem_715_3577: (a: number, b: number, c: number) => void;
3957
- export const __wasm_bindgen_func_elem_715_3578: (a: number, b: number, c: number) => void;
3958
- export const __wasm_bindgen_func_elem_715_40: (a: number, b: number, c: number) => void;
3959
- export const __wasm_bindgen_func_elem_715_42: (a: number, b: number, c: number) => void;
3960
- export const __wasm_bindgen_func_elem_715_43: (a: number, b: number, c: number) => void;
3961
- export const __wasm_bindgen_func_elem_715_44: (a: number, b: number, c: number) => void;
3908
+ export const __wasm_bindgen_func_elem_713: (a: number, b: number, c: number) => void;
3909
+ export const __wasm_bindgen_func_elem_713_3496: (a: number, b: number, c: number) => void;
3910
+ export const __wasm_bindgen_func_elem_713_3499: (a: number, b: number, c: number) => void;
3911
+ export const __wasm_bindgen_func_elem_713_3500: (a: number, b: number, c: number) => void;
3912
+ export const __wasm_bindgen_func_elem_713_3501: (a: number, b: number, c: number) => void;
3913
+ export const __wasm_bindgen_func_elem_713_3502: (a: number, b: number, c: number) => void;
3914
+ export const __wasm_bindgen_func_elem_713_3503: (a: number, b: number, c: number) => void;
3915
+ export const __wasm_bindgen_func_elem_713_3504: (a: number, b: number, c: number) => void;
3916
+ export const __wasm_bindgen_func_elem_713_3509: (a: number, b: number, c: number) => void;
3917
+ export const __wasm_bindgen_func_elem_713_3510: (a: number, b: number, c: number) => void;
3918
+ export const __wasm_bindgen_func_elem_713_3511: (a: number, b: number, c: number) => void;
3919
+ export const __wasm_bindgen_func_elem_713_3512: (a: number, b: number, c: number) => void;
3920
+ export const __wasm_bindgen_func_elem_713_3513: (a: number, b: number, c: number) => void;
3921
+ export const __wasm_bindgen_func_elem_713_3514: (a: number, b: number, c: number) => void;
3922
+ export const __wasm_bindgen_func_elem_713_3515: (a: number, b: number, c: number) => void;
3923
+ export const __wasm_bindgen_func_elem_713_3517: (a: number, b: number, c: number) => void;
3924
+ export const __wasm_bindgen_func_elem_713_3520: (a: number, b: number, c: number) => void;
3925
+ export const __wasm_bindgen_func_elem_713_3521: (a: number, b: number, c: number) => void;
3926
+ export const __wasm_bindgen_func_elem_713_3526: (a: number, b: number, c: number) => void;
3927
+ export const __wasm_bindgen_func_elem_713_3527: (a: number, b: number, c: number) => void;
3928
+ export const __wasm_bindgen_func_elem_713_3528: (a: number, b: number, c: number) => void;
3929
+ export const __wasm_bindgen_func_elem_713_3529: (a: number, b: number, c: number) => void;
3930
+ export const __wasm_bindgen_func_elem_713_3532: (a: number, b: number, c: number) => void;
3931
+ export const __wasm_bindgen_func_elem_713_3533: (a: number, b: number, c: number) => void;
3932
+ export const __wasm_bindgen_func_elem_713_3534: (a: number, b: number, c: number) => void;
3933
+ export const __wasm_bindgen_func_elem_713_3535: (a: number, b: number, c: number) => void;
3934
+ export const __wasm_bindgen_func_elem_713_3536: (a: number, b: number, c: number) => void;
3935
+ export const __wasm_bindgen_func_elem_713_3537: (a: number, b: number, c: number) => void;
3936
+ export const __wasm_bindgen_func_elem_713_3538: (a: number, b: number, c: number) => void;
3937
+ export const __wasm_bindgen_func_elem_713_3542: (a: number, b: number, c: number) => void;
3938
+ export const __wasm_bindgen_func_elem_713_3544: (a: number, b: number, c: number) => void;
3939
+ export const __wasm_bindgen_func_elem_713_3545: (a: number, b: number, c: number) => void;
3940
+ export const __wasm_bindgen_func_elem_713_3547: (a: number, b: number, c: number) => void;
3941
+ export const __wasm_bindgen_func_elem_713_3558: (a: number, b: number, c: number) => void;
3942
+ export const __wasm_bindgen_func_elem_713_3559: (a: number, b: number, c: number) => void;
3943
+ export const __wasm_bindgen_func_elem_713_3560: (a: number, b: number, c: number) => void;
3944
+ export const __wasm_bindgen_func_elem_713_3561: (a: number, b: number, c: number) => void;
3945
+ export const __wasm_bindgen_func_elem_713_3562: (a: number, b: number, c: number) => void;
3946
+ export const __wasm_bindgen_func_elem_713_3563: (a: number, b: number, c: number) => void;
3947
+ export const __wasm_bindgen_func_elem_713_3565: (a: number, b: number, c: number) => void;
3948
+ export const __wasm_bindgen_func_elem_713_3566: (a: number, b: number, c: number) => void;
3949
+ export const __wasm_bindgen_func_elem_713_3568: (a: number, b: number, c: number) => void;
3950
+ export const __wasm_bindgen_func_elem_713_3569: (a: number, b: number, c: number) => void;
3951
+ export const __wasm_bindgen_func_elem_713_3571: (a: number, b: number, c: number) => void;
3952
+ export const __wasm_bindgen_func_elem_713_3572: (a: number, b: number, c: number) => void;
3953
+ export const __wasm_bindgen_func_elem_713_3574: (a: number, b: number, c: number) => void;
3954
+ export const __wasm_bindgen_func_elem_713_3575: (a: number, b: number, c: number) => void;
3955
+ export const __wasm_bindgen_func_elem_713_3576: (a: number, b: number, c: number) => void;
3956
+ export const __wasm_bindgen_func_elem_713_3577: (a: number, b: number, c: number) => void;
3957
+ export const __wasm_bindgen_func_elem_713_3578: (a: number, b: number, c: number) => void;
3958
+ export const __wasm_bindgen_func_elem_713_40: (a: number, b: number, c: number) => void;
3959
+ export const __wasm_bindgen_func_elem_713_42: (a: number, b: number, c: number) => void;
3960
+ export const __wasm_bindgen_func_elem_713_43: (a: number, b: number, c: number) => void;
3961
+ export const __wasm_bindgen_func_elem_713_44: (a: number, b: number, c: number) => void;
3962
+ export const __wasm_bindgen_func_elem_718: (a: number, b: number, c: number) => void;
3962
3963
  export const __wasm_bindgen_func_elem_720: (a: number, b: number, c: number) => void;
3963
3964
  export const __wasm_bindgen_func_elem_722: (a: number, b: number, c: number) => void;
3964
3965
  export const __wasm_bindgen_func_elem_724: (a: number, b: number, c: number) => void;
3965
- export const __wasm_bindgen_func_elem_726: (a: number, b: number, c: number) => void;
3966
- export const __wasm_bindgen_func_elem_726_2606: (a: number, b: number, c: number) => void;
3967
- export const __wasm_bindgen_func_elem_732: (a: number, b: number, c: number) => void;
3966
+ export const __wasm_bindgen_func_elem_724_2606: (a: number, b: number, c: number) => void;
3967
+ export const __wasm_bindgen_func_elem_730: (a: number, b: number, c: number) => void;
3968
+ export const __wasm_bindgen_func_elem_734: (a: number, b: number, c: number) => void;
3968
3969
  export const __wasm_bindgen_func_elem_736: (a: number, b: number, c: number) => void;
3970
+ export const __wasm_bindgen_func_elem_736_3531: (a: number, b: number, c: number) => void;
3971
+ export const __wasm_bindgen_func_elem_736_3543: (a: number, b: number, c: number) => void;
3972
+ export const __wasm_bindgen_func_elem_736_3567: (a: number, b: number, c: number) => void;
3973
+ export const __wasm_bindgen_func_elem_736_3570: (a: number, b: number, c: number) => void;
3974
+ export const __wasm_bindgen_func_elem_736_3573: (a: number, b: number, c: number) => void;
3975
+ export const __wasm_bindgen_func_elem_736_3579: (a: number, b: number, c: number) => void;
3969
3976
  export const __wasm_bindgen_func_elem_738: (a: number, b: number, c: number) => void;
3970
- export const __wasm_bindgen_func_elem_738_3531: (a: number, b: number, c: number) => void;
3971
- export const __wasm_bindgen_func_elem_738_3543: (a: number, b: number, c: number) => void;
3972
- export const __wasm_bindgen_func_elem_738_3567: (a: number, b: number, c: number) => void;
3973
- export const __wasm_bindgen_func_elem_738_3570: (a: number, b: number, c: number) => void;
3974
- export const __wasm_bindgen_func_elem_738_3573: (a: number, b: number, c: number) => void;
3975
- export const __wasm_bindgen_func_elem_738_3579: (a: number, b: number, c: number) => void;
3976
- export const __wasm_bindgen_func_elem_740: (a: number, b: number, c: number) => void;
3977
- export const __wasm_bindgen_func_elem_743: (a: number, b: number, c: number) => void;
3978
- export const __wasm_bindgen_func_elem_743_3530: (a: number, b: number, c: number) => void;
3979
- export const __wasm_bindgen_func_elem_743_3551: (a: number, b: number, c: number) => void;
3980
- export const __wasm_bindgen_func_elem_747: (a: number, b: number, c: number) => void;
3977
+ export const __wasm_bindgen_func_elem_741: (a: number, b: number, c: number) => void;
3978
+ export const __wasm_bindgen_func_elem_741_3530: (a: number, b: number, c: number) => void;
3979
+ export const __wasm_bindgen_func_elem_741_3551: (a: number, b: number, c: number) => void;
3980
+ export const __wasm_bindgen_func_elem_745: (a: number, b: number, c: number) => void;
3981
+ export const __wasm_bindgen_func_elem_749: (a: number, b: number, c: number) => void;
3981
3982
  export const __wasm_bindgen_func_elem_751: (a: number, b: number, c: number) => void;
3982
3983
  export const __wasm_bindgen_func_elem_753: (a: number, b: number, c: number) => void;
3983
3984
  export const __wasm_bindgen_func_elem_755: (a: number, b: number, c: number) => void;
3984
3985
  export const __wasm_bindgen_func_elem_757: (a: number, b: number, c: number) => void;
3985
3986
  export const __wasm_bindgen_func_elem_759: (a: number, b: number, c: number) => void;
3986
3987
  export const __wasm_bindgen_func_elem_761: (a: number, b: number, c: number) => void;
3987
- export const __wasm_bindgen_func_elem_763: (a: number, b: number, c: number) => void;
3988
+ export const __wasm_bindgen_func_elem_767: (a: number, b: number, c: number) => void;
3988
3989
  export const __wasm_bindgen_func_elem_769: (a: number, b: number, c: number) => void;
3989
3990
  export const __wasm_bindgen_func_elem_771: (a: number, b: number, c: number) => void;
3990
3991
  export const __wasm_bindgen_func_elem_773: (a: number, b: number, c: number) => void;
3991
3992
  export const __wasm_bindgen_func_elem_775: (a: number, b: number, c: number) => void;
3992
- export const __wasm_bindgen_func_elem_777: (a: number, b: number, c: number) => void;
3993
+ export const __wasm_bindgen_func_elem_779: (a: number, b: number, c: number) => void;
3993
3994
  export const __wasm_bindgen_func_elem_781: (a: number, b: number, c: number) => void;
3994
- export const __wasm_bindgen_func_elem_783: (a: number, b: number, c: number) => void;
3995
+ export const __wasm_bindgen_func_elem_785: (a: number, b: number, c: number) => void;
3995
3996
  export const __wasm_bindgen_func_elem_787: (a: number, b: number, c: number) => void;
3996
3997
  export const __wasm_bindgen_func_elem_789: (a: number, b: number, c: number) => void;
3997
3998
  export const __wasm_bindgen_func_elem_791: (a: number, b: number, c: number) => void;
3998
- export const __wasm_bindgen_func_elem_793: (a: number, b: number, c: number) => void;
3999
- export const __wasm_bindgen_func_elem_797: (a: number, b: number, c: number) => void;
3999
+ export const __wasm_bindgen_func_elem_795: (a: number, b: number, c: number) => void;
4000
4000
  export const __wbindgen_export: (a: number, b: number) => number;
4001
4001
  export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
4002
4002
  export const __wbindgen_export3: (a: number) => void;
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './cosmolkit_wasm.js';
package/index.js ADDED
@@ -0,0 +1,14 @@
1
+ import init from './cosmolkit_wasm.js';
2
+
3
+ const wasmUrl = new URL('./cosmolkit_wasm_bg.wasm', import.meta.url);
4
+
5
+ if (wasmUrl.protocol === 'file:') {
6
+ // Leave the Node-only import out of browser bundles.
7
+ const fsModule = 'node:fs/promises';
8
+ const { readFile } = await import(/* webpackIgnore: true */ /* @vite-ignore */ fsModule);
9
+ await init({ module_or_path: await readFile(wasmUrl) });
10
+ } else {
11
+ await init({ module_or_path: wasmUrl });
12
+ }
13
+
14
+ export * from './cosmolkit_wasm.js';
package/package.json CHANGED
@@ -1,24 +1,28 @@
1
1
  {
2
2
  "name": "@cosmol-studio/cosmolkit-core-analysis",
3
- "version": "0.6.1",
4
- "description": "Rust-native cheminformatics for JavaScript and TypeScript",
5
- "license": "MIT",
6
- "repository": "https://github.com/cosmol-studio/COSMolKit",
7
3
  "type": "module",
8
- "main": "cosmolkit_wasm.js",
9
- "types": "cosmolkit_wasm.d.ts",
4
+ "description": "JavaScript and TypeScript bindings for COSMolKit",
5
+ "version": "0.6.2-rc.2",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/cosmol-studio/COSMolKit"
10
+ },
10
11
  "files": [
11
- "cosmolkit_wasm.d.ts",
12
- "cosmolkit_wasm.js",
13
- "cosmolkit_wasm_bg.wasm",
14
- "cosmolkit_wasm_bg.wasm.d.ts",
15
- "snippets/cosmolkit-wasm-24aa11e10f161cdf/src/readonly_map.js",
16
- "snippets/package.json",
17
- "README.md",
18
- "LICENSE"
12
+ "*.js",
13
+ "*.d.ts",
14
+ "*.wasm",
15
+ "snippets"
16
+ ],
17
+ "main": "index.js",
18
+ "types": "index.d.ts",
19
+ "sideEffects": [
20
+ "./index.js",
21
+ "./snippets/*"
19
22
  ],
23
+ "module": "index.js",
20
24
  "publishConfig": {
21
25
  "access": "public",
22
- "tag": "latest"
26
+ "tag": "rc"
23
27
  }
24
28
  }
@@ -1 +0,0 @@
1
- {"type":"module"}