@loro-dev/flock-wasm 0.1.3 → 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.
@@ -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.closure34_externref_shim(arg0, arg1, arg2);
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.__wbindgen_closure_wrapper243 = function(arg0, arg1, arg2) {
997
- const ret = makeMutClosure(arg0, arg1, 35, __wbg_adapter_56);
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/base64/index.js CHANGED
@@ -241,7 +241,7 @@ function decodeVersionVectorBinary(bytes) {
241
241
  return decodeLegacyVersionVector(bytes);
242
242
  }
243
243
  function encodeVersionVectorForFfi(vv) {
244
- if (!vv) {
244
+ if (!vv || Object.keys(vv).length === 0) {
245
245
  return undefined;
246
246
  }
247
247
  const raw = {};