loro-crdt 1.5.13 → 1.6.0

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8c898ee: Perf: faster snapshot import speed
8
+
3
9
  ## 1.5.13
4
10
 
5
11
  ### Patch Changes
package/base64/index.js CHANGED
@@ -7127,8 +7127,8 @@ var imports = /*#__PURE__*/Object.freeze({
7127
7127
  // See https://github.com/loro-dev/loro/issues/440
7128
7128
  // Without this patch, Cloudflare Worker would raise issue like: "Uncaught TypeError: wasm2.__wbindgen_start is not a function"
7129
7129
 
7130
-
7131
- import loro_wasm_bg_js from './loro_wasm_bg-6c4ca318.js';
7130
+ if (!('Bun' in globalThis))
7131
+ import loro_wasm_bg_js from './loro_wasm_bg-654bb6e4.js';
7132
7132
  const instance = new WebAssembly.Instance(loro_wasm_bg_js(), {
7133
7133
  "./loro_wasm_bg.js": imports,
7134
7134
  });