@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/CHANGELOG.md +31 -0
- package/README.md +24 -0
- package/dist/build-tools/renderer.d.ts +20 -0
- package/dist/build-tools/renderer.js +49 -0
- package/dist/build-tools/vite.d.ts +1 -0
- package/dist/build-tools/vite.js +1 -0
- package/dist/generated/plugin-host-modules.schema.generated.d.ts +363 -43
- package/dist/generated/plugin-host-modules.schema.generated.js +459 -43
- package/dist/sync-host.js +3 -1
- package/package.json +4 -4
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
112
|
-
"@lapismd/design-core": "^0.
|
|
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",
|