@lapis-notes/api 0.2.2 → 0.2.4

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.
package/dist/sync-host.js CHANGED
@@ -421,10 +421,12 @@ export class SyncHostService {
421
421
  this.#disposed = true;
422
422
  this.#stopObserving();
423
423
  const revocations = [...this.#runtimeIds.keys()].map((pluginId) => this.revokePlugin(pluginId));
424
+ // Readiness retains startup errors; resource cleanup must still finish.
425
+ const settled = Promise.allSettled([this.#ready, this.#eventQueue]).then(() => undefined);
424
426
  this.#disposal = this.#drainSecurity([
425
427
  ...revocations,
426
428
  ...this.#securityCleanup,
427
- this.ready(),
429
+ settled,
428
430
  ]);
429
431
  return this.#disposal;
430
432
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapis-notes/api",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Lapis Notes API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  "type": "module",
19
19
  "dependencies": {
20
20
  "@lapismd/ai-host": "^0.1.0",
21
- "@lapismd/design-core": "^0.7.2",
21
+ "@lapismd/design-core": "^0.8.0 || ^0.9.0",
22
22
  "@lapismd/mira": "~0.1.3",
23
23
  "@huggingface/transformers": "^4.2.0",
24
24
  "@tursodatabase/database-wasm": "0.7.2",
@@ -108,8 +108,8 @@
108
108
  "@codemirror/search": "^6.5.11",
109
109
  "@codemirror/state": "^6.4.1",
110
110
  "@codemirror/view": "^6.35.0",
111
- "@lapis-notes/ui": "^0.1.5",
112
- "@lapismd/design-core": "^0.7.2",
111
+ "@lapis-notes/ui": "^0.1.6",
112
+ "@lapismd/design-core": "^0.8.0 || ^0.9.0",
113
113
  "@lapismd/mira": "~0.1.3",
114
114
  "@lezer/highlight": "^1.2.1",
115
115
  "@lezer/markdown": "^1.4.3",