@fonlan/dsh-web-auth 0.1.3 → 0.1.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/lib/settings.d.ts +1 -1
- package/lib/settings.js +1 -2
- package/package.json +9 -11
package/lib/settings.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import type { ListenController } from './handlers.ts';
|
|
|
22
22
|
/** The settings namespace string (the card's dispatch key, spelled the same client-side). */
|
|
23
23
|
export declare const WEB_AUTH_NS = "web-auth";
|
|
24
24
|
/** Branded namespace for the settings provider. */
|
|
25
|
-
export declare const NS
|
|
25
|
+
export declare const NS = "web-auth";
|
|
26
26
|
/** The namespace's resolved shape. */
|
|
27
27
|
export interface WebAuthSettings {
|
|
28
28
|
/** The web server's bind host. */
|
package/lib/settings.js
CHANGED
|
@@ -17,12 +17,11 @@
|
|
|
17
17
|
* prepare → deferred-commit path the REST API used before.
|
|
18
18
|
*/
|
|
19
19
|
import z from '@deepseek-ai/schemastery';
|
|
20
|
-
import { settingsNamespace } from '@deepseek-ai/dsh-settings';
|
|
21
20
|
import { isAllowedListenHost } from "./profile-patch.js";
|
|
22
21
|
/** The settings namespace string (the card's dispatch key, spelled the same client-side). */
|
|
23
22
|
export const WEB_AUTH_NS = 'web-auth';
|
|
24
23
|
/** Branded namespace for the settings provider. */
|
|
25
|
-
export const NS =
|
|
24
|
+
export const NS = WEB_AUTH_NS;
|
|
26
25
|
/** Schema resolving the namespace (schemastery, matching the webserver's own).
|
|
27
26
|
*
|
|
28
27
|
* Deliberately NO `.default(...)`: an invalid user-layer value (e.g. `null`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonlan/dsh-web-auth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "DSH web plugin: password-gate authentication (login page + HttpOnly signed cookie) for exposing dsh web behind a reverse proxy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
},
|
|
50
50
|
"client": {
|
|
51
51
|
"inject": [
|
|
52
|
-
"@deepseek-ai/dsh-client-runtime",
|
|
53
52
|
"@deepseek-ai/dsh-client-ui-slots",
|
|
54
53
|
"@deepseek-ai/dsh-client-ui-settings",
|
|
55
54
|
"@deepseek-ai/dsh-client-connection",
|
|
@@ -60,22 +59,21 @@
|
|
|
60
59
|
},
|
|
61
60
|
"peerDependencies": {
|
|
62
61
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
63
|
-
"@deepseek-ai/dsh-settings": "^0.1.
|
|
64
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
62
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.2",
|
|
63
|
+
"@deepseek-ai/schemastery": "^3.18.2",
|
|
65
64
|
"react": "^18.2.0",
|
|
66
65
|
"react-dom": "^18.2.0"
|
|
67
66
|
},
|
|
68
67
|
"dependencies": {
|
|
69
|
-
"@deepseek-ai/dsh-settings": "^0.1.
|
|
70
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
68
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.2",
|
|
69
|
+
"@deepseek-ai/schemastery": "^3.18.2"
|
|
71
70
|
},
|
|
72
71
|
"devDependencies": {
|
|
73
72
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
74
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
75
|
-
"@deepseek-ai/dsh-
|
|
76
|
-
"@deepseek-ai/dsh-
|
|
77
|
-
"@deepseek-ai/
|
|
78
|
-
"@deepseek-ai/schemastery": "^3.18.1",
|
|
73
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.2",
|
|
74
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.2",
|
|
75
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.2",
|
|
76
|
+
"@deepseek-ai/schemastery": "^3.18.2",
|
|
79
77
|
"@types/node": "^22.0.0",
|
|
80
78
|
"@types/react": "^18.3.0",
|
|
81
79
|
"esbuild": "^0.24.0",
|