@loro-dev/flock-wasm 0.1.4 → 0.1.5
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/base64/flock_wasm.js +13 -13
- package/base64/index.js +1 -1
- package/base64/wasm.js +1 -1
- package/bundler/flock_wasm.d.ts +7 -7
- package/bundler/flock_wasm_bg.js +13 -13
- package/bundler/flock_wasm_bg.wasm +0 -0
- package/bundler/flock_wasm_bg.wasm.d.ts +1 -1
- package/bundler/index.js +1 -1
- package/nodejs/flock_wasm.d.ts +7 -7
- package/nodejs/flock_wasm.js +13 -13
- package/nodejs/flock_wasm_bg.wasm +0 -0
- package/nodejs/flock_wasm_bg.wasm.d.ts +1 -1
- package/nodejs/index.js +1 -1
- package/package.json +1 -1
- package/web/flock_wasm.d.ts +8 -8
- package/web/flock_wasm.js +13 -13
- package/web/flock_wasm_bg.wasm +0 -0
- package/web/flock_wasm_bg.wasm.d.ts +1 -1
- package/web/index.js +1 -1
package/base64/flock_wasm.js
CHANGED
|
@@ -197,16 +197,6 @@ function debugString(val) {
|
|
|
197
197
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
198
198
|
return className;
|
|
199
199
|
}
|
|
200
|
-
/**
|
|
201
|
-
* Initializes the WASM module.
|
|
202
|
-
*
|
|
203
|
-
* This function is automatically called when the WASM module is loaded.
|
|
204
|
-
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
205
|
-
*/
|
|
206
|
-
export function start() {
|
|
207
|
-
wasm.start();
|
|
208
|
-
}
|
|
209
|
-
|
|
210
200
|
/**
|
|
211
201
|
* Drains the pending callback queue, invoking all enqueued callbacks.
|
|
212
202
|
*
|
|
@@ -220,6 +210,16 @@ export function callPendingEvents() {
|
|
|
220
210
|
wasm.callPendingEvents();
|
|
221
211
|
}
|
|
222
212
|
|
|
213
|
+
/**
|
|
214
|
+
* Initializes the WASM module.
|
|
215
|
+
*
|
|
216
|
+
* This function is automatically called when the WASM module is loaded.
|
|
217
|
+
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
218
|
+
*/
|
|
219
|
+
export function start() {
|
|
220
|
+
wasm.start();
|
|
221
|
+
}
|
|
222
|
+
|
|
223
223
|
function takeFromExternrefTable0(idx) {
|
|
224
224
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
225
225
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -244,7 +244,7 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
244
244
|
return ptr;
|
|
245
245
|
}
|
|
246
246
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
247
|
-
wasm.
|
|
247
|
+
wasm.closure43_externref_shim(arg0, arg1, arg2);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
const RawFlockFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -993,8 +993,8 @@ function __wbg_get_imports() {
|
|
|
993
993
|
const ret = false;
|
|
994
994
|
return ret;
|
|
995
995
|
};
|
|
996
|
-
imports.wbg.
|
|
997
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
996
|
+
imports.wbg.__wbindgen_closure_wrapper303 = function(arg0, arg1, arg2) {
|
|
997
|
+
const ret = makeMutClosure(arg0, arg1, 44, __wbg_adapter_56);
|
|
998
998
|
return ret;
|
|
999
999
|
};
|
|
1000
1000
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/base64/index.js
CHANGED