@artenx/dshb 0.1.20 → 0.1.21

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/README.md CHANGED
@@ -12,6 +12,8 @@ Restart the corresponding DSH Web profile after installation.
12
12
 
13
13
  Desktop app: install from **Settings → Plugins → More** in the DSH desktop app; the plugin takes effect on next startup.
14
14
 
15
+ The Authentication settings entry appears in the browser-based Web app. The DSH desktop shell loads through `file://` and omits this entry; its loopback requests are admitted automatically.
16
+
15
17
  ## Requirements
16
18
 
17
19
  - Node.js 22.13 or newer
package/lib/client.js CHANGED
@@ -444,6 +444,7 @@ window.__ModuleLoader__.load({
444
444
  configurable: true,
445
445
  get: () => true
446
446
  });
447
+ if (typeof location !== "undefined" && location.protocol === "file:") return;
447
448
  ctx.plugin({
448
449
  inject: ["slots"],
449
450
  apply: (sub) => {