@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.
- package/dist/bin/cli.js +129 -128
- package/dist/daemon-runner.d.ts +3 -0
- package/dist/https.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +73 -72
- package/package.json +1 -1
- package/src/daemon-runner.ts +15 -2
- package/src/daemon.ts +29 -7
- package/src/https.ts +49 -19
- package/src/index.ts +1 -0
package/dist/daemon-runner.d.ts
CHANGED
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;
|