mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-23 04:52:58 +00:00
Complete Commonlib rc.6 integration and setup workflows
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Utilities
|
||||
|
||||
These utilities support self-hosted CouchDB provisioning and Setup URI generation. They consume an exact immutable `@vrtmrz/livesync-commonlib` registry version declared in `livesync-commonlib-version.ts`; the utility lockfile records its resolved package integrity. The setup-tool test keeps the domain-specific static npm specifiers aligned with that declaration. Update the declaration, the two facades, and the lockfile together when selecting a newer release.
|
||||
These utilities support self-hosted CouchDB provisioning and Setup URI generation. They consume an exact immutable `@vrtmrz/livesync-commonlib` registry version declared in `livesync-commonlib-version.ts`; the utility lockfile records its resolved package integrity. This selection is independent of the plug-in's runtime dependency and advances only when the utility behaviour is revalidated against a newer package. The setup-tool test keeps the domain-specific static npm specifiers aligned with that declaration. Update the declaration, the two facades, and the lockfile together when selecting a newer release.
|
||||
|
||||
## CouchDB provisioning
|
||||
|
||||
|
||||
@@ -90,6 +90,14 @@ Deno.test("generates a random-room P2P Setup URI without copying a device identi
|
||||
!effective.P2P_AutoBroadcast,
|
||||
"P2P auto-broadcast was enabled without an explicit request",
|
||||
);
|
||||
assert(
|
||||
effective.customChunkSize === 0,
|
||||
"the P2P profile inherited the self-hosted CouchDB chunk-size recommendation",
|
||||
);
|
||||
assert(
|
||||
effective.sendChunksBulkMaxSize === 1,
|
||||
"the P2P profile did not retain the conservative manual resend size",
|
||||
);
|
||||
assert(
|
||||
!Object.hasOwn(decoded, "P2P_DevicePeerName"),
|
||||
"the Setup URI copied a device-specific P2P peer name",
|
||||
|
||||
Reference in New Issue
Block a user