@lat-murmeldjur/weeb_3 0.0.314001 → 0.0.316001

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.314001",
5
+ "version": "0.0.316001",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
package/weeb_3.d.ts CHANGED
@@ -192,14 +192,14 @@ export interface InitOutput {
192
192
  readonly requestarguments_method: (a: number) => [number, number];
193
193
  readonly requestarguments_params: (a: number) => any;
194
194
  readonly wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab: (a: number, b: number, c: any) => [number, number];
195
- readonly wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888: (a: number, b: number, c: any) => [number, number];
195
+ readonly wasm_bindgen__convert__closures_____invoke__h380c4e5ad668e007: (a: number, b: number, c: any) => [number, number];
196
196
  readonly wasm_bindgen__convert__closures_____invoke__h38bb2d7626f4cfa1: (a: number, b: number, c: any, d: any) => void;
197
- readonly wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0: (a: number, b: number, c: any) => void;
198
- readonly wasm_bindgen__convert__closures_____invoke__h131b691509b372cd: (a: number, b: number, c: any) => void;
199
- readonly wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803: (a: number, b: number, c: any) => void;
200
- readonly wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4: (a: number, b: number, c: any) => void;
201
- readonly wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6: (a: number, b: number, c: any) => void;
202
- readonly wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603: (a: number, b: number) => void;
197
+ readonly wasm_bindgen__convert__closures_____invoke__hff68d30d9ca887d6: (a: number, b: number, c: any) => void;
198
+ readonly wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4: (a: number, b: number, c: any) => void;
199
+ readonly wasm_bindgen__convert__closures_____invoke__h7595764d8075eff9: (a: number, b: number, c: any) => void;
200
+ readonly wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_4: (a: number, b: number, c: any) => void;
201
+ readonly wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_6: (a: number, b: number, c: any) => void;
202
+ readonly wasm_bindgen__convert__closures_____invoke__h096c301d37cdbb45: (a: number, b: number) => void;
203
203
  readonly wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694: (a: number, b: number) => void;
204
204
  readonly wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63: (a: number, b: number) => void;
205
205
  readonly __wbindgen_malloc: (a: number, b: number) => number;
package/weeb_3.js CHANGED
@@ -1023,6 +1023,9 @@ function __wbg_get_imports() {
1023
1023
  const ret = arg0.arrayBuffer();
1024
1024
  return ret;
1025
1025
  },
1026
+ __wbg_assign_551ec2d000f70c24: function() { return handleError(function (arg0, arg1, arg2) {
1027
+ arg0.assign(getStringFromWasm0(arg1, arg2));
1028
+ }, arguments); },
1026
1029
  __wbg_body_7d5b1a2ac7f2c821: function(arg0) {
1027
1030
  const ret = arg0.body;
1028
1031
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -1101,6 +1104,10 @@ function __wbg_get_imports() {
1101
1104
  const ret = arg0.data;
1102
1105
  return ret;
1103
1106
  },
1107
+ __wbg_decodeURIComponent_b3ca91f9662a251a: function() { return handleError(function (arg0, arg1) {
1108
+ const ret = decodeURIComponent(getStringFromWasm0(arg0, arg1));
1109
+ return ret;
1110
+ }, arguments); },
1104
1111
  __wbg_document_aceb08cd6489baf5: function(arg0) {
1105
1112
  const ret = arg0.document;
1106
1113
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -1406,6 +1413,16 @@ function __wbg_get_imports() {
1406
1413
  const ret = result;
1407
1414
  return ret;
1408
1415
  },
1416
+ __wbg_instanceof_ServiceWorkerContainer_359999b02d00251f: function(arg0) {
1417
+ let result;
1418
+ try {
1419
+ result = arg0 instanceof ServiceWorkerContainer;
1420
+ } catch (_) {
1421
+ result = false;
1422
+ }
1423
+ const ret = result;
1424
+ return ret;
1425
+ },
1409
1426
  __wbg_instanceof_ServiceWorkerRegistration_6cce0130f3af08c5: function(arg0) {
1410
1427
  let result;
1411
1428
  try {
@@ -1555,6 +1572,10 @@ function __wbg_get_imports() {
1555
1572
  state0.a = 0;
1556
1573
  }
1557
1574
  },
1575
+ __wbg_new_b733f187b7a8b317: function() { return handleError(function (arg0, arg1) {
1576
+ const ret = new URL(getStringFromWasm0(arg0, arg1));
1577
+ return ret;
1578
+ }, arguments); },
1558
1579
  __wbg_new_ce1ab61c1c2b300d: function() {
1559
1580
  const ret = new Object();
1560
1581
  return ret;
@@ -1674,6 +1695,13 @@ function __wbg_get_imports() {
1674
1695
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1675
1696
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1676
1697
  }, arguments); },
1698
+ __wbg_pathname_970b828999d759fb: function(arg0, arg1) {
1699
+ const ret = arg1.pathname;
1700
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1701
+ const len1 = WASM_VECTOR_LEN;
1702
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1703
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1704
+ },
1677
1705
  __wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
1678
1706
  const ret = arg0.performance;
1679
1707
  return ret;
@@ -2004,52 +2032,52 @@ function __wbg_get_imports() {
2004
2032
  console.warn(arg0);
2005
2033
  },
2006
2034
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
2007
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1445, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2008
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0);
2035
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1485, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2036
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hff68d30d9ca887d6);
2009
2037
  return ret;
2010
2038
  },
