hypha-debugger 0.1.1 → 0.1.2
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/dist/debugger.d.ts +13 -1
- package/dist/hypha-debugger.js +3066 -40
- package/dist/hypha-debugger.js.map +1 -1
- package/dist/hypha-debugger.min.js +16 -16
- package/dist/hypha-debugger.min.js.map +1 -1
- package/dist/hypha-debugger.mjs +3268 -242
- package/dist/hypha-debugger.mjs.map +1 -1
- package/dist/page-controller/actions.d.ts +12 -0
- package/dist/page-controller/dom.d.ts +31 -0
- package/dist/page-controller/index.d.ts +54 -0
- package/dist/page-controller/page-info.d.ts +21 -0
- package/dist/page-controller/types.d.ts +42 -0
- package/dist/services/page-controller.d.ts +159 -0
- package/dist/ui/cursor.d.ts +24 -0
- package/package.json +1 -1
package/dist/debugger.d.ts
CHANGED
|
@@ -11,8 +11,19 @@ export interface DebuggerConfig {
|
|
|
11
11
|
service_name?: string;
|
|
12
12
|
/** Show floating debug UI overlay. Default: true */
|
|
13
13
|
show_ui?: boolean;
|
|
14
|
-
/** Service visibility.
|
|
14
|
+
/** Service visibility. Overridden by require_token when not set explicitly. */
|
|
15
15
|
visibility?: "public" | "protected" | "unlisted";
|
|
16
|
+
/**
|
|
17
|
+
* Whether remote callers must supply a JWT token. Default: true.
|
|
18
|
+
*
|
|
19
|
+
* true → visibility "protected", a 24-hour token is generated and shown
|
|
20
|
+
* in the instruction block. The URL alone is not enough.
|
|
21
|
+
*
|
|
22
|
+
* false → visibility "unlisted", a random 16-char hex suffix is appended
|
|
23
|
+
* to the service ID so the URL itself is unguessable. No token is
|
|
24
|
+
* needed — just keep the URL secret.
|
|
25
|
+
*/
|
|
26
|
+
require_token?: boolean;
|
|
16
27
|
}
|
|
17
28
|
export interface DebugSession {
|
|
18
29
|
/** Full service ID as registered with Hypha. */
|
|
@@ -31,6 +42,7 @@ export interface DebugSession {
|
|
|
31
42
|
export declare class HyphaDebugger {
|
|
32
43
|
private config;
|
|
33
44
|
private overlay;
|
|
45
|
+
private cursor;
|
|
34
46
|
private server;
|
|
35
47
|
private serviceInfo;
|
|
36
48
|
constructor(config: DebuggerConfig);
|