loro-crdt 1.16.2 → 1.16.3
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 +6 -0
- package/base64/index.js +28 -28
- package/browser/index.js +13 -13
- package/browser/loro_wasm.js +39 -39
- package/browser/loro_wasm_bg.js +14 -14
- package/browser/loro_wasm_bg.wasm +0 -0
- package/bundler/index.js +13 -13
- package/bundler/loro_wasm_bg.js +14 -14
- package/bundler/loro_wasm_bg.wasm +0 -0
- package/nodejs/loro_wasm.js +14 -14
- package/nodejs/loro_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/web/loro_wasm.js +14 -14
- package/web/loro_wasm_bg.wasm +0 -0
- /package/browser/snippets/{loro-wasm-00a42dcc1beb7b21 → loro-wasm-c600d14705866f8f}/inline0.js +0 -0
- /package/bundler/snippets/{loro-wasm-00a42dcc1beb7b21 → loro-wasm-c600d14705866f8f}/inline0.js +0 -0
- /package/nodejs/snippets/{loro-wasm-00a42dcc1beb7b21 → loro-wasm-c600d14705866f8f}/inline0.js +0 -0
- /package/web/snippets/{loro-wasm-00a42dcc1beb7b21 → loro-wasm-c600d14705866f8f}/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_10d6926de361eb2b,
|
|
413
413
|
__wbg_from_2a5d3e218e67aa85,
|
|
414
414
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
415
415
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -428,7 +428,7 @@ export {
|
|
|
428
428
|
__wbg_length_e2d2a49132c1b256,
|
|
429
429
|
__wbg_log_0cc1b7768397bcfe,
|
|
430
430
|
__wbg_log_cb9e190acc5753fb,
|
|
431
|
-
|
|
431
|
+
__wbg_log_d5951556f2f10ec9,
|
|
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_454cbad00d40f177,
|
|
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_64e9eb9b37720ab6,
|
|
469
|
+
__wbg_stateCid_760e963fd4c95f01,
|
|
470
|
+
__wbg_stateContainer_71de82dd2efd60eb,
|
|
471
|
+
__wbg_stateIndex_acd88b869f874497,
|
|
472
|
+
__wbg_stateOptions_8486fef4478d16b3,
|
|
473
|
+
__wbg_stateRootCid_964d9fbc9bfbcea3,
|
|
474
|
+
__wbg_stateSet_6cd1dd82536a3182,
|
|
475
|
+
__wbg_stateSlice_8d4107ebb0dfc484,
|
|
476
|
+
__wbg_stateValue_0727099e81830513,
|
|
477
477
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
478
478
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
479
479
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -483,7 +483,7 @@ export {
|
|
|
483
483
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
484
484
|
__wbg_versions_c01dfd4722a88165,
|
|
485
485
|
__wbg_versionvector_new,
|
|
486
|
-
|
|
486
|
+
__wbg_warn_576423aac512a858,
|
|
487
487
|
__wbindgen_as_number,
|
|
488
488
|
__wbindgen_bigint_from_i64,
|
|
489
489
|
__wbindgen_bigint_from_u64,
|
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_10d6926de361eb2b,
|
|
32
32
|
__wbg_from_2a5d3e218e67aa85,
|
|
33
33
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
34
34
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
__wbg_length_e2d2a49132c1b256,
|
|
48
48
|
__wbg_log_0cc1b7768397bcfe,
|
|
49
49
|
__wbg_log_cb9e190acc5753fb,
|
|
50
|
-
|
|
50
|
+
__wbg_log_d5951556f2f10ec9,
|
|
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_454cbad00d40f177,
|
|
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_64e9eb9b37720ab6,
|
|
88
|
+
__wbg_stateCid_760e963fd4c95f01,
|
|
89
|
+
__wbg_stateContainer_71de82dd2efd60eb,
|
|
90
|
+
__wbg_stateIndex_acd88b869f874497,
|
|
91
|
+
__wbg_stateOptions_8486fef4478d16b3,
|
|
92
|
+
__wbg_stateRootCid_964d9fbc9bfbcea3,
|
|
93
|
+
__wbg_stateSet_6cd1dd82536a3182,
|
|
94
|
+
__wbg_stateSlice_8d4107ebb0dfc484,
|
|
95
|
+
__wbg_stateValue_0727099e81830513,
|
|
96
96
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
97
97
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
98
98
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
103
103
|
__wbg_versions_c01dfd4722a88165,
|
|
104
104
|
__wbg_versionvector_new,
|
|
105
|
-
|
|
105
|
+
__wbg_warn_576423aac512a858,
|
|
106
106
|
__wbindgen_as_number,
|
|
107
107
|
__wbindgen_bigint_from_i64,
|
|
108
108
|
__wbindgen_bigint_from_u64,
|
|
@@ -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_10d6926de361eb2b,
|
|
180
180
|
__wbg_from_2a5d3e218e67aa85,
|
|
181
181
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
182
182
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -195,7 +195,7 @@ const imports = {
|
|
|
195
195
|
__wbg_length_e2d2a49132c1b256,
|
|
196
196
|
__wbg_log_0cc1b7768397bcfe,
|
|
197
197
|
__wbg_log_cb9e190acc5753fb,
|
|
198
|
-
|
|
198
|
+
__wbg_log_d5951556f2f10ec9,
|
|
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_454cbad00d40f177,
|
|
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_64e9eb9b37720ab6,
|
|
236
|
+
__wbg_stateCid_760e963fd4c95f01,
|
|
237
|
+
__wbg_stateContainer_71de82dd2efd60eb,
|
|
238
|
+
__wbg_stateIndex_acd88b869f874497,
|
|
239
|
+
__wbg_stateOptions_8486fef4478d16b3,
|
|
240
|
+
__wbg_stateRootCid_964d9fbc9bfbcea3,
|
|
241
|
+
__wbg_stateSet_6cd1dd82536a3182,
|
|
242
|
+
__wbg_stateSlice_8d4107ebb0dfc484,
|
|
243
|
+
__wbg_stateValue_0727099e81830513,
|
|
244
244
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
245
245
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
246
246
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -250,7 +250,7 @@ const imports = {
|
|
|
250
250
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
251
251
|
__wbg_versions_c01dfd4722a88165,
|
|
252
252
|
__wbg_versionvector_new,
|
|
253
|
-
|
|
253
|
+
__wbg_warn_576423aac512a858,
|
|
254
254
|
__wbindgen_as_number,
|
|
255
255
|
__wbindgen_bigint_from_i64,
|
|
256
256
|
__wbindgen_bigint_from_u64,
|
|
@@ -378,7 +378,7 @@ export {
|
|
|
378
378
|
__wbg_done_769e5ede4b31c67b,
|
|
379
379
|
__wbg_entries_3265d4158b33e5dc,
|
|
380
380
|
__wbg_entries_c8a90a7ed73e84ce,
|
|
381
|
-
|
|
381
|
+
__wbg_error_10d6926de361eb2b,
|
|
382
382
|
__wbg_from_2a5d3e218e67aa85,
|
|
383
383
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
384
384
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -397,7 +397,7 @@ export {
|
|
|
397
397
|
__wbg_length_e2d2a49132c1b256,
|
|
398
398
|
__wbg_log_0cc1b7768397bcfe,
|
|
399
399
|
__wbg_log_cb9e190acc5753fb,
|
|
400
|
-
|
|
400
|
+
__wbg_log_d5951556f2f10ec9,
|
|
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_454cbad00d40f177,
|
|
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_64e9eb9b37720ab6,
|
|
438
|
+
__wbg_stateCid_760e963fd4c95f01,
|
|
439
|
+
__wbg_stateContainer_71de82dd2efd60eb,
|
|
440
|
+
__wbg_stateIndex_acd88b869f874497,
|
|
441
|
+
__wbg_stateOptions_8486fef4478d16b3,
|
|
442
|
+
__wbg_stateRootCid_964d9fbc9bfbcea3,
|
|
443
|
+
__wbg_stateSet_6cd1dd82536a3182,
|
|
444
|
+
__wbg_stateSlice_8d4107ebb0dfc484,
|
|
445
|
+
__wbg_stateValue_0727099e81830513,
|
|
446
446
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
447
447
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
448
448
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -452,7 +452,7 @@ export {
|
|
|
452
452
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
453
453
|
__wbg_versions_c01dfd4722a88165,
|
|
454
454
|
__wbg_versionvector_new,
|
|
455
|
-
|
|
455
|
+
__wbg_warn_576423aac512a858,
|
|
456
456
|
__wbindgen_as_number,
|
|
457
457
|
__wbindgen_bigint_from_i64,
|
|
458
458
|
__wbindgen_bigint_from_u64,
|
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-c600d14705866f8f/inline0.js';
|
|
2
2
|
|
|
3
3
|
let wasm;
|
|
4
4
|
export function __wbg_set_wasm(val) {
|
|
@@ -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_10d6926de361eb2b(arg0, arg1) {
|
|
7832
7832
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
7833
7833
|
};
|
|
7834
7834
|
|
|
@@ -7959,7 +7959,7 @@ export function __wbg_log_cb9e190acc5753fb(arg0, arg1) {
|
|
|
7959
7959
|
}
|
|
7960
7960
|
};
|
|
7961
7961
|
|
|
7962
|
-
export function
|
|
7962
|
+
export function __wbg_log_d5951556f2f10ec9(arg0, arg1) {
|
|
7963
7963
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
7964
7964
|
};
|
|
7965
7965
|
|
|
@@ -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_454cbad00d40f177() {
|
|
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_64e9eb9b37720ab6(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_760e963fd4c95f01(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_71de82dd2efd60eb(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_acd88b869f874497() { 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_8486fef4478d16b3() { 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_964d9fbc9bfbcea3(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_6cd1dd82536a3182() { 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_8d4107ebb0dfc484(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_0727099e81830513(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_576423aac512a858(arg0, arg1) {
|
|
8236
8236
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
8237
8237
|
};
|
|
8238
8238
|
|
|
Binary file
|
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_10d6926de361eb2b,
|
|
413
413
|
__wbg_from_2a5d3e218e67aa85,
|
|
414
414
|
__wbg_getOwnPropertySymbols_97eebed6fe6e08be,
|
|
415
415
|
__wbg_getRandomValues_b8f5dbd5f3995a9e,
|
|
@@ -428,7 +428,7 @@ export {
|
|
|
428
428
|
__wbg_length_e2d2a49132c1b256,
|
|
429
429
|
__wbg_log_0cc1b7768397bcfe,
|
|
430
430
|
__wbg_log_cb9e190acc5753fb,
|
|
431
|
-
|
|
431
|
+
__wbg_log_d5951556f2f10ec9,
|
|
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_454cbad00d40f177,
|
|
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_64e9eb9b37720ab6,
|
|
469
|
+
__wbg_stateCid_760e963fd4c95f01,
|
|
470
|
+
__wbg_stateContainer_71de82dd2efd60eb,
|
|
471
|
+
__wbg_stateIndex_acd88b869f874497,
|
|
472
|
+
__wbg_stateOptions_8486fef4478d16b3,
|
|
473
|
+
__wbg_stateRootCid_964d9fbc9bfbcea3,
|
|
474
|
+
__wbg_stateSet_6cd1dd82536a3182,
|
|
475
|
+
__wbg_stateSlice_8d4107ebb0dfc484,
|
|
476
|
+
__wbg_stateValue_0727099e81830513,
|
|
477
477
|
__wbg_static_accessor_GLOBAL_88a902d13a557d07,
|
|
478
478
|
__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
|
|
479
479
|
__wbg_static_accessor_SELF_37c5d418e4bf5819,
|
|
@@ -483,7 +483,7 @@ export {
|
|
|
483
483
|
__wbg_value_cd1ffa7b1ab794f1,
|
|
484
484
|
__wbg_versions_c01dfd4722a88165,
|
|
485
485
|
__wbg_versionvector_new,
|
|
486
|
-
|
|
486
|
+
__wbg_warn_576423aac512a858,
|
|
487
487
|
__wbindgen_as_number,
|
|
488
488
|
__wbindgen_bigint_from_i64,
|
|
489
489
|
__wbindgen_bigint_from_u64,
|
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-c600d14705866f8f/inline0.js';
|
|
2
2
|
|
|
3
3
|
let wasm;
|
|
4
4
|
export function __wbg_set_wasm(val) {
|
|
@@ -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_10d6926de361eb2b(arg0, arg1) {
|
|
7832
7832
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
7833
7833
|
};
|
|
7834
7834
|
|
|
@@ -7959,7 +7959,7 @@ export function __wbg_log_cb9e190acc5753fb(arg0, arg1) {
|
|
|
7959
7959
|
}
|
|
7960
7960
|
};
|
|
7961
7961
|
|
|
7962
|
-
export function
|
|
7962
|
+
export function __wbg_log_d5951556f2f10ec9(arg0, arg1) {
|
|
7963
7963
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
7964
7964
|
};
|
|
7965
7965
|
|
|
@@ -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_454cbad00d40f177() {
|
|
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_64e9eb9b37720ab6(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_760e963fd4c95f01(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_71de82dd2efd60eb(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_acd88b869f874497() { 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_8486fef4478d16b3() { 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_964d9fbc9bfbcea3(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_6cd1dd82536a3182() { 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_8d4107ebb0dfc484(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_0727099e81830513(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_576423aac512a858(arg0, arg1) {
|
|
8236
8236
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
8237
8237
|
};
|
|
8238
8238
|
|
|
Binary file
|
package/nodejs/loro_wasm.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
let imports = {};
|
|
3
3
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
4
4
|
let wasm;
|
|
5
|
-
const { stateBinary, stateCid, stateContainer, stateIndex, stateOptions, stateRootCid, stateSet, stateSlice, stateValue } = require(String.raw`./snippets/loro-wasm-
|
|
5
|
+
const { stateBinary, stateCid, stateContainer, stateIndex, stateOptions, stateRootCid, stateSet, stateSlice, stateValue } = require(String.raw`./snippets/loro-wasm-c600d14705866f8f/inline0.js`);
|
|
6
6
|
const { TextEncoder, TextDecoder } = require(`util`);
|
|
7
7
|
|
|
8
8
|
const heap = new Array(128).fill(undefined);
|
|
@@ -7837,7 +7837,7 @@ module.exports.__wbg_entries_c8a90a7ed73e84ce = function(arg0) {
|
|
|
7837
7837
|
return addHeapObject(ret);
|
|
7838
7838
|
};
|
|
7839
7839
|
|
|
7840
|
-
module.exports.
|
|
7840
|
+
module.exports.__wbg_error_10d6926de361eb2b = function(arg0, arg1) {
|
|
7841
7841
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
7842
7842
|
};
|
|
7843
7843
|
|
|
@@ -7968,7 +7968,7 @@ module.exports.__wbg_log_cb9e190acc5753fb = function(arg0, arg1) {
|
|
|
7968
7968
|
}
|
|
7969
7969
|
};
|
|
7970
7970
|
|
|
7971
|
-
module.exports.
|
|
7971
|
+
module.exports.__wbg_log_d5951556f2f10ec9 = function(arg0, arg1) {
|
|
7972
7972
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
7973
7973
|
};
|
|
7974
7974
|
|
|
@@ -8093,7 +8093,7 @@ module.exports.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
|
8093
8093
|
return addHeapObject(ret);
|
|
8094
8094
|
};
|
|
8095
8095
|
|
|
8096
|
-
module.exports.
|
|
8096
|
+
module.exports.__wbg_now_454cbad00d40f177 = function() {
|
|
8097
8097
|
const ret = Date.now();
|
|
8098
8098
|
return ret;
|
|
8099
8099
|
};
|
|
@@ -8153,45 +8153,45 @@ module.exports.__wbg_setindex_dcd71eabf405bde1 = function(arg0, arg1, arg2) {
|
|
|
8153
8153
|
getObject(arg0)[arg1 >>> 0] = arg2;
|
|
8154
8154
|
};
|
|
8155
8155
|
|
|
8156
|
-
module.exports.
|
|
8156
|
+
module.exports.__wbg_stateBinary_64e9eb9b37720ab6 = function(arg0, arg1) {
|
|
8157
8157
|
const ret = stateBinary(getArrayU8FromWasm0(arg0, arg1));
|
|
8158
8158
|
return addHeapObject(ret);
|
|
8159
8159
|
};
|
|
8160
8160
|
|
|
8161
|
-
module.exports.
|
|
8161
|
+
module.exports.__wbg_stateCid_760e963fd4c95f01 = function(arg0, arg1, arg2) {
|
|
8162
8162
|
const ret = stateCid(getObject(arg0), arg1, arg2);
|
|
8163
8163
|
return addHeapObject(ret);
|
|
8164
8164
|
};
|
|
8165
8165
|
|
|
8166
|
-
module.exports.
|
|
8166
|
+
module.exports.__wbg_stateContainer_71de82dd2efd60eb = function(arg0, arg1, arg2) {
|
|
8167
8167
|
const ret = stateContainer(arg0, getObject(arg1), takeObject(arg2));
|
|
8168
8168
|
return addHeapObject(ret);
|
|
8169
8169
|
};
|
|
8170
8170
|
|
|
8171
|
-
module.exports.
|
|
8171
|
+
module.exports.__wbg_stateIndex_acd88b869f874497 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
8172
8172
|
stateIndex(getObject(arg0), arg1 >>> 0, getObject(arg2));
|
|
8173
8173
|
}, arguments) };
|
|
8174
8174
|
|
|
8175
|
-
module.exports.
|
|
8175
|
+
module.exports.__wbg_stateOptions_8486fef4478d16b3 = function() { return handleError(function (arg0, arg1) {
|
|
8176
8176
|
const ret = stateOptions(takeObject(arg0), arg1 !== 0);
|
|
8177
8177
|
return addHeapObject(ret);
|
|
8178
8178
|
}, arguments) };
|
|
8179
8179
|
|
|
8180
|
-
module.exports.
|
|
8180
|
+
module.exports.__wbg_stateRootCid_964d9fbc9bfbcea3 = function(arg0, arg1, arg2) {
|
|
8181
8181
|
const ret = stateRootCid(getStringFromWasm0(arg0, arg1), arg2);
|
|
8182
8182
|
return addHeapObject(ret);
|
|
8183
8183
|
};
|
|
8184
8184
|
|
|
8185
|
-
module.exports.
|
|
8185
|
+
module.exports.__wbg_stateSet_6cd1dd82536a3182 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
8186
8186
|
stateSet(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
8187
8187
|
}, arguments) };
|
|
8188
8188
|
|
|
8189
|
-
module.exports.
|
|
8189
|
+
module.exports.__wbg_stateSlice_8d4107ebb0dfc484 = function(arg0, arg1, arg2) {
|
|
8190
8190
|
const ret = stateSlice(takeObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
8191
8191
|
return addHeapObject(ret);
|
|
8192
8192
|
};
|
|
8193
8193
|
|
|
8194
|
-
module.exports.
|
|
8194
|
+
module.exports.__wbg_stateValue_0727099e81830513 = function(arg0) {
|
|
8195
8195
|
const ret = stateValue(takeObject(arg0));
|
|
8196
8196
|
return addHeapObject(ret);
|
|
8197
8197
|
};
|
|
@@ -8241,7 +8241,7 @@ module.exports.__wbg_versionvector_new = function(arg0) {
|
|
|
8241
8241
|
return addHeapObject(ret);
|
|
8242
8242
|
};
|
|
8243
8243
|
|
|
8244
|
-
module.exports.
|
|
8244
|
+
module.exports.__wbg_warn_576423aac512a858 = function(arg0, arg1) {
|
|
8245
8245
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
8246
8246
|
};
|
|
8247
8247
|
|
package/nodejs/loro_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED