@workglow/browser-control 0.3.1 → 0.3.3
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.
|
@@ -8,27 +8,27 @@ export declare const BrowserSessionRegistry: {
|
|
|
8
8
|
/**
|
|
9
9
|
* Register a browser context and return a unique session ID.
|
|
10
10
|
*/
|
|
11
|
-
register(context: IBrowserContext)
|
|
11
|
+
readonly register: (context: IBrowserContext) => string;
|
|
12
12
|
/**
|
|
13
13
|
* Retrieve a registered browser context by session ID.
|
|
14
14
|
* Throws if the session does not exist or has been disconnected.
|
|
15
15
|
*/
|
|
16
|
-
get(sessionId: string)
|
|
16
|
+
readonly get: (sessionId: string) => IBrowserContext;
|
|
17
17
|
/**
|
|
18
18
|
* Remove a session from the registry.
|
|
19
19
|
*/
|
|
20
|
-
unregister(sessionId: string)
|
|
20
|
+
readonly unregister: (sessionId: string) => void;
|
|
21
21
|
/**
|
|
22
22
|
* Returns true if a session with the given ID exists.
|
|
23
23
|
*/
|
|
24
|
-
has(sessionId: string)
|
|
24
|
+
readonly has: (sessionId: string) => boolean;
|
|
25
25
|
/**
|
|
26
26
|
* Disconnect all registered contexts using Promise.allSettled, then clear the registry.
|
|
27
27
|
*/
|
|
28
|
-
disconnectAll()
|
|
28
|
+
readonly disconnectAll: () => Promise<void>;
|
|
29
29
|
/**
|
|
30
30
|
* Clear all sessions without disconnecting (for tests).
|
|
31
31
|
*/
|
|
32
|
-
clear()
|
|
32
|
+
readonly clear: () => void;
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=BrowserSessionRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserSessionRegistry.d.ts","sourceRoot":"","sources":["../../src/task/BrowserSessionRegistry.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIzD,eAAO,MAAM,sBAAsB;IACjC;;OAEG;
|
|
1
|
+
{"version":3,"file":"BrowserSessionRegistry.d.ts","sourceRoot":"","sources":["../../src/task/BrowserSessionRegistry.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIzD,eAAO,MAAM,sBAAsB;IACjC;;OAEG;aACH,QAAQ,YAAU,eAAe,KAAG,MAAM;IAM1C;;;OAGG;aACH,GAAG,cAAY,MAAM,KAAG,eAAe;IAYvC;;OAEG;aACH,UAAU,cAAY,MAAM,KAAG,IAAI;IAInC;;OAEG;aACH,GAAG,cAAY,MAAM,KAAG,OAAO;IAI/B;;OAEG;aACG,aAAa,QAAI,OAAO,CAAC,IAAI,CAAC;IAMpC;;OAEG;aACH,KAAK,QAAI,IAAI;CAGL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workglow/browser-control",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/workglow-dev/libs.git",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@workglow/task-graph": "0.3.
|
|
32
|
-
"@workglow/util": "0.3.
|
|
31
|
+
"@workglow/task-graph": "0.3.3",
|
|
32
|
+
"@workglow/util": "0.3.3"
|
|
33
33
|
},
|
|
34
34
|
"peerDependenciesMeta": {
|
|
35
35
|
"@workglow/task-graph": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@workglow/task-graph": "0.3.
|
|
44
|
-
"@workglow/util": "0.3.
|
|
43
|
+
"@workglow/task-graph": "0.3.3",
|
|
44
|
+
"@workglow/util": "0.3.3"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"dist",
|