From ffbbe32e36cf410cc775e6ae216acafe0f08d3c5 Mon Sep 17 00:00:00 2001 From: vorotamoroz Date: Wed, 17 Sep 2025 09:05:16 +0100 Subject: [PATCH] ### Fixed - Property encryption detection now works correctly (On Self-hosted LiveSync, it was not broken, but as a library, it was not working correctly). - Initialising the chunk splitter is now surely performed. - DirectFileManipulator now works fine (as a library) - Old `DirectFileManipulatorV1` is now removed. ### Refactored - Removed some unnecessary intermediate files. --- src/common/stores.ts | 2 +- src/lib | 2 +- src/main.ts | 2 +- src/modules/extras/devUtil/tests.ts | 2 +- src/modules/features/Log/LogPane.svelte | 2 +- .../features/SettingDialogue/ObsidianLiveSyncSettingTab.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/common/stores.ts b/src/common/stores.ts index 80627c4..86c44e7 100644 --- a/src/common/stores.ts +++ b/src/common/stores.ts @@ -1,4 +1,4 @@ -import { PersistentMap } from "../lib/src/dataobject/PersistentMap.ts"; +import { PersistentMap } from "octagonal-wheels/dataobject/PersistentMap"; export let sameChangePairs: PersistentMap; diff --git a/src/lib b/src/lib index 9f69880..f021a9a 160000 --- a/src/lib +++ b/src/lib @@ -1 +1 @@ -Subproject commit 9f69880ec27fb4019c274b943a6aefb8f2a1bf34 +Subproject commit f021a9a6f4e542b19d622a49ad3b8724efc978e5 diff --git a/src/main.ts b/src/main.ts index 5b73ecd..eb71eb1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -31,7 +31,7 @@ import { type KeyValueDatabase } from "./lib/src/interfaces/KeyValueDatabase.ts" import { LiveSyncCommands } from "./features/LiveSyncCommands.ts"; import { HiddenFileSync } from "./features/HiddenFileSync/CmdHiddenFileSync.ts"; import { ConfigSync } from "./features/ConfigSync/CmdConfigSync.ts"; -import { reactiveSource, type ReactiveValue } from "./lib/src/dataobject/reactive.js"; +import { reactiveSource, type ReactiveValue } from "octagonal-wheels/dataobject/reactive"; import { type LiveSyncJournalReplicatorEnv } from "./lib/src/replication/journal/LiveSyncJournalReplicator.js"; import { type LiveSyncCouchDBReplicatorEnv } from "./lib/src/replication/couchdb/LiveSyncReplicator.js"; import type { CheckPointInfo } from "./lib/src/replication/journal/JournalSyncTypes.js"; diff --git a/src/modules/extras/devUtil/tests.ts b/src/modules/extras/devUtil/tests.ts index 5235c77..ce5b0ba 100644 --- a/src/modules/extras/devUtil/tests.ts +++ b/src/modules/extras/devUtil/tests.ts @@ -1,4 +1,4 @@ -import { Trench } from "../../../lib/src/memory/memutil.ts"; +import { Trench } from "octagonal-wheels/memory/memutil"; import type ObsidianLiveSyncPlugin from "../../../main.ts"; type MeasureResult = [times: number, spent: number]; type NamedMeasureResult = [name: string, result: MeasureResult]; diff --git a/src/modules/features/Log/LogPane.svelte b/src/modules/features/Log/LogPane.svelte index 4809ad8..4fbb7ea 100644 --- a/src/modules/features/Log/LogPane.svelte +++ b/src/modules/features/Log/LogPane.svelte @@ -1,7 +1,7 @@