*Update dist

This commit is contained in:
Derrick Hammer 2023-04-18 22:54:51 -04:00
parent 3231c18e08
commit 4995bdcefe
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 7 additions and 9 deletions

14
dist/ssl.d.ts vendored
View File

@ -2,19 +2,17 @@
/// <reference types="node" />
import type tls from "tls";
export type SSLManagerRenewHandler = (domain: string) => Promise<boolean>;
export type SSLCert = string | Buffer | Array<string | Buffer>;
declare class SSLManager {
private _context?;
private _key?;
private _cert?;
private _domain;
private _renewHandler?;
constructor(domain: string);
get context(): tls.SecureContext;
set privateKey(key: Buffer);
set cert(cert: Buffer);
private _maybeUpdateContext;
set cert(cert: SSLCert);
renew(): Promise<boolean>;
get enabled(): any;
get enabled(): boolean;
get ready(): boolean;
get renewHandler(): SSLManagerRenewHandler;
set renewHandler(value: SSLManagerRenewHandler);
}
export default SSLManager;
//# sourceMappingURL=ssl.d.ts.map

2
dist/ssl.d.ts.map vendored
View File

@ -1 +1 @@
{"version":3,"file":"ssl.d.ts","sourceRoot":"","sources":["../src/ssl.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,MAAM,MAAM,sBAAsB,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAC1E,OAAO,OAAO,UAAU;IACtB,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClB,OAAO,CAAC,IAAI,CAAC,CAAC;IACd,OAAO,CAAC,KAAK,CAAC,CAAC;IACf,OAAO,CAAC,OAAO,CAAC;IAChB,OAAO,CAAC,aAAa,CAAC,CAAC;gBACX,MAAM,EAAE,MAAM;IAC1B,IAAI,OAAO,IAAI,GAAG,CAAC,aAAa,CAAC;IACjC,IAAI,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE;IAC5B,IAAI,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE;IACvB,OAAO,CAAC,mBAAmB,CAAC;IAC5B,KAAK,IAAI,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