dsh-unlag 1.9.80 → 1.9.82
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/client.js +9 -3
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -363,8 +363,10 @@ window.__ModuleLoader__.load({
|
|
|
363
363
|
if (bridge === undefined || bridge === null || typeof bridge.ready !== 'function') return null;
|
|
364
364
|
try {
|
|
365
365
|
const payload = await withTimeout(bridge.ready(), 8000);
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
// An empty list is still an answer: a document booting from it loads no plugin script, so
|
|
367
|
+
// nothing about it can fail. Only a shape that names no list at all stays unread.
|
|
368
|
+
const rows = Array.isArray(payload?.injections) ? payload.injections : null;
|
|
369
|
+
return rows;
|
|
368
370
|
} catch {
|
|
369
371
|
return null;
|
|
370
372
|
}
|
|
@@ -590,7 +592,11 @@ window.__ModuleLoader__.load({
|
|
|
590
592
|
}
|
|
591
593
|
const fromHost = saved === null ? await servedBootGraph() : null;
|
|
592
594
|
let servable = false;
|
|
593
|
-
if (saved !== null
|
|
595
|
+
if (saved !== null && saved.length === 0) {
|
|
596
|
+
// A shell whose saved list names no script hands the next document nothing to load, so
|
|
597
|
+
// a rebuild has no script to fail: holding here would be a refusal with no reason.
|
|
598
|
+
servable = true;
|
|
599
|
+
} else if (saved !== null) servable = await frozenStartupLooksServable(saved);
|
|
594
600
|
else if (fromHost === null && own === null) held('list');
|
|
595
601
|
else servable = await bundlesCoverStartup(fromHost ?? own);
|
|
596
602
|
if (servable) return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-unlag",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.82",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A press applies plugin edits right away and brings a laggy interface back; automatic reloading stays off unless you turn it on, so the press is the only trigger, and nothing restarts.",
|
|
6
6
|
"license": "MIT",
|