@certd/plugin-cert 1.20.16 → 1.21.0
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./eab-access";
|
package/dist/d/index.d.ts
CHANGED
|
@@ -2,17 +2,23 @@ import * as acme from "@certd/acme-client";
|
|
|
2
2
|
import { Logger } from "log4js";
|
|
3
3
|
import { IContext } from "@certd/pipeline";
|
|
4
4
|
import { IDnsProvider } from "../../dns-provider";
|
|
5
|
+
import { ClientExternalAccountBindingOptions } from "@certd/acme-client";
|
|
5
6
|
export type CertInfo = {
|
|
6
7
|
crt: string;
|
|
7
8
|
key: string;
|
|
8
9
|
csr: string;
|
|
9
10
|
};
|
|
11
|
+
export type SSLProvider = "letsencrypt" | "buypass" | "zerossl";
|
|
10
12
|
export declare class AcmeService {
|
|
11
13
|
userContext: IContext;
|
|
12
14
|
logger: Logger;
|
|
15
|
+
sslProvider: SSLProvider;
|
|
16
|
+
eab?: ClientExternalAccountBindingOptions;
|
|
13
17
|
constructor(options: {
|
|
14
18
|
userContext: IContext;
|
|
15
19
|
logger: Logger;
|
|
20
|
+
sslProvider: SSLProvider;
|
|
21
|
+
eab?: ClientExternalAccountBindingOptions;
|
|
16
22
|
});
|
|
17
23
|
getAccountConfig(email: string): Promise<any>;
|
|
18
24
|
buildAccountKey(email: string): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTaskPlugin, HttpClient, IAccessService, IContext, Step } from "@certd/pipeline";
|
|
2
|
-
import { AcmeService, CertInfo } from "./acme";
|
|
2
|
+
import { AcmeService, CertInfo, SSLProvider } from "./acme";
|
|
3
3
|
import { Logger } from "log4js";
|
|
4
4
|
import { CertReader } from "./cert-reader";
|
|
5
5
|
export { CertReader };
|
|
@@ -7,6 +7,8 @@ export type { CertInfo };
|
|
|
7
7
|
export declare class CertApplyPlugin extends AbstractTaskPlugin {
|
|
8
8
|
domains: string;
|
|
9
9
|
email: string;
|
|
10
|
+
sslProvider: SSLProvider;
|
|
11
|
+
eabAccessId: number;
|
|
10
12
|
dnsProviderType: string;
|
|
11
13
|
dnsProviderAccess: string;
|
|
12
14
|
renewDays: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@certd/plugin-cert",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.21.0",
|
|
5
5
|
"main": "./dist/bundle.js",
|
|
6
6
|
"module": "./dist/bundle.mjs",
|
|
7
7
|
"types": "./dist/d/index.d.ts",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"preview": "vite preview"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@certd/acme-client": "^1.
|
|
16
|
-
"@certd/pipeline": "^1.
|
|
15
|
+
"@certd/acme-client": "^1.21.0",
|
|
16
|
+
"@certd/pipeline": "^1.21.0",
|
|
17
17
|
"jszip": "^3.10.1",
|
|
18
18
|
"node-forge": "^0.10.0",
|
|
19
19
|
"psl": "^1.9.0"
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"vite": "^3.1.0",
|
|
54
54
|
"vue-tsc": "^0.38.9"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "4656019898924fb69de06fec5feb123d9c36b555"
|
|
57
57
|
}
|