lumina-node-wasm 0.6.1 → 0.7.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.
@@ -331,6 +331,10 @@ export class NodeConfig {
331
331
  network: Network;
332
332
  }
333
333
  /**
334
+ * `NodeWorker` is responsible for receiving commands from connected [`NodeClient`]s, executing
335
+ * them and sending a response back, as well as accepting new `NodeClient` connections.
336
+ *
337
+ * [`NodeClient`]: crate::client::NodeClient
334
338
  */
335
339
  export class NodeWorker {
336
340
  free(): void;
@@ -24,11 +24,7 @@ function takeObject(idx) {
24
24
  return ret;
25
25
  }
26
26
 
27
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
28
-
29
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
30
-
31
- cachedTextDecoder.decode();
27
+ let WASM_VECTOR_LEN = 0;
32
28
 
33
29
  let cachedUint8ArrayMemory0 = null;
34
30
 
@@ -39,22 +35,6 @@ function getUint8ArrayMemory0() {
39
35
  return cachedUint8ArrayMemory0;
40
36
  }
41
37
 
42
- function getStringFromWasm0(ptr, len) {
43
- ptr = ptr >>> 0;
44
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
45
- }
46
-
47
- function addHeapObject(obj) {
48
- if (heap_next === heap.length) heap.push(heap.length + 1);
49
- const idx = heap_next;
50
- heap_next = heap[idx];
51
-
52
- heap[idx] = obj;
53
- return idx;
54
- }
55
-
56
- let WASM_VECTOR_LEN = 0;
57
-
58
38
  const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
59
39
 
60
40
  let cachedTextEncoder = new lTextEncoder('utf-8');
@@ -124,6 +104,26 @@ function getDataViewMemory0() {
124
104
  return cachedDataViewMemory0;
125
105
  }
126
106
 
107
+ const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
108
+
109
+ let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
110
+
111
+ cachedTextDecoder.decode();
112
+
113
+ function getStringFromWasm0(ptr, len) {
114
+ ptr = ptr >>> 0;
115
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
116
+ }
117
+
118
+ function addHeapObject(obj) {
119
+ if (heap_next === heap.length) heap.push(heap.length + 1);
120
+ const idx = heap_next;
121
+ heap_next = heap[idx];
122
+
123
+ heap[idx] = obj;
124
+ return idx;
125
+ }
126
+
127
127
  function debugString(val) {
128
128
  // primitive types
129
129
  const type = typeof val;
@@ -220,7 +220,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
220
220
  return real;
221
221
  }
222
222
  function __wbg_adapter_58(arg0, arg1, arg2) {
223
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8c4716d8682f25a0(arg0, arg1, addHeapObject(arg2));
223
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5171baf6e6ca91d2(arg0, arg1, addHeapObject(arg2));
224
224
  }
225
225
 
226
226
  function makeClosure(arg0, arg1, dtor, f) {
@@ -245,42 +245,35 @@ function makeClosure(arg0, arg1, dtor, f) {
245
245
  return real;
246
246
  }
247
247
  function __wbg_adapter_61(arg0, arg1, arg2) {
248
- wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf6edfb69323f578f(arg0, arg1, addHeapObject(arg2));
248
+ wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf97a58544ef3ac23(arg0, arg1, addHeapObject(arg2));
249
249
  }
250
250
 
251
251
  function __wbg_adapter_64(arg0, arg1) {
252
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdc3034e24a77735b(arg0, arg1);
252
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h83ff16f891192813(arg0, arg1);
253
253
  }
254
254
 
255
255
  function __wbg_adapter_71(arg0, arg1, arg2) {
256
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5c72a3f38e4a0964(arg0, arg1, addHeapObject(arg2));
256
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h426038597447d85e(arg0, arg1, addHeapObject(arg2));
257
257
  }
258
258
 
259
259
  function __wbg_adapter_74(arg0, arg1) {
260
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h698471740dd9a314(arg0, arg1);
260
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he035b268d16e3536(arg0, arg1);
261
261
  }
262
262
 
263
263
  function __wbg_adapter_77(arg0, arg1, arg2) {
264
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heb284661b9ea6f5b(arg0, arg1, addHeapObject(arg2));
264
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha37ed5f586aada9f(arg0, arg1, addHeapObject(arg2));
265
265
  }
266
266
 
267
267
  function __wbg_adapter_80(arg0, arg1, arg2) {
268
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1267d473abaeb182(arg0, arg1, addHeapObject(arg2));
268
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7170307afa176ee7(arg0, arg1, addHeapObject(arg2));
269
269
  }
270
270
 
271
271
  function __wbg_adapter_87(arg0, arg1, arg2) {
272
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3a4fb1d7c2489752(arg0, arg1, addHeapObject(arg2));
272
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd8ef7add6b65f0a9(arg0, arg1, addHeapObject(arg2));
273
273
  }
274
274
 
275
275
  function __wbg_adapter_90(arg0, arg1) {
276
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfd7b3dc357ad0445(arg0, arg1);
277
- }
278
-
279
- /**
280
- * Set up a logging layer that direct logs to the browser's console.
281
- */
282
- export function setup_logging() {
283
- wasm.setup_logging();
276
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf933fad619274fbb(arg0, arg1);
284
277
  }
285
278
 
286
279
  function getArrayJsValueFromWasm0(ptr, len) {
@@ -317,6 +310,12 @@ function handleError(f, args) {
317
310
  wasm.__wbindgen_exn_store(addHeapObject(e));
318
311
  }
319
312
  }
313
+ /**
314
+ * Set up a logging layer that direct logs to the browser's console.
315
+ */
316
+ export function setup_logging() {
317
+ wasm.setup_logging();
318
+ }
320
319
 
321
320
  function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
322
321
 
@@ -325,7 +324,7 @@ function getArrayU8FromWasm0(ptr, len) {
325
324
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
326
325
  }
327
326
  function __wbg_adapter_554(arg0, arg1, arg2, arg3) {
328
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h8c5038aa1a0c3164(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
327
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h1dc05f016fc4dab2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
329
328
  }
330
329
 
331
330
  /**
@@ -1058,6 +1057,10 @@ const NodeWorkerFinalization = (typeof FinalizationRegistry === 'undefined')
1058
1057
  ? { register: () => {}, unregister: () => {} }
1059
1058
  : new FinalizationRegistry(ptr => wasm.__wbg_nodeworker_free(ptr >>> 0, 1));
1060
1059
  /**
1060
+ * `NodeWorker` is responsible for receiving commands from connected [`NodeClient`]s, executing
1061
+ * them and sending a response back, as well as accepting new `NodeClient` connections.
1062
+ *
1063
+ * [`NodeClient`]: crate::client::NodeClient
1061
1064
  */
1062
1065
  export class NodeWorker {
1063
1066
 
@@ -1241,25 +1244,15 @@ export class SyncingInfoSnapshot {
1241
1244
  }
1242
1245
  }
1243
1246
 
1244
- export function __wbindgen_object_drop_ref(arg0) {
1245
- takeObject(arg0);
1246
- };
1247
-
1248
- export function __wbindgen_string_new(arg0, arg1) {
1249
- const ret = getStringFromWasm0(arg0, arg1);
1250
- return addHeapObject(ret);
1251
- };
1252
-
1253
- export function __wbg_nodeclient_new(arg0) {
1254
- const ret = NodeClient.__wrap(arg0);
1255
- return addHeapObject(ret);
1256
- };
1257
-
1258
1247
  export function __wbg_networkinfosnapshot_new(arg0) {
1259
1248
  const ret = NetworkInfoSnapshot.__wrap(arg0);
1260
1249
  return addHeapObject(ret);
1261
1250
  };
1262
1251
 
1252
+ export function __wbindgen_object_drop_ref(arg0) {
1253
+ takeObject(arg0);
1254
+ };
1255
+
1263
1256
  export function __wbindgen_string_get(arg0, arg1) {
1264
1257
  const obj = getObject(arg1);
1265
1258
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -1269,6 +1262,11 @@ export function __wbindgen_string_get(arg0, arg1) {
1269
1262
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1270
1263
  };
1271
1264
 
1265
+ export function __wbindgen_error_new(arg0, arg1) {
1266
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
1267
+ return addHeapObject(ret);
1268
+ };
1269
+
1272
1270
  export function __wbindgen_cb_drop(arg0) {
1273
1271
  const obj = takeObject(arg0).original;
1274
1272
  if (obj.cnt-- == 1) {
@@ -1279,16 +1277,13 @@ export function __wbindgen_cb_drop(arg0) {
1279
1277
  return ret;
1280
1278
  };
1281
1279
 
1282
- export function __wbindgen_is_falsy(arg0) {
1283
- const ret = !getObject(arg0);
1284
- return ret;
1285
- };
1280
+ export function __wbg_postMessage_c8aa98c593e6b125() { return handleError(function (arg0, arg1) {
1281
+ getObject(arg0).postMessage(getObject(arg1));
1282
+ }, arguments) };
1286
1283
 
1287
- export function __wbindgen_number_get(arg0, arg1) {
1288
- const obj = getObject(arg1);
1289
- const ret = typeof(obj) === 'number' ? obj : undefined;
1290
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1291
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1284
+ export function __wbg_blockrange_new(arg0) {
1285
+ const ret = BlockRange.__wrap(arg0);
1286
+ return addHeapObject(ret);
1292
1287
  };
1293
1288
 
1294
1289
  export function __wbindgen_number_new(arg0) {
@@ -1296,6 +1291,22 @@ export function __wbindgen_number_new(arg0) {
1296
1291
  return addHeapObject(ret);
1297
1292
  };
1298
1293
 
1294
+ export function __wbg_syncinginfosnapshot_new(arg0) {
1295
+ const ret = SyncingInfoSnapshot.__wrap(arg0);
1296
+ return addHeapObject(ret);
1297
+ };
1298
+
1299
+ export function __wbg_peertrackerinfosnapshot_new(arg0) {
1300
+ const ret = PeerTrackerInfoSnapshot.__wrap(arg0);
1301
+ return addHeapObject(ret);
1302
+ };
1303
+
1304
+ export function __wbindgen_is_object(arg0) {
1305
+ const val = getObject(arg0);
1306
+ const ret = typeof(val) === 'object' && val !== null;
1307
+ return ret;
1308
+ };
1309
+
1299
1310
  export function __wbindgen_as_number(arg0) {
1300
1311
  const ret = +getObject(arg0);
1301
1312
  return ret;
@@ -1306,59 +1317,65 @@ export function __wbindgen_object_clone_ref(arg0) {
1306
1317
  return addHeapObject(ret);
1307
1318
  };
1308
1319
 
1309
- export function __wbg_fetch_05b7a49a7cb3b99e(arg0) {
1310
- const ret = fetch(getObject(arg0));
1311
- return addHeapObject(ret);
1312
- };
1313
-
1314
- export function __wbindgen_typeof(arg0) {
1315
- const ret = typeof getObject(arg0);
1316
- return addHeapObject(ret);
1320
+ export function __wbindgen_boolean_get(arg0) {
1321
+ const v = getObject(arg0);
1322
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
1323
+ return ret;
1317
1324
  };
1318
1325
 
1319
- export function __wbindgen_error_new(arg0, arg1) {
1320
- const ret = new Error(getStringFromWasm0(arg0, arg1));
1326
+ export function __wbg_nodeclient_new(arg0) {
1327
+ const ret = NodeClient.__wrap(arg0);
1321
1328
  return addHeapObject(ret);
1322
1329
  };
1323
1330
 
1324
- export function __wbg_postMessage_cd0c0907a60ebc3d() { return handleError(function (arg0, arg1) {
1325
- getObject(arg0).postMessage(getObject(arg1));
1326
- }, arguments) };
1327
-
1328
1331
  export function __wbg_blockrange_unwrap(arg0) {
1329
1332
  const ret = BlockRange.__unwrap(takeObject(arg0));
1330
1333
  return ret;
1331
1334
  };
1332
1335
 
1333
- export function __wbg_blockrange_new(arg0) {
1334
- const ret = BlockRange.__wrap(arg0);
1336
+ export function __wbindgen_string_new(arg0, arg1) {
1337
+ const ret = getStringFromWasm0(arg0, arg1);
1335
1338
  return addHeapObject(ret);
1336
1339
  };
1337
1340
 
1338
- export function __wbg_peertrackerinfosnapshot_new(arg0) {
1339
- const ret = PeerTrackerInfoSnapshot.__wrap(arg0);
1341
+ export function __wbindgen_number_get(arg0, arg1) {
1342
+ const obj = getObject(arg1);
1343
+ const ret = typeof(obj) === 'number' ? obj : undefined;
1344
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1345
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1346
+ };
1347
+
1348
+ export function __wbg_postMessage_acaee59f440d8ec1() { return handleError(function (arg0, arg1, arg2) {
1349
+ getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
1350
+ }, arguments) };
1351
+
1352
+ export function __wbg_fetch_e00bdbf195b610d0(arg0) {
1353
+ const ret = fetch(getObject(arg0));
1340
1354
  return addHeapObject(ret);
1341
1355
  };
1342
1356
 
1343
- export function __wbg_syncinginfosnapshot_new(arg0) {
1344
- const ret = SyncingInfoSnapshot.__wrap(arg0);
1357
+ export function __wbindgen_typeof(arg0) {
1358
+ const ret = typeof getObject(arg0);
1345
1359
  return addHeapObject(ret);
1346
1360
  };
1347
1361
 
1348
- export function __wbindgen_is_object(arg0) {
1349
- const val = getObject(arg0);
1350
- const ret = typeof(val) === 'object' && val !== null;
1362
+ export function __wbindgen_is_array(arg0) {
1363
+ const ret = Array.isArray(getObject(arg0));
1351
1364
  return ret;
1352
1365
  };
1353
1366
 
1354
- export function __wbindgen_boolean_get(arg0) {
1355
- const v = getObject(arg0);
1356
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
1367
+ export function __wbindgen_is_undefined(arg0) {
1368
+ const ret = getObject(arg0) === undefined;
1357
1369
  return ret;
1358
1370
  };
1359
1371
 
1360
- export function __wbindgen_is_bigint(arg0) {
1361
- const ret = typeof(getObject(arg0)) === 'bigint';
1372
+ export function __wbindgen_is_falsy(arg0) {
1373
+ const ret = !getObject(arg0);
1374
+ return ret;
1375
+ };
1376
+
1377
+ export function __wbindgen_is_function(arg0) {
1378
+ const ret = typeof(getObject(arg0)) === 'function';
1362
1379
  return ret;
1363
1380
  };
1364
1381
 
@@ -1367,6 +1384,11 @@ export function __wbindgen_in(arg0, arg1) {
1367
1384
  return ret;
1368
1385
  };
1369
1386
 
1387
+ export function __wbindgen_is_bigint(arg0) {
1388
+ const ret = typeof(getObject(arg0)) === 'bigint';
1389
+ return ret;
1390
+ };
1391
+
1370
1392
  export function __wbindgen_bigint_from_i64(arg0) {
1371
1393
  const ret = arg0;
1372
1394
  return addHeapObject(ret);
@@ -1387,25 +1409,6 @@ export function __wbindgen_is_string(arg0) {
1387
1409
  return ret;
1388
1410
  };
1389
1411
 
1390
- export function __wbindgen_is_undefined(arg0) {
1391
- const ret = getObject(arg0) === undefined;
1392
- return ret;
1393
- };
1394
-
1395
- export function __wbindgen_is_function(arg0) {
1396
- const ret = typeof(getObject(arg0)) === 'function';
1397
- return ret;
1398
- };
1399
-
1400
- export function __wbg_postMessage_39bc17bc10e98844() { return handleError(function (arg0, arg1, arg2) {
1401
- getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
1402
- }, arguments) };
1403
-
1404
- export function __wbindgen_is_array(arg0) {
1405
- const ret = Array.isArray(getObject(arg0));
1406
- return ret;
1407
- };
1408
-
1409
1412
  export function __wbg_new_abda76e883ba8a5f() {
1410
1413
  const ret = new Error();
1411
1414
  return addHeapObject(ret);
@@ -1431,9 +1434,9 @@ export function __wbg_error_f851667af71bcfc6(arg0, arg1) {
1431
1434
  }
1432
1435
  };
1433
1436
 
1434
- export const __wbg_clearTimeout_77d17409d32367b8 = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
1437
+ export const __wbg_clearTimeout_e9459f9a16c95539 = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
1435
1438
 
1436
- export function __wbg_setTimeout_1b72fc83f0fed9e8(arg0, arg1) {
1439
+ export function __wbg_setTimeout_abbb7bdc6732b95c(arg0, arg1) {
1437
1440
  const ret = setTimeout(getObject(arg0), arg1 >>> 0);
1438
1441
  return ret;
1439
1442
  };
@@ -1600,6 +1603,28 @@ export function __wbg_warn_2b3adb99ce26c314(arg0) {
1600
1603
  console.warn(getObject(arg0));
1601
1604
  };
1602
1605
 
1606
+ export function __wbg_key_37c613728ba0b769() { return handleError(function (arg0) {
1607
+ const ret = getObject(arg0).key;
1608
+ return addHeapObject(ret);
1609
+ }, arguments) };
1610
+
1611
+ export function __wbg_request_3c4da92b3538e80a(arg0) {
1612
+ const ret = getObject(arg0).request;
1613
+ return addHeapObject(ret);
1614
+ };
1615
+
1616
+ export function __wbg_advance_0922866a23942467() { return handleError(function (arg0, arg1) {
1617
+ getObject(arg0).advance(arg1 >>> 0);
1618
+ }, arguments) };
1619
+
1620
+ export function __wbg_continue_a92b4c9f17458897() { return handleError(function (arg0) {
1621
+ getObject(arg0).continue();
1622
+ }, arguments) };
1623
+
1624
+ export function __wbg_continue_6672b1997d5c8efb() { return handleError(function (arg0, arg1) {
1625
+ getObject(arg0).continue(getObject(arg1));
1626
+ }, arguments) };
1627
+
1603
1628
  export function __wbg_indexNames_f6708f233630e491(arg0) {
1604
1629
  const ret = getObject(arg0).indexNames;
1605
1630
  return addHeapObject(ret);
@@ -1709,28 +1734,19 @@ export function __wbg_put_f83d95662936dee7() { return handleError(function (arg0
1709
1734
  return addHeapObject(ret);
1710
1735
  }, arguments) };
1711
1736
 
1712
- export function __wbg_key_37c613728ba0b769() { return handleError(function (arg0) {
1713
- const ret = getObject(arg0).key;
1714
- return addHeapObject(ret);
1737
+ export function __wbg_userAgent_58dedff4303aeb66() { return handleError(function (arg0, arg1) {
1738
+ const ret = getObject(arg1).userAgent;
1739
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1740
+ const len1 = WASM_VECTOR_LEN;
1741
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1742
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1715
1743
  }, arguments) };
1716
1744
 
1717
- export function __wbg_request_3c4da92b3538e80a(arg0) {
1718
- const ret = getObject(arg0).request;
1745
+ export function __wbg_storage_0016c19400b7c179(arg0) {
1746
+ const ret = getObject(arg0).storage;
1719
1747
  return addHeapObject(ret);
1720
1748
  };
1721
1749
 
1722
- export function __wbg_advance_0922866a23942467() { return handleError(function (arg0, arg1) {
1723
- getObject(arg0).advance(arg1 >>> 0);
1724
- }, arguments) };
1725
-
1726
- export function __wbg_continue_a92b4c9f17458897() { return handleError(function (arg0) {
1727
- getObject(arg0).continue();
1728
- }, arguments) };
1729
-
1730
- export function __wbg_continue_6672b1997d5c8efb() { return handleError(function (arg0, arg1) {
1731
- getObject(arg0).continue(getObject(arg1));
1732
- }, arguments) };
1733
-
1734
1750
  export function __wbg_setmethod_dc68a742c2db5c6a(arg0, arg1, arg2) {
1735
1751
  getObject(arg0).method = getStringFromWasm0(arg1, arg2);
1736
1752
  };
@@ -1765,19 +1781,6 @@ export function __wbg_storage_947fc01a38842a90(arg0) {
1765
1781
  return addHeapObject(ret);
1766
1782
  };
1767
1783
 
1768
- export function __wbg_userAgent_58dedff4303aeb66() { return handleError(function (arg0, arg1) {
1769
- const ret = getObject(arg1).userAgent;
1770
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1771
- const len1 = WASM_VECTOR_LEN;
1772
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1773
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1774
- }, arguments) };
1775
-
1776
- export function __wbg_storage_0016c19400b7c179(arg0) {
1777
- const ret = getObject(arg0).storage;
1778
- return addHeapObject(ret);
1779
- };
1780
-
1781
1784
  export function __wbg_target_b7cb1739bee70928(arg0) {
1782
1785
  const ret = getObject(arg0).target;
1783
1786
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
@@ -2599,68 +2602,68 @@ export function __wbindgen_memory() {
2599
2602
  return addHeapObject(ret);
2600
2603
  };
2601
2604
 
2602
- export function __wbindgen_closure_wrapper1415(arg0, arg1, arg2) {
2603
- const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2605
+ export function __wbindgen_closure_wrapper786(arg0, arg1, arg2) {
2606
+ const ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_58);
2604
2607
  return addHeapObject(ret);
2605
2608
  };
2606
2609
 
2607
- export function __wbindgen_closure_wrapper1416(arg0, arg1, arg2) {
2608
- const ret = makeClosure(arg0, arg1, 417, __wbg_adapter_61);
2610
+ export function __wbindgen_closure_wrapper787(arg0, arg1, arg2) {
2611
+ const ret = makeClosure(arg0, arg1, 217, __wbg_adapter_61);
2609
2612
  return addHeapObject(ret);
2610
2613
  };
2611
2614
 
2612
- export function __wbindgen_closure_wrapper1417(arg0, arg1, arg2) {
2613
- const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_64);
2615
+ export function __wbindgen_closure_wrapper788(arg0, arg1, arg2) {
2616
+ const ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_64);
2614
2617
  return addHeapObject(ret);
2615
2618
  };
2616
2619
 
2617
- export function __wbindgen_closure_wrapper1419(arg0, arg1, arg2) {
2618
- const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2620
+ export function __wbindgen_closure_wrapper789(arg0, arg1, arg2) {
2621
+ const ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_58);
2619
2622
  return addHeapObject(ret);
2620
2623
  };
2621
2624
 
2622
- export function __wbindgen_closure_wrapper1421(arg0, arg1, arg2) {
2623
- const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2625
+ export function __wbindgen_closure_wrapper793(arg0, arg1, arg2) {
2626
+ const ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_58);
2624
2627
  return addHeapObject(ret);
2625
2628
  };
2626
2629
 
2627
- export function __wbindgen_closure_wrapper4509(arg0, arg1, arg2) {
2628
- const ret = makeMutClosure(arg0, arg1, 1484, __wbg_adapter_71);
2630
+ export function __wbindgen_closure_wrapper4474(arg0, arg1, arg2) {
2631
+ const ret = makeMutClosure(arg0, arg1, 1478, __wbg_adapter_71);
2629
2632
  return addHeapObject(ret);
2630
2633
  };
2631
2634
 
2632
- export function __wbindgen_closure_wrapper4563(arg0, arg1, arg2) {
2635
+ export function __wbindgen_closure_wrapper4536(arg0, arg1, arg2) {
2633
2636
  const ret = makeMutClosure(arg0, arg1, 1489, __wbg_adapter_74);
2634
2637
  return addHeapObject(ret);
2635
2638
  };
2636
2639
 
2637
- export function __wbindgen_closure_wrapper5390(arg0, arg1, arg2) {
2638
- const ret = makeMutClosure(arg0, arg1, 1842, __wbg_adapter_77);
2640
+ export function __wbindgen_closure_wrapper5313(arg0, arg1, arg2) {
2641
+ const ret = makeMutClosure(arg0, arg1, 1761, __wbg_adapter_77);
2639
2642
  return addHeapObject(ret);
2640
2643
  };
2641
2644
 
2642
- export function __wbindgen_closure_wrapper5457(arg0, arg1, arg2) {
2643
- const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2645
+ export function __wbindgen_closure_wrapper5366(arg0, arg1, arg2) {
2646
+ const ret = makeMutClosure(arg0, arg1, 1796, __wbg_adapter_80);
2644
2647
  return addHeapObject(ret);
2645
2648
  };
2646
2649
 
2647
- export function __wbindgen_closure_wrapper5458(arg0, arg1, arg2) {
2648
- const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2650
+ export function __wbindgen_closure_wrapper5367(arg0, arg1, arg2) {
2651
+ const ret = makeMutClosure(arg0, arg1, 1796, __wbg_adapter_80);
2649
2652
  return addHeapObject(ret);
2650
2653
  };
2651
2654
 
2652
- export function __wbindgen_closure_wrapper5459(arg0, arg1, arg2) {
2653
- const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2655
+ export function __wbindgen_closure_wrapper5368(arg0, arg1, arg2) {
2656
+ const ret = makeMutClosure(arg0, arg1, 1796, __wbg_adapter_80);
2654
2657
  return addHeapObject(ret);
2655
2658
  };
2656
2659
 
2657
- export function __wbindgen_closure_wrapper7691(arg0, arg1, arg2) {
2658
- const ret = makeMutClosure(arg0, arg1, 2522, __wbg_adapter_87);
2660
+ export function __wbindgen_closure_wrapper7609(arg0, arg1, arg2) {
2661
+ const ret = makeMutClosure(arg0, arg1, 2442, __wbg_adapter_87);
2659
2662
  return addHeapObject(ret);
2660
2663
  };
2661
2664
 
2662
- export function __wbindgen_closure_wrapper7799(arg0, arg1, arg2) {
2663
- const ret = makeMutClosure(arg0, arg1, 2582, __wbg_adapter_90);
2665
+ export function __wbindgen_closure_wrapper7717(arg0, arg1, arg2) {
2666
+ const ret = makeMutClosure(arg0, arg1, 2502, __wbg_adapter_90);
2664
2667
  return addHeapObject(ret);
2665
2668
  };
2666
2669
 
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Eiger <hello@eiger.co>"
6
6
  ],
7
7
  "description": "Browser compatibility layer for the Lumina node",
8
- "version": "0.6.1",
8
+ "version": "0.7.0",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",