@laboverwire/stitch-wasm 0.5.0 → 0.5.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
@@ -83,9 +83,7 @@ wasm-pack build crates/stitch-wasm # produces pkg/
83
83
  wasm-pack test --headless --chrome crates/stitch-wasm # in-browser smoke test
84
84
  ```
85
85
 
86
- The headless suite cannot host a broker, so it asserts the wasm client builds
87
- and fails gracefully when the broker is unreachable; the native broker-backed
88
- `stitch-sync` tests cover the sync engine itself.
86
+ The headless suite asserts the wasm client builds and fails gracefully when the broker is unreachable. When `STITCH_WASM_BROKER_URL` is set at build time (for example `ws://127.0.0.1:8083/mqtt` against mqdb started with `--ws-bind` and a `testuser`/`testpass` password file), it also syncs a child create to that live broker. The native broker-backed `stitch-sync` tests cover the rest of the sync engine.
89
87
 
90
88
  ## License
91
89
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "LabOverWire"
6
6
  ],
7
7
  "description": "Browser (wasm-bindgen) bindings for the stitch reactive state-sync store.",
8
- "version": "0.5.0",
8
+ "version": "0.5.1",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",
package/stitch_wasm.d.ts CHANGED
@@ -25,6 +25,22 @@ export class ConnectOptions {
25
25
  set requestProblemInformation(value: boolean | null | undefined);
26
26
  get requestResponseInformation(): boolean | undefined;
27
27
  set requestResponseInformation(value: boolean | null | undefined);
28
+ /**
29
+ * Accept `Session Present = 1` on a client that holds no local session state.
30
+ *
31
+ * By default a client that has not yet established a session in this instance
32
+ * rejects a CONNACK with Session Present set to 1, sends DISCONNECT 0x82 and closes
33
+ * the connection (MQTT-3.2.2-4). Set this to `true` (together with
34
+ * `cleanStart = false`) to deliberately resume a session the broker still holds,
35
+ * for example after a page reload or crash. The client has nothing to resend in
36
+ * that case; the broker resumes delivery of the messages it holds. A CONNACK with
37
+ * Session Present set to 1 in reply to `cleanStart = true` is always rejected.
38
+ *
39
+ * The broker only keeps a session to resume if the previous connection set a non-zero
40
+ * `sessionExpiryInterval`: under MQTT v5 an absent value means 0, so the session ends
41
+ * when the connection closes.
42
+ */
43
+ resumeExistingSession: boolean;
28
44
  get sessionExpiryInterval(): number | undefined;
29
45
  set sessionExpiryInterval(value: number | null | undefined);
30
46
  set authenticationData(value: Uint8Array);
@@ -367,7 +383,7 @@ export class MqttClient {
367
383
  * # Errors
368
384
  * Returns an error if not connected or publish fails.
369
385
  */
370
- publishWithOptions(topic: string, payload: Uint8Array, options: PublishOptions): Promise<void>;
386
+ publishWithOptions(topic: string, payload: Uint8Array, options: PublishOptions): Promise<number>;
371
387
  /**
372
388
  * # Errors
373
389
  * Returns an error if no auth method is set or send fails.
package/stitch_wasm_bg.js CHANGED
@@ -32,7 +32,7 @@ export class ConnectOptions {
32
32
  * @returns {string | undefined}
33
33
  */
34
34
  get authenticationMethod() {
35
- const ret = wasm.connectoptions_authenticationMethod(this.__wbg_ptr);
35
+ const ret = wasm.connectoptions_authentication_method(this.__wbg_ptr);
36
36
  let v1;
37
37
  if (ret[0] !== 0) {
38
38
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -44,7 +44,7 @@ export class ConnectOptions {
44
44
  * @returns {boolean}
45
45
  */
46
46
  get cleanStart() {
47
- const ret = wasm.connectoptions_cleanStart(this.__wbg_ptr);
47
+ const ret = wasm.connectoptions_clean_start(this.__wbg_ptr);
48
48
  return ret !== 0;
49
49
  }
50
50
  clearBackupUrls() {
@@ -69,14 +69,14 @@ export class ConnectOptions {
69
69
  * @returns {number}
70
70
  */
71
71
  get keepAlive() {
72
- const ret = wasm.connectoptions_keepAlive(this.__wbg_ptr);
72
+ const ret = wasm.connectoptions_keep_alive(this.__wbg_ptr);
73
73
  return ret;
74
74
  }
75
75
  /**
76
76
  * @returns {number | undefined}
77
77
  */
78
78
  get maximumPacketSize() {
79
- const ret = wasm.connectoptions_maximumPacketSize(this.__wbg_ptr);
79
+ const ret = wasm.connectoptions_maximum_packet_size(this.__wbg_ptr);
80
80
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
81
81
  }
82
82
  constructor() {
@@ -89,35 +89,55 @@ export class ConnectOptions {
89
89
  * @returns {number}
90
90
  */
91
91
  get protocolVersion() {
92
- const ret = wasm.connectoptions_protocolVersion(this.__wbg_ptr);
92
+ const ret = wasm.connectoptions_protocol_version(this.__wbg_ptr);
93
93
  return ret;
94
94
  }
95
95
  /**
96
96
  * @returns {number | undefined}
97
97
  */
98
98
  get receiveMaximum() {
99
- const ret = wasm.connectoptions_receiveMaximum(this.__wbg_ptr);
99
+ const ret = wasm.connectoptions_receive_maximum(this.__wbg_ptr);
100
100
  return ret === 0xFFFFFF ? undefined : ret;
101
101
  }
102
102
  /**
103
103
  * @returns {boolean | undefined}
104
104
  */
105
105
  get requestProblemInformation() {
106
- const ret = wasm.connectoptions_requestProblemInformation(this.__wbg_ptr);
106
+ const ret = wasm.connectoptions_request_problem_information(this.__wbg_ptr);
107
107
  return ret === 0xFFFFFF ? undefined : ret !== 0;
108
108
  }
109
109
  /**
110
110
  * @returns {boolean | undefined}
111
111
  */
112
112
  get requestResponseInformation() {
113
- const ret = wasm.connectoptions_requestResponseInformation(this.__wbg_ptr);
113
+ const ret = wasm.connectoptions_request_response_information(this.__wbg_ptr);
114
114
  return ret === 0xFFFFFF ? undefined : ret !== 0;
115
115
  }
116
+ /**
117
+ * Accept `Session Present = 1` on a client that holds no local session state.
118
+ *
119
+ * By default a client that has not yet established a session in this instance
120
+ * rejects a CONNACK with Session Present set to 1, sends DISCONNECT 0x82 and closes
121
+ * the connection (MQTT-3.2.2-4). Set this to `true` (together with
122
+ * `cleanStart = false`) to deliberately resume a session the broker still holds,
123
+ * for example after a page reload or crash. The client has nothing to resend in
124
+ * that case; the broker resumes delivery of the messages it holds. A CONNACK with
125
+ * Session Present set to 1 in reply to `cleanStart = true` is always rejected.
126
+ *
127
+ * The broker only keeps a session to resume if the previous connection set a non-zero
128
+ * `sessionExpiryInterval`: under MQTT v5 an absent value means 0, so the session ends
129
+ * when the connection closes.
130
+ * @returns {boolean}
131
+ */
132
+ get resumeExistingSession() {
133
+ const ret = wasm.connectoptions_resume_existing_session(this.__wbg_ptr);
134
+ return ret !== 0;
135
+ }
116
136
  /**
117
137
  * @returns {number | undefined}
118
138
  */
119
139
  get sessionExpiryInterval() {
120
- const ret = wasm.connectoptions_sessionExpiryInterval(this.__wbg_ptr);
140
+ const ret = wasm.connectoptions_session_expiry_interval(this.__wbg_ptr);
121
141
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
122
142
  }
123
143
  /**
@@ -134,7 +154,7 @@ export class ConnectOptions {
134
154
  set authenticationData(value) {
135
155
  const ptr0 = passArray8ToWasm0(value, wasm.__wbindgen_malloc);
136
156
  const len0 = WASM_VECTOR_LEN;
137
- wasm.connectoptions_set_authenticationData(this.__wbg_ptr, ptr0, len0);
157
+ wasm.connectoptions_set_authentication_data(this.__wbg_ptr, ptr0, len0);
138
158
  }
139
159
  /**
140
160
  * @param {string | null} [value]
@@ -142,25 +162,25 @@ export class ConnectOptions {
142
162
  set authenticationMethod(value) {
143
163
  var ptr0 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
144
164
  var len0 = WASM_VECTOR_LEN;
145
- wasm.connectoptions_set_authenticationMethod(this.__wbg_ptr, ptr0, len0);
165
+ wasm.connectoptions_set_authentication_method(this.__wbg_ptr, ptr0, len0);
146
166
  }
147
167
  /**
148
168
  * @param {boolean} value
149
169
  */
150
170
  set cleanStart(value) {
151
- wasm.connectoptions_set_cleanStart(this.__wbg_ptr, value);
171
+ wasm.connectoptions_set_clean_start(this.__wbg_ptr, value);
152
172
  }
153
173
  /**
154
174
  * @param {number} value
155
175
  */
156
176
  set keepAlive(value) {
157
- wasm.connectoptions_set_keepAlive(this.__wbg_ptr, value);
177
+ wasm.connectoptions_set_keep_alive(this.__wbg_ptr, value);
158
178
  }
159
179
  /**
160
180
  * @param {number | null} [value]
161
181
  */
162
182
  set maximumPacketSize(value) {
163
- wasm.connectoptions_set_maximumPacketSize(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
183
+ wasm.connectoptions_set_maximum_packet_size(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
164
184
  }
165
185
  /**
166
186
  * @param {Uint8Array} value
@@ -174,37 +194,44 @@ export class ConnectOptions {
174
194
  * @param {number} value
175
195
  */
176
196
  set protocolVersion(value) {
177
- wasm.connectoptions_set_protocolVersion(this.__wbg_ptr, value);
197
+ wasm.connectoptions_set_protocol_version(this.__wbg_ptr, value);
178
198
  }
179
199
  /**
180
200
  * @param {number | null} [value]
181
201
  */
182
202
  set receiveMaximum(value) {
183
- wasm.connectoptions_set_receiveMaximum(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value);
203
+ wasm.connectoptions_set_receive_maximum(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value);
184
204
  }
185
205
  /**
186
206
  * @param {boolean | null} [value]
187
207
  */
188
208
  set requestProblemInformation(value) {
189
- wasm.connectoptions_set_requestProblemInformation(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
209
+ wasm.connectoptions_set_request_problem_information(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
190
210
  }
191
211
  /**
192
212
  * @param {boolean | null} [value]
193
213
  */
194
214
  set requestResponseInformation(value) {
195
- wasm.connectoptions_set_requestResponseInformation(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
215
+ wasm.connectoptions_set_request_response_information(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
216
+ }
217
+ /**
218
+ * Sets [`Self::resume_existing_session`].
219
+ * @param {boolean} value
220
+ */
221
+ set resumeExistingSession(value) {
222
+ wasm.connectoptions_set_resume_existing_session(this.__wbg_ptr, value);
196
223
  }
197
224
  /**
198
225
  * @param {number | null} [value]
199
226
  */
200
227
  set sessionExpiryInterval(value) {
201
- wasm.connectoptions_set_sessionExpiryInterval(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
228
+ wasm.connectoptions_set_session_expiry_interval(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
202
229
  }
203
230
  /**
204
231
  * @param {number | null} [value]
205
232
  */
206
233
  set topicAliasMaximum(value) {
207
- wasm.connectoptions_set_topicAliasMaximum(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value);
234
+ wasm.connectoptions_set_topic_alias_maximum(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value);
208
235
  }
209
236
  /**
210
237
  * @param {string | null} [value]
@@ -218,7 +245,7 @@ export class ConnectOptions {
218
245
  * @returns {number | undefined}
219
246
  */
220
247
  get topicAliasMaximum() {
221
- const ret = wasm.connectoptions_topicAliasMaximum(this.__wbg_ptr);
248
+ const ret = wasm.connectoptions_topic_alias_maximum(this.__wbg_ptr);
222
249
  return ret === 0xFFFFFF ? undefined : ret;
223
250
  }
224
251
  /**
@@ -1037,7 +1064,7 @@ export class MessageProperties {
1037
1064
  * @returns {string | undefined}
1038
1065
  */
1039
1066
  get contentType() {
1040
- const ret = wasm.messageproperties_contentType(this.__wbg_ptr);
1067
+ const ret = wasm.messageproperties_content_type(this.__wbg_ptr);
1041
1068
  let v1;
1042
1069
  if (ret[0] !== 0) {
1043
1070
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -1049,7 +1076,7 @@ export class MessageProperties {
1049
1076
  * @returns {Uint8Array | undefined}
1050
1077
  */
1051
1078
  get correlationData() {
1052
- const ret = wasm.messageproperties_correlationData(this.__wbg_ptr);
1079
+ const ret = wasm.messageproperties_correlation_data(this.__wbg_ptr);
1053
1080
  let v1;
1054
1081
  if (ret[0] !== 0) {
1055
1082
  v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
@@ -1068,21 +1095,21 @@ export class MessageProperties {
1068
1095
  * @returns {number | undefined}
1069
1096
  */
1070
1097
  get messageExpiryInterval() {
1071
- const ret = wasm.messageproperties_messageExpiryInterval(this.__wbg_ptr);
1098
+ const ret = wasm.messageproperties_message_expiry_interval(this.__wbg_ptr);
1072
1099
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
1073
1100
  }
1074
1101
  /**
1075
1102
  * @returns {boolean | undefined}
1076
1103
  */
1077
1104
  get payloadFormatIndicator() {
1078
- const ret = wasm.messageproperties_payloadFormatIndicator(this.__wbg_ptr);
1105
+ const ret = wasm.messageproperties_payload_format_indicator(this.__wbg_ptr);
1079
1106
  return ret === 0xFFFFFF ? undefined : ret !== 0;
1080
1107
  }
1081
1108
  /**
1082
1109
  * @returns {string | undefined}
1083
1110
  */
1084
1111
  get responseTopic() {
1085
- const ret = wasm.messageproperties_responseTopic(this.__wbg_ptr);
1112
+ const ret = wasm.messageproperties_response_topic(this.__wbg_ptr);
1086
1113
  let v1;
1087
1114
  if (ret[0] !== 0) {
1088
1115
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -1094,7 +1121,7 @@ export class MessageProperties {
1094
1121
  * @returns {Uint32Array}
1095
1122
  */
1096
1123
  get subscriptionIdentifiers() {
1097
- const ret = wasm.messageproperties_subscriptionIdentifiers(this.__wbg_ptr);
1124
+ const ret = wasm.messageproperties_subscription_identifiers(this.__wbg_ptr);
1098
1125
  var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
1099
1126
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
1100
1127
  return v1;
@@ -1318,7 +1345,7 @@ export class MqttClient {
1318
1345
  * @param {string} topic
1319
1346
  * @param {Uint8Array} payload
1320
1347
  * @param {PublishOptions} options
1321
- * @returns {Promise<void>}
1348
+ * @returns {Promise<number>}
1322
1349
  */
1323
1350
  publishWithOptions(topic, payload, options) {
1324
1351
  const ptr0 = passStringToWasm0(topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1433,7 +1460,7 @@ export class PublishOptions {
1433
1460
  * @returns {string | undefined}
1434
1461
  */
1435
1462
  get contentType() {
1436
- const ret = wasm.publishoptions_contentType(this.__wbg_ptr);
1463
+ const ret = wasm.publishoptions_content_type(this.__wbg_ptr);
1437
1464
  let v1;
1438
1465
  if (ret[0] !== 0) {
1439
1466
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -1445,7 +1472,7 @@ export class PublishOptions {
1445
1472
  * @returns {number | undefined}
1446
1473
  */
1447
1474
  get messageExpiryInterval() {
1448
- const ret = wasm.publishoptions_messageExpiryInterval(this.__wbg_ptr);
1475
+ const ret = wasm.publishoptions_message_expiry_interval(this.__wbg_ptr);
1449
1476
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
1450
1477
  }
1451
1478
  constructor() {
@@ -1458,7 +1485,7 @@ export class PublishOptions {
1458
1485
  * @returns {boolean | undefined}
1459
1486
  */
1460
1487
  get payloadFormatIndicator() {
1461
- const ret = wasm.publishoptions_payloadFormatIndicator(this.__wbg_ptr);
1488
+ const ret = wasm.publishoptions_payload_format_indicator(this.__wbg_ptr);
1462
1489
  return ret === 0xFFFFFF ? undefined : ret !== 0;
1463
1490
  }
1464
1491
  /**
@@ -1472,7 +1499,7 @@ export class PublishOptions {
1472
1499
  * @returns {string | undefined}
1473
1500
  */
1474
1501
  get responseTopic() {
1475
- const ret = wasm.publishoptions_responseTopic(this.__wbg_ptr);
1502
+ const ret = wasm.publishoptions_response_topic(this.__wbg_ptr);
1476
1503
  let v1;
1477
1504
  if (ret[0] !== 0) {
1478
1505
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -1493,7 +1520,7 @@ export class PublishOptions {
1493
1520
  set contentType(value) {
1494
1521
  var ptr0 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1495
1522
  var len0 = WASM_VECTOR_LEN;
1496
- wasm.publishoptions_set_contentType(this.__wbg_ptr, ptr0, len0);
1523
+ wasm.publishoptions_set_content_type(this.__wbg_ptr, ptr0, len0);
1497
1524
  }
1498
1525
  /**
1499
1526
  * @param {Uint8Array} value
@@ -1501,19 +1528,19 @@ export class PublishOptions {
1501
1528
  set correlationData(value) {
1502
1529
  const ptr0 = passArray8ToWasm0(value, wasm.__wbindgen_malloc);
1503
1530
  const len0 = WASM_VECTOR_LEN;
1504
- wasm.publishoptions_set_correlationData(this.__wbg_ptr, ptr0, len0);
1531
+ wasm.publishoptions_set_correlation_data(this.__wbg_ptr, ptr0, len0);
1505
1532
  }
1506
1533
  /**
1507
1534
  * @param {number | null} [value]
1508
1535
  */
1509
1536
  set messageExpiryInterval(value) {
1510
- wasm.publishoptions_set_messageExpiryInterval(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
1537
+ wasm.publishoptions_set_message_expiry_interval(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
1511
1538
  }
1512
1539
  /**
1513
1540
  * @param {boolean | null} [value]
1514
1541
  */
1515
1542
  set payloadFormatIndicator(value) {
1516
- wasm.publishoptions_set_payloadFormatIndicator(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
1543
+ wasm.publishoptions_set_payload_format_indicator(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
1517
1544
  }
1518
1545
  /**
1519
1546
  * @param {number} value
@@ -1527,7 +1554,7 @@ export class PublishOptions {
1527
1554
  set responseTopic(value) {
1528
1555
  var ptr0 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1529
1556
  var len0 = WASM_VECTOR_LEN;
1530
- wasm.publishoptions_set_responseTopic(this.__wbg_ptr, ptr0, len0);
1557
+ wasm.publishoptions_set_response_topic(this.__wbg_ptr, ptr0, len0);
1531
1558
  }
1532
1559
  /**
1533
1560
  * @param {boolean} value
@@ -1539,13 +1566,13 @@ export class PublishOptions {
1539
1566
  * @param {number | null} [value]
1540
1567
  */
1541
1568
  set topicAlias(value) {
1542
- wasm.publishoptions_set_topicAlias(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value);
1569
+ wasm.publishoptions_set_topic_alias(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value);
1543
1570
  }
1544
1571
  /**
1545
1572
  * @returns {number | undefined}
1546
1573
  */
1547
1574
  get topicAlias() {
1548
- const ret = wasm.publishoptions_topicAlias(this.__wbg_ptr);
1575
+ const ret = wasm.publishoptions_topic_alias(this.__wbg_ptr);
1549
1576
  return ret === 0xFFFFFF ? undefined : ret;
1550
1577
  }
1551
1578
  }
@@ -1572,7 +1599,7 @@ export class ReconnectOptions {
1572
1599
  * @returns {number}
1573
1600
  */
1574
1601
  get backoffFactor() {
1575
- const ret = wasm.reconnectoptions_backoffFactor(this.__wbg_ptr);
1602
+ const ret = wasm.reconnectoptions_backoff_factor(this.__wbg_ptr);
1576
1603
  return ret;
1577
1604
  }
1578
1605
  /**
@@ -1593,21 +1620,21 @@ export class ReconnectOptions {
1593
1620
  * @returns {number}
1594
1621
  */
1595
1622
  get initialDelayMs() {
1596
- const ret = wasm.reconnectoptions_initialDelayMs(this.__wbg_ptr);
1623
+ const ret = wasm.reconnectoptions_initial_delay_ms(this.__wbg_ptr);
1597
1624
  return ret >>> 0;
1598
1625
  }
1599
1626
  /**
1600
1627
  * @returns {number | undefined}
1601
1628
  */
1602
1629
  get maxAttempts() {
1603
- const ret = wasm.reconnectoptions_maxAttempts(this.__wbg_ptr);
1630
+ const ret = wasm.reconnectoptions_max_attempts(this.__wbg_ptr);
1604
1631
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
1605
1632
  }
1606
1633
  /**
1607
1634
  * @returns {number}
1608
1635
  */
1609
1636
  get maxDelayMs() {
1610
- const ret = wasm.reconnectoptions_maxDelayMs(this.__wbg_ptr);
1637
+ const ret = wasm.reconnectoptions_max_delay_ms(this.__wbg_ptr);
1611
1638
  return ret >>> 0;
1612
1639
  }
1613
1640
  constructor() {
@@ -1620,7 +1647,7 @@ export class ReconnectOptions {
1620
1647
  * @param {number} value
1621
1648
  */
1622
1649
  set backoffFactor(value) {
1623
- wasm.reconnectoptions_set_backoffFactor(this.__wbg_ptr, value);
1650
+ wasm.reconnectoptions_set_backoff_factor(this.__wbg_ptr, value);
1624
1651
  }
1625
1652
  /**
1626
1653
  * @param {boolean} value
@@ -1632,19 +1659,19 @@ export class ReconnectOptions {
1632
1659
  * @param {number} value
1633
1660
  */
1634
1661
  set initialDelayMs(value) {
1635
- wasm.reconnectoptions_set_initialDelayMs(this.__wbg_ptr, value);
1662
+ wasm.reconnectoptions_set_initial_delay_ms(this.__wbg_ptr, value);
1636
1663
  }
1637
1664
  /**
1638
1665
  * @param {number | null} [value]
1639
1666
  */
1640
1667
  set maxAttempts(value) {
1641
- wasm.reconnectoptions_set_maxAttempts(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
1668
+ wasm.reconnectoptions_set_max_attempts(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
1642
1669
  }
1643
1670
  /**
1644
1671
  * @param {number} value
1645
1672
  */
1646
1673
  set maxDelayMs(value) {
1647
- wasm.reconnectoptions_set_maxDelayMs(this.__wbg_ptr, value);
1674
+ wasm.reconnectoptions_set_max_delay_ms(this.__wbg_ptr, value);
1648
1675
  }
1649
1676
  }
1650
1677
  if (Symbol.dispose) ReconnectOptions.prototype[Symbol.dispose] = ReconnectOptions.prototype.free;
@@ -2286,7 +2313,7 @@ export class SubscribeOptions {
2286
2313
  * @returns {boolean}
2287
2314
  */
2288
2315
  get noLocal() {
2289
- const ret = wasm.subscribeoptions_noLocal(this.__wbg_ptr);
2316
+ const ret = wasm.subscribeoptions_no_local(this.__wbg_ptr);
2290
2317
  return ret !== 0;
2291
2318
  }
2292
2319
  /**
@@ -2300,21 +2327,21 @@ export class SubscribeOptions {
2300
2327
  * @returns {boolean}
2301
2328
  */
2302
2329
  get retainAsPublished() {
2303
- const ret = wasm.subscribeoptions_retainAsPublished(this.__wbg_ptr);
2330
+ const ret = wasm.subscribeoptions_retain_as_published(this.__wbg_ptr);
2304
2331
  return ret !== 0;
2305
2332
  }
2306
2333
  /**
2307
2334
  * @returns {number}
2308
2335
  */
2309
2336
  get retainHandling() {
2310
- const ret = wasm.subscribeoptions_retainHandling(this.__wbg_ptr);
2337
+ const ret = wasm.subscribeoptions_retain_handling(this.__wbg_ptr);
2311
2338
  return ret;
2312
2339
  }
2313
2340
  /**
2314
2341
  * @param {boolean} value
2315
2342
  */
2316
2343
  set noLocal(value) {
2317
- wasm.subscribeoptions_set_noLocal(this.__wbg_ptr, value);
2344
+ wasm.subscribeoptions_set_no_local(this.__wbg_ptr, value);
2318
2345
  }
2319
2346
  /**
2320
2347
  * @param {number} value
@@ -2326,25 +2353,25 @@ export class SubscribeOptions {
2326
2353
  * @param {boolean} value
2327
2354
  */
2328
2355
  set retainAsPublished(value) {
2329
- wasm.subscribeoptions_set_retainAsPublished(this.__wbg_ptr, value);
2356
+ wasm.subscribeoptions_set_retain_as_published(this.__wbg_ptr, value);
2330
2357
  }
2331
2358
  /**
2332
2359
  * @param {number} value
2333
2360
  */
2334
2361
  set retainHandling(value) {
2335
- wasm.subscribeoptions_set_retainHandling(this.__wbg_ptr, value);
2362
+ wasm.subscribeoptions_set_retain_handling(this.__wbg_ptr, value);
2336
2363
  }
2337
2364
  /**
2338
2365
  * @param {number | null} [value]
2339
2366
  */
2340
2367
  set subscriptionIdentifier(value) {
2341
- wasm.subscribeoptions_set_subscriptionIdentifier(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
2368
+ wasm.subscribeoptions_set_subscription_identifier(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
2342
2369
  }
2343
2370
  /**
2344
2371
  * @returns {number | undefined}
2345
2372
  */
2346
2373
  get subscriptionIdentifier() {
2347
- const ret = wasm.subscribeoptions_subscriptionIdentifier(this.__wbg_ptr);
2374
+ const ret = wasm.subscribeoptions_subscription_identifier(this.__wbg_ptr);
2348
2375
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2349
2376
  }
2350
2377
  }
@@ -2365,7 +2392,7 @@ export class WillMessage {
2365
2392
  * @returns {string | undefined}
2366
2393
  */
2367
2394
  get contentType() {
2368
- const ret = wasm.willmessage_contentType(this.__wbg_ptr);
2395
+ const ret = wasm.willmessage_content_type(this.__wbg_ptr);
2369
2396
  let v1;
2370
2397
  if (ret[0] !== 0) {
2371
2398
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -2377,7 +2404,7 @@ export class WillMessage {
2377
2404
  * @returns {number | undefined}
2378
2405
  */
2379
2406
  get messageExpiryInterval() {
2380
- const ret = wasm.willmessage_messageExpiryInterval(this.__wbg_ptr);
2407
+ const ret = wasm.willmessage_message_expiry_interval(this.__wbg_ptr);
2381
2408
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2382
2409
  }
2383
2410
  /**
@@ -2405,7 +2432,7 @@ export class WillMessage {
2405
2432
  * @returns {string | undefined}
2406
2433
  */
2407
2434
  get responseTopic() {
2408
- const ret = wasm.willmessage_responseTopic(this.__wbg_ptr);
2435
+ const ret = wasm.willmessage_response_topic(this.__wbg_ptr);
2409
2436
  let v1;
2410
2437
  if (ret[0] !== 0) {
2411
2438
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -2426,13 +2453,13 @@ export class WillMessage {
2426
2453
  set contentType(value) {
2427
2454
  var ptr0 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2428
2455
  var len0 = WASM_VECTOR_LEN;
2429
- wasm.willmessage_set_contentType(this.__wbg_ptr, ptr0, len0);
2456
+ wasm.willmessage_set_content_type(this.__wbg_ptr, ptr0, len0);
2430
2457
  }
2431
2458
  /**
2432
2459
  * @param {number | null} [value]
2433
2460
  */
2434
2461
  set messageExpiryInterval(value) {
2435
- wasm.willmessage_set_messageExpiryInterval(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
2462
+ wasm.willmessage_set_message_expiry_interval(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
2436
2463
  }
2437
2464
  /**
2438
2465
  * @param {number} value
@@ -2446,7 +2473,7 @@ export class WillMessage {
2446
2473
  set responseTopic(value) {
2447
2474
  var ptr0 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2448
2475
  var len0 = WASM_VECTOR_LEN;
2449
- wasm.willmessage_set_responseTopic(this.__wbg_ptr, ptr0, len0);
2476
+ wasm.willmessage_set_response_topic(this.__wbg_ptr, ptr0, len0);
2450
2477
  }
2451
2478
  /**
2452
2479
  * @param {boolean} value
@@ -2466,7 +2493,7 @@ export class WillMessage {
2466
2493
  * @param {number | null} [value]
2467
2494
  */
2468
2495
  set willDelayInterval(value) {
2469
- wasm.willmessage_set_willDelayInterval(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
2496
+ wasm.willmessage_set_will_delay_interval(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
2470
2497
  }
2471
2498
  /**
2472
2499
  * @returns {string}
@@ -2487,7 +2514,7 @@ export class WillMessage {
2487
2514
  * @returns {number | undefined}
2488
2515
  */
2489
2516
  get willDelayInterval() {
2490
- const ret = wasm.willmessage_willDelayInterval(this.__wbg_ptr);
2517
+ const ret = wasm.willmessage_will_delay_interval(this.__wbg_ptr);
2491
2518
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2492
2519
  }
2493
2520
  }
@@ -2716,9 +2743,6 @@ export function __wbg_entries_015dc610cd81ede0(arg0) {
2716
2743
  const ret = Object.entries(arg0);
2717
2744
  return ret;
2718
2745
  }
2719
- export function __wbg_error_744744ff0c9861e6(arg0) {
2720
- console.error(arg0);
2721
- }
2722
2746
  export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
2723
2747
  let deferred0_0;
2724
2748
  let deferred0_1;
@@ -2738,6 +2762,9 @@ export function __wbg_getRandomValues_4d75c4f1f63e1972() { return handleError(fu
2738
2762
  const ret = arg0.getRandomValues(getArrayU8FromWasm0(arg1, arg2));
2739
2763
  return ret;
2740
2764
  }, arguments); }
2765
+ export function __wbg_getRandomValues_cc7f052a444bb2ce() { return handleError(function (arg0, arg1) {
2766
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
2767
+ }, arguments); }
2741
2768
  export function __wbg_getRandomValues_ceb34d8ffce7e87f() { return handleError(function (arg0, arg1) {
2742
2769
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
2743
2770
  }, arguments); }
@@ -2837,9 +2864,6 @@ export function __wbg_length_370319915dc99107(arg0) {
2837
2864
  const ret = arg0.length;
2838
2865
  return ret;
2839
2866
  }
2840
- export function __wbg_log_d267660666346fb3(arg0) {
2841
- console.log(arg0);
2842
- }
2843
2867
  export function __wbg_messageproperties_new(arg0) {
2844
2868
  const ret = MessageProperties.__wrap(arg0);
2845
2869
  return ret;
@@ -2867,7 +2891,7 @@ export function __wbg_new_aec3e25493d729fe(arg0, arg1) {
2867
2891
  const a = state0.a;
2868
2892
  state0.a = 0;
2869
2893
  try {
2870
- return wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___js_sys_20d51680ebc1f79e___Function_fn_wasm_bindgen_ecfebce53ddb1656___JsValue_____wasm_bindgen_ecfebce53ddb1656___sys__Undefined___js_sys_20d51680ebc1f79e___Function_fn_wasm_bindgen_ecfebce53ddb1656___JsValue_____wasm_bindgen_ecfebce53ddb1656___sys__Undefined_______true_(a, state0.b, arg0, arg1);
2894
+ return wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___js_sys_9c5d6be2ebe6eb39___Function_fn_wasm_bindgen_68b5e04585946f2e___JsValue_____wasm_bindgen_68b5e04585946f2e___sys__Undefined___js_sys_9c5d6be2ebe6eb39___Function_fn_wasm_bindgen_68b5e04585946f2e___JsValue_____wasm_bindgen_68b5e04585946f2e___sys__Undefined_______true_(a, state0.b, arg0, arg1);
2871
2895
  } finally {
2872
2896
  state0.a = a;
2873
2897
  }
@@ -2905,7 +2929,7 @@ export function __wbg_new_typed_1824d93f294193e5(arg0, arg1) {
2905
2929
  const a = state0.a;
2906
2930
  state0.a = 0;
2907
2931
  try {
2908
- return wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___js_sys_20d51680ebc1f79e___Function_fn_wasm_bindgen_ecfebce53ddb1656___JsValue_____wasm_bindgen_ecfebce53ddb1656___sys__Undefined___js_sys_20d51680ebc1f79e___Function_fn_wasm_bindgen_ecfebce53ddb1656___JsValue_____wasm_bindgen_ecfebce53ddb1656___sys__Undefined_______true_(a, state0.b, arg0, arg1);
2932
+ return wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___js_sys_9c5d6be2ebe6eb39___Function_fn_wasm_bindgen_68b5e04585946f2e___JsValue_____wasm_bindgen_68b5e04585946f2e___sys__Undefined___js_sys_9c5d6be2ebe6eb39___Function_fn_wasm_bindgen_68b5e04585946f2e___JsValue_____wasm_bindgen_68b5e04585946f2e___sys__Undefined_______true_(a, state0.b, arg0, arg1);
2909
2933
  } finally {
2910
2934
  state0.a = a;
2911
2935
  }
@@ -2984,10 +3008,6 @@ export function __wbg_queueMicrotask_0ab5b2d2393e99b9(arg0) {
2984
3008
  export function __wbg_queueMicrotask_6a09b7bc46549209(arg0) {
2985
3009
  queueMicrotask(arg0);
2986
3010
  }
2987
- export function __wbg_random_039a7d5d06e0d333() {
2988
- const ret = Math.random();
2989
- return ret;
2990
- }
2991
3011
  export function __wbg_removeEventListener_a3f23c70077bdcc1() { return handleError(function (arg0, arg1, arg2, arg3) {
2992
3012
  arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
2993
3013
  }, arguments); }
@@ -3002,14 +3022,14 @@ export function __wbg_result_2b1294a2bf8dc773() { return handleError(function (a
3002
3022
  export function __wbg_send_a321b376d40ec867() { return handleError(function (arg0, arg1, arg2) {
3003
3023
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
3004
3024
  }, arguments); }
3005
- export function __wbg_setTimeout_114413d2e1956381(arg0, arg1) {
3006
- const ret = setTimeout(arg0, arg1);
3007
- return ret;
3008
- }
3009
3025
  export function __wbg_setTimeout_56bcdccbad22fd44() { return handleError(function (arg0, arg1) {
3010
3026
  const ret = setTimeout(arg0, arg1);
3011
3027
  return ret;
3012
3028
  }, arguments); }
3029
+ export function __wbg_setTimeout_bf11a6c6d35ea7b0(arg0, arg1) {
3030
+ const ret = setTimeout(arg0, arg1);
3031
+ return ret;
3032
+ }
3013
3033
  export function __wbg_set_8535240470bf2500() { return handleError(function (arg0, arg1, arg2) {
3014
3034
  const ret = Reflect.set(arg0, arg1, arg2);
3015
3035
  return ret;
@@ -3136,48 +3156,48 @@ export function __wbg_warn_b1370d804fa3e259(arg0) {
3136
3156
  console.warn(arg0);
3137
3157
  }
3138
3158
  export function __wbindgen_cast_0000000000000001(arg0, arg1) {
3139
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1019, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3140
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_ecfebce53ddb1656___JsError___true_);
3159
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1011, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3160
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_68b5e04585946f2e___JsError___true_);
3141
3161
  return ret;
3142
3162
  }
3143
3163
  export function __wbindgen_cast_0000000000000002(arg0, arg1) {
3144
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 542, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3145
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true_);
3164
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3165
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true_);
3146
3166
  return ret;
3147
3167
  }
3148
3168
  export function __wbindgen_cast_0000000000000003(arg0, arg1) {
3149
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 542, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3150
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__2);
3169
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3170
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__2);
3151
3171
  return ret;
3152
3172
  }
3153
3173
  export function __wbindgen_cast_0000000000000004(arg0, arg1) {
3154
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 542, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3155
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__3);
3174
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3175
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__3);
3156
3176
  return ret;
3157
3177
  }
3158
3178
  export function __wbindgen_cast_0000000000000005(arg0, arg1) {
3159
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 969, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3160
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___web_sys_5e5969e894f39c4d___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_);
3179
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 981, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3180
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___web_sys_dfcb36521038feae___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_);
3161
3181
  return ret;
3162
3182
  }
3163
3183
  export function __wbindgen_cast_0000000000000006(arg0, arg1) {
3164
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 969, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3165
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___web_sys_5e5969e894f39c4d___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5);
3184
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 981, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3185
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___web_sys_dfcb36521038feae___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5);
3166
3186
  return ret;
3167
3187
  }
3168
3188
  export function __wbindgen_cast_0000000000000007(arg0, arg1) {
3169
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 542, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3170
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__6);
3189
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3190
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__6);
3171
3191
  return ret;
3172
3192
  }
3173
3193
  export function __wbindgen_cast_0000000000000008(arg0, arg1) {
3174
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 533, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3175
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke_______true_);
3194
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 468, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3195
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke_______true_);
3176
3196
  return ret;
3177
3197
  }
3178
3198
  export function __wbindgen_cast_0000000000000009(arg0, arg1) {
3179
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 547, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3180
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke_______true__1_);
3199
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 546, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3200
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke_______true__1_);
3181
3201
  return ret;
3182
3202
  }
3183
3203
  export function __wbindgen_cast_000000000000000a(arg0) {
@@ -3209,47 +3229,47 @@ export function __wbindgen_init_externref_table() {
3209
3229
  table.set(offset + 2, true);
3210
3230
  table.set(offset + 3, false);
3211
3231
  }
3212
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke_______true_(arg0, arg1) {
3213
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke_______true_(arg0, arg1);
3232
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke_______true_(arg0, arg1) {
3233
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke_______true_(arg0, arg1);
3214
3234
  }
3215
3235
 
3216
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke_______true__1_(arg0, arg1) {
3217
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke_______true__1_(arg0, arg1);
3236
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke_______true__1_(arg0, arg1) {
3237
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke_______true__1_(arg0, arg1);
3218
3238
  }
3219
3239
 
3220
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true_(arg0, arg1, arg2) {
3221
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true_(arg0, arg1, arg2);
3240
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true_(arg0, arg1, arg2) {
3241
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true_(arg0, arg1, arg2);
3222
3242
  }
3223
3243
 
3224
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__2(arg0, arg1, arg2) {
3225
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__2(arg0, arg1, arg2);
3244
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__2(arg0, arg1, arg2) {
3245
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__2(arg0, arg1, arg2);
3226
3246
  }
3227
3247
 
3228
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__3(arg0, arg1, arg2) {
3229
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__3(arg0, arg1, arg2);
3248
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__3(arg0, arg1, arg2) {
3249
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__3(arg0, arg1, arg2);
3230
3250
  }
3231
3251
 
3232
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___web_sys_5e5969e894f39c4d___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2) {
3233
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___web_sys_5e5969e894f39c4d___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2);
3252
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___web_sys_dfcb36521038feae___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2) {
3253
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___web_sys_dfcb36521038feae___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2);
3234
3254
  }
3235
3255
 
3236
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___web_sys_5e5969e894f39c4d___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5(arg0, arg1, arg2) {
3237
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___web_sys_5e5969e894f39c4d___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5(arg0, arg1, arg2);
3256
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___web_sys_dfcb36521038feae___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5(arg0, arg1, arg2) {
3257
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___web_sys_dfcb36521038feae___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5(arg0, arg1, arg2);
3238
3258
  }
3239
3259
 
3240
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__6(arg0, arg1, arg2) {
3241
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue______true__6(arg0, arg1, arg2);
3260
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__6(arg0, arg1, arg2) {
3261
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue______true__6(arg0, arg1, arg2);
3242
3262
  }
3243
3263
 
3244
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_ecfebce53ddb1656___JsError___true_(arg0, arg1, arg2) {
3245
- const ret = wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___wasm_bindgen_ecfebce53ddb1656___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_ecfebce53ddb1656___JsError___true_(arg0, arg1, arg2);
3264
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_68b5e04585946f2e___JsError___true_(arg0, arg1, arg2) {
3265
+ const ret = wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___wasm_bindgen_68b5e04585946f2e___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_68b5e04585946f2e___JsError___true_(arg0, arg1, arg2);
3246
3266
  if (ret[1]) {
3247
3267
  throw takeFromExternrefTable0(ret[0]);
3248
3268
  }
3249
3269
  }
3250
3270
 
3251
- function wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___js_sys_20d51680ebc1f79e___Function_fn_wasm_bindgen_ecfebce53ddb1656___JsValue_____wasm_bindgen_ecfebce53ddb1656___sys__Undefined___js_sys_20d51680ebc1f79e___Function_fn_wasm_bindgen_ecfebce53ddb1656___JsValue_____wasm_bindgen_ecfebce53ddb1656___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
3252
- wasm.wasm_bindgen_ecfebce53ddb1656___convert__closures_____invoke___js_sys_20d51680ebc1f79e___Function_fn_wasm_bindgen_ecfebce53ddb1656___JsValue_____wasm_bindgen_ecfebce53ddb1656___sys__Undefined___js_sys_20d51680ebc1f79e___Function_fn_wasm_bindgen_ecfebce53ddb1656___JsValue_____wasm_bindgen_ecfebce53ddb1656___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
3271
+ function wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___js_sys_9c5d6be2ebe6eb39___Function_fn_wasm_bindgen_68b5e04585946f2e___JsValue_____wasm_bindgen_68b5e04585946f2e___sys__Undefined___js_sys_9c5d6be2ebe6eb39___Function_fn_wasm_bindgen_68b5e04585946f2e___JsValue_____wasm_bindgen_68b5e04585946f2e___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
3272
+ wasm.wasm_bindgen_68b5e04585946f2e___convert__closures_____invoke___js_sys_9c5d6be2ebe6eb39___Function_fn_wasm_bindgen_68b5e04585946f2e___JsValue_____wasm_bindgen_68b5e04585946f2e___sys__Undefined___js_sys_9c5d6be2ebe6eb39___Function_fn_wasm_bindgen_68b5e04585946f2e___JsValue_____wasm_bindgen_68b5e04585946f2e___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
3253
3273
  }
3254
3274
 
3255
3275
 
Binary file