dsh-unlag 1.9.72 → 1.9.73
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 +4 -1
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -249,8 +249,11 @@ window.__ModuleLoader__.load({
|
|
|
249
249
|
holdReason = null;
|
|
250
250
|
return 'ok';
|
|
251
251
|
}
|
|
252
|
+
// The refusal's wording is the app's, read as a key into a table of gates: a key the table does
|
|
253
|
+
// not own (a prototype name, a word from a newer app) falls back to the list rather than to
|
|
254
|
+
// whatever that name happens to resolve to.
|
|
252
255
|
const reason = data !== null && typeof data === 'object' && typeof data.reason === 'string' ? data.reason : 'list';
|
|
253
|
-
held(VERIFY_GATES[reason]
|
|
256
|
+
held(Object.hasOwn(VERIFY_GATES, reason) ? VERIFY_GATES[reason] : 'list');
|
|
254
257
|
return 'blocked';
|
|
255
258
|
}
|
|
256
259
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-unlag",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.73",
|
|
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",
|