@stacksjs/rpx 0.11.7 → 0.11.8

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.
@@ -26,4 +26,7 @@ export declare interface DaemonRunnerOptions {
26
26
  rpxDir?: string
27
27
  detached?: boolean
28
28
  spawnCommand?: string[]
29
+ startupTimeoutMs?: number
30
+ spawnEnv?: Record<string, string>
31
+ persistent?: boolean
29
32
  }
package/dist/https.d.ts CHANGED
@@ -29,6 +29,8 @@ export declare function loadSSLConfig(options: ProxyOption): Promise<SSLConfig |
29
29
  export declare function forceTrustCertificate(certPath: string): Promise<boolean>;
30
30
  export declare function generateCertificate(options: ProxyOptions): Promise<void>;
31
31
  export declare function getSSLConfig(): { key: string, cert: string, ca?: string } | null;
32
+ /** Clear in-process TLS cache so the next generate/load picks up new files on disk. */
33
+ export declare function clearSslConfigCache(): void;
32
34
  // needs to accept the options
33
35
  export declare function checkExistingCertificates(options?: ProxyOptions): Promise<SSLConfig | null>;
34
36
  export declare function httpsConfig(options: ProxyOption | ProxyOptions, verbose?: boolean): TlsConfig;
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export {
20
20
  export {
21
21
  checkExistingCertificates,
22
22
  cleanupCertificates,
23
+ clearSslConfigCache,
23
24
  forceTrustCertificate,
24
25
  generateCertificate,
25
26
  httpsConfig,