From cf5ecd892270dcfa7ab062eecba6e5083839f634 Mon Sep 17 00:00:00 2001 From: vorotamoroz Date: Mon, 4 Dec 2023 19:39:04 +0900 Subject: [PATCH] Implemented: - Now we can use SHA1 for hash function as fallback. --- src/ObsidianLiveSyncSettingTab.ts | 2 +- src/lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ObsidianLiveSyncSettingTab.ts b/src/ObsidianLiveSyncSettingTab.ts index eaec37a..0060510 100644 --- a/src/ObsidianLiveSyncSettingTab.ts +++ b/src/ObsidianLiveSyncSettingTab.ts @@ -1813,7 +1813,7 @@ ${stringifyYaml(pluginConfig)}`; .setClass("wizardHidden") .addDropdown((dropdown) => dropdown - .addOptions({ "": "Old Algorithm", "xxhash32": "xxhash32 (Fast)", "xxhash64": "xxhash64 (Fastest)" } as Record) + .addOptions({ "": "Old Algorithm", "xxhash32": "xxhash32 (Fast)", "xxhash64": "xxhash64 (Fastest)", "sha1": "Fallback (Without WebAssembly)" } as Record) .setValue(this.plugin.settings.hashAlg) .onChange(async (value) => { this.plugin.settings.hashAlg = value as HashAlgorithm; diff --git a/src/lib b/src/lib index 7e79c27..f108111 160000 --- a/src/lib +++ b/src/lib @@ -1 +1 @@ -Subproject commit 7e79c2703520b6a9e31e50c94f12ce0d948fd745 +Subproject commit f108111ae86561f8b25bef12cb9452a27d9f46ce