@laboverwire/stitch-wasm 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/package.json +1 -1
- package/stitch_wasm.d.ts +17 -6
- package/stitch_wasm_bg.js +66 -55
- package/stitch_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -38,6 +38,27 @@ await store.replaceScope("p1");
|
|
|
38
38
|
`remote.url` is a `ws://`/`wss://` MQTT endpoint; `remote.ticket` is a JWT used
|
|
39
39
|
for MQTT v5 enhanced-auth.
|
|
40
40
|
|
|
41
|
+
Set `remote.autoConnect: false` (default `true`) when you mint the JWT
|
|
42
|
+
dynamically per connection: `initialize()` then skips its connect and you drive
|
|
43
|
+
the authenticated connect yourself via `reconnect(url, ticket)`. Without it,
|
|
44
|
+
`initialize()` fires a ticketless connect that an auth-requiring broker rejects
|
|
45
|
+
before your `reconnect` succeeds — one rejected probe per page load.
|
|
46
|
+
|
|
47
|
+
### Config fields
|
|
48
|
+
|
|
49
|
+
Only `entities` and `scope` are required. The rest are optional overrides; an
|
|
50
|
+
omitted field keeps its default:
|
|
51
|
+
|
|
52
|
+
| Field | Default | Purpose |
|
|
53
|
+
| --- | --- | --- |
|
|
54
|
+
| `syncTopicPrefix` | `"$DB"` | Root of the sync topic namespace. |
|
|
55
|
+
| `responseTopicPrefix` | `"$DB/clients"` | Root of the per-request RPC response inbox (`{prefix}/{clientId}/{requestId}`). Override it when the default would collide with a namespace the broker reserves — e.g. set `"_rpc/responses"` for an MQDB broker, which owns `$DB`. |
|
|
56
|
+
| `versionField` | `"version"` | Record field holding the LWW version. |
|
|
57
|
+
| `updatedAtField` | `"updatedAt"` | Record field holding the update timestamp. |
|
|
58
|
+
| `userScopeField` | _unset_ | Record field that scopes offline writes to the authenticated user. |
|
|
59
|
+
| `topLevelEntities` | `[]` | Entities synced outside any scope, each `{ entity, subscriptionPattern }`. |
|
|
60
|
+
| `localOnlyEntities` | `{}` | Entities persisted locally but never synced, same shape as `entities`. |
|
|
61
|
+
|
|
41
62
|
## API surface
|
|
42
63
|
|
|
43
64
|
The `Store` mirrors the TS core:
|
package/package.json
CHANGED
package/stitch_wasm.d.ts
CHANGED
|
@@ -553,8 +553,11 @@ export class Store {
|
|
|
553
553
|
*/
|
|
554
554
|
hasRemote(): boolean;
|
|
555
555
|
/**
|
|
556
|
-
* Open the store (in-memory + persistence) and, when a remote is
|
|
557
|
-
*
|
|
556
|
+
* Open the store (in-memory + persistence) and, when a remote is configured,
|
|
557
|
+
* connect to the broker. Idempotent. Pass `remote.autoConnect: false` to skip
|
|
558
|
+
* the initial connect and drive it yourself via `reconnect` — the usual
|
|
559
|
+
* pattern when the JWT is minted dynamically per connection, avoiding a
|
|
560
|
+
* rejected ticketless probe on startup.
|
|
558
561
|
*
|
|
559
562
|
* # Errors
|
|
560
563
|
* Returns an error if the underlying database fails to open.
|
|
@@ -746,16 +749,24 @@ export class WillMessage {
|
|
|
746
749
|
* Build an unopened [`Store`] from a config object
|
|
747
750
|
* (`{ entities, scope: { rootEntity, childEntities, scopeField } }`).
|
|
748
751
|
*
|
|
752
|
+
* The config also accepts optional overrides that otherwise fall back to their
|
|
753
|
+
* defaults: `syncTopicPrefix` (`"$DB"`), `responseTopicPrefix` (`"$DB/clients"`),
|
|
754
|
+
* `versionField` (`"version"`), `updatedAtField` (`"updatedAt"`),
|
|
755
|
+
* `userScopeField` (unset), `topLevelEntities`
|
|
756
|
+
* (`[{ entity, subscriptionPattern }]`), and `localOnlyEntities` (same shape as
|
|
757
|
+
* `entities`).
|
|
758
|
+
*
|
|
749
759
|
* Pass an optional second argument to enable durable IndexedDB persistence
|
|
750
760
|
* and/or remote MQTT-over-WebSocket sync:
|
|
751
|
-
* `{ persistence: { dbName, passphrase? }, remote: { url, clientId?, ticket?, username?, password? } }`.
|
|
761
|
+
* `{ persistence: { dbName, passphrase? }, remote: { url, clientId?, ticket?, username?, password?, autoConnect? } }`.
|
|
752
762
|
* With a persistence `passphrase` the store is AES-GCM encrypted. `remote.url`
|
|
753
763
|
* must be a `ws://`/`wss://` endpoint; `remote.ticket` is a JWT used for MQTT v5
|
|
754
764
|
* enhanced auth, and `remote.username` + `remote.password` drive classic MQTT
|
|
755
765
|
* password auth when the broker isn't in JWT mode (ticket takes precedence).
|
|
756
|
-
* `initialize` then connects
|
|
757
|
-
*
|
|
758
|
-
* for an in-memory
|
|
766
|
+
* `initialize` then connects unless `remote.autoConnect` is `false` (in which
|
|
767
|
+
* case the caller drives the connect via `reconnect`), and live mutations flow
|
|
768
|
+
* through `subscribeToEntity`/`getSnapshot`. Omit the argument for an in-memory
|
|
769
|
+
* store.
|
|
759
770
|
*
|
|
760
771
|
* # Errors
|
|
761
772
|
* Returns an error if the config or options object is malformed.
|
package/stitch_wasm_bg.js
CHANGED
|
@@ -1928,8 +1928,11 @@ export class Store {
|
|
|
1928
1928
|
return ret[0] !== 0;
|
|
1929
1929
|
}
|
|
1930
1930
|
/**
|
|
1931
|
-
* Open the store (in-memory + persistence) and, when a remote is
|
|
1932
|
-
*
|
|
1931
|
+
* Open the store (in-memory + persistence) and, when a remote is configured,
|
|
1932
|
+
* connect to the broker. Idempotent. Pass `remote.autoConnect: false` to skip
|
|
1933
|
+
* the initial connect and drive it yourself via `reconnect` — the usual
|
|
1934
|
+
* pattern when the JWT is minted dynamically per connection, avoiding a
|
|
1935
|
+
* rejected ticketless probe on startup.
|
|
1933
1936
|
*
|
|
1934
1937
|
* # Errors
|
|
1935
1938
|
* Returns an error if the underlying database fails to open.
|
|
@@ -2494,16 +2497,24 @@ if (Symbol.dispose) WillMessage.prototype[Symbol.dispose] = WillMessage.prototyp
|
|
|
2494
2497
|
* Build an unopened [`Store`] from a config object
|
|
2495
2498
|
* (`{ entities, scope: { rootEntity, childEntities, scopeField } }`).
|
|
2496
2499
|
*
|
|
2500
|
+
* The config also accepts optional overrides that otherwise fall back to their
|
|
2501
|
+
* defaults: `syncTopicPrefix` (`"$DB"`), `responseTopicPrefix` (`"$DB/clients"`),
|
|
2502
|
+
* `versionField` (`"version"`), `updatedAtField` (`"updatedAt"`),
|
|
2503
|
+
* `userScopeField` (unset), `topLevelEntities`
|
|
2504
|
+
* (`[{ entity, subscriptionPattern }]`), and `localOnlyEntities` (same shape as
|
|
2505
|
+
* `entities`).
|
|
2506
|
+
*
|
|
2497
2507
|
* Pass an optional second argument to enable durable IndexedDB persistence
|
|
2498
2508
|
* and/or remote MQTT-over-WebSocket sync:
|
|
2499
|
-
* `{ persistence: { dbName, passphrase? }, remote: { url, clientId?, ticket?, username?, password? } }`.
|
|
2509
|
+
* `{ persistence: { dbName, passphrase? }, remote: { url, clientId?, ticket?, username?, password?, autoConnect? } }`.
|
|
2500
2510
|
* With a persistence `passphrase` the store is AES-GCM encrypted. `remote.url`
|
|
2501
2511
|
* must be a `ws://`/`wss://` endpoint; `remote.ticket` is a JWT used for MQTT v5
|
|
2502
2512
|
* enhanced auth, and `remote.username` + `remote.password` drive classic MQTT
|
|
2503
2513
|
* password auth when the broker isn't in JWT mode (ticket takes precedence).
|
|
2504
|
-
* `initialize` then connects
|
|
2505
|
-
*
|
|
2506
|
-
* for an in-memory
|
|
2514
|
+
* `initialize` then connects unless `remote.autoConnect` is `false` (in which
|
|
2515
|
+
* case the caller drives the connect via `reconnect`), and live mutations flow
|
|
2516
|
+
* through `subscribeToEntity`/`getSnapshot`. Omit the argument for an in-memory
|
|
2517
|
+
* store.
|
|
2507
2518
|
*
|
|
2508
2519
|
* # Errors
|
|
2509
2520
|
* Returns an error if the config or options object is malformed.
|
|
@@ -2727,7 +2738,7 @@ export function __wbg_getRandomValues_4d75c4f1f63e1972() { return handleError(fu
|
|
|
2727
2738
|
const ret = arg0.getRandomValues(getArrayU8FromWasm0(arg1, arg2));
|
|
2728
2739
|
return ret;
|
|
2729
2740
|
}, arguments); }
|
|
2730
|
-
export function
|
|
2741
|
+
export function __wbg_getRandomValues_ceb34d8ffce7e87f() { return handleError(function (arg0, arg1) {
|
|
2731
2742
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
2732
2743
|
}, arguments); }
|
|
2733
2744
|
export function __wbg_get_507a50627bffa49b(arg0, arg1) {
|
|
@@ -2852,7 +2863,7 @@ export function __wbg_new_aec3e25493d729fe(arg0, arg1) {
|
|
|
2852
2863
|
const a = state0.a;
|
|
2853
2864
|
state0.a = 0;
|
|
2854
2865
|
try {
|
|
2855
|
-
return
|
|
2866
|
+
return wasm_bindgen_5827a0200777b313___convert__closures_____invoke___js_sys_6f072f856ff758b___Function_fn_wasm_bindgen_5827a0200777b313___JsValue_____wasm_bindgen_5827a0200777b313___sys__Undefined___js_sys_6f072f856ff758b___Function_fn_wasm_bindgen_5827a0200777b313___JsValue_____wasm_bindgen_5827a0200777b313___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
2856
2867
|
} finally {
|
|
2857
2868
|
state0.a = a;
|
|
2858
2869
|
}
|
|
@@ -2886,7 +2897,7 @@ export function __wbg_new_typed_1824d93f294193e5(arg0, arg1) {
|
|
|
2886
2897
|
const a = state0.a;
|
|
2887
2898
|
state0.a = 0;
|
|
2888
2899
|
try {
|
|
2889
|
-
return
|
|
2900
|
+
return wasm_bindgen_5827a0200777b313___convert__closures_____invoke___js_sys_6f072f856ff758b___Function_fn_wasm_bindgen_5827a0200777b313___JsValue_____wasm_bindgen_5827a0200777b313___sys__Undefined___js_sys_6f072f856ff758b___Function_fn_wasm_bindgen_5827a0200777b313___JsValue_____wasm_bindgen_5827a0200777b313___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
2890
2901
|
} finally {
|
|
2891
2902
|
state0.a = a;
|
|
2892
2903
|
}
|
|
@@ -2909,14 +2920,14 @@ export function __wbg_next_71f2aa1cb3d1e37e() { return handleError(function (arg
|
|
|
2909
2920
|
const ret = arg0.next();
|
|
2910
2921
|
return ret;
|
|
2911
2922
|
}, arguments); }
|
|
2912
|
-
export function __wbg_now_0cce8c6798af1870() { return handleError(function () {
|
|
2913
|
-
const ret = Date.now();
|
|
2914
|
-
return ret;
|
|
2915
|
-
}, arguments); }
|
|
2916
2923
|
export function __wbg_now_86c0d4ba3fa605b8() {
|
|
2917
2924
|
const ret = Date.now();
|
|
2918
2925
|
return ret;
|
|
2919
2926
|
}
|
|
2927
|
+
export function __wbg_now_f663ab0a5177b799() { return handleError(function () {
|
|
2928
|
+
const ret = Date.now();
|
|
2929
|
+
return ret;
|
|
2930
|
+
}, arguments); }
|
|
2920
2931
|
export function __wbg_objectStoreNames_146ab25540bff6db(arg0) {
|
|
2921
2932
|
const ret = arg0.objectStoreNames;
|
|
2922
2933
|
return ret;
|
|
@@ -2983,14 +2994,14 @@ export function __wbg_result_2b1294a2bf8dc773() { return handleError(function (a
|
|
|
2983
2994
|
export function __wbg_send_a321b376d40ec867() { return handleError(function (arg0, arg1, arg2) {
|
|
2984
2995
|
arg0.send(getArrayU8FromWasm0(arg1, arg2));
|
|
2985
2996
|
}, arguments); }
|
|
2986
|
-
export function
|
|
2997
|
+
export function __wbg_setTimeout_114413d2e1956381(arg0, arg1) {
|
|
2987
2998
|
const ret = setTimeout(arg0, arg1);
|
|
2988
2999
|
return ret;
|
|
2989
|
-
}
|
|
2990
|
-
export function
|
|
3000
|
+
}
|
|
3001
|
+
export function __wbg_setTimeout_56bcdccbad22fd44() { return handleError(function (arg0, arg1) {
|
|
2991
3002
|
const ret = setTimeout(arg0, arg1);
|
|
2992
3003
|
return ret;
|
|
2993
|
-
}
|
|
3004
|
+
}, arguments); }
|
|
2994
3005
|
export function __wbg_set_8535240470bf2500() { return handleError(function (arg0, arg1, arg2) {
|
|
2995
3006
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
2996
3007
|
return ret;
|
|
@@ -3117,48 +3128,48 @@ export function __wbg_warn_b1370d804fa3e259(arg0) {
|
|
|
3117
3128
|
console.warn(arg0);
|
|
3118
3129
|
}
|
|
3119
3130
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
3120
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3121
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3131
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1018, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3132
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_5827a0200777b313___JsError___true_);
|
|
3122
3133
|
return ret;
|
|
3123
3134
|
}
|
|
3124
3135
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
3125
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3126
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3136
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3137
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true_);
|
|
3127
3138
|
return ret;
|
|
3128
3139
|
}
|
|
3129
3140
|
export function __wbindgen_cast_0000000000000003(arg0, arg1) {
|
|
3130
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
3131
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3141
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3142
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__2);
|
|
3132
3143
|
return ret;
|
|
3133
3144
|
}
|
|
3134
3145
|
export function __wbindgen_cast_0000000000000004(arg0, arg1) {
|
|
3135
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx:
|
|
3136
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3146
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3147
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__3);
|
|
3137
3148
|
return ret;
|
|
3138
3149
|
}
|
|
3139
3150
|
export function __wbindgen_cast_0000000000000005(arg0, arg1) {
|
|
3140
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
3141
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3151
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 992, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3152
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke___web_sys_bdced85421ceff50___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_);
|
|
3142
3153
|
return ret;
|
|
3143
3154
|
}
|
|
3144
3155
|
export function __wbindgen_cast_0000000000000006(arg0, arg1) {
|
|
3145
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx:
|
|
3146
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3156
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 992, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3157
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke___web_sys_bdced85421ceff50___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5);
|
|
3147
3158
|
return ret;
|
|
3148
3159
|
}
|
|
3149
3160
|
export function __wbindgen_cast_0000000000000007(arg0, arg1) {
|
|
3150
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
3151
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3161
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3162
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__6);
|
|
3152
3163
|
return ret;
|
|
3153
3164
|
}
|
|
3154
3165
|
export function __wbindgen_cast_0000000000000008(arg0, arg1) {
|
|
3155
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3156
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3166
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 532, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3167
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke_______true_);
|
|
3157
3168
|
return ret;
|
|
3158
3169
|
}
|
|
3159
3170
|
export function __wbindgen_cast_0000000000000009(arg0, arg1) {
|
|
3160
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3161
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3171
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 546, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3172
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_5827a0200777b313___convert__closures_____invoke_______true__1_);
|
|
3162
3173
|
return ret;
|
|
3163
3174
|
}
|
|
3164
3175
|
export function __wbindgen_cast_000000000000000a(arg0) {
|
|
@@ -3190,47 +3201,47 @@ export function __wbindgen_init_externref_table() {
|
|
|
3190
3201
|
table.set(offset + 2, true);
|
|
3191
3202
|
table.set(offset + 3, false);
|
|
3192
3203
|
}
|
|
3193
|
-
function
|
|
3194
|
-
wasm.
|
|
3204
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
3205
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke_______true_(arg0, arg1);
|
|
3195
3206
|
}
|
|
3196
3207
|
|
|
3197
|
-
function
|
|
3198
|
-
wasm.
|
|
3208
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke_______true__1_(arg0, arg1) {
|
|
3209
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke_______true__1_(arg0, arg1);
|
|
3199
3210
|
}
|
|
3200
3211
|
|
|
3201
|
-
function
|
|
3202
|
-
wasm.
|
|
3212
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true_(arg0, arg1, arg2) {
|
|
3213
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true_(arg0, arg1, arg2);
|
|
3203
3214
|
}
|
|
3204
3215
|
|
|
3205
|
-
function
|
|
3206
|
-
wasm.
|
|
3216
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__2(arg0, arg1, arg2) {
|
|
3217
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__2(arg0, arg1, arg2);
|
|
3207
3218
|
}
|
|
3208
3219
|
|
|
3209
|
-
function
|
|
3210
|
-
wasm.
|
|
3220
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__3(arg0, arg1, arg2) {
|
|
3221
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__3(arg0, arg1, arg2);
|
|
3211
3222
|
}
|
|
3212
3223
|
|
|
3213
|
-
function
|
|
3214
|
-
wasm.
|
|
3224
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke___web_sys_bdced85421ceff50___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2) {
|
|
3225
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke___web_sys_bdced85421ceff50___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2);
|
|
3215
3226
|
}
|
|
3216
3227
|
|
|
3217
|
-
function
|
|
3218
|
-
wasm.
|
|
3228
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke___web_sys_bdced85421ceff50___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5(arg0, arg1, arg2) {
|
|
3229
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke___web_sys_bdced85421ceff50___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__5(arg0, arg1, arg2);
|
|
3219
3230
|
}
|
|
3220
3231
|
|
|
3221
|
-
function
|
|
3222
|
-
wasm.
|
|
3232
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__6(arg0, arg1, arg2) {
|
|
3233
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue______true__6(arg0, arg1, arg2);
|
|
3223
3234
|
}
|
|
3224
3235
|
|
|
3225
|
-
function
|
|
3226
|
-
const ret = wasm.
|
|
3236
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_5827a0200777b313___JsError___true_(arg0, arg1, arg2) {
|
|
3237
|
+
const ret = wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke___wasm_bindgen_5827a0200777b313___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_5827a0200777b313___JsError___true_(arg0, arg1, arg2);
|
|
3227
3238
|
if (ret[1]) {
|
|
3228
3239
|
throw takeFromExternrefTable0(ret[0]);
|
|
3229
3240
|
}
|
|
3230
3241
|
}
|
|
3231
3242
|
|
|
3232
|
-
function
|
|
3233
|
-
wasm.
|
|
3243
|
+
function wasm_bindgen_5827a0200777b313___convert__closures_____invoke___js_sys_6f072f856ff758b___Function_fn_wasm_bindgen_5827a0200777b313___JsValue_____wasm_bindgen_5827a0200777b313___sys__Undefined___js_sys_6f072f856ff758b___Function_fn_wasm_bindgen_5827a0200777b313___JsValue_____wasm_bindgen_5827a0200777b313___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
3244
|
+
wasm.wasm_bindgen_5827a0200777b313___convert__closures_____invoke___js_sys_6f072f856ff758b___Function_fn_wasm_bindgen_5827a0200777b313___JsValue_____wasm_bindgen_5827a0200777b313___sys__Undefined___js_sys_6f072f856ff758b___Function_fn_wasm_bindgen_5827a0200777b313___JsValue_____wasm_bindgen_5827a0200777b313___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
3234
3245
|
}
|
|
3235
3246
|
|
|
3236
3247
|
|
package/stitch_wasm_bg.wasm
CHANGED
|
Binary file
|