@molcrafts/molrs 0.0.16 → 0.1.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/molrs.d.ts +18 -0
- package/molrs.js +1 -1
- package/molrs_bg.js +84 -59
- package/molrs_bg.wasm +0 -0
- package/package.json +2 -2
package/molrs.d.ts
CHANGED
|
@@ -3786,6 +3786,24 @@ export class XYZReader {
|
|
|
3786
3786
|
read(step: number): Frame | undefined;
|
|
3787
3787
|
}
|
|
3788
3788
|
|
|
3789
|
+
/**
|
|
3790
|
+
* Covalent radius (in angstrom) for an element symbol.
|
|
3791
|
+
*
|
|
3792
|
+
* Case-insensitive lookup against the built-in periodic table. Returns
|
|
3793
|
+
* `null` (`undefined` in JS) for an unrecognised symbol. This is the
|
|
3794
|
+
* single source of truth for covalent radii — downstream code (e.g. bond
|
|
3795
|
+
* perception) should call this rather than carrying its own table.
|
|
3796
|
+
*
|
|
3797
|
+
* # Example (JavaScript)
|
|
3798
|
+
*
|
|
3799
|
+
* ```js
|
|
3800
|
+
* covalentRadius("C"); // 0.76
|
|
3801
|
+
* covalentRadius("h"); // 0.31 (case-insensitive)
|
|
3802
|
+
* covalentRadius("Xx"); // undefined
|
|
3803
|
+
* ```
|
|
3804
|
+
*/
|
|
3805
|
+
export function covalentRadius(symbol: string): number | undefined;
|
|
3806
|
+
|
|
3789
3807
|
/**
|
|
3790
3808
|
* Generate 3D coordinates for a molecular [`Frame`].
|
|
3791
3809
|
*
|
package/molrs.js
CHANGED
|
@@ -5,5 +5,5 @@ import { __wbg_set_wasm } from "./molrs_bg.js";
|
|
|
5
5
|
__wbg_set_wasm(wasm);
|
|
6
6
|
wasm.__wbindgen_start();
|
|
7
7
|
export {
|
|
8
|
-
Block, Box, CHGCARReader, CIFReader, CenterOfMass, CenterOfMassResult, Cluster, ClusterCenters, ClusterResult, CubeReader, DCDReader, Frame, FrameIndexEntry, GyrationTensor, InertiaTensor, LAMMPSReader, LAMMPSTrajReader, LinkedCell, MSD, MSDResult, MolRecReader, NeighborList, PDBReader, RDF, RDFResult, RadiusOfGyration, SDFReader, SmilesIR, Topology, TopologyRingInfo, WasmArray, WasmKMeans, WasmLammpsDataStream, WasmLammpsDumpStream, WasmPca2, WasmPcaResult, WasmPdbStream, WasmSdfStream, WasmXyzStream, XYZReader, generate3D, parseSMILES, start, wasmMemory, writeFrame
|
|
8
|
+
Block, Box, CHGCARReader, CIFReader, CenterOfMass, CenterOfMassResult, Cluster, ClusterCenters, ClusterResult, CubeReader, DCDReader, Frame, FrameIndexEntry, GyrationTensor, InertiaTensor, LAMMPSReader, LAMMPSTrajReader, LinkedCell, MSD, MSDResult, MolRecReader, NeighborList, PDBReader, RDF, RDFResult, RadiusOfGyration, SDFReader, SmilesIR, Topology, TopologyRingInfo, WasmArray, WasmKMeans, WasmLammpsDataStream, WasmLammpsDumpStream, WasmPca2, WasmPcaResult, WasmPdbStream, WasmSdfStream, WasmXyzStream, XYZReader, covalentRadius, generate3D, parseSMILES, start, wasmMemory, writeFrame
|
|
9
9
|
} from "./molrs_bg.js";
|
package/molrs_bg.js
CHANGED
|
@@ -6357,6 +6357,31 @@ export class XYZReader {
|
|
|
6357
6357
|
}
|
|
6358
6358
|
if (Symbol.dispose) XYZReader.prototype[Symbol.dispose] = XYZReader.prototype.free;
|
|
6359
6359
|
|
|
6360
|
+
/**
|
|
6361
|
+
* Covalent radius (in angstrom) for an element symbol.
|
|
6362
|
+
*
|
|
6363
|
+
* Case-insensitive lookup against the built-in periodic table. Returns
|
|
6364
|
+
* `null` (`undefined` in JS) for an unrecognised symbol. This is the
|
|
6365
|
+
* single source of truth for covalent radii — downstream code (e.g. bond
|
|
6366
|
+
* perception) should call this rather than carrying its own table.
|
|
6367
|
+
*
|
|
6368
|
+
* # Example (JavaScript)
|
|
6369
|
+
*
|
|
6370
|
+
* ```js
|
|
6371
|
+
* covalentRadius("C"); // 0.76
|
|
6372
|
+
* covalentRadius("h"); // 0.31 (case-insensitive)
|
|
6373
|
+
* covalentRadius("Xx"); // undefined
|
|
6374
|
+
* ```
|
|
6375
|
+
* @param {string} symbol
|
|
6376
|
+
* @returns {number | undefined}
|
|
6377
|
+
*/
|
|
6378
|
+
export function covalentRadius(symbol) {
|
|
6379
|
+
const ptr0 = passStringToWasm0(symbol, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
|
|
6380
|
+
const len0 = WASM_VECTOR_LEN;
|
|
6381
|
+
const ret = wasm.covalentRadius(ptr0, len0);
|
|
6382
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
6383
|
+
}
|
|
6384
|
+
|
|
6360
6385
|
/**
|
|
6361
6386
|
* Generate 3D coordinates for a molecular [`Frame`].
|
|
6362
6387
|
*
|
|
@@ -6549,18 +6574,18 @@ export function writeFrame(frame, format) {
|
|
|
6549
6574
|
wasm.__wbindgen_free_command_export(deferred3_0, deferred3_1, 1);
|
|
6550
6575
|
}
|
|
6551
6576
|
}
|
|
6552
|
-
export function
|
|
6577
|
+
export function __wbg___wbindgen_debug_string_8a447059637473e2(arg0, arg1) {
|
|
6553
6578
|
const ret = debugString(arg1);
|
|
6554
6579
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
|
|
6555
6580
|
const len1 = WASM_VECTOR_LEN;
|
|
6556
6581
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6557
6582
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6558
6583
|
}
|
|
6559
|
-
export function
|
|
6584
|
+
export function __wbg___wbindgen_memory_9751d9a3017e7c25() {
|
|
6560
6585
|
const ret = wasm.memory;
|
|
6561
6586
|
return ret;
|
|
6562
6587
|
}
|
|
6563
|
-
export function
|
|
6588
|
+
export function __wbg___wbindgen_string_get_71bb4348194e31f0(arg0, arg1) {
|
|
6564
6589
|
const obj = arg1;
|
|
6565
6590
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
6566
6591
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
|
|
@@ -6568,10 +6593,10 @@ export function __wbg___wbindgen_string_get_d109740c0d18f4d7(arg0, arg1) {
|
|
|
6568
6593
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6569
6594
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6570
6595
|
}
|
|
6571
|
-
export function
|
|
6596
|
+
export function __wbg___wbindgen_throw_ea4887a5f8f9a9db(arg0, arg1) {
|
|
6572
6597
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
6573
6598
|
}
|
|
6574
|
-
export function
|
|
6599
|
+
export function __wbg_done_b62d4a7d2286852a(arg0) {
|
|
6575
6600
|
const ret = arg0.done;
|
|
6576
6601
|
return ret;
|
|
6577
6602
|
}
|
|
@@ -6590,38 +6615,38 @@ export function __wbg_frameindexentry_new(arg0) {
|
|
|
6590
6615
|
const ret = FrameIndexEntry.__wrap(arg0);
|
|
6591
6616
|
return ret;
|
|
6592
6617
|
}
|
|
6593
|
-
export function
|
|
6618
|
+
export function __wbg_getRandomValues_76dfc69825c9c552() { return handleError(function (arg0, arg1) {
|
|
6594
6619
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6595
6620
|
}, arguments); }
|
|
6596
|
-
export function
|
|
6621
|
+
export function __wbg_get_f6f94ffcaf26eed1(arg0, arg1) {
|
|
6597
6622
|
const ret = arg0.get(arg1);
|
|
6598
6623
|
return ret;
|
|
6599
6624
|
}
|
|
6600
|
-
export function
|
|
6625
|
+
export function __wbg_get_unchecked_54a4374c38e08460(arg0, arg1) {
|
|
6601
6626
|
const ret = arg0[arg1 >>> 0];
|
|
6602
6627
|
return ret;
|
|
6603
6628
|
}
|
|
6604
|
-
export function
|
|
6629
|
+
export function __wbg_keys_8c9f7da46ee76e8d(arg0) {
|
|
6605
6630
|
const ret = arg0.keys();
|
|
6606
6631
|
return ret;
|
|
6607
6632
|
}
|
|
6608
|
-
export function
|
|
6633
|
+
export function __wbg_length_4875795b8939c6b6(arg0) {
|
|
6609
6634
|
const ret = arg0.length;
|
|
6610
6635
|
return ret;
|
|
6611
6636
|
}
|
|
6612
|
-
export function
|
|
6637
|
+
export function __wbg_length_589238bdcf171f0e(arg0) {
|
|
6613
6638
|
const ret = arg0.length;
|
|
6614
6639
|
return ret;
|
|
6615
6640
|
}
|
|
6616
|
-
export function
|
|
6641
|
+
export function __wbg_length_750ab89c52b42479(arg0) {
|
|
6617
6642
|
const ret = arg0.length;
|
|
6618
6643
|
return ret;
|
|
6619
6644
|
}
|
|
6620
|
-
export function
|
|
6645
|
+
export function __wbg_length_bf9e65fd7019a3f2(arg0) {
|
|
6621
6646
|
const ret = arg0.length;
|
|
6622
6647
|
return ret;
|
|
6623
6648
|
}
|
|
6624
|
-
export function
|
|
6649
|
+
export function __wbg_length_c6054974c0a6cdb9(arg0) {
|
|
6625
6650
|
const ret = arg0.length;
|
|
6626
6651
|
return ret;
|
|
6627
6652
|
}
|
|
@@ -6633,74 +6658,74 @@ export function __wbg_new_227d7c05414eb861() {
|
|
|
6633
6658
|
const ret = new Error();
|
|
6634
6659
|
return ret;
|
|
6635
6660
|
}
|
|
6636
|
-
export function
|
|
6661
|
+
export function __wbg_new_36e147a8ced3c6e0() {
|
|
6637
6662
|
const ret = new Array();
|
|
6638
6663
|
return ret;
|
|
6639
6664
|
}
|
|
6640
|
-
export function
|
|
6665
|
+
export function __wbg_new_81880fb5002cb255(arg0) {
|
|
6641
6666
|
const ret = new Uint8Array(arg0);
|
|
6642
6667
|
return ret;
|
|
6643
6668
|
}
|
|
6644
|
-
export function
|
|
6645
|
-
const ret = new
|
|
6669
|
+
export function __wbg_new_from_slice_3f5658f83d8d0725(arg0, arg1) {
|
|
6670
|
+
const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
|
|
6646
6671
|
return ret;
|
|
6647
6672
|
}
|
|
6648
|
-
export function
|
|
6673
|
+
export function __wbg_new_from_slice_7b8c5f56d6f4bffc(arg0, arg1) {
|
|
6649
6674
|
const ret = new Int32Array(getArrayI32FromWasm0(arg0, arg1));
|
|
6650
6675
|
return ret;
|
|
6651
6676
|
}
|
|
6652
|
-
export function
|
|
6653
|
-
const ret = new
|
|
6677
|
+
export function __wbg_new_from_slice_98e57cb2fe2e6a5d(arg0, arg1) {
|
|
6678
|
+
const ret = new Float64Array(getArrayF64FromWasm0(arg0, arg1));
|
|
6654
6679
|
return ret;
|
|
6655
6680
|
}
|
|
6656
|
-
export function
|
|
6681
|
+
export function __wbg_new_with_length_3f188e379a8c6a4d(arg0) {
|
|
6657
6682
|
const ret = new Float64Array(arg0 >>> 0);
|
|
6658
6683
|
return ret;
|
|
6659
6684
|
}
|
|
6660
|
-
export function
|
|
6685
|
+
export function __wbg_new_with_length_793583df958b3ae2(arg0) {
|
|
6661
6686
|
const ret = new Int32Array(arg0 >>> 0);
|
|
6662
6687
|
return ret;
|
|
6663
6688
|
}
|
|
6664
|
-
export function
|
|
6689
|
+
export function __wbg_new_with_length_9b650f44b5c44a4e(arg0) {
|
|
6665
6690
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
6666
6691
|
return ret;
|
|
6667
6692
|
}
|
|
6668
|
-
export function
|
|
6693
|
+
export function __wbg_new_with_length_ecf42de9ee25651c(arg0) {
|
|
6669
6694
|
const ret = new Uint32Array(arg0 >>> 0);
|
|
6670
6695
|
return ret;
|
|
6671
6696
|
}
|
|
6672
|
-
export function
|
|
6697
|
+
export function __wbg_next_0c4066e251d2eff9() { return handleError(function (arg0) {
|
|
6673
6698
|
const ret = arg0.next();
|
|
6674
6699
|
return ret;
|
|
6675
6700
|
}, arguments); }
|
|
6676
|
-
export function
|
|
6677
|
-
|
|
6701
|
+
export function __wbg_prototypesetcall_1f31756936f35af0(arg0, arg1, arg2) {
|
|
6702
|
+
Int32Array.prototype.set.call(getArrayI32FromWasm0(arg0, arg1), arg2);
|
|
6678
6703
|
}
|
|
6679
|
-
export function
|
|
6704
|
+
export function __wbg_prototypesetcall_26a86dd8c73de125(arg0, arg1, arg2) {
|
|
6680
6705
|
Uint32Array.prototype.set.call(getArrayU32FromWasm0(arg0, arg1), arg2);
|
|
6681
6706
|
}
|
|
6682
|
-
export function
|
|
6683
|
-
|
|
6707
|
+
export function __wbg_prototypesetcall_83f8c8d8e36faf9f(arg0, arg1, arg2) {
|
|
6708
|
+
Float64Array.prototype.set.call(getArrayF64FromWasm0(arg0, arg1), arg2);
|
|
6684
6709
|
}
|
|
6685
|
-
export function
|
|
6686
|
-
|
|
6710
|
+
export function __wbg_prototypesetcall_d721637c7ca66eb8(arg0, arg1, arg2) {
|
|
6711
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
6687
6712
|
}
|
|
6688
|
-
export function
|
|
6713
|
+
export function __wbg_push_f724b5db8acf89d2(arg0, arg1) {
|
|
6689
6714
|
const ret = arg0.push(arg1);
|
|
6690
6715
|
return ret;
|
|
6691
6716
|
}
|
|
6692
|
-
export function
|
|
6717
|
+
export function __wbg_set_404b02690d27a687(arg0, arg1, arg2) {
|
|
6693
6718
|
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
6694
6719
|
}
|
|
6695
|
-
export function
|
|
6720
|
+
export function __wbg_set_699bda357d38bc49(arg0, arg1, arg2) {
|
|
6696
6721
|
arg0.set(getArrayI32FromWasm0(arg1, arg2));
|
|
6697
6722
|
}
|
|
6698
|
-
export function
|
|
6699
|
-
arg0[arg1 >>> 0] = arg2;
|
|
6700
|
-
}
|
|
6701
|
-
export function __wbg_set_index_b93fd9d797d1ff98(arg0, arg1, arg2) {
|
|
6723
|
+
export function __wbg_set_index_4cab6f2df9ae8120(arg0, arg1, arg2) {
|
|
6702
6724
|
arg0[arg1 >>> 0] = arg2 >>> 0;
|
|
6703
6725
|
}
|
|
6726
|
+
export function __wbg_set_index_dd52456a7aef02bf(arg0, arg1, arg2) {
|
|
6727
|
+
arg0[arg1 >>> 0] = arg2;
|
|
6728
|
+
}
|
|
6704
6729
|
export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
6705
6730
|
const ret = arg1.stack;
|
|
6706
6731
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
|
|
@@ -6708,7 +6733,7 @@ export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
|
6708
6733
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6709
6734
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6710
6735
|
}
|
|
6711
|
-
export function
|
|
6736
|
+
export function __wbg_value_49f783bb59765962(arg0) {
|
|
6712
6737
|
const ret = arg0.value;
|
|
6713
6738
|
return ret;
|
|
6714
6739
|
}
|
|
@@ -6747,18 +6772,18 @@ const BlockFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
6747
6772
|
const BoxFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6748
6773
|
? { register: () => {}, unregister: () => {} }
|
|
6749
6774
|
: new FinalizationRegistry(ptr => wasm.__wbg_box_free(ptr, 1));
|
|
6750
|
-
const CenterOfMassFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6751
|
-
? { register: () => {}, unregister: () => {} }
|
|
6752
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_centerofmass_free(ptr, 1));
|
|
6753
|
-
const CenterOfMassResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6754
|
-
? { register: () => {}, unregister: () => {} }
|
|
6755
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_centerofmassresult_free(ptr, 1));
|
|
6756
6775
|
const CHGCARReaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6757
6776
|
? { register: () => {}, unregister: () => {} }
|
|
6758
6777
|
: new FinalizationRegistry(ptr => wasm.__wbg_chgcarreader_free(ptr, 1));
|
|
6759
6778
|
const CIFReaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6760
6779
|
? { register: () => {}, unregister: () => {} }
|
|
6761
6780
|
: new FinalizationRegistry(ptr => wasm.__wbg_cifreader_free(ptr, 1));
|
|
6781
|
+
const CenterOfMassFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6782
|
+
? { register: () => {}, unregister: () => {} }
|
|
6783
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_centerofmass_free(ptr, 1));
|
|
6784
|
+
const CenterOfMassResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6785
|
+
? { register: () => {}, unregister: () => {} }
|
|
6786
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_centerofmassresult_free(ptr, 1));
|
|
6762
6787
|
const ClusterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6763
6788
|
? { register: () => {}, unregister: () => {} }
|
|
6764
6789
|
: new FinalizationRegistry(ptr => wasm.__wbg_cluster_free(ptr, 1));
|
|
@@ -6777,18 +6802,21 @@ const DCDReaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
6777
6802
|
const FrameFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6778
6803
|
? { register: () => {}, unregister: () => {} }
|
|
6779
6804
|
: new FinalizationRegistry(ptr => wasm.__wbg_frame_free(ptr, 1));
|
|
6805
|
+
const FrameIndexEntryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6806
|
+
? { register: () => {}, unregister: () => {} }
|
|
6807
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_frameindexentry_free(ptr, 1));
|
|
6780
6808
|
const GyrationTensorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6781
6809
|
? { register: () => {}, unregister: () => {} }
|
|
6782
6810
|
: new FinalizationRegistry(ptr => wasm.__wbg_gyrationtensor_free(ptr, 1));
|
|
6783
6811
|
const InertiaTensorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6784
6812
|
? { register: () => {}, unregister: () => {} }
|
|
6785
6813
|
: new FinalizationRegistry(ptr => wasm.__wbg_inertiatensor_free(ptr, 1));
|
|
6786
|
-
const LAMMPSTrajReaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6787
|
-
? { register: () => {}, unregister: () => {} }
|
|
6788
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_lammpstrajreader_free(ptr, 1));
|
|
6789
6814
|
const LAMMPSReaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6790
6815
|
? { register: () => {}, unregister: () => {} }
|
|
6791
6816
|
: new FinalizationRegistry(ptr => wasm.__wbg_lammpsreader_free(ptr, 1));
|
|
6817
|
+
const LAMMPSTrajReaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6818
|
+
? { register: () => {}, unregister: () => {} }
|
|
6819
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_lammpstrajreader_free(ptr, 1));
|
|
6792
6820
|
const LinkedCellFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6793
6821
|
? { register: () => {}, unregister: () => {} }
|
|
6794
6822
|
: new FinalizationRegistry(ptr => wasm.__wbg_linkedcell_free(ptr, 1));
|
|
@@ -6819,15 +6847,18 @@ const RadiusOfGyrationFinalization = (typeof FinalizationRegistry === 'undefined
|
|
|
6819
6847
|
const SDFReaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6820
6848
|
? { register: () => {}, unregister: () => {} }
|
|
6821
6849
|
: new FinalizationRegistry(ptr => wasm.__wbg_sdfreader_free(ptr, 1));
|
|
6850
|
+
const SmilesIRFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6851
|
+
? { register: () => {}, unregister: () => {} }
|
|
6852
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_smilesir_free(ptr, 1));
|
|
6853
|
+
const TopologyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6854
|
+
? { register: () => {}, unregister: () => {} }
|
|
6855
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_topology_free(ptr, 1));
|
|
6822
6856
|
const TopologyRingInfoFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6823
6857
|
? { register: () => {}, unregister: () => {} }
|
|
6824
6858
|
: new FinalizationRegistry(ptr => wasm.__wbg_topologyringinfo_free(ptr, 1));
|
|
6825
6859
|
const WasmArrayFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6826
6860
|
? { register: () => {}, unregister: () => {} }
|
|
6827
6861
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmarray_free(ptr, 1));
|
|
6828
|
-
const FrameIndexEntryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6829
|
-
? { register: () => {}, unregister: () => {} }
|
|
6830
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_frameindexentry_free(ptr, 1));
|
|
6831
6862
|
const WasmKMeansFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6832
6863
|
? { register: () => {}, unregister: () => {} }
|
|
6833
6864
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmkmeans_free(ptr, 1));
|
|
@@ -6849,12 +6880,6 @@ const WasmPdbStreamFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
6849
6880
|
const WasmSdfStreamFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6850
6881
|
? { register: () => {}, unregister: () => {} }
|
|
6851
6882
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmsdfstream_free(ptr, 1));
|
|
6852
|
-
const SmilesIRFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6853
|
-
? { register: () => {}, unregister: () => {} }
|
|
6854
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_smilesir_free(ptr, 1));
|
|
6855
|
-
const TopologyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6856
|
-
? { register: () => {}, unregister: () => {} }
|
|
6857
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_topology_free(ptr, 1));
|
|
6858
6883
|
const WasmXyzStreamFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6859
6884
|
? { register: () => {}, unregister: () => {} }
|
|
6860
6885
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmxyzstream_free(ptr, 1));
|
package/molrs_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED