@hyperframes/inspector 0.9.77 → 0.9.78
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/service.js +43 -14
- package/dist/types/core/src/runtime/mediaClock.d.ts +1 -0
- package/dist/types/core/src/safePath.d.ts +2 -0
- package/dist/types/engine/src/services/publicNetwork/captureProxy.d.ts +12 -1
- package/dist/types/engine/src/utils/workerLimits.d.ts +1 -0
- package/package.json +3 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const MEDIA_ELEMENT_LEAD_SECONDS = 0.00001;
|
|
2
2
|
export declare function mediaElementTime(sourceSeconds: number): number;
|
|
3
3
|
export declare function startsSoundOnlyInsideATap(): boolean;
|
|
4
|
+
export declare function isChromium(): boolean;
|
|
4
5
|
export declare function isWebKit(): boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { isCredentialOrToolStatePath, isPrivateFileUnder, isStudioPrivatePath, isVcsOrSecretPath, projectPathSegments, } from "@hyperframes/parsers/private-path";
|
|
2
2
|
export declare function realpath(path: string): string;
|
|
3
|
+
/** `realpath` off the event loop: the same answer, the EISDIR fallback included. */
|
|
4
|
+
export declare function realpathOff(path: string): Promise<string>;
|
|
3
5
|
/**
|
|
4
6
|
* Reject paths that escape the `base` directory — including via symlinks.
|
|
5
7
|
*
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import { type RefusedHostClass } from "./publicNetwork.js";
|
|
2
2
|
import { type UpstreamProxy } from "./upstreamProxy.js";
|
|
3
3
|
type OnRefused = (hostClass: RefusedHostClass) => void;
|
|
4
|
+
export declare const BROWSER_PROXY_MAX_CONNECTIONS = 128;
|
|
5
|
+
export declare const POD_PROXY_MAX_CONNECTIONS: number;
|
|
6
|
+
export interface CaptureFailure {
|
|
7
|
+
reason: "connection_cap" | "upstream_failed";
|
|
8
|
+
open: number;
|
|
9
|
+
}
|
|
10
|
+
type OnFailed = (failure: CaptureFailure) => void;
|
|
11
|
+
export declare const logFailure: OnFailed;
|
|
4
12
|
export declare function onRenderRefusal(listener: OnRefused): () => void;
|
|
5
13
|
export declare const logRefusal: OnRefused;
|
|
6
14
|
/** Every browser target uses this proxy; it dials a checked numeric IPv4, or (unless null) the upstream proxy. */
|
|
7
|
-
export declare function startCaptureProxy(upstream?: UpstreamProxy | null, onRefused?: OnRefused, fixedLoopbackPort?: number
|
|
15
|
+
export declare function startCaptureProxy(upstream?: UpstreamProxy | null, onRefused?: OnRefused, fixedLoopbackPort?: number, { maxConnections, onFailed, }?: {
|
|
16
|
+
maxConnections?: number;
|
|
17
|
+
onFailed?: OnFailed;
|
|
18
|
+
}): Promise<{
|
|
8
19
|
url: string;
|
|
9
20
|
close(): Promise<void>;
|
|
10
21
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ABSOLUTE_MAX_WORKERS = 24;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.78",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"htmlparser2": "^10.1.0",
|
|
44
44
|
"postcss": "^8.5.8",
|
|
45
45
|
"puppeteer-core": "^25.8.0",
|
|
46
|
-
"@hyperframes/core": "0.9.
|
|
47
|
-
"@hyperframes/parsers": "0.9.
|
|
46
|
+
"@hyperframes/core": "0.9.78",
|
|
47
|
+
"@hyperframes/parsers": "0.9.78"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|