lumina-node-wasm 0.12.0 → 0.13.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.
@@ -265,12 +265,6 @@ function makeClosure(arg0, arg1, dtor, f) {
265
265
  CLOSURE_DTORS.register(real, state, state);
266
266
  return real;
267
267
  }
268
- /**
269
- * Set up a logging layer that direct logs to the browser's console.
270
- */
271
- export function setup_logging() {
272
- wasm.setup_logging();
273
- }
274
268
 
275
269
  function _assertClass(instance, klass) {
276
270
  if (!(instance instanceof klass)) {
@@ -287,6 +281,12 @@ function passArrayJsValueToWasm0(array, malloc) {
287
281
  WASM_VECTOR_LEN = array.length;
288
282
  return ptr;
289
283
  }
284
+ /**
285
+ * Set up a logging layer that direct logs to the browser's console.
286
+ */
287
+ export function setup_logging() {
288
+ wasm.setup_logging();
289
+ }
290
290
 
291
291
  function takeFromExternrefTable0(idx) {
292
292
  const value = wasm.__wbindgen_export_4.get(idx);
@@ -305,41 +305,46 @@ export function protoEncodeSignDoc(sign_doc) {
305
305
  return v1;
306
306
  }
307
307
 
308
- function __wbg_adapter_8(arg0, arg1, arg2) {
309
- wasm.closure1785_externref_shim(arg0, arg1, arg2);
308
+ function __wbg_adapter_6(arg0, arg1, arg2) {
309
+ wasm.closure1891_externref_shim(arg0, arg1, arg2);
310
310
  }
311
311
 
312
- function __wbg_adapter_13(arg0, arg1) {
313
- wasm.wasm_bindgen__convert__closures_____invoke__h2abc87618de50089(arg0, arg1);
312
+ function __wbg_adapter_9(arg0, arg1, arg2) {
313
+ wasm.closure313_externref_shim(arg0, arg1, arg2);
314
314
  }
315
315
 
316
- function __wbg_adapter_16(arg0, arg1, arg2) {
317
- wasm.closure2977_externref_shim(arg0, arg1, arg2);
316
+ function __wbg_adapter_14(arg0, arg1, arg2) {
317
+ wasm.closure310_externref_shim(arg0, arg1, arg2);
318
318
  }
319
319
 
320
- function __wbg_adapter_19(arg0, arg1) {
321
- wasm.wasm_bindgen__convert__closures_____invoke__hc000bd3f01dbb89a(arg0, arg1);
320
+ function __wbg_adapter_21(arg0, arg1, arg2) {
321
+ wasm.closure2957_externref_shim(arg0, arg1, arg2);
322
322
  }
323
323
 
324
- function __wbg_adapter_28(arg0, arg1, arg2) {
325
- wasm.closure670_externref_shim(arg0, arg1, arg2);
324
+ function __wbg_adapter_30(arg0, arg1) {
325
+ wasm.wasm_bindgen__convert__closures_____invoke__hbc27f06da80e4608(arg0, arg1);
326
326
  }
327
327
 
328
328
  function __wbg_adapter_33(arg0, arg1, arg2) {
329
- wasm.closure2875_externref_shim(arg0, arg1, arg2);
329
+ wasm.closure3065_externref_shim(arg0, arg1, arg2);
330
330
  }
331
331
 
332
- function __wbg_adapter_38(arg0, arg1, arg2) {
333
- const ret = wasm.closure675_externref_shim(arg0, arg1, arg2);
332
+ function __wbg_adapter_40(arg0, arg1) {
333
+ wasm.wasm_bindgen__convert__closures_____invoke__h4a5ee0ea235e8a7d(arg0, arg1);
334
+ }
335
+
336
+ function __wbg_adapter_43(arg0, arg1) {
337
+ const ret = wasm.closure315_externref_shim(arg0, arg1);
334
338
  return ret;
335
339
  }
336
340
 
337
- function __wbg_adapter_47(arg0, arg1, arg2) {
338
- wasm.closure673_externref_shim(arg0, arg1, arg2);
341
+ function __wbg_adapter_46(arg0, arg1, arg2) {
342
+ const ret = wasm.closure307_externref_shim(arg0, arg1, arg2);
343
+ return ret;
339
344
  }
340
345
 
341
- function __wbg_adapter_982(arg0, arg1, arg2, arg3) {
342
- wasm.closure3002_externref_shim(arg0, arg1, arg2, arg3);
346
+ function __wbg_adapter_940(arg0, arg1, arg2, arg3) {
347
+ wasm.closure3084_externref_shim(arg0, arg1, arg2, arg3);
343
348
  }
344
349
 
345
350
  /**
@@ -1198,6 +1203,47 @@ export class AppVersion {
1198
1203
  }
1199
1204
  }
1200
1205
 
1206
+ const AsyncIteratorImplFinalization = (typeof FinalizationRegistry === 'undefined')
1207
+ ? { register: () => {}, unregister: () => {} }
1208
+ : new FinalizationRegistry(ptr => wasm.__wbg_asynciteratorimpl_free(ptr >>> 0, 1));
1209
+
1210
+ export class AsyncIteratorImpl {
1211
+
1212
+ static __wrap(ptr) {
1213
+ ptr = ptr >>> 0;
1214
+ const obj = Object.create(AsyncIteratorImpl.prototype);
1215
+ obj.__wbg_ptr = ptr;
1216
+ AsyncIteratorImplFinalization.register(obj, obj.__wbg_ptr, obj);
1217
+ return obj;
1218
+ }
1219
+
1220
+ __destroy_into_raw() {
1221
+ const ptr = this.__wbg_ptr;
1222
+ this.__wbg_ptr = 0;
1223
+ AsyncIteratorImplFinalization.unregister(this);
1224
+ return ptr;
1225
+ }
1226
+
1227
+ free() {
1228
+ const ptr = this.__destroy_into_raw();
1229
+ wasm.__wbg_asynciteratorimpl_free(ptr, 0);
1230
+ }
1231
+ /**
1232
+ * @returns {any}
1233
+ */
1234
+ return_self() {
1235
+ const ret = wasm.asynciteratorimpl_return_self(this.__wbg_ptr);
1236
+ return ret;
1237
+ }
1238
+ /**
1239
+ * @returns {Promise<any>}
1240
+ */
1241
+ next() {
1242
+ const ret = wasm.asynciteratorimpl_next(this.__wbg_ptr);
1243
+ return ret;
1244
+ }
1245
+ }
1246
+
1201
1247
  const AttributeFinalization = (typeof FinalizationRegistry === 'undefined')
1202
1248
  ? { register: () => {}, unregister: () => {} }
1203
1249
  : new FinalizationRegistry(ptr => wasm.__wbg_attribute_free(ptr >>> 0, 1));
@@ -1617,6 +1663,80 @@ export class BlobParams {
1617
1663
  }
1618
1664
  }
1619
1665
 
1666
+ const BlobsAtHeightFinalization = (typeof FinalizationRegistry === 'undefined')
1667
+ ? { register: () => {}, unregister: () => {} }
1668
+ : new FinalizationRegistry(ptr => wasm.__wbg_blobsatheight_free(ptr >>> 0, 1));
1669
+ /**
1670
+ * List of blobs together with height they were published at
1671
+ */
1672
+ export class BlobsAtHeight {
1673
+
1674
+ static __wrap(ptr) {
1675
+ ptr = ptr >>> 0;
1676
+ const obj = Object.create(BlobsAtHeight.prototype);
1677
+ obj.__wbg_ptr = ptr;
1678
+ BlobsAtHeightFinalization.register(obj, obj.__wbg_ptr, obj);
1679
+ return obj;
1680
+ }
1681
+
1682
+ toJSON() {
1683
+ return {
1684
+ height: this.height,
1685
+ blobs: this.blobs,
1686
+ };
1687
+ }
1688
+
1689
+ toString() {
1690
+ return JSON.stringify(this);
1691
+ }
1692
+
1693
+ __destroy_into_raw() {
1694
+ const ptr = this.__wbg_ptr;
1695
+ this.__wbg_ptr = 0;
1696
+ BlobsAtHeightFinalization.unregister(this);
1697
+ return ptr;
1698
+ }
1699
+
1700
+ free() {
1701
+ const ptr = this.__destroy_into_raw();
1702
+ wasm.__wbg_blobsatheight_free(ptr, 0);
1703
+ }
1704
+ /**
1705
+ * Height the blobs were published at
1706
+ * @returns {bigint}
1707
+ */
1708
+ get height() {
1709
+ const ret = wasm.__wbg_get_blobparams_gov_max_square_size(this.__wbg_ptr);
1710
+ return BigInt.asUintN(64, ret);
1711
+ }
1712
+ /**
1713
+ * Height the blobs were published at
1714
+ * @param {bigint} arg0
1715
+ */
1716
+ set height(arg0) {
1717
+ wasm.__wbg_set_blobparams_gov_max_square_size(this.__wbg_ptr, arg0);
1718
+ }
1719
+ /**
1720
+ * Published blobs
1721
+ * @returns {Blob[]}
1722
+ */
1723
+ get blobs() {
1724
+ const ret = wasm.__wbg_get_blobsatheight_blobs(this.__wbg_ptr);
1725
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
1726
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
1727
+ return v1;
1728
+ }
1729
+ /**
1730
+ * Published blobs
1731
+ * @param {Blob[]} arg0
1732
+ */
1733
+ set blobs(arg0) {
1734
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
1735
+ const len0 = WASM_VECTOR_LEN;
1736
+ wasm.__wbg_set_blobsatheight_blobs(this.__wbg_ptr, ptr0, len0);
1737
+ }
1738
+ }
1739
+
1620
1740
  const BlockFinalization = (typeof FinalizationRegistry === 'undefined')
1621
1741
  ? { register: () => {}, unregister: () => {} }
1622
1742
  : new FinalizationRegistry(ptr => wasm.__wbg_block_free(ptr >>> 0, 1));
@@ -2749,7 +2869,7 @@ const DataAvailabilityHeaderFinalization = (typeof FinalizationRegistry === 'und
2749
2869
  * # fn extended_header() -> ExtendedHeader {
2750
2870
  * # unimplemented!();
2751
2871
  * # }
2752
- * # fn shares_with_proof(_: Height, _: &Namespace) -> (Vec<Share>, NamespaceProof) {
2872
+ * # fn shares_with_proof(_: u64, _: &Namespace) -> (Vec<Share>, NamespaceProof) {
2753
2873
  * # unimplemented!();
2754
2874
  * # }
2755
2875
  * // fetch the block header and data for your namespace
@@ -3596,6 +3716,28 @@ export class GrpcClient {
3596
3716
  const ret = wasm.grpcclient_abciQuery(this.__wbg_ptr, ptr0, len0, ptr1, len1, height, prove);
3597
3717
  return ret;
3598
3718
  }
3719
+ /**
3720
+ * Confirm transaction broadcasted with [`broadcast_blobs`] or [`broadcast_message`].
3721
+ *
3722
+ * # Example
3723
+ * ```js
3724
+ * const ns = Namespace.newV0(new Uint8Array([97, 98, 99]));
3725
+ * const data = new Uint8Array([100, 97, 116, 97]);
3726
+ * const blob = new Blob(ns, data, AppVersion.latest());
3727
+ *
3728
+ * const broadcastedTx = await txClient.broadcastBlobs([blob]);
3729
+ * console.log("Tx hash:", broadcastedTx.hash);
3730
+ * const txInfo = await txClient.confirmTx(broadcastedTx);
3731
+ * console.log("Confirmed at height:", txInfo.height);
3732
+ * ```
3733
+ * @param {BroadcastedTx} broadcasted_tx
3734
+ * @param {TxConfig | null} [tx_config]
3735
+ * @returns {Promise<TxInfo>}
3736
+ */
3737
+ confirmTx(broadcasted_tx, tx_config) {
3738
+ const ret = wasm.grpcclient_confirmTx(this.__wbg_ptr, broadcasted_tx, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
3739
+ return ret;
3740
+ }
3599
3741
  /**
3600
3742
  * AppVersion of the client
3601
3743
  * @returns {Promise<AppVersion>}
@@ -3711,6 +3853,40 @@ export class GrpcClient {
3711
3853
  const ret = wasm.grpcclient_submitMessage(this.__wbg_ptr, message, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
3712
3854
  return ret;
3713
3855
  }
3856
+ /**
3857
+ * Broadcast blobs to the celestia network, and return without confirming.
3858
+ *
3859
+ * # Example
3860
+ * ```js
3861
+ * const ns = Namespace.newV0(new Uint8Array([97, 98, 99]));
3862
+ * const data = new Uint8Array([100, 97, 116, 97]);
3863
+ * const blob = new Blob(ns, data, AppVersion.latest());
3864
+ *
3865
+ * const broadcastedTx = await txClient.broadcastBlobs([blob]);
3866
+ * console.log("Tx hash:", broadcastedTx.hash);
3867
+ * const txInfo = await txClient.confirmTx(broadcastedTx);
3868
+ * ```
3869
+ *
3870
+ * # Note
3871
+ *
3872
+ * Provided blobs will be consumed by this method, meaning
3873
+ * they will no longer be accessible. If this behavior is not desired,
3874
+ * consider using `Blob.clone()`.
3875
+ *
3876
+ * ```js
3877
+ * const blobs = [blob1, blob2, blob3];
3878
+ * await txClient.broadcastBlobs(blobs.map(b => b.clone()));
3879
+ * ```
3880
+ * @param {Blob[]} blobs
3881
+ * @param {TxConfig | null} [tx_config]
3882
+ * @returns {Promise<BroadcastedTx>}
3883
+ */
3884
+ broadcastBlobs(blobs, tx_config) {
3885
+ const ptr0 = passArrayJsValueToWasm0(blobs, wasm.__wbindgen_malloc);
3886
+ const len0 = WASM_VECTOR_LEN;
3887
+ const ret = wasm.grpcclient_broadcastBlobs(this.__wbg_ptr, ptr0, len0, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
3888
+ return ret;
3889
+ }
3714
3890
  /**
3715
3891
  * Get auth params
3716
3892
  * @returns {Promise<AuthParams>}
@@ -3762,6 +3938,36 @@ export class GrpcClient {
3762
3938
  const ret = wasm.grpcclient_getTotalSupply(this.__wbg_ptr);
3763
3939
  return ret;
3764
3940
  }
3941
+ /**
3942
+ * Broadcast message to the celestia network, and return without confirming.
3943
+ *
3944
+ * # Example
3945
+ * ```js
3946
+ * import { Registry } from "@cosmjs/proto-signing";
3947
+ *
3948
+ * const registry = new Registry();
3949
+ * const sendMsg = {
3950
+ * typeUrl: "/cosmos.bank.v1beta1.MsgSend",
3951
+ * value: {
3952
+ * fromAddress: "celestia169s50psyj2f4la9a2235329xz7rk6c53zhw9mm",
3953
+ * toAddress: "celestia1t52q7uqgnjfzdh3wx5m5phvma3umrq8k6tq2p9",
3954
+ * amount: [{ denom: "utia", amount: "10000" }],
3955
+ * },
3956
+ * };
3957
+ * const sendMsgAny = registry.encodeAsAny(sendMsg);
3958
+ *
3959
+ * const broadcastedTx = await txClient.broadcastMessage(sendMsgAny);
3960
+ * console.log("Tx hash:", broadcastedTx.hash);
3961
+ * const txInfo = await txClient.confirmTx(broadcastedTx);
3962
+ * ```
3963
+ * @param {ProtoAny} message
3964
+ * @param {TxConfig | null} [tx_config]
3965
+ * @returns {Promise<BroadcastedTx>}
3966
+ */
3967
+ broadcastMessage(message, tx_config) {
3968
+ const ret = wasm.grpcclient_broadcastMessage(this.__wbg_ptr, message, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
3969
+ return ret;
3970
+ }
3765
3971
  /**
3766
3972
  * Estimate gas price for given transaction priority based
3767
3973
  * on the gas prices of the transactions in the last five blocks.
@@ -3867,6 +4073,20 @@ export class GrpcClient {
3867
4073
  const ret = wasm.grpcclient_txStatus(this.__wbg_ptr, ptr0, len0);
3868
4074
  return ret;
3869
4075
  }
4076
+ /**
4077
+ * Create a builder for [`GrpcClient`] with multiple URL endpoints for fallback support.
4078
+ *
4079
+ * When multiple endpoints are configured, the client will automatically
4080
+ * fall back to the next endpoint if a network-related error occurs.
4081
+ * @param {string[]} urls
4082
+ * @returns {GrpcClientBuilder}
4083
+ */
4084
+ static withUrls(urls) {
4085
+ const ptr0 = passArrayJsValueToWasm0(urls, wasm.__wbindgen_malloc);
4086
+ const len0 = WASM_VECTOR_LEN;
4087
+ const ret = wasm.grpcclient_withUrls(ptr0, len0);
4088
+ return GrpcClientBuilder.__wrap(ret);
4089
+ }
3870
4090
  }
3871
4091
 
3872
4092
  const GrpcClientBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -3882,6 +4102,7 @@ const GrpcClientBuilderFinalization = (typeof FinalizationRegistry === 'undefine
3882
4102
  * ```js
3883
4103
  * const client = await GrpcClient
3884
4104
  * .withUrl("http://127.0.0.1:18080")
4105
+ * .withTimeout(5000) // Optional: 5 second timeout
3885
4106
  * .build()
3886
4107
  * ```
3887
4108
  *
@@ -3943,6 +4164,19 @@ export class GrpcClientBuilder {
3943
4164
  const ptr = this.__destroy_into_raw();
3944
4165
  wasm.__wbg_grpcclientbuilder_free(ptr, 0);
3945
4166
  }
4167
+ /**
4168
+ * Sets the request timeout in milliseconds, overriding default one from the transport.
4169
+ *
4170
+ * Note that this method **consumes** builder and returns updated instance of it.
4171
+ * Make sure to re-assign it if you keep builder in a variable.
4172
+ * @param {bigint} timeout_ms
4173
+ * @returns {GrpcClientBuilder}
4174
+ */
4175
+ withTimeout(timeout_ms) {
4176
+ const ptr = this.__destroy_into_raw();
4177
+ const ret = wasm.grpcclientbuilder_withTimeout(ptr, timeout_ms);
4178
+ return GrpcClientBuilder.__wrap(ret);
4179
+ }
3946
4180
  /**
3947
4181
  * Appends ascii metadata to all requests made by the client.
3948
4182
  *
@@ -4023,6 +4257,24 @@ export class GrpcClientBuilder {
4023
4257
  const ret = wasm.grpcclientbuilder_withUrl(ptr, ptr0, len0);
4024
4258
  return GrpcClientBuilder.__wrap(ret);
4025
4259
  }
4260
+ /**
4261
+ * Add multiple URL endpoints at once for fallback support.
4262
+ *
4263
+ * When multiple endpoints are configured, the client will automatically
4264
+ * fall back to the next endpoint if a network-related error occurs.
4265
+ *
4266
+ * Note that this method **consumes** builder and returns updated instance of it.
4267
+ * Make sure to re-assign it if you keep builder in a variable.
4268
+ * @param {string[]} urls
4269
+ * @returns {GrpcClientBuilder}
4270
+ */
4271
+ withUrls(urls) {
4272
+ const ptr = this.__destroy_into_raw();
4273
+ const ptr0 = passArrayJsValueToWasm0(urls, wasm.__wbindgen_malloc);
4274
+ const len0 = WASM_VECTOR_LEN;
4275
+ const ret = wasm.grpcclientbuilder_withUrls(ptr, ptr0, len0);
4276
+ return GrpcClientBuilder.__wrap(ret);
4277
+ }
4026
4278
  }
4027
4279
 
4028
4280
  const HeaderFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -4497,6 +4749,69 @@ export class IntoUnderlyingSource {
4497
4749
  }
4498
4750
  }
4499
4751
 
4752
+ const IteratorResultObjectFinalization = (typeof FinalizationRegistry === 'undefined')
4753
+ ? { register: () => {}, unregister: () => {} }
4754
+ : new FinalizationRegistry(ptr => wasm.__wbg_iteratorresultobject_free(ptr >>> 0, 1));
4755
+
4756
+ export class IteratorResultObject {
4757
+
4758
+ static __wrap(ptr) {
4759
+ ptr = ptr >>> 0;
4760
+ const obj = Object.create(IteratorResultObject.prototype);
4761
+ obj.__wbg_ptr = ptr;
4762
+ IteratorResultObjectFinalization.register(obj, obj.__wbg_ptr, obj);
4763
+ return obj;
4764
+ }
4765
+
4766
+ __destroy_into_raw() {
4767
+ const ptr = this.__wbg_ptr;
4768
+ this.__wbg_ptr = 0;
4769
+ IteratorResultObjectFinalization.unregister(this);
4770
+ return ptr;
4771
+ }
4772
+
4773
+ free() {
4774
+ const ptr = this.__destroy_into_raw();
4775
+ wasm.__wbg_iteratorresultobject_free(ptr, 0);
4776
+ }
4777
+ /**
4778
+ * Has the value true if the iterator is past the end of the
4779
+ * iterated sequence. In this case value optionally specifies
4780
+ * the return value of the iterator.
4781
+ * @returns {boolean}
4782
+ */
4783
+ get done() {
4784
+ const ret = wasm.__wbg_get_iteratorresultobject_done(this.__wbg_ptr);
4785
+ return ret !== 0;
4786
+ }
4787
+ /**
4788
+ * Has the value true if the iterator is past the end of the
4789
+ * iterated sequence. In this case value optionally specifies
4790
+ * the return value of the iterator.
4791
+ * @param {boolean} arg0
4792
+ */
4793
+ set done(arg0) {
4794
+ wasm.__wbg_set_iteratorresultobject_done(this.__wbg_ptr, arg0);
4795
+ }
4796
+ /**
4797
+ * Any JavaScript value returned by the iterator.
4798
+ * Can be omitted when done is true.
4799
+ * @returns {any}
4800
+ */
4801
+ get value() {
4802
+ const ret = wasm.__wbg_get_iteratorresultobject_value(this.__wbg_ptr);
4803
+ return ret;
4804
+ }
4805
+ /**
4806
+ * Any JavaScript value returned by the iterator.
4807
+ * Can be omitted when done is true.
4808
+ * @param {any} arg0
4809
+ */
4810
+ set value(arg0) {
4811
+ wasm.__wbg_set_iteratorresultobject_value(this.__wbg_ptr, arg0);
4812
+ }
4813
+ }
4814
+
4500
4815
  const JsBitVectorFinalization = (typeof FinalizationRegistry === 'undefined')
4501
4816
  ? { register: () => {}, unregister: () => {} }
4502
4817
  : new FinalizationRegistry(ptr => wasm.__wbg_jsbitvector_free(ptr >>> 0, 1));
@@ -5431,6 +5746,20 @@ export class NodeClient {
5431
5746
  const ret = wasm.nodeclient_localPeerId(this.__wbg_ptr);
5432
5747
  return ret;
5433
5748
  }
5749
+ /**
5750
+ * Subscribe to the shares from the namespace, as new headers are received by the node
5751
+ *
5752
+ * Return an async iterator which will yield all the blobs from the namespace, as the new headers
5753
+ * are being received by the node, starting from the first header received after the call.
5754
+ * @param {Namespace} namespace
5755
+ * @returns {AsyncIterable<BlobsAtHeight | SubscriptionError>}
5756
+ */
5757
+ blobSubscribe(namespace) {
5758
+ _assertClass(namespace, Namespace);
5759
+ var ptr0 = namespace.__destroy_into_raw();
5760
+ const ret = wasm.nodeclient_blobSubscribe(this.__wbg_ptr, ptr0);
5761
+ return ret;
5762
+ }
5434
5763
  /**
5435
5764
  * Returns a [`BroadcastChannel`] for events generated by [`Node`].
5436
5765
  * @returns {Promise<BroadcastChannel>}
@@ -5467,6 +5796,17 @@ export class NodeClient {
5467
5796
  const ret = wasm.nodeclient_connectedPeers(this.__wbg_ptr);
5468
5797
  return ret;
5469
5798
  }
5799
+ /**
5800
+ * Subscribe to new headers received by the node from the network.
5801
+ *
5802
+ * Return an async iterator which will yield all the headers, as they are being received by the
5803
+ * node, starting from the first header received after the call.
5804
+ * @returns {AsyncIterable<ExtendedHeader | SubscriptionError>}
5805
+ */
5806
+ headerSubscribe() {
5807
+ const ret = wasm.nodeclient_headerSubscribe(this.__wbg_ptr);
5808
+ return ret;
5809
+ }
5470
5810
  /**
5471
5811
  * Get current [`PeerTracker`] info.
5472
5812
  * @returns {Promise<PeerTrackerInfoSnapshot>}
@@ -5499,6 +5839,20 @@ export class NodeClient {
5499
5839
  const ret = wasm.nodeclient_getHeaderByHash(this.__wbg_ptr, ptr0, len0);
5500
5840
  return ret;
5501
5841
  }
5842
+ /**
5843
+ * Subscribe to the blobs from the namespace, as new headers are received by the node
5844
+ *
5845
+ * Return an async iterator which will yield all the shares from the namespace, as the new headers
5846
+ * are being received by the node, starting from the first header received after the call.
5847
+ * @param {Namespace} namespace
5848
+ * @returns {AsyncIterable<SharesAtHeight | SubscriptionError>}
5849
+ */
5850
+ namespaceSubscribe(namespace) {
5851
+ _assertClass(namespace, Namespace);
5852
+ var ptr0 = namespace.__destroy_into_raw();
5853
+ const ret = wasm.nodeclient_namespaceSubscribe(this.__wbg_ptr, ptr0);
5854
+ return ret;
5855
+ }
5502
5856
  /**
5503
5857
  * Request the head header from the network.
5504
5858
  * @returns {Promise<ExtendedHeader>}
@@ -5897,7 +6251,7 @@ export class PartsHeader {
5897
6251
  set hash(arg0) {
5898
6252
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5899
6253
  const len0 = WASM_VECTOR_LEN;
5900
- wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
6254
+ wasm.__wbg_set_partsheader_hash(this.__wbg_ptr, ptr0, len0);
5901
6255
  }
5902
6256
  }
5903
6257
 
@@ -6216,16 +6570,149 @@ export class SamplingMetadata {
6216
6570
  }
6217
6571
  }
6218
6572
 
6219
- const SignatureFinalization = (typeof FinalizationRegistry === 'undefined')
6573
+ const ShareFinalization = (typeof FinalizationRegistry === 'undefined')
6220
6574
  ? { register: () => {}, unregister: () => {} }
6221
- : new FinalizationRegistry(ptr => wasm.__wbg_signature_free(ptr >>> 0, 1));
6575
+ : new FinalizationRegistry(ptr => wasm.__wbg_share_free(ptr >>> 0, 1));
6222
6576
  /**
6223
- * Signature
6224
- */
6225
- export class Signature {
6226
-
6227
- static __wrap(ptr) {
6228
- ptr = ptr >>> 0;
6577
+ * A single fixed-size chunk of data which is used to form an [`ExtendedDataSquare`].
6578
+ *
6579
+ * All data in Celestia is split into [`Share`]s before being put into a
6580
+ * block's data square. See [`Blob::to_shares`].
6581
+ *
6582
+ * All shares have the fixed size of 512 bytes and the following structure:
6583
+ *
6584
+ * ```text
6585
+ * | Namespace | InfoByte | (optional) sequence length | data |
6586
+ * ```
6587
+ *
6588
+ * `sequence length` is the length of the original data in bytes and is present only in the first of the shares the data was split into.
6589
+ *
6590
+ * [`ExtendedDataSquare`]: crate::eds::ExtendedDataSquare
6591
+ * [`Blob::to_shares`]: crate::Blob::to_shares
6592
+ */
6593
+ export class Share {
6594
+
6595
+ static __wrap(ptr) {
6596
+ ptr = ptr >>> 0;
6597
+ const obj = Object.create(Share.prototype);
6598
+ obj.__wbg_ptr = ptr;
6599
+ ShareFinalization.register(obj, obj.__wbg_ptr, obj);
6600
+ return obj;
6601
+ }
6602
+
6603
+ static __unwrap(jsValue) {
6604
+ if (!(jsValue instanceof Share)) {
6605
+ return 0;
6606
+ }
6607
+ return jsValue.__destroy_into_raw();
6608
+ }
6609
+
6610
+ toJSON() {
6611
+ return {
6612
+ };
6613
+ }
6614
+
6615
+ toString() {
6616
+ return JSON.stringify(this);
6617
+ }
6618
+
6619
+ __destroy_into_raw() {
6620
+ const ptr = this.__wbg_ptr;
6621
+ this.__wbg_ptr = 0;
6622
+ ShareFinalization.unregister(this);
6623
+ return ptr;
6624
+ }
6625
+
6626
+ free() {
6627
+ const ptr = this.__destroy_into_raw();
6628
+ wasm.__wbg_share_free(ptr, 0);
6629
+ }
6630
+ }
6631
+
6632
+ const SharesAtHeightFinalization = (typeof FinalizationRegistry === 'undefined')
6633
+ ? { register: () => {}, unregister: () => {} }
6634
+ : new FinalizationRegistry(ptr => wasm.__wbg_sharesatheight_free(ptr >>> 0, 1));
6635
+ /**
6636
+ * A list of shares that were published at particular height.
6637
+ */
6638
+ export class SharesAtHeight {
6639
+
6640
+ static __wrap(ptr) {
6641
+ ptr = ptr >>> 0;
6642
+ const obj = Object.create(SharesAtHeight.prototype);
6643
+ obj.__wbg_ptr = ptr;
6644
+ SharesAtHeightFinalization.register(obj, obj.__wbg_ptr, obj);
6645
+ return obj;
6646
+ }
6647
+
6648
+ toJSON() {
6649
+ return {
6650
+ height: this.height,
6651
+ shares: this.shares,
6652
+ };
6653
+ }
6654
+
6655
+ toString() {
6656
+ return JSON.stringify(this);
6657
+ }
6658
+
6659
+ __destroy_into_raw() {
6660
+ const ptr = this.__wbg_ptr;
6661
+ this.__wbg_ptr = 0;
6662
+ SharesAtHeightFinalization.unregister(this);
6663
+ return ptr;
6664
+ }
6665
+
6666
+ free() {
6667
+ const ptr = this.__destroy_into_raw();
6668
+ wasm.__wbg_sharesatheight_free(ptr, 0);
6669
+ }
6670
+ /**
6671
+ * height the shares were published at
6672
+ * @returns {bigint}
6673
+ */
6674
+ get height() {
6675
+ const ret = wasm.__wbg_get_sharesatheight_height(this.__wbg_ptr);
6676
+ return BigInt.asUintN(64, ret);
6677
+ }
6678
+ /**
6679
+ * height the shares were published at
6680
+ * @param {bigint} arg0
6681
+ */
6682
+ set height(arg0) {
6683
+ wasm.__wbg_set_sharesatheight_height(this.__wbg_ptr, arg0);
6684
+ }
6685
+ /**
6686
+ * shares published
6687
+ * @returns {Share[]}
6688
+ */
6689
+ get shares() {
6690
+ const ret = wasm.__wbg_get_sharesatheight_shares(this.__wbg_ptr);
6691
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
6692
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
6693
+ return v1;
6694
+ }
6695
+ /**
6696
+ * shares published
6697
+ * @param {Share[]} arg0
6698
+ */
6699
+ set shares(arg0) {
6700
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
6701
+ const len0 = WASM_VECTOR_LEN;
6702
+ wasm.__wbg_set_sharesatheight_shares(this.__wbg_ptr, ptr0, len0);
6703
+ }
6704
+ }
6705
+
6706
+ const SignatureFinalization = (typeof FinalizationRegistry === 'undefined')
6707
+ ? { register: () => {}, unregister: () => {} }
6708
+ : new FinalizationRegistry(ptr => wasm.__wbg_signature_free(ptr >>> 0, 1));
6709
+ /**
6710
+ * Signature
6711
+ */
6712
+ export class Signature {
6713
+
6714
+ static __wrap(ptr) {
6715
+ ptr = ptr >>> 0;
6229
6716
  const obj = Object.create(Signature.prototype);
6230
6717
  obj.__wbg_ptr = ptr;
6231
6718
  SignatureFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6483,6 +6970,75 @@ export class StringEvent {
6483
6970
  }
6484
6971
  }
6485
6972
 
6973
+ const SubscriptionErrorFinalization = (typeof FinalizationRegistry === 'undefined')
6974
+ ? { register: () => {}, unregister: () => {} }
6975
+ : new FinalizationRegistry(ptr => wasm.__wbg_subscriptionerror_free(ptr >>> 0, 1));
6976
+ /**
6977
+ * Error thrown while processing subscription
6978
+ */
6979
+ export class SubscriptionError {
6980
+
6981
+ static __wrap(ptr) {
6982
+ ptr = ptr >>> 0;
6983
+ const obj = Object.create(SubscriptionError.prototype);
6984
+ obj.__wbg_ptr = ptr;
6985
+ SubscriptionErrorFinalization.register(obj, obj.__wbg_ptr, obj);
6986
+ return obj;
6987
+ }
6988
+
6989
+ __destroy_into_raw() {
6990
+ const ptr = this.__wbg_ptr;
6991
+ this.__wbg_ptr = 0;
6992
+ SubscriptionErrorFinalization.unregister(this);
6993
+ return ptr;
6994
+ }
6995
+
6996
+ free() {
6997
+ const ptr = this.__destroy_into_raw();
6998
+ wasm.__wbg_subscriptionerror_free(ptr, 0);
6999
+ }
7000
+ /**
7001
+ * Height at which the error occurred, if applicable
7002
+ * @returns {bigint | undefined}
7003
+ */
7004
+ get height() {
7005
+ const ret = wasm.__wbg_get_subscriptionerror_height(this.__wbg_ptr);
7006
+ return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
7007
+ }
7008
+ /**
7009
+ * Height at which the error occurred, if applicable
7010
+ * @param {bigint | null} [arg0]
7011
+ */
7012
+ set height(arg0) {
7013
+ wasm.__wbg_set_subscriptionerror_height(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
7014
+ }
7015
+ /**
7016
+ * error message
7017
+ * @returns {string}
7018
+ */
7019
+ get error() {
7020
+ let deferred1_0;
7021
+ let deferred1_1;
7022
+ try {
7023
+ const ret = wasm.__wbg_get_subscriptionerror_error(this.__wbg_ptr);
7024
+ deferred1_0 = ret[0];
7025
+ deferred1_1 = ret[1];
7026
+ return getStringFromWasm0(ret[0], ret[1]);
7027
+ } finally {
7028
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
7029
+ }
7030
+ }
7031
+ /**
7032
+ * error message
7033
+ * @param {string} arg0
7034
+ */
7035
+ set error(arg0) {
7036
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7037
+ const len0 = WASM_VECTOR_LEN;
7038
+ wasm.__wbg_set_subscriptionerror_error(this.__wbg_ptr, ptr0, len0);
7039
+ }
7040
+ }
7041
+
6486
7042
  const SyncingInfoSnapshotFinalization = (typeof FinalizationRegistry === 'undefined')
6487
7043
  ? { register: () => {}, unregister: () => {} }
6488
7044
  : new FinalizationRegistry(ptr => wasm.__wbg_syncinginfosnapshot_free(ptr >>> 0, 1));
@@ -7422,6 +7978,11 @@ export class Vote {
7422
7978
  }
7423
7979
  }
7424
7980
 
7981
+ export function __wbg_BigInt_d53045318206d695(arg0) {
7982
+ const ret = BigInt(arg0);
7983
+ return ret;
7984
+ };
7985
+
7425
7986
  export function __wbg_Error_1f3748b298f99708(arg0, arg1) {
7426
7987
  const ret = Error(getStringFromWasm0(arg0, arg1));
7427
7988
  return ret;
@@ -7464,7 +8025,7 @@ export function __wbg_abort_496881624c2d80da() { return handleError(function (ar
7464
8025
  arg0.abort();
7465
8026
  }, arguments) };
7466
8027
 
7467
- export function __wbg_accountNumber_8a52b3ddaecb3ddf(arg0) {
8028
+ export function __wbg_accountNumber_9d138db46ccba58b(arg0) {
7468
8029
  const ret = arg0.accountNumber;
7469
8030
  return ret;
7470
8031
  };
@@ -7497,6 +8058,16 @@ export function __wbg_appversion_new(arg0) {
7497
8058
  return ret;
7498
8059
  };
7499
8060
 
8061
+ export function __wbg_asyncIterator_787398a275d49dae() {
8062
+ const ret = Symbol.asyncIterator;
8063
+ return ret;
8064
+ };
8065
+
8066
+ export function __wbg_asynciteratorimpl_new(arg0) {
8067
+ const ret = AsyncIteratorImpl.__wrap(arg0);
8068
+ return ret;
8069
+ };
8070
+
7500
8071
  export function __wbg_attribute_new(arg0) {
7501
8072
  const ret = Attribute.__wrap(arg0);
7502
8073
  return ret;
@@ -7507,7 +8078,7 @@ export function __wbg_attribute_unwrap(arg0) {
7507
8078
  return ret;
7508
8079
  };
7509
8080
 
7510
- export function __wbg_authInfoBytes_0a5d207619ad0422(arg0, arg1) {
8081
+ export function __wbg_authInfoBytes_d5d18df7df3dd78f(arg0, arg1) {
7511
8082
  const ret = arg1.authInfoBytes;
7512
8083
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
7513
8084
  const len1 = WASM_VECTOR_LEN;
@@ -7530,6 +8101,11 @@ export function __wbg_blobparams_new(arg0) {
7530
8101
  return ret;
7531
8102
  };
7532
8103
 
8104
+ export function __wbg_blobsatheight_new(arg0) {
8105
+ const ret = BlobsAtHeight.__wrap(arg0);
8106
+ return ret;
8107
+ };
8108
+
7533
8109
  export function __wbg_block_new(arg0) {
7534
8110
  const ret = Block.__wrap(arg0);
7535
8111
  return ret;
@@ -7545,7 +8121,7 @@ export function __wbg_blockrange_unwrap(arg0) {
7545
8121
  return ret;
7546
8122
  };
7547
8123
 
7548
- export function __wbg_bodyBytes_75efcd7cc8472ddf(arg0, arg1) {
8124
+ export function __wbg_bodyBytes_267cae7434ad15b7(arg0, arg1) {
7549
8125
  const ret = arg1.bodyBytes;
7550
8126
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
7551
8127
  const len1 = WASM_VECTOR_LEN;
@@ -7608,7 +8184,7 @@ export function __wbg_cause_94f62e1c92956ce2(arg0) {
7608
8184
  return ret;
7609
8185
  };
7610
8186
 
7611
- export function __wbg_chainId_2a4115c1298b59d8(arg0, arg1) {
8187
+ export function __wbg_chainId_7065cc4224ab6c80(arg0, arg1) {
7612
8188
  const ret = arg1.chainId;
7613
8189
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7614
8190
  const len1 = WASM_VECTOR_LEN;
@@ -7639,7 +8215,7 @@ export function __wbg_clearTimeout_96804de0ab838f26(arg0) {
7639
8215
  return ret;
7640
8216
  };
7641
8217
 
7642
- export function __wbg_clearTimeout_d270f24e5d43eaf7(arg0) {
8218
+ export function __wbg_clearTimeout_da6ef1364d77d96a(arg0) {
7643
8219
  clearTimeout(arg0);
7644
8220
  };
7645
8221
 
@@ -7656,7 +8232,7 @@ export function __wbg_close_62eb30084a8993bf() { return handleError(function (ar
7656
8232
  arg0.close(arg1, getStringFromWasm0(arg2, arg3));
7657
8233
  }, arguments) };
7658
8234
 
7659
- export function __wbg_close_7dcca1557b5bd08b(arg0) {
8235
+ export function __wbg_close_6f082e93cbded9b8(arg0) {
7660
8236
  arg0.close();
7661
8237
  };
7662
8238
 
@@ -7673,12 +8249,12 @@ export function __wbg_close_f602227805f17f95() { return handleError(function (ar
7673
8249
  arg0.close();
7674
8250
  }, arguments) };
7675
8251
 
7676
- export function __wbg_closed_2934f4ed093a9d95(arg0) {
8252
+ export function __wbg_closed_8b9d023c2484076c(arg0) {
7677
8253
  const ret = arg0.closed;
7678
8254
  return ret;
7679
8255
  };
7680
8256
 
7681
- export function __wbg_closed_8b9d023c2484076c(arg0) {
8257
+ export function __wbg_closed_964e107ead6defb4(arg0) {
7682
8258
  const ret = arg0.closed;
7683
8259
  return ret;
7684
8260
  };
@@ -7712,6 +8288,12 @@ export function __wbg_configresponse_new(arg0) {
7712
8288
  return ret;
7713
8289
  };
7714
8290
 
8291
+ export function __wbg_confirmationIntervalMs_ae2e8d04aba02b7e(arg0, arg1) {
8292
+ const ret = arg1.confirmationIntervalMs;
8293
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
8294
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8295
+ };
8296
+
7715
8297
  export function __wbg_continue_e37b78917b01b67f() { return handleError(function (arg0) {
7716
8298
  arg0.continue();
7717
8299
  }, arguments) };
@@ -7740,7 +8322,7 @@ export function __wbg_count_ee083e36b5119925() { return handleError(function (ar
7740
8322
  return ret;
7741
8323
  }, arguments) };
7742
8324
 
7743
- export function __wbg_createBidirectionalStream_2b56e05ee223119c(arg0) {
8325
+ export function __wbg_createBidirectionalStream_5eee908ceaaa9e36(arg0) {
7744
8326
  const ret = arg0.createBidirectionalStream();
7745
8327
  return ret;
7746
8328
  };
@@ -7843,13 +8425,13 @@ export function __wbg_extendedheader_unwrap(arg0) {
7843
8425
  return ret;
7844
8426
  };
7845
8427
 
7846
- export function __wbg_fetch_12e13d0511844bfd(arg0) {
7847
- const ret = fetch(arg0);
8428
+ export function __wbg_fetch_4fae101547df73b6(arg0, arg1, arg2) {
8429
+ const ret = arg0.fetch(arg1, arg2);
7848
8430
  return ret;
7849
8431
  };
7850
8432
 
7851
- export function __wbg_fetch_4fae101547df73b6(arg0, arg1, arg2) {
7852
- const ret = arg0.fetch(arg1, arg2);
8433
+ export function __wbg_fetch_9f29c3131fded422(arg0) {
8434
+ const ret = fetch(arg0);
7853
8435
  return ret;
7854
8436
  };
7855
8437
 
@@ -7863,13 +8445,13 @@ export function __wbg_from_237b1ad767238d8b(arg0) {
7863
8445
  return ret;
7864
8446
  };
7865
8447
 
7866
- export function __wbg_gasLimit_156da322edae975b(arg0, arg1) {
8448
+ export function __wbg_gasLimit_198ecb74b69f2122(arg0, arg1) {
7867
8449
  const ret = arg1.gasLimit;
7868
8450
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
7869
8451
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7870
8452
  };
7871
8453
 
7872
- export function __wbg_gasPrice_7ed979d29f5321b7(arg0, arg1) {
8454
+ export function __wbg_gasPrice_b1a4e82abff7dc4f(arg0, arg1) {
7873
8455
  const ret = arg1.gasPrice;
7874
8456
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7875
8457
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
@@ -7991,6 +8573,14 @@ export function __wbg_has_85abdd8aeb8edebf() { return handleError(function (arg0
7991
8573
  return ret;
7992
8574
  }, arguments) };
7993
8575
 
8576
+ export function __wbg_hash_a7f2410ab226cfb8(arg0, arg1) {
8577
+ const ret = arg1.hash;
8578
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8579
+ const len1 = WASM_VECTOR_LEN;
8580
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8581
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8582
+ };
8583
+
7994
8584
  export function __wbg_headers_177bc880a5823968(arg0) {
7995
8585
  const ret = arg0.headers;
7996
8586
  return ret;
@@ -8001,7 +8591,7 @@ export function __wbg_headers_391e2f64884c873b(arg0) {
8001
8591
  return ret;
8002
8592
  };
8003
8593
 
8004
- export function __wbg_incomingBidirectionalStreams_ed7915830e8f8998(arg0) {
8594
+ export function __wbg_incomingBidirectionalStreams_6ba630fafda86b63(arg0) {
8005
8595
  const ret = arg0.incomingBidirectionalStreams;
8006
8596
  return ret;
8007
8597
  };
@@ -8196,7 +8786,7 @@ export function __wbg_instanceof_Uint8Array_91f3c5adee7e6672(arg0) {
8196
8786
  return ret;
8197
8787
  };
8198
8788
 
8199
- export function __wbg_instanceof_WebTransportBidirectionalStream_65ff63c49f91f97a(arg0) {
8789
+ export function __wbg_instanceof_WebTransportBidirectionalStream_2a24a578d4c55677(arg0) {
8200
8790
  let result;
8201
8791
  try {
8202
8792
  result = arg0 instanceof WebTransportBidirectionalStream;
@@ -8238,6 +8828,11 @@ export function __wbg_iterator_96378c3c9a17347c() {
8238
8828
  return ret;
8239
8829
  };
8240
8830
 
8831
+ export function __wbg_iteratorresultobject_new(arg0) {
8832
+ const ret = IteratorResultObject.__wrap(arg0);
8833
+ return ret;
8834
+ };
8835
+
8241
8836
  export function __wbg_jsevent_new(arg0) {
8242
8837
  const ret = JsEvent.__wrap(arg0);
8243
8838
  return ret;
@@ -8293,7 +8888,7 @@ export function __wbg_length_904c0910ed998bf3(arg0) {
8293
8888
  return ret;
8294
8889
  };
8295
8890
 
8296
- export function __wbg_memo_aceadb714ed9785c(arg0, arg1) {
8891
+ export function __wbg_memo_1a7cca7ae0e4856b(arg0, arg1) {
8297
8892
  const ret = arg1.memo;
8298
8893
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8299
8894
  var len1 = WASM_VECTOR_LEN;
@@ -8361,6 +8956,16 @@ export function __wbg_new_56407f99198feff7() {
8361
8956
  return ret;
8362
8957
  };
8363
8958
 
8959
+ export function __wbg_new_6c91424bc2a93552() { return handleError(function (arg0, arg1) {
8960
+ const ret = new WebTransport(getStringFromWasm0(arg0, arg1));
8961
+ return ret;
8962
+ }, arguments) };
8963
+
8964
+ export function __wbg_new_700f5e18c06513d6() { return handleError(function () {
8965
+ const ret = new MessageChannel();
8966
+ return ret;
8967
+ }, arguments) };
8968
+
8364
8969
  export function __wbg_new_8a6f238a6ece86ea() {
8365
8970
  const ret = new Error();
8366
8971
  return ret;
@@ -8383,7 +8988,7 @@ export function __wbg_new_d5e3800b120e37e1(arg0, arg1) {
8383
8988
  const a = state0.a;
8384
8989
  state0.a = 0;
8385
8990
  try {
8386
- return __wbg_adapter_982(a, state0.b, arg0, arg1);
8991
+ return __wbg_adapter_940(a, state0.b, arg0, arg1);
8387
8992
  } finally {
8388
8993
  state0.a = a;
8389
8994
  }
@@ -8395,11 +9000,6 @@ export function __wbg_new_d5e3800b120e37e1(arg0, arg1) {
8395
9000
  }
8396
9001
  };
8397
9002
 
8398
- export function __wbg_new_d85e20a34917132b() { return handleError(function (arg0, arg1) {
8399
- const ret = new WebTransport(getStringFromWasm0(arg0, arg1));
8400
- return ret;
8401
- }, arguments) };
8402
-
8403
9003
  export function __wbg_new_e969dc3f68d25093() {
8404
9004
  const ret = new Array();
8405
9005
  return ret;
@@ -8435,7 +9035,7 @@ export function __wbg_newwithlength_ed0ee6c1edca86fc(arg0) {
8435
9035
  return ret;
8436
9036
  };
8437
9037
 
8438
- export function __wbg_newwithoptions_1ba541b69f220543() { return handleError(function (arg0, arg1, arg2) {
9038
+ export function __wbg_newwithoptions_54c812898eb97a22() { return handleError(function (arg0, arg1, arg2) {
8439
9039
  const ret = new WebTransport(getStringFromWasm0(arg0, arg1), arg2);
8440
9040
  return ret;
8441
9041
  }, arguments) };
@@ -8540,6 +9140,16 @@ export function __wbg_persist_1bb8fe4abf4a1238() { return handleError(function (
8540
9140
  return ret;
8541
9141
  }, arguments) };
8542
9142
 
9143
+ export function __wbg_port1_0618b5fb086e0c75(arg0) {
9144
+ const ret = arg0.port1;
9145
+ return ret;
9146
+ };
9147
+
9148
+ export function __wbg_port2_11f233fda4932fc1(arg0) {
9149
+ const ret = arg0.port2;
9150
+ return ret;
9151
+ };
9152
+
8543
9153
  export function __wbg_ports_9c55c10a9e47462c(arg0) {
8544
9154
  const ret = arg0.ports;
8545
9155
  return ret;
@@ -8549,15 +9159,15 @@ export function __wbg_postMessage_3b4fb1cda6756bf0() { return handleError(functi
8549
9159
  arg0.postMessage(arg1);
8550
9160
  }, arguments) };
8551
9161
 
8552
- export function __wbg_postMessage_b9234f931da7f86a() { return handleError(function (arg0, arg1, arg2) {
9162
+ export function __wbg_postMessage_bd6fec4cca5d44ca() { return handleError(function (arg0, arg1, arg2) {
8553
9163
  arg0.postMessage(arg1, arg2);
8554
9164
  }, arguments) };
8555
9165
 
8556
- export function __wbg_postMessage_ecb1e9ee54a5b2f1() { return handleError(function (arg0, arg1) {
9166
+ export function __wbg_postMessage_f0db914571dc174c() { return handleError(function (arg0, arg1) {
8557
9167
  arg0.postMessage(arg1);
8558
9168
  }, arguments) };
8559
9169
 
8560
- export function __wbg_priority_1990e2825970b82f(arg0) {
9170
+ export function __wbg_priority_4fc34487ba5d9527(arg0) {
8561
9171
  const ret = arg0.priority;
8562
9172
  return isLikeNone(ret) ? 0 : ret;
8563
9173
  };
@@ -8619,7 +9229,7 @@ export function __wbg_read_dc3d89b58ce2ae65(arg0) {
8619
9229
  return ret;
8620
9230
  };
8621
9231
 
8622
- export function __wbg_readable_e39b6396dce1aa98(arg0) {
9232
+ export function __wbg_readable_0e549655ea988517(arg0) {
8623
9233
  const ret = arg0.readable;
8624
9234
  return ret;
8625
9235
  };
@@ -8634,7 +9244,7 @@ export function __wbg_ready_a624cdffdc1b39dc(arg0) {
8634
9244
  return ret;
8635
9245
  };
8636
9246
 
8637
- export function __wbg_ready_a8d2b97e1fe33dcb(arg0) {
9247
+ export function __wbg_ready_cc3fb68899282d02(arg0) {
8638
9248
  const ret = arg0.ready;
8639
9249
  return ret;
8640
9250
  };
@@ -8643,7 +9253,7 @@ export function __wbg_releaseLock_fbec365467db2e6c(arg0) {
8643
9253
  arg0.releaseLock();
8644
9254
  };
8645
9255
 
8646
- export function __wbg_request_3be0f0335cc6a465(arg0, arg1, arg2, arg3, arg4) {
9256
+ export function __wbg_request_a20dac777125710d(arg0, arg1, arg2, arg3, arg4) {
8647
9257
  const ret = arg0.request(getStringFromWasm0(arg1, arg2), arg3, arg4);
8648
9258
  return ret;
8649
9259
  };
@@ -8681,6 +9291,11 @@ export function __wbg_send_f0af552dcc5d8183() { return handleError(function (arg
8681
9291
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
8682
9292
  }, arguments) };
8683
9293
 
9294
+ export function __wbg_sequence_e16d8729ed1b43aa(arg0) {
9295
+ const ret = arg0.sequence;
9296
+ return ret;
9297
+ };
9298
+
8684
9299
  export function __wbg_setInterval_a708e6782af78d02() { return handleError(function (arg0, arg1, arg2, arg3) {
8685
9300
  const ret = arg0.setInterval(arg1, arg2, ...arg3);
8686
9301
  return ret;
@@ -8696,7 +9311,7 @@ export function __wbg_setInterval_ed3b5e3c3ebb8a6d() { return handleError(functi
8696
9311
  return ret;
8697
9312
  }, arguments) };
8698
9313
 
8699
- export function __wbg_setTimeout_c19d61d90c66d11f(arg0, arg1) {
9314
+ export function __wbg_setTimeout_8d0ca6852dbf5ded(arg0, arg1) {
8700
9315
  const ret = setTimeout(arg0, arg1 >>> 0);
8701
9316
  return ret;
8702
9317
  };
@@ -8845,6 +9460,21 @@ export function __wbg_setunique_bccba0d1ccd21f16(arg0, arg1) {
8845
9460
  arg0.unique = arg1 !== 0;
8846
9461
  };
8847
9462
 
9463
+ export function __wbg_share_new(arg0) {
9464
+ const ret = Share.__wrap(arg0);
9465
+ return ret;
9466
+ };
9467
+
9468
+ export function __wbg_share_unwrap(arg0) {
9469
+ const ret = Share.__unwrap(arg0);
9470
+ return ret;
9471
+ };
9472
+
9473
+ export function __wbg_sharesatheight_new(arg0) {
9474
+ const ret = SharesAtHeight.__wrap(arg0);
9475
+ return ret;
9476
+ };
9477
+
8848
9478
  export function __wbg_signature_new(arg0) {
8849
9479
  const ret = Signature.__wrap(arg0);
8850
9480
  return ret;
@@ -8923,6 +9553,11 @@ export function __wbg_subarray_a219824899e59712(arg0, arg1, arg2) {
8923
9553
  return ret;
8924
9554
  };
8925
9555
 
9556
+ export function __wbg_subscriptionerror_new(arg0) {
9557
+ const ret = SubscriptionError.__wrap(arg0);
9558
+ return ret;
9559
+ };
9560
+
8926
9561
  export function __wbg_syncinginfosnapshot_new(arg0) {
8927
9562
  const ret = SyncingInfoSnapshot.__wrap(arg0);
8928
9563
  return ret;
@@ -8953,6 +9588,14 @@ export function __wbg_toString_1588a16751ba3f70(arg0) {
8953
9588
  return ret;
8954
9589
  };
8955
9590
 
9591
+ export function __wbg_toString_22c84ec5b4e33ea4(arg0, arg1, arg2) {
9592
+ const ret = arg1.toString(arg2);
9593
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
9594
+ const len1 = WASM_VECTOR_LEN;
9595
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
9596
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
9597
+ };
9598
+
8956
9599
  export function __wbg_transaction_8267254fd462a1bb(arg0) {
8957
9600
  const ret = arg0.transaction;
8958
9601
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -8963,6 +9606,14 @@ export function __wbg_transaction_fca796495943f7a5() { return handleError(functi
8963
9606
  return ret;
8964
9607
  }, arguments) };
8965
9608
 
9609
+ export function __wbg_tx_6840cd625a002054(arg0, arg1) {
9610
+ const ret = arg1.tx;
9611
+ const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
9612
+ const len1 = WASM_VECTOR_LEN;
9613
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
9614
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
9615
+ };
9616
+
8966
9617
  export function __wbg_txresponse_new(arg0) {
8967
9618
  const ret = TxResponse.__wrap(arg0);
8968
9619
  return ret;
@@ -8973,7 +9624,7 @@ export function __wbg_txstatusresponse_new(arg0) {
8973
9624
  return ret;
8974
9625
  };
8975
9626
 
8976
- export function __wbg_typeUrl_3684fcca6ad58882(arg0, arg1) {
9627
+ export function __wbg_typeUrl_bbf5e338ffafa1f5(arg0, arg1) {
8977
9628
  const ret = arg1.typeUrl;
8978
9629
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8979
9630
  const len1 = WASM_VECTOR_LEN;
@@ -9007,7 +9658,12 @@ export function __wbg_value_09d0b4eaab48b91d(arg0) {
9007
9658
  return ret;
9008
9659
  };
9009
9660
 
9010
- export function __wbg_value_1c415f2db45fc801(arg0, arg1) {
9661
+ export function __wbg_value_3e45d77a58bc804d() { return handleError(function (arg0) {
9662
+ const ret = arg0.value;
9663
+ return ret;
9664
+ }, arguments) };
9665
+
9666
+ export function __wbg_value_8de2f60a65cbe03b(arg0, arg1) {
9011
9667
  const ret = arg1.value;
9012
9668
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
9013
9669
  const len1 = WASM_VECTOR_LEN;
@@ -9015,11 +9671,6 @@ export function __wbg_value_1c415f2db45fc801(arg0, arg1) {
9015
9671
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
9016
9672
  };
9017
9673
 
9018
- export function __wbg_value_3e45d77a58bc804d() { return handleError(function (arg0) {
9019
- const ret = arg0.value;
9020
- return ret;
9021
- }, arguments) };
9022
-
9023
9674
  export function __wbg_versions_c01dfd4722a88165(arg0) {
9024
9675
  const ret = arg0.versions;
9025
9676
  return ret;
@@ -9116,6 +9767,16 @@ export function __wbg_wbindgenjsvallooseeq_9dd7bb4b95ac195c(arg0, arg1) {
9116
9767
  return ret;
9117
9768
  };
9118
9769
 
9770
+ export function __wbg_wbindgenlt_ab7deb4a53ea1252(arg0, arg1) {
9771
+ const ret = arg0 < arg1;
9772
+ return ret;
9773
+ };
9774
+
9775
+ export function __wbg_wbindgenneg_32dfec7df2a39998(arg0) {
9776
+ const ret = -arg0;
9777
+ return ret;
9778
+ };
9779
+
9119
9780
  export function __wbg_wbindgennumberget_d855f947247a3fbc(arg0, arg1) {
9120
9781
  const obj = arg1;
9121
9782
  const ret = typeof(obj) === 'number' ? obj : undefined;
@@ -9141,7 +9802,7 @@ export function __wbg_wbindgentypeof_7219206940ac0898(arg0) {
9141
9802
  return ret;
9142
9803
  };
9143
9804
 
9144
- export function __wbg_writable_4f9d2cae62a7c0cb(arg0) {
9805
+ export function __wbg_writable_64e3474e78cea2a6(arg0) {
9145
9806
  const ret = arg0.writable;
9146
9807
  return ret;
9147
9808
  };
@@ -9151,9 +9812,9 @@ export function __wbg_write_39d7c51f917777a5(arg0, arg1) {
9151
9812
  return ret;
9152
9813
  };
9153
9814
 
9154
- export function __wbindgen_cast_0d71f2ff3d5df848(arg0, arg1) {
9155
- // Cast intrinsic for `Closure(Closure { dtor_idx: 2886, function: Function { arguments: [], shim_idx: 2887, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9156
- const ret = makeMutClosure(arg0, arg1, 2886, __wbg_adapter_13);
9815
+ export function __wbindgen_cast_0ad05dcdf8dc1eb5(arg0, arg1) {
9816
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 306, function: Function { arguments: [Externref], shim_idx: 307, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: true }) -> Externref`.
9817
+ const ret = makeMutClosure(arg0, arg1, 306, __wbg_adapter_46);
9157
9818
  return ret;
9158
9819
  };
9159
9820
 
@@ -9165,27 +9826,15 @@ export function __wbindgen_cast_13f728beb3308701(arg0, arg1) {
9165
9826
  return ret;
9166
9827
  };
9167
9828
 
9168
- export function __wbindgen_cast_1549fdb98e982686(arg0, arg1) {
9169
- // Cast intrinsic for `Closure(Closure { dtor_idx: 669, function: Function { arguments: [Externref], shim_idx: 675, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: true }) -> Externref`.
9170
- const ret = makeMutClosure(arg0, arg1, 669, __wbg_adapter_38);
9171
- return ret;
9172
- };
9173
-
9174
9829
  export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
9175
9830
  // Cast intrinsic for `Ref(String) -> Externref`.
9176
9831
  const ret = getStringFromWasm0(arg0, arg1);
9177
9832
  return ret;
9178
9833
  };
9179
9834
 
9180
- export function __wbindgen_cast_2d3f4f6921336305(arg0, arg1) {
9181
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1784, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1785, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9182
- const ret = makeMutClosure(arg0, arg1, 1784, __wbg_adapter_8);
9183
- return ret;
9184
- };
9185
-
9186
- export function __wbindgen_cast_439df55617f52063(arg0, arg1) {
9187
- // Cast intrinsic for `Closure(Closure { dtor_idx: 669, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 673, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
9188
- const ret = makeClosure(arg0, arg1, 669, __wbg_adapter_47);
9835
+ export function __wbindgen_cast_2c29d0aeae5615d0(arg0, arg1) {
9836
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2968, function: Function { arguments: [], shim_idx: 2969, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9837
+ const ret = makeMutClosure(arg0, arg1, 2968, __wbg_adapter_30);
9189
9838
  return ret;
9190
9839
  };
9191
9840
 
@@ -9195,15 +9844,9 @@ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
9195
9844
  return ret;
9196
9845
  };
9197
9846
 
9198
- export function __wbindgen_cast_5ce2b55b30716d02(arg0, arg1) {
9199
- // Cast intrinsic for `Closure(Closure { dtor_idx: 2976, function: Function { arguments: [NamedExternref("Event")], shim_idx: 2977, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9200
- const ret = makeMutClosure(arg0, arg1, 2976, __wbg_adapter_16);
9201
- return ret;
9202
- };
9203
-
9204
- export function __wbindgen_cast_6fcc2e550fb2fc08(arg0, arg1) {
9205
- // Cast intrinsic for `Closure(Closure { dtor_idx: 2874, function: Function { arguments: [Externref], shim_idx: 2875, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9206
- const ret = makeMutClosure(arg0, arg1, 2874, __wbg_adapter_33);
9847
+ export function __wbindgen_cast_6cd56ce0d54f9444(arg0, arg1) {
9848
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 306, function: Function { arguments: [], shim_idx: 315, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: true }) -> Externref`.
9849
+ const ret = makeMutClosure(arg0, arg1, 306, __wbg_adapter_43);
9207
9850
  return ret;
9208
9851
  };
9209
9852
 
@@ -9215,9 +9858,9 @@ export function __wbindgen_cast_76a0f6231a633ad2(arg0, arg1) {
9215
9858
  return ret;
9216
9859
  };
9217
9860
 
9218
- export function __wbindgen_cast_84b488785ba1336b(arg0, arg1) {
9219
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1784, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1785, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9220
- const ret = makeMutClosure(arg0, arg1, 1784, __wbg_adapter_8);
9861
+ export function __wbindgen_cast_77757a1699ba67b8(arg0, arg1) {
9862
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2440, function: Function { arguments: [], shim_idx: 2441, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9863
+ const ret = makeMutClosure(arg0, arg1, 2440, __wbg_adapter_40);
9221
9864
  return ret;
9222
9865
  };
9223
9866
 
@@ -9235,15 +9878,9 @@ export function __wbindgen_cast_9ae0607507abb057(arg0) {
9235
9878
  return ret;
9236
9879
  };
9237
9880
 
9238
- export function __wbindgen_cast_b48b6bd0973f59e2(arg0, arg1) {
9239
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1784, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1785, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9240
- const ret = makeMutClosure(arg0, arg1, 1784, __wbg_adapter_8);
9241
- return ret;
9242
- };
9243
-
9244
- export function __wbindgen_cast_b56f0f95b6de8085(arg0, arg1) {
9245
- // Cast intrinsic for `Closure(Closure { dtor_idx: 2337, function: Function { arguments: [], shim_idx: 2338, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9246
- const ret = makeMutClosure(arg0, arg1, 2337, __wbg_adapter_19);
9881
+ export function __wbindgen_cast_9b6b26b5fbba97fd(arg0, arg1) {
9882
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 306, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 310, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
9883
+ const ret = makeClosure(arg0, arg1, 306, __wbg_adapter_14);
9247
9884
  return ret;
9248
9885
  };
9249
9886
 
@@ -9253,9 +9890,15 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
9253
9890
  return ret;
9254
9891
  };
9255
9892
 
9256
- export function __wbindgen_cast_cdc847d25519f930(arg0, arg1) {
9257
- // Cast intrinsic for `Closure(Closure { dtor_idx: 669, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 670, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9258
- const ret = makeMutClosure(arg0, arg1, 669, __wbg_adapter_28);
9893
+ export function __wbindgen_cast_cdc64781f7100c34(arg0, arg1) {
9894
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1890, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1891, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9895
+ const ret = makeMutClosure(arg0, arg1, 1890, __wbg_adapter_6);
9896
+ return ret;
9897
+ };
9898
+
9899
+ export function __wbindgen_cast_d3f3f7964669a6d0(arg0, arg1) {
9900
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2956, function: Function { arguments: [Externref], shim_idx: 2957, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9901
+ const ret = makeMutClosure(arg0, arg1, 2956, __wbg_adapter_21);
9259
9902
  return ret;
9260
9903
  };
9261
9904
 
@@ -9273,6 +9916,30 @@ export function __wbindgen_cast_da0d185114cf54d4(arg0, arg1) {
9273
9916
  return ret;
9274
9917
  };
9275
9918
 
9919
+ export function __wbindgen_cast_db83940a556ba978(arg0, arg1) {
9920
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1890, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1891, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9921
+ const ret = makeMutClosure(arg0, arg1, 1890, __wbg_adapter_6);
9922
+ return ret;
9923
+ };
9924
+
9925
+ export function __wbindgen_cast_ddd257bc9e82741f(arg0, arg1) {
9926
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1890, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1891, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9927
+ const ret = makeMutClosure(arg0, arg1, 1890, __wbg_adapter_6);
9928
+ return ret;
9929
+ };
9930
+
9931
+ export function __wbindgen_cast_e24e19aef8faa4ab(arg0, arg1) {
9932
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 306, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 313, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9933
+ const ret = makeMutClosure(arg0, arg1, 306, __wbg_adapter_9);
9934
+ return ret;
9935
+ };
9936
+
9937
+ export function __wbindgen_cast_e9e0859ab60bf536(arg0, arg1) {
9938
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 3064, function: Function { arguments: [NamedExternref("Event")], shim_idx: 3065, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9939
+ const ret = makeMutClosure(arg0, arg1, 3064, __wbg_adapter_33);
9940
+ return ret;
9941
+ };
9942
+
9276
9943
  export function __wbindgen_init_externref_table() {
9277
9944
  const table = wasm.__wbindgen_export_4;
9278
9945
  const offset = table.grow(4);