@north-light/crouter-api 0.3.270 → 0.3.271
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/shared/env.d.ts +2 -0
- package/dist/shared/env.js +4 -0
- package/package.json +1 -1
package/dist/shared/env.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export declare function envModelExact(): boolean;
|
|
|
15
15
|
* only when a caller needs the override itself — to check whether one is
|
|
16
16
|
* set, or to propagate it verbatim into a child process's env. */
|
|
17
17
|
export declare function envHomeOverride(): string | undefined;
|
|
18
|
+
/** The raw installed-runtime directory override, unresolved. */
|
|
19
|
+
export declare function envRuntimeHomeOverride(): string | undefined;
|
|
18
20
|
/** Dead-provider watchdog timeout (`CRTR_STREAM_WATCHDOG_MS`), 5 minutes by
|
|
19
21
|
* default. See `runtime/stream-watchdog.ts` for what it guards. */
|
|
20
22
|
export declare function envStreamWatchdogMs(): number;
|
package/dist/shared/env.js
CHANGED
|
@@ -51,6 +51,10 @@ export function envModelExact() {
|
|
|
51
51
|
export function envHomeOverride() {
|
|
52
52
|
return process.env['CRTR_HOME'];
|
|
53
53
|
}
|
|
54
|
+
/** The raw installed-runtime directory override, unresolved. */
|
|
55
|
+
export function envRuntimeHomeOverride() {
|
|
56
|
+
return process.env['CRTR_RUNTIME_HOME'];
|
|
57
|
+
}
|
|
54
58
|
// Tuning
|
|
55
59
|
/** Generic `Number(raw)` parse with a positive-finite guard, shared by every
|
|
56
60
|
* millisecond tuning var below (each previously reimplemented this locally,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/crouter-api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.271",
|
|
4
4
|
"description": "Typed crtrd /v1 API contract — DTOs, route builders, the error contract, and the CrtrClient. Zero runtime dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/api/index.js",
|