loro-crdt 1.7.0 → 1.7.1
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 +7 -0
- package/base64/index.js +8 -1
- package/base64/loro_wasm.d.ts +1 -0
- package/base64/loro_wasm_bg-512df4ec.js +64 -0
- package/bundler/loro_wasm.d.ts +1 -0
- package/bundler/loro_wasm_bg.js +7 -0
- package/bundler/loro_wasm_bg.wasm +0 -0
- package/bundler/loro_wasm_bg.wasm.d.ts +1 -0
- package/nodejs/loro_wasm.d.ts +1 -0
- package/nodejs/loro_wasm.js +7 -0
- package/nodejs/loro_wasm_bg.wasm +0 -0
- package/nodejs/loro_wasm_bg.wasm.d.ts +1 -0
- package/package.json +1 -1
- package/web/loro_wasm.d.ts +2 -0
- package/web/loro_wasm.js +7 -0
- package/web/loro_wasm_bg.wasm +0 -0
- package/web/loro_wasm_bg.wasm.d.ts +1 -0
- package/base64/loro_wasm_bg-ce6cdb00.js +0 -64
package/CHANGELOG.md
CHANGED
package/base64/index.js
CHANGED
|
@@ -1122,6 +1122,13 @@ class LoroCounter {
|
|
|
1122
1122
|
const ret = wasm.lorocounter_getShallowValue(this.__wbg_ptr);
|
|
1123
1123
|
return ret;
|
|
1124
1124
|
}
|
|
1125
|
+
/**
|
|
1126
|
+
* @returns {number}
|
|
1127
|
+
*/
|
|
1128
|
+
toJSON() {
|
|
1129
|
+
const ret = wasm.lorocounter_toJSON(this.__wbg_ptr);
|
|
1130
|
+
return ret;
|
|
1131
|
+
}
|
|
1125
1132
|
}
|
|
1126
1133
|
|
|
1127
1134
|
const LoroDocFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -7153,7 +7160,7 @@ var imports = /*#__PURE__*/Object.freeze({
|
|
|
7153
7160
|
// Without this patch, Cloudflare Worker would raise issue like: "Uncaught TypeError: wasm2.__wbindgen_start is not a function"
|
|
7154
7161
|
|
|
7155
7162
|
if (!('Bun' in globalThis))
|
|
7156
|
-
import loro_wasm_bg_js from './loro_wasm_bg-
|
|
7163
|
+
import loro_wasm_bg_js from './loro_wasm_bg-512df4ec.js';
|
|
7157
7164
|
const instance = new WebAssembly.Instance(loro_wasm_bg_js(), {
|
|
7158
7165
|
"./loro_wasm_bg.js": imports,
|
|
7159
7166
|
});
|