Compare commits

..

2 Commits

Author SHA1 Message Date
bfeced5f34 3.0.9 2020-11-18 16:52:50 +00:00
24b9794a18 fix(core): update 2020-11-18 16:52:49 +00:00
3 changed files with 1538 additions and 1591 deletions

3105
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartacme",
"version": "3.0.8",
"version": "3.0.9",
"private": false,
"description": "acme with an easy yet powerful interface in TypeScript",
"main": "dist_ts/index.js",
@ -26,27 +26,27 @@
"homepage": "https://gitlab.com/umbrellazone/smartacme#README",
"dependencies": {
"@pushrocks/lik": "^4.0.17",
"@pushrocks/smartdata": "^3.1.29",
"@pushrocks/smartdata": "^3.1.54",
"@pushrocks/smartdelay": "^2.0.10",
"@pushrocks/smartdns": "^4.0.4",
"@pushrocks/smartexpress": "^3.0.76",
"@pushrocks/smartlog": "^2.0.36",
"@pushrocks/smartpromise": "^3.0.6",
"@pushrocks/smartrequest": "^1.1.47",
"@pushrocks/smartexpress": "^3.0.97",
"@pushrocks/smartlog": "^2.0.39",
"@pushrocks/smartpromise": "^3.1.3",
"@pushrocks/smartrequest": "^1.1.51",
"@pushrocks/smartstring": "^3.0.18",
"@pushrocks/smarttime": "^3.0.24",
"@pushrocks/smarttime": "^3.0.37",
"@pushrocks/smartunique": "^3.0.3",
"@tsclass/tsclass": "^3.0.21",
"@tsclass/tsclass": "^3.0.29",
"acme-client": "^3.3.1"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsrun": "^1.2.12",
"@gitzone/tstest": "^1.0.44",
"@gitzone/tstest": "^1.0.52",
"@mojoio/cloudflare": "^5.0.6",
"@pushrocks/qenv": "^4.0.10",
"@pushrocks/tapbundle": "^3.2.9",
"@types/node": "^14.0.27",
"@types/node": "^14.14.7",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0"
},

View File

@ -43,7 +43,7 @@ export class CertManager {
* @param certDomainNameArg the domain Name to retrieve the vcertificate for
*/
public async retrieveCertificate(certDomainNameArg: string): Promise<Cert> {
const existingCertificate: Cert = await Cert.getInstance({
const existingCertificate: Cert = await Cert.getInstance<Cert>({
domainName: certDomainNameArg,
});
@ -69,7 +69,7 @@ export class CertManager {
}
public async deleteCertificate(certDomainNameArg: string) {
const cert: Cert = await Cert.getInstance({
const cert: Cert = await Cert.getInstance<Cert>({
domainName: certDomainNameArg,
});
await cert.delete();