@lat-murmeldjur/weeb_3 0.0.326001 → 0.0.328001

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@lat-murmeldjur/weeb_3",
3
3
  "type": "module",
4
4
  "description": "A Swarm client for browsers",
5
- "version": "0.0.326001",
5
+ "version": "0.0.328001",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
package/weeb_3.d.ts CHANGED
@@ -84,9 +84,9 @@ export interface InitOutput {
84
84
  readonly __wbg_requestarguments_free: (a: number, b: number) => void;
85
85
  readonly requestarguments_method: (a: number, b: number) => void;
86
86
  readonly requestarguments_params: (a: number) => number;
87
- readonly __wasm_bindgen_func_elem_590: (a: number, b: number) => void;
87
+ readonly __wasm_bindgen_func_elem_585: (a: number, b: number) => void;
88
+ readonly __wasm_bindgen_func_elem_1557: (a: number, b: number, c: number, d: number) => void;
88
89
  readonly __wasm_bindgen_func_elem_1559: (a: number, b: number, c: number, d: number) => void;
89
- readonly __wasm_bindgen_func_elem_1561: (a: number, b: number, c: number, d: number) => void;
90
90
  readonly __wasm_bindgen_func_elem_3692: (a: number, b: number, c: number) => void;
91
91
  readonly __wasm_bindgen_func_elem_3617: (a: number, b: number) => void;
92
92
  readonly __wbindgen_export: (a: number, b: number) => number;
package/weeb_3.js CHANGED
@@ -1178,7 +1178,7 @@ function __wbg_get_imports() {
1178
1178
  const a = state0.a;
1179
1179
  state0.a = 0;
1180
1180
  try {
1181
- return __wasm_bindgen_func_elem_1559(a, state0.b, arg0, arg1);
1181
+ return __wasm_bindgen_func_elem_1557(a, state0.b, arg0, arg1);
1182
1182
  } finally {
1183
1183
  state0.a = a;
1184
1184
  }
@@ -1693,6 +1693,13 @@ function __wbg_get_imports() {
1693
1693
  const ret = getObject(arg0).transaction;
1694
1694
  return addHeapObject(ret);
1695
1695
  },
1696
+ __wbg_type_4edffca24c42b74d: function(arg0, arg1) {
1697
+ const ret = getObject(arg1).type;
1698
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1699
+ const len1 = WASM_VECTOR_LEN;
1700
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1701
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1702
+ },
1696
1703
  __wbg_type_e8c7fade6d73451b: function(arg0, arg1) {
1697
1704
  const ret = getObject(arg1).type;
1698
1705
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -1741,37 +1748,37 @@ function __wbg_get_imports() {
1741
1748
  },
1742
1749
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1743
1750
  // Cast intrinsic for `Closure(Closure { dtor_idx: 3, function: Function { arguments: [Externref, Externref], shim_idx: 21, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1744
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_590, __wasm_bindgen_func_elem_1559);
1751
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_585, __wasm_bindgen_func_elem_1557);
1745
1752
  return addHeapObject(ret);
1746
1753
  },
1747
1754
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1748
1755
  // Cast intrinsic for `Closure(Closure { dtor_idx: 3, function: Function { arguments: [Externref], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1749
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_590, __wasm_bindgen_func_elem_3692);
1756
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_585, __wasm_bindgen_func_elem_3692);
1750
1757
  return addHeapObject(ret);
1751
1758
  },
1752
1759
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1753
1760
  // Cast intrinsic for `Closure(Closure { dtor_idx: 3, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1754
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_590, __wasm_bindgen_func_elem_3692);
1761
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_585, __wasm_bindgen_func_elem_3692);
1755
1762
  return addHeapObject(ret);
1756
1763
  },
1757
1764
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1758
1765
  // Cast intrinsic for `Closure(Closure { dtor_idx: 3, function: Function { arguments: [NamedExternref("Event")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1759
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_590, __wasm_bindgen_func_elem_3692);
1766
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_585, __wasm_bindgen_func_elem_3692);
1760
1767
  return addHeapObject(ret);
1761
1768
  },
1762
1769
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1763
1770
  // Cast intrinsic for `Closure(Closure { dtor_idx: 3, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 23, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1764
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_590, __wasm_bindgen_func_elem_1561);
1771
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_585, __wasm_bindgen_func_elem_1559);
1765
1772
  return addHeapObject(ret);
1766
1773
  },
1767
1774
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
1768
1775
  // Cast intrinsic for `Closure(Closure { dtor_idx: 3, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1769
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_590, __wasm_bindgen_func_elem_3692);
1776
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_585, __wasm_bindgen_func_elem_3692);
1770
1777
  return addHeapObject(ret);
1771
1778
  },
1772
1779
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
1773
1780
  // Cast intrinsic for `Closure(Closure { dtor_idx: 3, function: Function { arguments: [], shim_idx: 94, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1774
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_590, __wasm_bindgen_func_elem_3617);
1781
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_585, __wasm_bindgen_func_elem_3617);
1775
1782
  return addHeapObject(ret);
1776
1783
  },
1777
1784
  __wbindgen_cast_0000000000000008: function(arg0) {
@@ -1832,14 +1839,14 @@ function __wasm_bindgen_func_elem_3692(arg0, arg1, arg2) {
1832
1839
  wasm.__wasm_bindgen_func_elem_3692(arg0, arg1, addHeapObject(arg2));
1833
1840
  }
1834
1841
 
1835
- function __wasm_bindgen_func_elem_1559(arg0, arg1, arg2, arg3) {
1836
- wasm.__wasm_bindgen_func_elem_1559(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1842
+ function __wasm_bindgen_func_elem_1557(arg0, arg1, arg2, arg3) {
1843
+ wasm.__wasm_bindgen_func_elem_1557(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1837
1844
  }
1838
1845
 
1839
- function __wasm_bindgen_func_elem_1561(arg0, arg1, arg2) {
1846
+ function __wasm_bindgen_func_elem_1559(arg0, arg1, arg2) {
1840
1847
  try {
1841
1848
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1842
- wasm.__wasm_bindgen_func_elem_1561(retptr, arg0, arg1, addHeapObject(arg2));
1849
+ wasm.__wasm_bindgen_func_elem_1559(retptr, arg0, arg1, addHeapObject(arg2));
1843
1850
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1844
1851
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1845
1852
  if (r1) {
package/weeb_3_bg.wasm CHANGED
Binary file
@@ -32,9 +32,9 @@ export const weeb3no103_uploadWithRedundancy: (a: number, b: number, c: number,
32
32
  export const __wbg_requestarguments_free: (a: number, b: number) => void;
33
33
  export const requestarguments_method: (a: number, b: number) => void;
34
34
  export const requestarguments_params: (a: number) => number;
35
- export const __wasm_bindgen_func_elem_590: (a: number, b: number) => void;
35
+ export const __wasm_bindgen_func_elem_585: (a: number, b: number) => void;
36
+ export const __wasm_bindgen_func_elem_1557: (a: number, b: number, c: number, d: number) => void;
36
37
  export const __wasm_bindgen_func_elem_1559: (a: number, b: number, c: number, d: number) => void;
37
- export const __wasm_bindgen_func_elem_1561: (a: number, b: number, c: number, d: number) => void;
38
38
  export const __wasm_bindgen_func_elem_3692: (a: number, b: number, c: number) => void;
39
39
  export const __wasm_bindgen_func_elem_3617: (a: number, b: number) => void;
40
40
  export const __wbindgen_export: (a: number, b: number) => number;