@vrtmrz/livesync-commonlib 0.1.13 → 0.1.14-canary.0

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.
@@ -203,6 +203,12 @@ class RemoteService extends ServiceBase {
203
203
  const exMsg = ex instanceof Error ? ex : LiveSyncError.fromError(ex);
204
204
  const msg = `${exMsg.name}:${exMsg.message}`;
205
205
  this._log(ex, LOG_LEVEL_VERBOSE);
206
+ try {
207
+ await db.close();
208
+ } catch (closeError) {
209
+ this._log("Failed to close remote database after connection failure.", LOG_LEVEL_INFO);
210
+ this._log(closeError, LOG_LEVEL_VERBOSE);
211
+ }
206
212
  return msg;
207
213
  }
208
214
  }
@@ -9,6 +9,7 @@ The source tree is larger than the supported package surface. Consumers may impo
9
9
  - `src/index.ts`, `src/context.ts`, `src/settings.ts`, `src/remoteConfigurations.ts`, `src/platform/browser/index.ts`, and `src/platform/node/index.ts` define the focused entries;
10
10
  - `src/rpc/index.ts` defines a transitional entry for the existing LiveSync P2P composition, not a stable Commonlib 1.0 contract;
11
11
  - `_tools/build-package.mjs` compiles those entries and creates the publishable manifest under `.package`;
12
+ - every generated non-root module entry has matching extensionless and `.js` export and `typesVersions` keys which resolve to the same package files;
12
13
  - `docs/migration/downstream-imports.json` is the reviewed inventory from which explicit `compat/*` exports are generated;
13
14
  - `docs/migration/compatibility-classification.json` assigns every inventoried compatibility path to one reviewed owner and migration policy, with a boundary test preventing omissions and duplicate classifications;
14
15
  - colocated `*.unit.spec.ts` and `*.unit.test.ts` files exercise implementation and result contracts; and