@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/bundler/flock_wasm.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Initializes the WASM module.
|
|
5
|
-
*
|
|
6
|
-
* This function is automatically called when the WASM module is loaded.
|
|
7
|
-
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
8
|
-
*/
|
|
9
|
-
export function start(): void;
|
|
10
3
|
/**
|
|
11
4
|
* Drains the pending callback queue, invoking all enqueued callbacks.
|
|
12
5
|
*
|
|
@@ -17,6 +10,13 @@ export function start(): void;
|
|
|
17
10
|
* the error is propagated to JavaScript after the current batch completes.
|
|
18
11
|
*/
|
|
19
12
|
export function callPendingEvents(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Initializes the WASM module.
|
|
15
|
+
*
|
|
16
|
+
* This function is automatically called when the WASM module is loaded.
|
|
17
|
+
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
18
|
+
*/
|
|
19
|
+
export function start(): void;
|
|
20
20
|
/**
|
|
21
21
|
* The main WASM-exposed flock instance.
|
|
22
22
|
*
|
package/bundler/flock_wasm_bg.js
CHANGED
|
@@ -205,16 +205,6 @@ function debugString(val) {
|
|
|
205
205
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
206
206
|
return className;
|
|
207
207
|
}
|
|
208
|
-
/**
|
|
209
|
-
* Initializes the WASM module.
|
|
210
|
-
*
|
|
211
|
-
* This function is automatically called when the WASM module is loaded.
|
|
212
|
-
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
213
|
-
*/
|
|
214
|
-
export function start() {
|
|
215
|
-
wasm.start();
|
|
216
|
-
}
|
|
217
|
-
|
|
218
208
|
/**
|
|
219
209
|
* Drains the pending callback queue, invoking all enqueued callbacks.
|
|
220
210
|
*
|
|
@@ -228,6 +218,16 @@ export function callPendingEvents() {
|
|
|
228
218
|
wasm.callPendingEvents();
|
|
229
219
|
}
|
|
230
220
|
|
|
221
|
+
/**
|
|
222
|
+
* Initializes the WASM module.
|
|
223
|
+
*
|
|
224
|
+
* This function is automatically called when the WASM module is loaded.
|
|
225
|
+
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
226
|
+
*/
|
|
227
|
+
export function start() {
|
|
228
|
+
wasm.start();
|
|
229
|
+
}
|
|
230
|
+
|
|
231
231
|
function takeFromExternrefTable0(idx) {
|
|
232
232
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
233
233
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -252,7 +252,7 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
252
252
|
return ptr;
|
|
253
253
|
}
|
|
254
254
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
255
|
-
wasm.
|
|
255
|
+
wasm.closure43_externref_shim(arg0, arg1, arg2);
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
const RawFlockFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1008,8 +1008,8 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
1008
1008
|
return ret;
|
|
1009
1009
|
};
|
|
1010
1010
|
|
|
1011
|
-
export function
|
|
1012
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1011
|
+
export function __wbindgen_closure_wrapper303(arg0, arg1, arg2) {
|
|
1012
|
+
const ret = makeMutClosure(arg0, arg1, 44, __wbg_adapter_56);
|
|
1013
1013
|
return ret;
|
|
1014
1014
|
};
|
|
1015
1015
|
|
|
Binary file
|
|
@@ -36,5 +36,5 @@ export const __wbindgen_export_4: WebAssembly.Table;
|
|
|
36
36
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
37
37
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
38
38
|
export const __externref_table_dealloc: (a: number) => void;
|
|
39
|
-
export const
|
|
39
|
+
export const closure43_externref_shim: (a: number, b: number, c: any) => void;
|
|
40
40
|
export const __wbindgen_start: () => void;
|
package/bundler/index.js
CHANGED
package/nodejs/flock_wasm.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Initializes the WASM module.
|
|
5
|
-
*
|
|
6
|
-
* This function is automatically called when the WASM module is loaded.
|
|
7
|
-
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
8
|
-
*/
|
|
9
|
-
export function start(): void;
|
|
10
3
|
/**
|
|
11
4
|
* Drains the pending callback queue, invoking all enqueued callbacks.
|
|
12
5
|
*
|
|
@@ -17,6 +10,13 @@ export function start(): void;
|
|
|
17
10
|
* the error is propagated to JavaScript after the current batch completes.
|
|
18
11
|
*/
|
|
19
12
|
export function callPendingEvents(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Initializes the WASM module.
|
|
15
|
+
*
|
|
16
|
+
* This function is automatically called when the WASM module is loaded.
|
|
17
|
+
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
18
|
+
*/
|
|
19
|
+
export function start(): void;
|
|
20
20
|
/**
|
|
21
21
|
* The main WASM-exposed flock instance.
|
|
22
22
|
*
|
package/nodejs/flock_wasm.js
CHANGED
|
@@ -201,16 +201,6 @@ function debugString(val) {
|
|
|
201
201
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
202
202
|
return className;
|
|
203
203
|
}
|
|
204
|
-
/**
|
|
205
|
-
* Initializes the WASM module.
|
|
206
|
-
*
|
|
207
|
-
* This function is automatically called when the WASM module is loaded.
|
|
208
|
-
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
209
|
-
*/
|
|
210
|
-
module.exports.start = function() {
|
|
211
|
-
wasm.start();
|
|
212
|
-
};
|
|
213
|
-
|
|
214
204
|
/**
|
|
215
205
|
* Drains the pending callback queue, invoking all enqueued callbacks.
|
|
216
206
|
*
|
|
@@ -224,6 +214,16 @@ module.exports.callPendingEvents = function() {
|
|
|
224
214
|
wasm.callPendingEvents();
|
|
225
215
|
};
|
|
226
216
|
|
|
217
|
+
/**
|
|
218
|
+
* Initializes the WASM module.
|
|
219
|
+
*
|
|
220
|
+
* This function is automatically called when the WASM module is loaded.
|
|
221
|
+
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
222
|
+
*/
|
|
223
|
+
module.exports.start = function() {
|
|
224
|
+
wasm.start();
|
|
225
|
+
};
|
|
226
|
+
|
|
227
227
|
function takeFromExternrefTable0(idx) {
|
|
228
228
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
229
229
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -248,7 +248,7 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
248
248
|
return ptr;
|
|
249
249
|
}
|
|
250
250
|
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
251
|
-
wasm.
|
|
251
|
+
wasm.closure43_externref_shim(arg0, arg1, arg2);
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
const RawFlockFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1005,8 +1005,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
1005
1005
|
return ret;
|
|
1006
1006
|
};
|
|
1007
1007
|
|
|
1008
|
-
module.exports.
|
|
1009
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1008
|
+
module.exports.__wbindgen_closure_wrapper303 = function(arg0, arg1, arg2) {
|
|
1009
|
+
const ret = makeMutClosure(arg0, arg1, 44, __wbg_adapter_56);
|
|
1010
1010
|
return ret;
|
|
1011
1011
|
};
|
|
1012
1012
|
|
|
Binary file
|
|
@@ -36,5 +36,5 @@ export const __wbindgen_export_4: WebAssembly.Table;
|
|
|
36
36
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
37
37
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
38
38
|
export const __externref_table_dealloc: (a: number) => void;
|
|
39
|
-
export const
|
|
39
|
+
export const closure43_externref_shim: (a: number, b: number, c: any) => void;
|
|
40
40
|
export const __wbindgen_start: () => void;
|
package/nodejs/index.js
CHANGED
package/package.json
CHANGED
package/web/flock_wasm.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Initializes the WASM module.
|
|
5
|
-
*
|
|
6
|
-
* This function is automatically called when the WASM module is loaded.
|
|
7
|
-
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
8
|
-
*/
|
|
9
|
-
export function start(): void;
|
|
10
3
|
/**
|
|
11
4
|
* Drains the pending callback queue, invoking all enqueued callbacks.
|
|
12
5
|
*
|
|
@@ -17,6 +10,13 @@ export function start(): void;
|
|
|
17
10
|
* the error is propagated to JavaScript after the current batch completes.
|
|
18
11
|
*/
|
|
19
12
|
export function callPendingEvents(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Initializes the WASM module.
|
|
15
|
+
*
|
|
16
|
+
* This function is automatically called when the WASM module is loaded.
|
|
17
|
+
* It sets up the panic hook to route Rust panics to the JavaScript console.
|
|
18
|
+
*/
|
|
19
|
+
export function start(): void;
|
|
20
20
|
/**
|
|
21
21
|
* The main WASM-exposed flock instance.
|
|
22
22
|
*
|
|
@@ -356,7 +356,7 @@ export interface InitOutput {
|
|
|
356
356
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
357
357
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
358
358
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
359
|
-
readonly
|
|
359
|
+
readonly closure43_externref_shim: (a: number, b: number, c: any) => void;
|
|
360
360
|
readonly __wbindgen_start: () => void;
|
|
361
361
|
}
|
|
362
362
|
|
package/web/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/web/flock_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -36,5 +36,5 @@ export const __wbindgen_export_4: WebAssembly.Table;
|
|
|
36
36
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
37
37
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
38
38
|
export const __externref_table_dealloc: (a: number) => void;
|
|
39
|
-
export const
|
|
39
|
+
export const closure43_externref_shim: (a: number, b: number, c: any) => void;
|
|
40
40
|
export const __wbindgen_start: () => void;
|
package/web/index.js
CHANGED