mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-01-18 19:25:26 +00:00
## 0.24.25
### Improved - Peer-to-peer synchronisation has been got more robust. ### Fixed - No longer broken falsy values in settings during set-up by the QR code generation. ### Refactored - Some `window` references now have pointed to `globalThis`. - Some sloppy-import has been fixed. - A server side implementation `Synchromesh` has been suffixed with `deno` instead of `server` now.
This commit is contained in:
@@ -613,10 +613,10 @@ const decodePrefixMapNumber = Object.fromEntries(
|
||||
);
|
||||
export function encodeAnyArray(obj: any[]): string {
|
||||
const tempArray = obj.map((v) => {
|
||||
if (v == null) return "n";
|
||||
if (v == false) return "f";
|
||||
if (v == true) return "t";
|
||||
if (v == undefined) return "u";
|
||||
if (v === null) return "n";
|
||||
if (v === false) return "f";
|
||||
if (v === true) return "t";
|
||||
if (v === undefined) return "u";
|
||||
if (typeof v == "number") {
|
||||
const b36 = v.toString(36);
|
||||
const strNum = v.toString();
|
||||
|
||||
Reference in New Issue
Block a user