cosmol_viewer_wasm 0.2.22 → 0.2.23

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.
@@ -21,11 +21,11 @@ export interface InitOutput {
21
21
  readonly webhandle_start_with_scene: (a: number, b: number, c: number, d: number) => number;
22
22
  readonly webhandle_take_screenshot: (a: number) => number;
23
23
  readonly webhandle_update_scene: (a: number, b: number, c: number) => number;
24
- readonly __wasm_bindgen_func_elem_6367: (a: number, b: number, c: number, d: number) => void;
25
- readonly __wasm_bindgen_func_elem_6366: (a: number, b: number, c: number, d: number) => void;
26
- readonly __wasm_bindgen_func_elem_1832: (a: number, b: number, c: number) => void;
27
- readonly __wasm_bindgen_func_elem_1832_2: (a: number, b: number, c: number) => void;
28
- readonly __wasm_bindgen_func_elem_1831: (a: number, b: number, c: number) => void;
24
+ readonly __wasm_bindgen_func_elem_6404: (a: number, b: number, c: number, d: number) => void;
25
+ readonly __wasm_bindgen_func_elem_6406: (a: number, b: number, c: number, d: number) => void;
26
+ readonly __wasm_bindgen_func_elem_2544: (a: number, b: number, c: number) => void;
27
+ readonly __wasm_bindgen_func_elem_2544_2: (a: number, b: number, c: number) => void;
28
+ readonly __wasm_bindgen_func_elem_2543: (a: number, b: number, c: number) => void;
29
29
  readonly __wbindgen_export: (a: number, b: number) => number;
30
30
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
31
31
  readonly __wbindgen_export3: (a: number) => void;
@@ -1028,7 +1028,7 @@ function __wbg_get_imports() {
1028
1028
  const a = state0.a;
1029
1029
  state0.a = 0;
1030
1030
  try {
1031
- return __wasm_bindgen_func_elem_6366(a, state0.b, arg0, arg1);
1031
+ return __wasm_bindgen_func_elem_6406(a, state0.b, arg0, arg1);
1032
1032
  } finally {
1033
1033
  state0.a = a;
1034
1034
  }
@@ -1442,23 +1442,23 @@ function __wbg_get_imports() {
1442
1442
  return addHeapObject(ret);
1443
1443
  }, arguments); },
1444
1444
  __wbindgen_cast_0000000000000001: function() { return logError(function (arg0, arg1) {
1445
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1120, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1446
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_6367);
1445
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1128, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1446
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_6404);
1447
1447
  return addHeapObject(ret);
1448
1448
  }, arguments); },
1449
1449
  __wbindgen_cast_0000000000000002: function() { return logError(function (arg0, arg1) {
1450
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 311, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1451
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1832);
1450
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 465, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1451
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2544);
1452
1452
  return addHeapObject(ret);
1453
1453
  }, arguments); },
1454
1454
  __wbindgen_cast_0000000000000003: function() { return logError(function (arg0, arg1) {
1455
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 311, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1456
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1832_2);
1455
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 465, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1456
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2544_2);
1457
1457
  return addHeapObject(ret);
1458
1458
  }, arguments); },
1459
1459
  __wbindgen_cast_0000000000000004: function() { return logError(function (arg0, arg1) {
1460
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 314, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1461
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1831);
1460
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 467, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1461
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2543);
1462
1462
  return addHeapObject(ret);
1463
1463
  }, arguments); },
1464
1464
  __wbindgen_cast_0000000000000005: function() { return logError(function (arg0, arg1) {
@@ -1517,24 +1517,24 @@ function __wbg_get_imports() {
1517
1517
 
1518
1518
 
1519
1519
  //#endregion
1520
- function __wasm_bindgen_func_elem_1832(arg0, arg1, arg2) {
1520
+ function __wasm_bindgen_func_elem_2544(arg0, arg1, arg2) {
1521
1521
  _assertNum(arg0);
1522
1522
  _assertNum(arg1);
1523
- wasm.__wasm_bindgen_func_elem_1832(arg0, arg1, addHeapObject(arg2));
1523
+ wasm.__wasm_bindgen_func_elem_2544(arg0, arg1, addHeapObject(arg2));
1524
1524
  }
1525
1525
 
1526
- function __wasm_bindgen_func_elem_1832_2(arg0, arg1, arg2) {
1526
+ function __wasm_bindgen_func_elem_2544_2(arg0, arg1, arg2) {
1527
1527
  _assertNum(arg0);
1528
1528
  _assertNum(arg1);
1529
- wasm.__wasm_bindgen_func_elem_1832_2(arg0, arg1, addHeapObject(arg2));
1529
+ wasm.__wasm_bindgen_func_elem_2544_2(arg0, arg1, addHeapObject(arg2));
1530
1530
  }
1531
1531
 
1532
- function __wasm_bindgen_func_elem_1831(arg0, arg1) {
1532
+ function __wasm_bindgen_func_elem_2543(arg0, arg1) {
1533
1533
  try {
1534
1534
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1535
1535
  _assertNum(arg0);
1536
1536
  _assertNum(arg1);
1537
- wasm.__wasm_bindgen_func_elem_1831(retptr, arg0, arg1);
1537
+ wasm.__wasm_bindgen_func_elem_2543(retptr, arg0, arg1);
1538
1538
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1539
1539
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1540
1540
  if (r1) {
@@ -1545,12 +1545,12 @@ function __wasm_bindgen_func_elem_1831(arg0, arg1) {
1545
1545
  }
1546
1546
  }
1547
1547
 
1548
- function __wasm_bindgen_func_elem_6367(arg0, arg1, arg2) {
1548
+ function __wasm_bindgen_func_elem_6404(arg0, arg1, arg2) {
1549
1549
  try {
1550
1550
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1551
1551
  _assertNum(arg0);
1552
1552
  _assertNum(arg1);
1553
- wasm.__wasm_bindgen_func_elem_6367(retptr, arg0, arg1, addHeapObject(arg2));
1553
+ wasm.__wasm_bindgen_func_elem_6404(retptr, arg0, arg1, addHeapObject(arg2));
1554
1554
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1555
1555
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1556
1556
  if (r1) {
@@ -1561,10 +1561,10 @@ function __wasm_bindgen_func_elem_6367(arg0, arg1, arg2) {
1561
1561
  }
1562
1562
  }
1563
1563
 
1564
- function __wasm_bindgen_func_elem_6366(arg0, arg1, arg2, arg3) {
1564
+ function __wasm_bindgen_func_elem_6406(arg0, arg1, arg2, arg3) {
1565
1565
  _assertNum(arg0);
1566
1566
  _assertNum(arg1);
1567
- wasm.__wasm_bindgen_func_elem_6366(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1567
+ wasm.__wasm_bindgen_func_elem_6406(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1568
1568
  }
1569
1569
 
1570
1570
 
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cosmol_viewer_wasm",
3
3
  "type": "module",
4
4
  "description": "Molecular visualization tools by rust",
5
- "version": "0.2.22",
5
+ "version": "0.2.23",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/cosmol-studio/COSMol-viewer"