From f568949085245d039175d21f74b900dacbcf9e8c Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 19 Feb 2020 14:16:23 +0000 Subject: [PATCH] fix(core): update --- package-lock.json | 12 ++++++------ package.json | 4 ++-- ts/cloudflare.classes.account.ts | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87145da..1acad13 100644 --- a/package-lock.json +++ b/package-lock.json @@ -348,9 +348,9 @@ } }, "@tsclass/tsclass": { - "version": "3.0.4", - "resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-3.0.4.tgz", - "integrity": "sha512-q9PnwBFDTTlwKp6jYn/tL6zhqWvwaKyGsf81xI8xcV6IhjmFo3hk0iM4L3ydw7iTwqR+WmhYaWO5WdMy3/KA+w==", + "version": "3.0.7", + "resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-3.0.7.tgz", + "integrity": "sha512-3s3pU0xrQsMpsvxby0eUgz6z3DpJTaRghLpoFSJ+uJMzi7n0QhwuEiydLbp1CgVvDnIByvQcN8LvU9q3tOswSA==", "requires": { "@pushrocks/tapbundle": "^3.0.13" } @@ -429,9 +429,9 @@ "dev": true }, "@types/node": { - "version": "13.7.0", - "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-13.7.0.tgz", - "integrity": "sha512-GnZbirvmqZUzMgkFn70c74OQpTTUcCzlhQliTzYjQMqg+hVKcDnxdL19Ne3UdYzdMA/+W3eb646FWn/ZaT1NfQ==" + "version": "13.7.2", + "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-13.7.2.tgz", + "integrity": "sha512-uvilvAQbdJvnSBFcKJ2td4016urcGvsiR+N4dHGU87ml8O2Vl6l+ErOi9w0kXSPiwJ1AYlIW+0pDXDWWMOiWbw==" }, "@types/shortid": { "version": "0.0.29", diff --git a/package.json b/package.json index ac8b4ff..3c1c4c0 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@pushrocks/smartpromise": "^3.0.6", "@pushrocks/smartrequest": "^1.1.47", "@pushrocks/smartstring": "^3.0.18", - "@tsclass/tsclass": "^3.0.4" + "@tsclass/tsclass": "^3.0.7" }, "devDependencies": { "@gitzone/tsbuild": "^2.1.17", @@ -37,7 +37,7 @@ "@gitzone/tstest": "^1.0.28", "@pushrocks/qenv": "^4.0.6", "@pushrocks/tapbundle": "^3.2.0", - "@types/node": "^13.7.0", + "@types/node": "^13.7.2", "tslint": "^6.0.0", "tslint-config-prettier": "^1.18.0" }, diff --git a/ts/cloudflare.classes.account.ts b/ts/cloudflare.classes.account.ts index 8e624ed..0534067 100644 --- a/ts/cloudflare.classes.account.ts +++ b/ts/cloudflare.classes.account.ts @@ -63,7 +63,7 @@ export class CloudflareAccount { */ getRecord: async ( domainNameArg: string, - typeArg: plugins.tsclass.network.TDnsRecord + typeArg: plugins.tsclass.network.TDnsRecordType ): Promise => { const domain = new plugins.smartstring.Domain(domainNameArg); const recordArrayArg = await this.convenience.listRecords(domain.zoneName); @@ -77,7 +77,7 @@ export class CloudflareAccount { */ createRecord: async ( domainNameArg: string, - typeArg: plugins.tsclass.network.TDnsRecord, + typeArg: plugins.tsclass.network.TDnsRecordType, contentArg: string ): Promise => { const domain = new plugins.smartstring.Domain(domainNameArg); @@ -101,7 +101,7 @@ export class CloudflareAccount { */ removeRecord: async ( domainNameArg: string, - typeArg: plugins.tsclass.network.TDnsRecord + typeArg: plugins.tsclass.network.TDnsRecordType ): Promise => { const domain = new plugins.smartstring.Domain(domainNameArg); const cflareRecord = await this.convenience.getRecord(domain.fullName, typeArg); @@ -115,8 +115,8 @@ export class CloudflareAccount { /** * cleanrecord allows the cleaning of any previous records to avoid unwanted sideeffects */ - cleanRecord: async (domainNameArg: string, typeArg: plugins.tsclass.network.TDnsRecord) => { - + cleanRecord: async (domainNameArg: string, typeArg: plugins.tsclass.network.TDnsRecordType) => { + console.log(`cleaning record for ${domainNameArg}`); }, /** * updates a record @@ -124,7 +124,7 @@ export class CloudflareAccount { * @param typeArg * @param valueArg */ - updateRecord: async (domainNameArg: string, typeArg: plugins.tsclass.network.TDnsRecord, valueArg) => { + updateRecord: async (domainNameArg: string, typeArg: plugins.tsclass.network.TDnsRecordType, valueArg) => { // TODO: implement const domain = new plugins.smartstring.Domain(domainNameArg); },