2011
2039
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2012
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2605, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2040
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2636, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2013
2041
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab);
2014
2042
  return ret;
2015
2043
  },
2016
2044
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
2017
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1643, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2018
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h131b691509b372cd);
2045
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1665, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2046
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4);
2019
2047
  return ret;
2020
2048
  },
2021
2049
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
2022
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1263, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2023
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803);
2050
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1283, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2051
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h7595764d8075eff9);
2024
2052
  return ret;
2025
2053
  },
2026
2054
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
2027
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1643, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2028
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4);
2055
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1665, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2056
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_4);
2029
2057
  return ret;
2030
2058
  },
2031
2059
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
2032
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 846, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2033
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888);
2060
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 948, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2061
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h380c4e5ad668e007);
2034
2062
  return ret;
2035
2063
  },
2036
2064
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
2037
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1643, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2038
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6);
2065
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1665, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2066
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_6);
2039
2067
  return ret;
2040
2068
  },
2041
2069
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
2042
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1261, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2043
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603);
2070
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1285, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2071
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h096c301d37cdbb45);
2044
2072
  return ret;
2045
2073
  },
2046
2074
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
2047
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2181, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2075
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2203, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2048
2076
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694);
2049
2077
  return ret;
2050
2078
  },
2051
2079
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
2052
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2582, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2080
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2613, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2053
2081
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63);
2054
2082
  return ret;
2055
2083
  },
@@ -2108,8 +2136,8 @@ function __wbg_get_imports() {
2108
2136
  };
2109
2137
  }
2110
2138
 
