From fdda32d4b7859bbbd852c3db6911b60130c75beb Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Tue, 11 Dec 2018 17:45:23 +0800 Subject: [PATCH] v1.10.5 --- lerna.json | 2 +- packages/hook/package.json | 4 ++-- packages/metrics/package.json | 2 +- packages/metrics/src/MetricsClient.ts | 4 ++-- packages/pandora/package.json | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lerna.json b/lerna.json index 00629b89..70400eb6 100644 --- a/lerna.json +++ b/lerna.json @@ -3,7 +3,7 @@ "packages": [ "packages/*" ], - "version": "1.10.4", + "version": "1.10.5", "registry": "https://registry.npmjs.org/", "npmClient": "npm" } diff --git a/packages/hook/package.json b/packages/hook/package.json index 9656c198..74b87c3d 100644 --- a/packages/hook/package.json +++ b/packages/hook/package.json @@ -1,6 +1,6 @@ { "name": "pandora-hook", - "version": "1.10.4", + "version": "1.10.5", "description": "pandora module hook", "main": "dist/index", "typings": "dist/index.d.ts", @@ -25,7 +25,7 @@ "cls-bluebird": "^2.1.0", "debug": "^3.1.0", "is-type-of": "^1.2.0", - "pandora-metrics": "^1.10.4", + "pandora-metrics": "^1.10.5", "semver": "^5.4.1", "xorshift": "^1.1.1" }, diff --git a/packages/metrics/package.json b/packages/metrics/package.json index e62d1354..f57524a9 100644 --- a/packages/metrics/package.json +++ b/packages/metrics/package.json @@ -1,6 +1,6 @@ { "name": "pandora-metrics", - "version": "1.10.4", + "version": "1.10.5", "main": "dist/index", "typings": "dist/index.d.ts", "scripts": { diff --git a/packages/metrics/src/MetricsClient.ts b/packages/metrics/src/MetricsClient.ts index cef51ae6..326d1cb5 100644 --- a/packages/metrics/src/MetricsClient.ts +++ b/packages/metrics/src/MetricsClient.ts @@ -86,13 +86,13 @@ export class MetricsClient extends AbstractIndicator { if ((metric).proxyMethod && (metric).proxyMethod.length) { for (let method of (metric).proxyMethod) { metric[ method ] = (...args) => { - this.debug(`Invoke: invoke name = ${newName.getNameKey()}, type = ${metric.type}, method = ${method}, value = ${args}`); + this.debug(`Invoke: invoke name = ${newName.getNameKey()}, type = ${(metric).type}, method = ${method}, value = ${args}`); this.report({ action: MetricsConstants.EVT_METRIC_UPDATE, name: newName.getNameKey(), method: method, value: args, - type: metric.type, + type: (metric).type, clientId: this.clientId }); }; diff --git a/packages/pandora/package.json b/packages/pandora/package.json index 5a4516cd..445108fd 100644 --- a/packages/pandora/package.json +++ b/packages/pandora/package.json @@ -1,6 +1,6 @@ { "name": "pandora", - "version": "1.10.4", + "version": "1.10.5", "description": "A powerful and lightweight application manager for Node.js applications powered by TypeScript.", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -42,10 +42,10 @@ "mz": "^2.7.0", "pandora-dollar": "^1.10.2", "pandora-env": "^1.10.2", - "pandora-hook": "^1.10.4", + "pandora-hook": "^1.10.5", "pandora-hub": "^1.10.2", "pandora-messenger": "^1.10.2", - "pandora-metrics": "^1.10.4", + "pandora-metrics": "^1.10.5", "pandora-service-logger": "^1.10.2", "pandora-spawn-wrap": "^1.0.3", "read-last-lines": "^1.4.0",