loro-crdt 1.16.0 → 1.16.2
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/CHANGELOG.md +56 -0
- package/base64/index.js +36 -36
- package/browser/index.js +15 -15
- package/browser/loro_wasm.js +45 -45
- package/browser/loro_wasm_bg.js +21 -21
- package/browser/loro_wasm_bg.wasm +0 -0
- package/browser/loro_wasm_bg.wasm.d.ts +2 -2
- package/bundler/index.js +15 -15
- package/bundler/loro_wasm_bg.js +21 -21
- package/bundler/loro_wasm_bg.wasm +0 -0
- package/bundler/loro_wasm_bg.wasm.d.ts +2 -2
- package/nodejs/loro_wasm.js +21 -21
- package/nodejs/loro_wasm_bg.wasm +0 -0
- package/nodejs/loro_wasm_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
- package/web/loro_wasm.d.ts +2 -2
- package/web/loro_wasm.js +20 -20
- package/web/loro_wasm_bg.wasm +0 -0
- package/web/loro_wasm_bg.wasm.d.ts +2 -2
- /package/browser/snippets/{loro-wasm-0dc0eaeaf03de4ab → loro-wasm-00a42dcc1beb7b21}/inline0.js +0 -0
- /package/bundler/snippets/{loro-wasm-0dc0eaeaf03de4ab → loro-wasm-00a42dcc1beb7b21}/inline0.js +0 -0
- /package/nodejs/snippets/{loro-wasm-0dc0eaeaf03de4ab → loro-wasm-00a42dcc1beb7b21}/inline0.js +0 -0
- /package/web/snippets/{loro-wasm-0dc0eaeaf03de4ab → loro-wasm-00a42dcc1beb7b21}/inline0.js +0 -0
package/browser/index.js
CHANGED
|
@@ -409,7 +409,7 @@ export {
|
|
|
409
409
|
__wbg_done_769e5ede4b31c67b,
|
|
410
410
|
__wbg_entries_3265d4158b33e5dc,
|
|
411
411
|
__wbg_entries_c8a90a7ed73e84ce,
|
|
412
|
-
|
|
412
|
+
__wbg_error_b1d64315f7b2330b,
|
|
413
413
|
__wbg_from_2a5d3e218e67aa85,
|
|
414
414
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
415
415
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -427,8 +427,8 @@ export {
|
|
|
427
427
|
__wbg_length_a446193dc22c12f8,
|
|
428
428
|
__wbg_length_e2d2a49132c1b256,
|
|
429
429
|
__wbg_log_0cc1b7768397bcfe,
|
|
430
|
-
__wbg_log_c8b807a41c4fb9b4,
|
|
431
430
|
__wbg_log_cb9e190acc5753fb,
|
|
431
|
+
__wbg_log_df8a54ea863a0cd4,
|
|
432
432
|
__wbg_lorocounter_new,
|
|
433
433
|
__wbg_lorolist_new,
|
|
434
434
|
__wbg_loromap_new,
|
|
@@ -451,7 +451,7 @@ export {
|
|
|
451
451
|
__wbg_next_25feadfc0913fea9,
|
|
452
452
|
__wbg_next_6574e1a8a62d1055,
|
|
453
453
|
__wbg_node_905d3e251edff8a2,
|
|
454
|
-
|
|
454
|
+
__wbg_now_a326ae9abb0bdbb1,
|
|
455
455
|
__wbg_ownKeys_3930041068756f1f,
|
|
456
456
|
__wbg_process_dc0fbacc7c1c06f7,
|
|
457
457
|
__wbg_push_737cfc8c1432c2c6,
|
|
@@ -465,15 +465,15 @@ export {
|
|
|
465
465
|
__wbg_set_bb8cecf6a62b9f46,
|
|
466
466
|
__wbg_set_wasm,
|
|
467
467
|
__wbg_setindex_dcd71eabf405bde1,
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
468
|
+
__wbg_stateBinary_16871a591dc334f0,
|
|
469
|
+
__wbg_stateCid_c73ac0b2e145d6fa,
|
|
470
|
+
__wbg_stateContainer_7e2e342eb34cfc43,
|
|
471
|
+
__wbg_stateIndex_1649f9be165adc06,
|
|
472
|
+
__wbg_stateOptions_715a60383a215f03,
|
|
473
|
+
__wbg_stateRootCid_fd5a57597e5a6878,
|
|
474
|
+
__wbg_stateSet_94c2e7ed3e5880bb,
|
|
475
|
+
__wbg_stateSlice_90b6948816597251,
|
|
476
|
+
__wbg_stateValue_26fc5effdba0aa3e,
|
|
477
477
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
478
478
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
479
479
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -483,15 +483,15 @@ export {
|
|
|
483
483
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
484
484
|
__wbg_versions_c01dfd4722a88165,
|
|
485
485
|
__wbg_versionvector_new,
|
|
486
|
-
|
|
486
|
+
__wbg_warn_3405af8b3bbb5a6a,
|
|
487
487
|
__wbindgen_as_number,
|
|
488
488
|
__wbindgen_bigint_from_i64,
|
|
489
489
|
__wbindgen_bigint_from_u64,
|
|
490
490
|
__wbindgen_bigint_get_as_i64,
|
|
491
491
|
__wbindgen_boolean_get,
|
|
492
492
|
__wbindgen_cb_drop,
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
__wbindgen_closure_wrapper283,
|
|
494
|
+
__wbindgen_closure_wrapper542,
|
|
495
495
|
__wbindgen_debug_string,
|
|
496
496
|
__wbindgen_error_new,
|
|
497
497
|
__wbindgen_in,
|
package/browser/loro_wasm.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
__wbg_done_769e5ede4b31c67b,
|
|
29
29
|
__wbg_entries_3265d4158b33e5dc,
|
|
30
30
|
__wbg_entries_c8a90a7ed73e84ce,
|
|
31
|
-
|
|
31
|
+
__wbg_error_b1d64315f7b2330b,
|
|
32
32
|
__wbg_from_2a5d3e218e67aa85,
|
|
33
33
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
34
34
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -46,8 +46,8 @@ import {
|
|
|
46
46
|
__wbg_length_a446193dc22c12f8,
|
|
47
47
|
__wbg_length_e2d2a49132c1b256,
|
|
48
48
|
__wbg_log_0cc1b7768397bcfe,
|
|
49
|
-
__wbg_log_c8b807a41c4fb9b4,
|
|
50
49
|
__wbg_log_cb9e190acc5753fb,
|
|
50
|
+
__wbg_log_df8a54ea863a0cd4,
|
|
51
51
|
__wbg_lorocounter_new,
|
|
52
52
|
__wbg_lorolist_new,
|
|
53
53
|
__wbg_loromap_new,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
__wbg_next_25feadfc0913fea9,
|
|
71
71
|
__wbg_next_6574e1a8a62d1055,
|
|
72
72
|
__wbg_node_905d3e251edff8a2,
|
|
73
|
-
|
|
73
|
+
__wbg_now_a326ae9abb0bdbb1,
|
|
74
74
|
__wbg_ownKeys_3930041068756f1f,
|
|
75
75
|
__wbg_process_dc0fbacc7c1c06f7,
|
|
76
76
|
__wbg_push_737cfc8c1432c2c6,
|
|
@@ -84,15 +84,15 @@ import {
|
|
|
84
84
|
__wbg_set_bb8cecf6a62b9f46,
|
|
85
85
|
__wbg_set_wasm,
|
|
86
86
|
__wbg_setindex_dcd71eabf405bde1,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
87
|
+
__wbg_stateBinary_16871a591dc334f0,
|
|
88
|
+
__wbg_stateCid_c73ac0b2e145d6fa,
|
|
89
|
+
__wbg_stateContainer_7e2e342eb34cfc43,
|
|
90
|
+
__wbg_stateIndex_1649f9be165adc06,
|
|
91
|
+
__wbg_stateOptions_715a60383a215f03,
|
|
92
|
+
__wbg_stateRootCid_fd5a57597e5a6878,
|
|
93
|
+
__wbg_stateSet_94c2e7ed3e5880bb,
|
|
94
|
+
__wbg_stateSlice_90b6948816597251,
|
|
95
|
+
__wbg_stateValue_26fc5effdba0aa3e,
|
|
96
96
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
97
97
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
98
98
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -102,15 +102,15 @@ import {
|
|
|
102
102
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
103
103
|
__wbg_versions_c01dfd4722a88165,
|
|
104
104
|
__wbg_versionvector_new,
|
|
105
|
-
|
|
105
|
+
__wbg_warn_3405af8b3bbb5a6a,
|
|
106
106
|
__wbindgen_as_number,
|
|
107
107
|
__wbindgen_bigint_from_i64,
|
|
108
108
|
__wbindgen_bigint_from_u64,
|
|
109
109
|
__wbindgen_bigint_get_as_i64,
|
|
110
110
|
__wbindgen_boolean_get,
|
|
111
111
|
__wbindgen_cb_drop,
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
__wbindgen_closure_wrapper283,
|
|
113
|
+
__wbindgen_closure_wrapper542,
|
|
114
114
|
__wbindgen_debug_string,
|
|
115
115
|
__wbindgen_error_new,
|
|
116
116
|
__wbindgen_in,
|
|
@@ -176,7 +176,7 @@ const imports = {
|
|
|
176
176
|
__wbg_done_769e5ede4b31c67b,
|
|
177
177
|
__wbg_entries_3265d4158b33e5dc,
|
|
178
178
|
__wbg_entries_c8a90a7ed73e84ce,
|
|
179
|
-
|
|
179
|
+
__wbg_error_b1d64315f7b2330b,
|
|
180
180
|
__wbg_from_2a5d3e218e67aa85,
|
|
181
181
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
182
182
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -194,8 +194,8 @@ const imports = {
|
|
|
194
194
|
__wbg_length_a446193dc22c12f8,
|
|
195
195
|
__wbg_length_e2d2a49132c1b256,
|
|
196
196
|
__wbg_log_0cc1b7768397bcfe,
|
|
197
|
-
__wbg_log_c8b807a41c4fb9b4,
|
|
198
197
|
__wbg_log_cb9e190acc5753fb,
|
|
198
|
+
__wbg_log_df8a54ea863a0cd4,
|
|
199
199
|
__wbg_lorocounter_new,
|
|
200
200
|
__wbg_lorolist_new,
|
|
201
201
|
__wbg_loromap_new,
|
|
@@ -218,7 +218,7 @@ const imports = {
|
|
|
218
218
|
__wbg_next_25feadfc0913fea9,
|
|
219
219
|
__wbg_next_6574e1a8a62d1055,
|
|
220
220
|
__wbg_node_905d3e251edff8a2,
|
|
221
|
-
|
|
221
|
+
__wbg_now_a326ae9abb0bdbb1,
|
|
222
222
|
__wbg_ownKeys_3930041068756f1f,
|
|
223
223
|
__wbg_process_dc0fbacc7c1c06f7,
|
|
224
224
|
__wbg_push_737cfc8c1432c2c6,
|
|
@@ -232,15 +232,15 @@ const imports = {
|
|
|
232
232
|
__wbg_set_bb8cecf6a62b9f46,
|
|
233
233
|
__wbg_set_wasm,
|
|
234
234
|
__wbg_setindex_dcd71eabf405bde1,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
235
|
+
__wbg_stateBinary_16871a591dc334f0,
|
|
236
|
+
__wbg_stateCid_c73ac0b2e145d6fa,
|
|
237
|
+
__wbg_stateContainer_7e2e342eb34cfc43,
|
|
238
|
+
__wbg_stateIndex_1649f9be165adc06,
|
|
239
|
+
__wbg_stateOptions_715a60383a215f03,
|
|
240
|
+
__wbg_stateRootCid_fd5a57597e5a6878,
|
|
241
|
+
__wbg_stateSet_94c2e7ed3e5880bb,
|
|
242
|
+
__wbg_stateSlice_90b6948816597251,
|
|
243
|
+
__wbg_stateValue_26fc5effdba0aa3e,
|
|
244
244
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
245
245
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
246
246
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -250,15 +250,15 @@ const imports = {
|
|
|
250
250
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
251
251
|
__wbg_versions_c01dfd4722a88165,
|
|
252
252
|
__wbg_versionvector_new,
|
|
253
|
-
|
|
253
|
+
__wbg_warn_3405af8b3bbb5a6a,
|
|
254
254
|
__wbindgen_as_number,
|
|
255
255
|
__wbindgen_bigint_from_i64,
|
|
256
256
|
__wbindgen_bigint_from_u64,
|
|
257
257
|
__wbindgen_bigint_get_as_i64,
|
|
258
258
|
__wbindgen_boolean_get,
|
|
259
259
|
__wbindgen_cb_drop,
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
__wbindgen_closure_wrapper283,
|
|
261
|
+
__wbindgen_closure_wrapper542,
|
|
262
262
|
__wbindgen_debug_string,
|
|
263
263
|
__wbindgen_error_new,
|
|
264
264
|
__wbindgen_in,
|
|
@@ -378,7 +378,7 @@ export {
|
|
|
378
378
|
__wbg_done_769e5ede4b31c67b,
|
|
379
379
|
__wbg_entries_3265d4158b33e5dc,
|
|
380
380
|
__wbg_entries_c8a90a7ed73e84ce,
|
|
381
|
-
|
|
381
|
+
__wbg_error_b1d64315f7b2330b,
|
|
382
382
|
__wbg_from_2a5d3e218e67aa85,
|
|
383
383
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
384
384
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -396,8 +396,8 @@ export {
|
|
|
396
396
|
__wbg_length_a446193dc22c12f8,
|
|
397
397
|
__wbg_length_e2d2a49132c1b256,
|
|
398
398
|
__wbg_log_0cc1b7768397bcfe,
|
|
399
|
-
__wbg_log_c8b807a41c4fb9b4,
|
|
400
399
|
__wbg_log_cb9e190acc5753fb,
|
|
400
|
+
__wbg_log_df8a54ea863a0cd4,
|
|
401
401
|
__wbg_lorocounter_new,
|
|
402
402
|
__wbg_lorolist_new,
|
|
403
403
|
__wbg_loromap_new,
|
|
@@ -420,7 +420,7 @@ export {
|
|
|
420
420
|
__wbg_next_25feadfc0913fea9,
|
|
421
421
|
__wbg_next_6574e1a8a62d1055,
|
|
422
422
|
__wbg_node_905d3e251edff8a2,
|
|
423
|
-
|
|
423
|
+
__wbg_now_a326ae9abb0bdbb1,
|
|
424
424
|
__wbg_ownKeys_3930041068756f1f,
|
|
425
425
|
__wbg_process_dc0fbacc7c1c06f7,
|
|
426
426
|
__wbg_push_737cfc8c1432c2c6,
|
|
@@ -434,15 +434,15 @@ export {
|
|
|
434
434
|
__wbg_set_bb8cecf6a62b9f46,
|
|
435
435
|
__wbg_set_wasm,
|
|
436
436
|
__wbg_setindex_dcd71eabf405bde1,
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
437
|
+
__wbg_stateBinary_16871a591dc334f0,
|
|
438
|
+
__wbg_stateCid_c73ac0b2e145d6fa,
|
|
439
|
+
__wbg_stateContainer_7e2e342eb34cfc43,
|
|
440
|
+
__wbg_stateIndex_1649f9be165adc06,
|
|
441
|
+
__wbg_stateOptions_715a60383a215f03,
|
|
442
|
+
__wbg_stateRootCid_fd5a57597e5a6878,
|
|
443
|
+
__wbg_stateSet_94c2e7ed3e5880bb,
|
|
444
|
+
__wbg_stateSlice_90b6948816597251,
|
|
445
|
+
__wbg_stateValue_26fc5effdba0aa3e,
|
|
446
446
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
447
447
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
448
448
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -452,15 +452,15 @@ export {
|
|
|
452
452
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
453
453
|
__wbg_versions_c01dfd4722a88165,
|
|
454
454
|
__wbg_versionvector_new,
|
|
455
|
-
|
|
455
|
+
__wbg_warn_3405af8b3bbb5a6a,
|
|
456
456
|
__wbindgen_as_number,
|
|
457
457
|
__wbindgen_bigint_from_i64,
|
|
458
458
|
__wbindgen_bigint_from_u64,
|
|
459
459
|
__wbindgen_bigint_get_as_i64,
|
|
460
460
|
__wbindgen_boolean_get,
|
|
461
461
|
__wbindgen_cb_drop,
|
|
462
|
-
|
|
463
|
-
|
|
462
|
+
__wbindgen_closure_wrapper283,
|
|
463
|
+
__wbindgen_closure_wrapper542,
|
|
464
464
|
__wbindgen_debug_string,
|
|
465
465
|
__wbindgen_error_new,
|
|
466
466
|
__wbindgen_in,
|
package/browser/loro_wasm_bg.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { stateBinary, stateCid, stateContainer, stateIndex, stateOptions, stateRootCid, stateSet, stateSlice, stateValue } from './snippets/loro-wasm-
|
|
1
|
+
import { stateBinary, stateCid, stateContainer, stateIndex, stateOptions, stateRootCid, stateSet, stateSlice, stateValue } from './snippets/loro-wasm-00a42dcc1beb7b21/inline0.js';
|
|
2
2
|
|
|
3
3
|
let wasm;
|
|
4
4
|
export function __wbg_set_wasm(val) {
|
|
@@ -439,11 +439,11 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
439
439
|
return result;
|
|
440
440
|
}
|
|
441
441
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
|
442
|
-
wasm.
|
|
442
|
+
wasm._dyn_core_ed718c3d60ebd546___ops__function__FnMut_______Output______as_wasm_bindgen_cfd5deec16e3bd1c___closure__WasmClosure___describe__invoke___wasm_bindgen_cfd5deec16e3bd1c___JsValue_____(arg0, arg1, addHeapObject(arg2));
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
function __wbg_adapter_61(arg0, arg1) {
|
|
446
|
-
wasm.
|
|
446
|
+
wasm._dyn_core_ed718c3d60ebd546___ops__function__FnMut_____Output______as_wasm_bindgen_cfd5deec16e3bd1c___closure__WasmClosure___describe__invoke______(arg0, arg1);
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
const AwarenessWasmFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -7828,7 +7828,7 @@ export function __wbg_entries_c8a90a7ed73e84ce(arg0) {
|
|
|
7828
7828
|
return addHeapObject(ret);
|
|
7829
7829
|
};
|
|
7830
7830
|
|
|
7831
|
-
export function
|
|
7831
|
+
export function __wbg_error_b1d64315f7b2330b(arg0, arg1) {
|
|
7832
7832
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
7833
7833
|
};
|
|
7834
7834
|
|
|
@@ -7947,10 +7947,6 @@ export function __wbg_log_0cc1b7768397bcfe(arg0, arg1, arg2, arg3, arg4, arg5, a
|
|
|
7947
7947
|
}
|
|
7948
7948
|
};
|
|
7949
7949
|
|
|
7950
|
-
export function __wbg_log_c8b807a41c4fb9b4(arg0, arg1) {
|
|
7951
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
7952
|
-
};
|
|
7953
|
-
|
|
7954
7950
|
export function __wbg_log_cb9e190acc5753fb(arg0, arg1) {
|
|
7955
7951
|
let deferred0_0;
|
|
7956
7952
|
let deferred0_1;
|
|
@@ -7963,6 +7959,10 @@ export function __wbg_log_cb9e190acc5753fb(arg0, arg1) {
|
|
|
7963
7959
|
}
|
|
7964
7960
|
};
|
|
7965
7961
|
|
|
7962
|
+
export function __wbg_log_df8a54ea863a0cd4(arg0, arg1) {
|
|
7963
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
7964
|
+
};
|
|
7965
|
+
|
|
7966
7966
|
export function __wbg_lorocounter_new(arg0) {
|
|
7967
7967
|
const ret = LoroCounter.__wrap(arg0);
|
|
7968
7968
|
return addHeapObject(ret);
|
|
@@ -8084,7 +8084,7 @@ export function __wbg_node_905d3e251edff8a2(arg0) {
|
|
|
8084
8084
|
return addHeapObject(ret);
|
|
8085
8085
|
};
|
|
8086
8086
|
|
|
8087
|
-
export function
|
|
8087
|
+
export function __wbg_now_a326ae9abb0bdbb1() {
|
|
8088
8088
|
const ret = Date.now();
|
|
8089
8089
|
return ret;
|
|
8090
8090
|
};
|
|
@@ -8144,45 +8144,45 @@ export function __wbg_setindex_dcd71eabf405bde1(arg0, arg1, arg2) {
|
|
|
8144
8144
|
getObject(arg0)[arg1 >>> 0] = arg2;
|
|
8145
8145
|
};
|
|
8146
8146
|
|
|
8147
|
-
export function
|
|
8147
|
+
export function __wbg_stateBinary_16871a591dc334f0(arg0, arg1) {
|
|
8148
8148
|
const ret = stateBinary(getArrayU8FromWasm0(arg0, arg1));
|
|
8149
8149
|
return addHeapObject(ret);
|
|
8150
8150
|
};
|
|
8151
8151
|
|
|
8152
|
-
export function
|
|
8152
|
+
export function __wbg_stateCid_c73ac0b2e145d6fa(arg0, arg1, arg2) {
|
|
8153
8153
|
const ret = stateCid(getObject(arg0), arg1, arg2);
|
|
8154
8154
|
return addHeapObject(ret);
|
|
8155
8155
|
};
|
|
8156
8156
|
|
|
8157
|
-
export function
|
|
8157
|
+
export function __wbg_stateContainer_7e2e342eb34cfc43(arg0, arg1, arg2) {
|
|
8158
8158
|
const ret = stateContainer(arg0, getObject(arg1), takeObject(arg2));
|
|
8159
8159
|
return addHeapObject(ret);
|
|
8160
8160
|
};
|
|
8161
8161
|
|
|
8162
|
-
export function
|
|
8162
|
+
export function __wbg_stateIndex_1649f9be165adc06() { return handleError(function (arg0, arg1, arg2) {
|
|
8163
8163
|
stateIndex(getObject(arg0), arg1 >>> 0, getObject(arg2));
|
|
8164
8164
|
}, arguments) };
|
|
8165
8165
|
|
|
8166
|
-
export function
|
|
8166
|
+
export function __wbg_stateOptions_715a60383a215f03() { return handleError(function (arg0, arg1) {
|
|
8167
8167
|
const ret = stateOptions(takeObject(arg0), arg1 !== 0);
|
|
8168
8168
|
return addHeapObject(ret);
|
|
8169
8169
|
}, arguments) };
|
|
8170
8170
|
|
|
8171
|
-
export function
|
|
8171
|
+
export function __wbg_stateRootCid_fd5a57597e5a6878(arg0, arg1, arg2) {
|
|
8172
8172
|
const ret = stateRootCid(getStringFromWasm0(arg0, arg1), arg2);
|
|
8173
8173
|
return addHeapObject(ret);
|
|
8174
8174
|
};
|
|
8175
8175
|
|
|
8176
|
-
export function
|
|
8176
|
+
export function __wbg_stateSet_94c2e7ed3e5880bb() { return handleError(function (arg0, arg1, arg2) {
|
|
8177
8177
|
stateSet(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
8178
8178
|
}, arguments) };
|
|
8179
8179
|
|
|
8180
|
-
export function
|
|
8180
|
+
export function __wbg_stateSlice_90b6948816597251(arg0, arg1, arg2) {
|
|
8181
8181
|
const ret = stateSlice(takeObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
8182
8182
|
return addHeapObject(ret);
|
|
8183
8183
|
};
|
|
8184
8184
|
|
|
8185
|
-
export function
|
|
8185
|
+
export function __wbg_stateValue_26fc5effdba0aa3e(arg0) {
|
|
8186
8186
|
const ret = stateValue(takeObject(arg0));
|
|
8187
8187
|
return addHeapObject(ret);
|
|
8188
8188
|
};
|
|
@@ -8232,7 +8232,7 @@ export function __wbg_versionvector_new(arg0) {
|
|
|
8232
8232
|
return addHeapObject(ret);
|
|
8233
8233
|
};
|
|
8234
8234
|
|
|
8235
|
-
export function
|
|
8235
|
+
export function __wbg_warn_3405af8b3bbb5a6a(arg0, arg1) {
|
|
8236
8236
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
8237
8237
|
};
|
|
8238
8238
|
|
|
@@ -8274,12 +8274,12 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
8274
8274
|
return ret;
|
|
8275
8275
|
};
|
|
8276
8276
|
|
|
8277
|
-
export function
|
|
8277
|
+
export function __wbindgen_closure_wrapper283(arg0, arg1, arg2) {
|
|
8278
8278
|
const ret = makeMutClosure(arg0, arg1, 15, __wbg_adapter_58);
|
|
8279
8279
|
return addHeapObject(ret);
|
|
8280
8280
|
};
|
|
8281
8281
|
|
|
8282
|
-
export function
|
|
8282
|
+
export function __wbindgen_closure_wrapper542(arg0, arg1, arg2) {
|
|
8283
8283
|
const ret = makeMutClosure(arg0, arg1, 15, __wbg_adapter_61);
|
|
8284
8284
|
return addHeapObject(ret);
|
|
8285
8285
|
};
|
|
Binary file
|
|
@@ -352,6 +352,6 @@ export const __wbindgen_exn_store: (a: number) => void;
|
|
|
352
352
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
353
353
|
export const __wbindgen_export_4: WebAssembly.Table;
|
|
354
354
|
export const __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
355
|
-
export const
|
|
356
|
-
export const
|
|
355
|
+
export const _dyn_core_ed718c3d60ebd546___ops__function__FnMut_______Output______as_wasm_bindgen_cfd5deec16e3bd1c___closure__WasmClosure___describe__invoke___wasm_bindgen_cfd5deec16e3bd1c___JsValue_____: (a: number, b: number, c: number) => void;
|
|
356
|
+
export const _dyn_core_ed718c3d60ebd546___ops__function__FnMut_____Output______as_wasm_bindgen_cfd5deec16e3bd1c___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
|
|
357
357
|
export const __wbindgen_start: () => void;
|
package/bundler/index.js
CHANGED
|
@@ -409,7 +409,7 @@ export {
|
|
|
409
409
|
__wbg_done_769e5ede4b31c67b,
|
|
410
410
|
__wbg_entries_3265d4158b33e5dc,
|
|
411
411
|
__wbg_entries_c8a90a7ed73e84ce,
|
|
412
|
-
|
|
412
|
+
__wbg_error_b1d64315f7b2330b,
|
|
413
413
|
__wbg_from_2a5d3e218e67aa85,
|
|
414
414
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
415
415
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -427,8 +427,8 @@ export {
|
|
|
427
427
|
__wbg_length_a446193dc22c12f8,
|
|
428
428
|
__wbg_length_e2d2a49132c1b256,
|
|
429
429
|
__wbg_log_0cc1b7768397bcfe,
|
|
430
|
-
__wbg_log_c8b807a41c4fb9b4,
|
|
431
430
|
__wbg_log_cb9e190acc5753fb,
|
|
431
|
+
__wbg_log_df8a54ea863a0cd4,
|
|
432
432
|
__wbg_lorocounter_new,
|
|
433
433
|
__wbg_lorolist_new,
|
|
434
434
|
__wbg_loromap_new,
|
|
@@ -451,7 +451,7 @@ export {
|
|
|
451
451
|
__wbg_next_25feadfc0913fea9,
|
|
452
452
|
__wbg_next_6574e1a8a62d1055,
|
|
453
453
|
__wbg_node_905d3e251edff8a2,
|
|
454
|
-
|
|
454
|
+
__wbg_now_a326ae9abb0bdbb1,
|
|
455
455
|
__wbg_ownKeys_3930041068756f1f,
|
|
456
456
|
__wbg_process_dc0fbacc7c1c06f7,
|
|
457
457
|
__wbg_push_737cfc8c1432c2c6,
|
|
@@ -465,15 +465,15 @@ export {
|
|
|
465
465
|
__wbg_set_bb8cecf6a62b9f46,
|
|
466
466
|
__wbg_set_wasm,
|
|
467
467
|
__wbg_setindex_dcd71eabf405bde1,
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
468
|
+
__wbg_stateBinary_16871a591dc334f0,
|
|
469
|
+
__wbg_stateCid_c73ac0b2e145d6fa,
|
|
470
|
+
__wbg_stateContainer_7e2e342eb34cfc43,
|
|
471
|
+
__wbg_stateIndex_1649f9be165adc06,
|
|
472
|
+
__wbg_stateOptions_715a60383a215f03,
|
|
473
|
+
__wbg_stateRootCid_fd5a57597e5a6878,
|
|
474
|
+
__wbg_stateSet_94c2e7ed3e5880bb,
|
|
475
|
+
__wbg_stateSlice_90b6948816597251,
|
|
476
|
+
__wbg_stateValue_26fc5effdba0aa3e,
|
|
477
477
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
478
478
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
479
479
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -483,15 +483,15 @@ export {
|
|
|
483
483
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
484
484
|
__wbg_versions_c01dfd4722a88165,
|
|
485
485
|
__wbg_versionvector_new,
|
|
486
|
-
|
|
486
|
+
__wbg_warn_3405af8b3bbb5a6a,
|
|
487
487
|
__wbindgen_as_number,
|
|
488
488
|
__wbindgen_bigint_from_i64,
|
|
489
489
|
__wbindgen_bigint_from_u64,
|
|
490
490
|
__wbindgen_bigint_get_as_i64,
|
|
491
491
|
__wbindgen_boolean_get,
|
|
492
492
|
__wbindgen_cb_drop,
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
__wbindgen_closure_wrapper283,
|
|
494
|
+
__wbindgen_closure_wrapper542,
|
|
495
495
|
__wbindgen_debug_string,
|
|
496
496
|
__wbindgen_error_new,
|
|
497
497
|
__wbindgen_in,
|
package/bundler/loro_wasm_bg.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { stateBinary, stateCid, stateContainer, stateIndex, stateOptions, stateRootCid, stateSet, stateSlice, stateValue } from './snippets/loro-wasm-
|
|
1
|
+
import { stateBinary, stateCid, stateContainer, stateIndex, stateOptions, stateRootCid, stateSet, stateSlice, stateValue } from './snippets/loro-wasm-00a42dcc1beb7b21/inline0.js';
|
|
2
2
|
|
|
3
3
|
let wasm;
|
|
4
4
|
export function __wbg_set_wasm(val) {
|
|
@@ -439,11 +439,11 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
439
439
|
return result;
|
|
440
440
|
}
|
|
441
441
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
|
442
|
-
wasm.
|
|
442
|
+
wasm._dyn_core_ed718c3d60ebd546___ops__function__FnMut_______Output______as_wasm_bindgen_cfd5deec16e3bd1c___closure__WasmClosure___describe__invoke___wasm_bindgen_cfd5deec16e3bd1c___JsValue_____(arg0, arg1, addHeapObject(arg2));
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
function __wbg_adapter_61(arg0, arg1) {
|
|
446
|
-
wasm.
|
|
446
|
+
wasm._dyn_core_ed718c3d60ebd546___ops__function__FnMut_____Output______as_wasm_bindgen_cfd5deec16e3bd1c___closure__WasmClosure___describe__invoke______(arg0, arg1);
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
const AwarenessWasmFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -7828,7 +7828,7 @@ export function __wbg_entries_c8a90a7ed73e84ce(arg0) {
|
|
|
7828
7828
|
return addHeapObject(ret);
|
|
7829
7829
|
};
|
|
7830
7830
|
|
|
7831
|
-
export function
|
|
7831
|
+
export function __wbg_error_b1d64315f7b2330b(arg0, arg1) {
|
|
7832
7832
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
7833
7833
|
};
|
|
7834
7834
|
|
|
@@ -7947,10 +7947,6 @@ export function __wbg_log_0cc1b7768397bcfe(arg0, arg1, arg2, arg3, arg4, arg5, a
|
|
|
7947
7947
|
}
|
|
7948
7948
|
};
|
|
7949
7949
|
|
|
7950
|
-
export function __wbg_log_c8b807a41c4fb9b4(arg0, arg1) {
|
|
7951
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
7952
|
-
};
|
|
7953
|
-
|
|
7954
7950
|
export function __wbg_log_cb9e190acc5753fb(arg0, arg1) {
|
|
7955
7951
|
let deferred0_0;
|
|
7956
7952
|
let deferred0_1;
|
|
@@ -7963,6 +7959,10 @@ export function __wbg_log_cb9e190acc5753fb(arg0, arg1) {
|
|
|
7963
7959
|
}
|
|
7964
7960
|
};
|
|
7965
7961
|
|
|
7962
|
+
export function __wbg_log_df8a54ea863a0cd4(arg0, arg1) {
|
|
7963
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
7964
|
+
};
|
|
7965
|
+
|
|
7966
7966
|
export function __wbg_lorocounter_new(arg0) {
|
|
7967
7967
|
const ret = LoroCounter.__wrap(arg0);
|
|
7968
7968
|
return addHeapObject(ret);
|
|
@@ -8084,7 +8084,7 @@ export function __wbg_node_905d3e251edff8a2(arg0) {
|
|
|
8084
8084
|
return addHeapObject(ret);
|
|
8085
8085
|
};
|
|
8086
8086
|
|
|
8087
|
-
export function
|
|
8087
|
+
export function __wbg_now_a326ae9abb0bdbb1() {
|
|
8088
8088
|
const ret = Date.now();
|
|
8089
8089
|
return ret;
|
|
8090
8090
|
};
|
|
@@ -8144,45 +8144,45 @@ export function __wbg_setindex_dcd71eabf405bde1(arg0, arg1, arg2) {
|
|
|
8144
8144
|
getObject(arg0)[arg1 >>> 0] = arg2;
|
|
8145
8145
|
};
|
|
8146
8146
|
|
|
8147
|
-
export function
|
|
8147
|
+
export function __wbg_stateBinary_16871a591dc334f0(arg0, arg1) {
|
|
8148
8148
|
const ret = stateBinary(getArrayU8FromWasm0(arg0, arg1));
|
|
8149
8149
|
return addHeapObject(ret);
|
|
8150
8150
|
};
|
|
8151
8151
|
|
|
8152
|
-
export function
|
|
8152
|
+
export function __wbg_stateCid_c73ac0b2e145d6fa(arg0, arg1, arg2) {
|
|
8153
8153
|
const ret = stateCid(getObject(arg0), arg1, arg2);
|
|
8154
8154
|
return addHeapObject(ret);
|
|
8155
8155
|
};
|
|
8156
8156
|
|
|
8157
|
-
export function
|
|
8157
|
+
export function __wbg_stateContainer_7e2e342eb34cfc43(arg0, arg1, arg2) {
|
|
8158
8158
|
const ret = stateContainer(arg0, getObject(arg1), takeObject(arg2));
|
|
8159
8159
|
return addHeapObject(ret);
|
|
8160
8160
|
};
|
|
8161
8161
|
|
|
8162
|
-
export function
|
|
8162
|
+
export function __wbg_stateIndex_1649f9be165adc06() { return handleError(function (arg0, arg1, arg2) {
|
|
8163
8163
|
stateIndex(getObject(arg0), arg1 >>> 0, getObject(arg2));
|
|
8164
8164
|
}, arguments) };
|
|
8165
8165
|
|
|
8166
|
-
export function
|
|
8166
|
+
export function __wbg_stateOptions_715a60383a215f03() { return handleError(function (arg0, arg1) {
|
|
8167
8167
|
const ret = stateOptions(takeObject(arg0), arg1 !== 0);
|
|
8168
8168
|
return addHeapObject(ret);
|
|
8169
8169
|
}, arguments) };
|
|
8170
8170
|
|
|
8171
|
-
export function
|
|
8171
|
+
export function __wbg_stateRootCid_fd5a57597e5a6878(arg0, arg1, arg2) {
|
|
8172
8172
|
const ret = stateRootCid(getStringFromWasm0(arg0, arg1), arg2);
|
|
8173
8173
|
return addHeapObject(ret);
|
|
8174
8174
|
};
|
|
8175
8175
|
|
|
8176
|
-
export function
|
|
8176
|
+
export function __wbg_stateSet_94c2e7ed3e5880bb() { return handleError(function (arg0, arg1, arg2) {
|
|
8177
8177
|
stateSet(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
8178
8178
|
}, arguments) };
|
|
8179
8179
|
|
|
8180
|
-
export function
|
|
8180
|
+
export function __wbg_stateSlice_90b6948816597251(arg0, arg1, arg2) {
|
|
8181
8181
|
const ret = stateSlice(takeObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
8182
8182
|
return addHeapObject(ret);
|
|
8183
8183
|
};
|
|
8184
8184
|
|
|
8185
|
-
export function
|
|
8185
|
+
export function __wbg_stateValue_26fc5effdba0aa3e(arg0) {
|
|
8186
8186
|
const ret = stateValue(takeObject(arg0));
|
|
8187
8187
|
return addHeapObject(ret);
|
|
8188
8188
|
};
|
|
@@ -8232,7 +8232,7 @@ export function __wbg_versionvector_new(arg0) {
|
|
|
8232
8232
|
return addHeapObject(ret);
|
|
8233
8233
|
};
|
|
8234
8234
|
|
|
8235
|
-
export function
|
|
8235
|
+
export function __wbg_warn_3405af8b3bbb5a6a(arg0, arg1) {
|
|
8236
8236
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
8237
8237
|
};
|
|
8238
8238
|
|
|
@@ -8274,12 +8274,12 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
8274
8274
|
return ret;
|
|
8275
8275
|
};
|
|
8276
8276
|
|
|
8277
|
-
export function
|
|
8277
|
+
export function __wbindgen_closure_wrapper283(arg0, arg1, arg2) {
|
|
8278
8278
|
const ret = makeMutClosure(arg0, arg1, 15, __wbg_adapter_58);
|
|
8279
8279
|
return addHeapObject(ret);
|
|
8280
8280
|
};
|
|
8281
8281
|
|
|
8282
|
-
export function
|
|
8282
|
+
export function __wbindgen_closure_wrapper542(arg0, arg1, arg2) {
|
|
8283
8283
|
const ret = makeMutClosure(arg0, arg1, 15, __wbg_adapter_61);
|
|
8284
8284
|
return addHeapObject(ret);
|
|
8285
8285
|
};
|
|
Binary file
|
|
@@ -352,6 +352,6 @@ export const __wbindgen_exn_store: (a: number) => void;
|
|
|
352
352
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
353
353
|
export const __wbindgen_export_4: WebAssembly.Table;
|
|
354
354
|
export const __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
355
|
-
export const
|
|
356
|
-
export const
|
|
355
|
+
export const _dyn_core_ed718c3d60ebd546___ops__function__FnMut_______Output______as_wasm_bindgen_cfd5deec16e3bd1c___closure__WasmClosure___describe__invoke___wasm_bindgen_cfd5deec16e3bd1c___JsValue_____: (a: number, b: number, c: number) => void;
|
|
356
|
+
export const _dyn_core_ed718c3d60ebd546___ops__function__FnMut_____Output______as_wasm_bindgen_cfd5deec16e3bd1c___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
|
|
357
357
|
export const __wbindgen_start: () => void;
|