lumina-node-wasm 0.8.0 → 0.8.1

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/README.md CHANGED
@@ -3,11 +3,15 @@
3
3
  A compatibility layer for the [`Lumina`](https://github.com/eigerco/lumina) node to
4
4
  work within a browser environment and be operable with javascript.
5
5
 
6
+ # Changelog
7
+
8
+ You can find about the latest changes [here](https://github.com/eigerco/lumina/blob/main/node-wasm/CHANGELOG.md).
9
+
6
10
  # Example
7
11
  Starting lumina inside a dedicated worker
8
12
 
9
13
  ```javascript
10
- import { spawnNode, NodeConfig, Network } from "lumina-node";
14
+ import { spawnNode, Network, NodeConfig } from "lumina-node";
11
15
 
12
16
  const node = await spawnNode();
13
17
  const mainnetConfig = NodeConfig.default(Network.Mainnet);
@@ -20,12 +24,12 @@ await node.requestHeadHeader();
20
24
 
21
25
  ## Manual setup
22
26
 
23
- Note that `spawnNode` implicitly calls wasm initialisation code. If you want to set things up manually, make sure to call the default export before using any of the wasm functionality.
27
+ `spawnNode` sets up a `DedicatedWorker` instance and runs `NodeWorker` there. If you want to set things up manually
28
+ you need to connect client and worker using objects that have `MessagePort` interface.
24
29
 
25
30
  ```javascript
26
- import init, { NodeConfig, Network } from "lumina-node";
31
+ import { Network, NodeClient, NodeConfig, NodeWorker } from "lumina-node";
27
32
 
28
- await init();
29
33
  const config = NodeConfig.default(Network.Mainnet);
30
34
 
31
35
  // client and worker accept any object with MessagePort like interface e.g. Worker
@@ -43,5 +47,8 @@ await client.requestHeadHeader();
43
47
 
44
48
  ## Rust API
45
49
 
46
- For comprehensive and fully typed interface documentation, see [lumina-node](https://docs.rs/lumina-node/latest/lumina_node/) and [celestia-types](https://docs.rs/celestia-types/latest/celestia_types/) documentation on docs.rs. You can see there the exact structure of more complex types, such as [`ExtendedHeader`](https://docs.rs/celestia-types/latest/celestia_types/struct.ExtendedHeader.html). JavaScript API's goal is to provide similar interface to Rust when possible, e.g. `NodeClient` mirrors [`Node`](https://docs.rs/lumina-node/latest/lumina_node/node/struct.Node.html).
50
+ For comprehensive and fully typed interface documentation, see [lumina-node](https://docs.rs/lumina-node/latest/lumina_node/)
51
+ and [celestia-types](https://docs.rs/celestia-types/latest/celestia_types/) documentation on docs.rs.
52
+ You can see there the exact structure of more complex types, such as [`ExtendedHeader`](https://docs.rs/celestia-types/latest/celestia_types/struct.ExtendedHeader.html).
53
+ JavaScript API's goal is to provide similar interface to Rust when possible, e.g. `NodeClient` mirrors [`Node`](https://docs.rs/lumina-node/latest/lumina_node/node/struct.Node.html).
47
54
 
@@ -53,6 +53,16 @@ export enum SamplingStatus {
53
53
  */
54
54
  type ReadableStreamType = "bytes";
55
55
 
56
+ /**
57
+ * Coin
58
+ */
59
+ export interface Coin {
60
+ denom: string,
61
+ amount: bigint
62
+ }
63
+
64
+
65
+
56
66
  /**
57
67
  * Public key
58
68
  */
@@ -84,34 +94,6 @@ type ReadableStreamType = "bytes";
84
94
 
85
95
 
86
96
 
87
- /**
88
- * Coin
89
- */
90
- export interface Coin {
91
- denom: string,
92
- amount: bigint
93
- }
94
-
95
-
96
-
97
- /**
98
- * Transaction info
99
- */
100
- export interface TxInfo {
101
- hash: string;
102
- height: bigint;
103
- }
104
-
105
- /**
106
- * Transaction config.
107
- */
108
- export interface TxConfig {
109
- gasLimit?: bigint; // utia
110
- gasPrice?: number;
111
- }
112
-
113
-
114
-
115
97
  /**
116
98
  * A payload to be signed
117
99
  */
@@ -138,6 +120,24 @@ export interface ProtoAny {
138
120
  }
139
121
 
140
122
 
123
+
124
+ /**
125
+ * Transaction info
126
+ */
127
+ export interface TxInfo {
128
+ hash: string;
129
+ height: bigint;
130
+ }
131
+
132
+ /**
133
+ * Transaction config.
134
+ */
135
+ export interface TxConfig {
136
+ gasLimit?: bigint; // utia
137
+ gasPrice?: number;
138
+ }
139
+
140
+
141
141
  /**
142
142
  * Version of the App
143
143
  */
@@ -128,23 +128,20 @@ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
128
128
  wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b)
129
129
  });
130
130
 
131
- function makeMutClosure(arg0, arg1, dtor, f) {
131
+ function makeClosure(arg0, arg1, dtor, f) {
132
132
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
133
133
  const real = (...args) => {
134
134
  // First up with a closure we increment the internal reference
135
135
  // count. This ensures that the Rust closure environment won't
136
136
  // be deallocated while we're invoking it.
137
137
  state.cnt++;
138
- const a = state.a;
139
- state.a = 0;
140
138
  try {
141
- return f(a, state.b, ...args);
139
+ return f(state.a, state.b, ...args);
142
140
  } finally {
143
141
  if (--state.cnt === 0) {
144
- wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
142
+ wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
143
+ state.a = 0;
145
144
  CLOSURE_DTORS.unregister(state);
146
- } else {
147
- state.a = a;
148
145
  }
149
146
  }
150
147
  };
@@ -153,20 +150,23 @@ function makeMutClosure(arg0, arg1, dtor, f) {
153
150
  return real;
154
151
  }
155
152
 
156
- function makeClosure(arg0, arg1, dtor, f) {
153
+ function makeMutClosure(arg0, arg1, dtor, f) {
157
154
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
158
155
  const real = (...args) => {
159
156
  // First up with a closure we increment the internal reference
160
157
  // count. This ensures that the Rust closure environment won't
161
158
  // be deallocated while we're invoking it.
162
159
  state.cnt++;
160
+ const a = state.a;
161
+ state.a = 0;
163
162
  try {
164
- return f(state.a, state.b, ...args);
163
+ return f(a, state.b, ...args);
165
164
  } finally {
166
165
  if (--state.cnt === 0) {
167
- wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
168
- state.a = 0;
166
+ wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
169
167
  CLOSURE_DTORS.unregister(state);
168
+ } else {
169
+ state.a = a;
170
170
  }
171
171
  }
172
172
  };
@@ -290,48 +290,36 @@ export function protoEncodeSignDoc(sign_doc) {
290
290
  return v1;
291
291
  }
292
292
 
293
- function __wbg_adapter_64(arg0, arg1) {
294
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8064c80230441e96(arg0, arg1);
293
+ function __wbg_adapter_64(arg0, arg1, arg2) {
294
+ wasm.closure632_externref_shim(arg0, arg1, arg2);
295
295
  }
296
296
 
297
297
  function __wbg_adapter_67(arg0, arg1, arg2) {
298
- wasm.closure193_externref_shim(arg0, arg1, arg2);
298
+ wasm.closure636_externref_shim(arg0, arg1, arg2);
299
299
  }
300
300
 
301
- function __wbg_adapter_70(arg0, arg1, arg2) {
302
- wasm.closure196_externref_shim(arg0, arg1, arg2);
301
+ function __wbg_adapter_70(arg0, arg1) {
302
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb6c3ab684ebe730c(arg0, arg1);
303
303
  }
304
304
 
305
- function __wbg_adapter_77(arg0, arg1) {
306
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf8e7ab06fd72fbbb(arg0, arg1);
305
+ function __wbg_adapter_73(arg0, arg1, arg2) {
306
+ wasm.closure1613_externref_shim(arg0, arg1, arg2);
307
307
  }
308
308
 
309
309
  function __wbg_adapter_80(arg0, arg1, arg2) {
310
- wasm.closure1608_externref_shim(arg0, arg1, arg2);
311
- }
312
-
313
- function __wbg_adapter_83(arg0, arg1, arg2) {
314
- wasm.closure1650_externref_shim(arg0, arg1, arg2);
310
+ wasm.closure2119_externref_shim(arg0, arg1, arg2);
315
311
  }
316
312
 
317
- function __wbg_adapter_90(arg0, arg1, arg2) {
318
- wasm.closure2288_externref_shim(arg0, arg1, arg2);
313
+ function __wbg_adapter_83(arg0, arg1) {
314
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7e49556654f1389d(arg0, arg1);
319
315
  }
320
316
 
321
- function __wbg_adapter_93(arg0, arg1) {
322
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h976223f7ce526cda(arg0, arg1);
317
+ function __wbg_adapter_86(arg0, arg1, arg2) {
318
+ wasm.closure2795_externref_shim(arg0, arg1, arg2);
323
319
  }
324
320
 
325
- function __wbg_adapter_96(arg0, arg1, arg2) {
326
- wasm.closure2951_externref_shim(arg0, arg1, arg2);
327
- }
328
-
329
- function __wbg_adapter_99(arg0, arg1, arg2) {
330
- wasm.closure3206_externref_shim(arg0, arg1, arg2);
331
- }
332
-
333
- function __wbg_adapter_681(arg0, arg1, arg2, arg3) {
334
- wasm.closure2971_externref_shim(arg0, arg1, arg2, arg3);
321
+ function __wbg_adapter_680(arg0, arg1, arg2, arg3) {
322
+ wasm.closure2813_externref_shim(arg0, arg1, arg2, arg3);
335
323
  }
336
324
 
337
325
  /**
@@ -2689,7 +2677,7 @@ export function __wbg_abort_99fc644e2c79c9fb() { return handleError(function (ar
2689
2677
  arg0.abort();
2690
2678
  }, arguments) };
2691
2679
 
2692
- export function __wbg_accountNumber_8f1c391fb8af4fbf(arg0) {
2680
+ export function __wbg_accountNumber_2495ebd2b01edf12(arg0) {
2693
2681
  const ret = arg0.accountNumber;
2694
2682
  return ret;
2695
2683
  };
@@ -2717,7 +2705,7 @@ export function __wbg_apply_eb9e9b97497f91e4() { return handleError(function (ar
2717
2705
  return ret;
2718
2706
  }, arguments) };
2719
2707
 
2720
- export function __wbg_authInfoBytes_ce6085b7f5ffe3fa(arg0, arg1) {
2708
+ export function __wbg_authInfoBytes_a596ab09ed8f5b62(arg0, arg1) {
2721
2709
  const ret = arg1.authInfoBytes;
2722
2710
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
2723
2711
  const len1 = WASM_VECTOR_LEN;
@@ -2745,7 +2733,7 @@ export function __wbg_blockrange_unwrap(arg0) {
2745
2733
  return ret;
2746
2734
  };
2747
2735
 
2748
- export function __wbg_bodyBytes_176ce419869fc9f8(arg0, arg1) {
2736
+ export function __wbg_bodyBytes_998aa3997267dc7d(arg0, arg1) {
2749
2737
  const ret = arg1.bodyBytes;
2750
2738
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
2751
2739
  const len1 = WASM_VECTOR_LEN;
@@ -2813,7 +2801,7 @@ export function __wbg_cause_9940c4e8dfcd5129(arg0) {
2813
2801
  return ret;
2814
2802
  };
2815
2803
 
2816
- export function __wbg_chainId_b7cd7d04f2c2f4f7(arg0, arg1) {
2804
+ export function __wbg_chainId_6dda6b274d98cc6a(arg0, arg1) {
2817
2805
  const ret = arg1.chainId;
2818
2806
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2819
2807
  const len1 = WASM_VECTOR_LEN;
@@ -2834,6 +2822,10 @@ export function __wbg_clearInterval_eba67734fd13a7f1(arg0, arg1) {
2834
2822
  arg0.clearInterval(arg1);
2835
2823
  };
2836
2824
 
2825
+ export function __wbg_clearTimeout_17a210cf2bb77594(arg0) {
2826
+ clearTimeout(arg0);
2827
+ };
2828
+
2837
2829
  export function __wbg_clearTimeout_5a54f8841c30079a(arg0) {
2838
2830
  const ret = clearTimeout(arg0);
2839
2831
  return ret;
@@ -2844,10 +2836,6 @@ export function __wbg_clearTimeout_96804de0ab838f26(arg0) {
2844
2836
  return ret;
2845
2837
  };
2846
2838
 
2847
- export function __wbg_clearTimeout_f783c0393672b222(arg0) {
2848
- clearTimeout(arg0);
2849
- };
2850
-
2851
2839
  export function __wbg_clear_f450db7eeb71163f() { return handleError(function (arg0) {
2852
2840
  const ret = arg0.clear();
2853
2841
  return ret;
@@ -3023,13 +3011,13 @@ export function __wbg_fetch_07cd86dd296a5a63(arg0, arg1, arg2) {
3023
3011
  return ret;
3024
3012
  };
3025
3013
 
3026
- export function __wbg_fetch_3079ee47bab2b144(arg0, arg1) {
3027
- const ret = fetch(arg0, arg1);
3014
+ export function __wbg_fetch_090f4e9b9cbe920a(arg0) {
3015
+ const ret = fetch(arg0);
3028
3016
  return ret;
3029
3017
  };
3030
3018
 
3031
- export function __wbg_fetch_f8bbc19e5576402c(arg0) {
3032
- const ret = fetch(arg0);
3019
+ export function __wbg_fetch_3079ee47bab2b144(arg0, arg1) {
3020
+ const ret = fetch(arg0, arg1);
3033
3021
  return ret;
3034
3022
  };
3035
3023
 
@@ -3038,13 +3026,13 @@ export function __wbg_from_2a5d3e218e67aa85(arg0) {
3038
3026
  return ret;
3039
3027
  };
3040
3028
 
3041
- export function __wbg_gasLimit_f75abb8d4853ccd0(arg0, arg1) {
3029
+ export function __wbg_gasLimit_945ace4f61745da3(arg0, arg1) {
3042
3030
  const ret = arg1.gasLimit;
3043
3031
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
3044
3032
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
3045
3033
  };
3046
3034
 
3047
- export function __wbg_gasPrice_aff838c14ef12ab7(arg0, arg1) {
3035
+ export function __wbg_gasPrice_346fc384c795dfb9(arg0, arg1) {
3048
3036
  const ret = arg1.gasPrice;
3049
3037
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
3050
3038
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
@@ -3476,7 +3464,7 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
3476
3464
  const a = state0.a;
3477
3465
  state0.a = 0;
3478
3466
  try {
3479
- return __wbg_adapter_681(a, state0.b, arg0, arg1);
3467
+ return __wbg_adapter_680(a, state0.b, arg0, arg1);
3480
3468
  } finally {
3481
3469
  state0.a = a;
3482
3470
  }
@@ -3658,15 +3646,15 @@ export function __wbg_ports_b00492ca2866b691(arg0) {
3658
3646
  return ret;
3659
3647
  };
3660
3648
 
3661
- export function __wbg_postMessage_027cd6d8de6c0322() { return handleError(function (arg0, arg1, arg2) {
3662
- arg0.postMessage(arg1, arg2);
3649
+ export function __wbg_postMessage_bb72e89e7ba80355() { return handleError(function (arg0, arg1) {
3650
+ arg0.postMessage(arg1);
3663
3651
  }, arguments) };
3664
3652
 
3665
- export function __wbg_postMessage_5b925d527c26e242() { return handleError(function (arg0, arg1) {
3666
- arg0.postMessage(arg1);
3653
+ export function __wbg_postMessage_f3f89c154ef3561c() { return handleError(function (arg0, arg1, arg2) {
3654
+ arg0.postMessage(arg1, arg2);
3667
3655
  }, arguments) };
3668
3656
 
3669
- export function __wbg_postMessage_bb72e89e7ba80355() { return handleError(function (arg0, arg1) {
3657
+ export function __wbg_postMessage_f9e02f4aaaabe1f3() { return handleError(function (arg0, arg1) {
3670
3658
  arg0.postMessage(arg1);
3671
3659
  }, arguments) };
3672
3660
 
@@ -3785,7 +3773,7 @@ export function __wbg_setInterval_ed3b5e3c3ebb8a6d() { return handleError(functi
3785
3773
  return ret;
3786
3774
  }, arguments) };
3787
3775
 
3788
- export function __wbg_setTimeout_643f1cca714e18fc(arg0, arg1) {
3776
+ export function __wbg_setTimeout_4f30cb9cd9d43974(arg0, arg1) {
3789
3777
  const ret = setTimeout(arg0, arg1 >>> 0);
3790
3778
  return ret;
3791
3779
  };
@@ -4032,7 +4020,7 @@ export function __wbg_txclient_new(arg0) {
4032
4020
  return ret;
4033
4021
  };
4034
4022
 
4035
- export function __wbg_typeUrl_5f6ae2a7a75bcae9(arg0, arg1) {
4023
+ export function __wbg_typeUrl_42c9e7ba158f0e1d(arg0, arg1) {
4036
4024
  const ret = arg1.typeUrl;
4037
4025
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4038
4026
  const len1 = WASM_VECTOR_LEN;
@@ -4061,7 +4049,7 @@ export function __wbg_userAgent_d036e8722fea0cde() { return handleError(function
4061
4049
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4062
4050
  }, arguments) };
4063
4051
 
4064
- export function __wbg_value_10c520899a17e857(arg0, arg1) {
4052
+ export function __wbg_value_4b521bbfd808f1ac(arg0, arg1) {
4065
4053
  const ret = arg1.value;
4066
4054
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
4067
4055
  const len1 = WASM_VECTOR_LEN;
@@ -4150,73 +4138,48 @@ export function __wbindgen_cb_drop(arg0) {
4150
4138
  return ret;
4151
4139
  };
4152
4140
 
4153
- export function __wbindgen_closure_wrapper10467(arg0, arg1, arg2) {
4154
- const ret = makeMutClosure(arg0, arg1, 3207, __wbg_adapter_99);
4155
- return ret;
4156
- };
4157
-
4158
- export function __wbindgen_closure_wrapper1251(arg0, arg1, arg2) {
4159
- const ret = makeMutClosure(arg0, arg1, 194, __wbg_adapter_64);
4160
- return ret;
4161
- };
4162
-
4163
- export function __wbindgen_closure_wrapper1263(arg0, arg1, arg2) {
4164
- const ret = makeMutClosure(arg0, arg1, 194, __wbg_adapter_67);
4165
- return ret;
4166
- };
4167
-
4168
- export function __wbindgen_closure_wrapper1264(arg0, arg1, arg2) {
4169
- const ret = makeClosure(arg0, arg1, 194, __wbg_adapter_70);
4170
- return ret;
4171
- };
4172
-
4173
- export function __wbindgen_closure_wrapper1265(arg0, arg1, arg2) {
4174
- const ret = makeMutClosure(arg0, arg1, 194, __wbg_adapter_67);
4175
- return ret;
4176
- };
4177
-
4178
- export function __wbindgen_closure_wrapper1269(arg0, arg1, arg2) {
4179
- const ret = makeMutClosure(arg0, arg1, 194, __wbg_adapter_67);
4141
+ export function __wbindgen_closure_wrapper1823(arg0, arg1, arg2) {
4142
+ const ret = makeClosure(arg0, arg1, 633, __wbg_adapter_64);
4180
4143
  return ret;
4181
4144
  };
4182
4145
 
4183
- export function __wbindgen_closure_wrapper4478(arg0, arg1, arg2) {
4184
- const ret = makeMutClosure(arg0, arg1, 1488, __wbg_adapter_77);
4146
+ export function __wbindgen_closure_wrapper1825(arg0, arg1, arg2) {
4147
+ const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_67);
4185
4148
  return ret;
4186
4149
  };
4187
4150
 
4188
- export function __wbindgen_closure_wrapper4747(arg0, arg1, arg2) {
4189
- const ret = makeMutClosure(arg0, arg1, 1609, __wbg_adapter_80);
4151
+ export function __wbindgen_closure_wrapper4289(arg0, arg1, arg2) {
4152
+ const ret = makeMutClosure(arg0, arg1, 1459, __wbg_adapter_70);
4190
4153
  return ret;
4191
4154
  };
4192
4155
 
4193
- export function __wbindgen_closure_wrapper4845(arg0, arg1, arg2) {
4194
- const ret = makeMutClosure(arg0, arg1, 1651, __wbg_adapter_83);
4156
+ export function __wbindgen_closure_wrapper4613(arg0, arg1, arg2) {
4157
+ const ret = makeMutClosure(arg0, arg1, 1614, __wbg_adapter_73);
4195
4158
  return ret;
4196
4159
  };
4197
4160
 
4198
- export function __wbindgen_closure_wrapper4846(arg0, arg1, arg2) {
4199
- const ret = makeMutClosure(arg0, arg1, 1651, __wbg_adapter_83);
4161
+ export function __wbindgen_closure_wrapper4614(arg0, arg1, arg2) {
4162
+ const ret = makeMutClosure(arg0, arg1, 1614, __wbg_adapter_73);
4200
4163
  return ret;
4201
4164
  };
4202
4165
 
4203
- export function __wbindgen_closure_wrapper4847(arg0, arg1, arg2) {
4204
- const ret = makeMutClosure(arg0, arg1, 1651, __wbg_adapter_83);
4166
+ export function __wbindgen_closure_wrapper4615(arg0, arg1, arg2) {
4167
+ const ret = makeMutClosure(arg0, arg1, 1614, __wbg_adapter_73);
4205
4168
  return ret;
4206
4169
  };
4207
4170
 
4208
- export function __wbindgen_closure_wrapper6481(arg0, arg1, arg2) {
4209
- const ret = makeMutClosure(arg0, arg1, 2289, __wbg_adapter_90);
4171
+ export function __wbindgen_closure_wrapper6073(arg0, arg1, arg2) {
4172
+ const ret = makeMutClosure(arg0, arg1, 2120, __wbg_adapter_80);
4210
4173
  return ret;
4211
4174
  };
4212
4175
 
4213
- export function __wbindgen_closure_wrapper6580(arg0, arg1, arg2) {
4214
- const ret = makeMutClosure(arg0, arg1, 2342, __wbg_adapter_93);
4176
+ export function __wbindgen_closure_wrapper6180(arg0, arg1, arg2) {
4177
+ const ret = makeMutClosure(arg0, arg1, 2177, __wbg_adapter_83);
4215
4178
  return ret;
4216
4179
  };
4217
4180
 
4218
- export function __wbindgen_closure_wrapper8352(arg0, arg1, arg2) {
4219
- const ret = makeMutClosure(arg0, arg1, 2952, __wbg_adapter_96);
4181
+ export function __wbindgen_closure_wrapper7948(arg0, arg1, arg2) {
4182
+ const ret = makeMutClosure(arg0, arg1, 2796, __wbg_adapter_86);
4220
4183
  return ret;
4221
4184
  };
4222
4185
 
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.8.0",
8
+ "version": "0.8.1",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",