2111
- function wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603(arg0, arg1) {
2112
- wasm.wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603(arg0, arg1);
2139
+ function wasm_bindgen__convert__closures_____invoke__h096c301d37cdbb45(arg0, arg1) {
2140
+ wasm.wasm_bindgen__convert__closures_____invoke__h096c301d37cdbb45(arg0, arg1);
2113
2141
  }
2114
2142
 
2115
2143
  function wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694(arg0, arg1) {
@@ -2120,24 +2148,24 @@ function wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63(arg0, arg
2120
2148
  wasm.wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63(arg0, arg1);
2121
2149
  }
2122
2150
 
2123
- function wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0(arg0, arg1, arg2) {
2124
- wasm.wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0(arg0, arg1, arg2);
2151
+ function wasm_bindgen__convert__closures_____invoke__hff68d30d9ca887d6(arg0, arg1, arg2) {
2152
+ wasm.wasm_bindgen__convert__closures_____invoke__hff68d30d9ca887d6(arg0, arg1, arg2);
2125
2153
  }
2126
2154
 
2127
- function wasm_bindgen__convert__closures_____invoke__h131b691509b372cd(arg0, arg1, arg2) {
2128
- wasm.wasm_bindgen__convert__closures_____invoke__h131b691509b372cd(arg0, arg1, arg2);
2155
+ function wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4(arg0, arg1, arg2) {
2156
+ wasm.wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4(arg0, arg1, arg2);
2129
2157
  }
2130
2158
 
2131
- function wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803(arg0, arg1, arg2) {
2132
- wasm.wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803(arg0, arg1, arg2);
2159
+ function wasm_bindgen__convert__closures_____invoke__h7595764d8075eff9(arg0, arg1, arg2) {
2160
+ wasm.wasm_bindgen__convert__closures_____invoke__h7595764d8075eff9(arg0, arg1, arg2);
2133
2161
  }
2134
2162
 
2135
- function wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4(arg0, arg1, arg2) {
2136
- wasm.wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4(arg0, arg1, arg2);
2163
+ function wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_4(arg0, arg1, arg2) {
2164
+ wasm.wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_4(arg0, arg1, arg2);
2137
2165
  }
2138
2166
 
2139
- function wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6(arg0, arg1, arg2) {
2140
- wasm.wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6(arg0, arg1, arg2);
2167
+ function wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_6(arg0, arg1, arg2) {
2168
+ wasm.wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_6(arg0, arg1, arg2);
2141
2169
  }
2142
2170
 
2143
2171
  function wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab(arg0, arg1, arg2) {
@@ -2147,8 +2175,8 @@ function wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab(arg0, arg
2147
2175
  }
2148
2176
  }
2149
2177
 
2150
- function wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888(arg0, arg1, arg2) {
2151
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888(arg0, arg1, arg2);
2178
+ function wasm_bindgen__convert__closures_____invoke__h380c4e5ad668e007(arg0, arg1, arg2) {
2179
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h380c4e5ad668e007(arg0, arg1, arg2);
2152
2180
  if (ret[1]) {
2153
2181
  throw takeFromExternrefTable0(ret[0]);
2154
2182
  }
package/weeb_3_bg.wasm CHANGED
Binary file
@@ -83,14 +83,14 @@ export const __wbg_requestarguments_free: (a: number, b: number) => void;
83
83
  export const requestarguments_method: (a: number) => [number, number];
84
84
  export const requestarguments_params: (a: number) => any;
85
85
  export const wasm_bindgen__convert__closures_____invoke__h39453673aeb618ab: (a: number, b: number, c: any) => [number, number];
86
- export const wasm_bindgen__convert__closures_____invoke__h53c06beeaa986888: (a: number, b: number, c: any) => [number, number];
86
+ export const wasm_bindgen__convert__closures_____invoke__h380c4e5ad668e007: (a: number, b: number, c: any) => [number, number];
87
87
  export const wasm_bindgen__convert__closures_____invoke__h38bb2d7626f4cfa1: (a: number, b: number, c: any, d: any) => void;
88
- export const wasm_bindgen__convert__closures_____invoke__h3a390d488cf131e0: (a: number, b: number, c: any) => void;
89
- export const wasm_bindgen__convert__closures_____invoke__h131b691509b372cd: (a: number, b: number, c: any) => void;
90
- export const wasm_bindgen__convert__closures_____invoke__hd4aa016cef2e7803: (a: number, b: number, c: any) => void;
91
- export const wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_4: (a: number, b: number, c: any) => void;
92
- export const wasm_bindgen__convert__closures_____invoke__h131b691509b372cd_6: (a: number, b: number, c: any) => void;
93
- export const wasm_bindgen__convert__closures_____invoke__haa3261c3001c7603: (a: number, b: number) => void;
88
+ export const wasm_bindgen__convert__closures_____invoke__hff68d30d9ca887d6: (a: number, b: number, c: any) => void;
89
+ export const wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4: (a: number, b: number, c: any) => void;
90
+ export const wasm_bindgen__convert__closures_____invoke__h7595764d8075eff9: (a: number, b: number, c: any) => void;
91
+ export const wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_4: (a: number, b: number, c: any) => void;
92
+ export const wasm_bindgen__convert__closures_____invoke__h24b02f9c177e71f4_6: (a: number, b: number, c: any) => void;
93
+ export const wasm_bindgen__convert__closures_____invoke__h096c301d37cdbb45: (a: number, b: number) => void;
94
94
  export const wasm_bindgen__convert__closures_____invoke__h6f4ab657709ae694: (a: number, b: number) => void;
95
95
  export const wasm_bindgen__convert__closures_____invoke__hbc64d0ffa7547e63: (a: number, b: number) => void;
96
96
  export const __wbindgen_malloc: (a: number, b: number) => number;