@mojaloop/central-services-metrics
Advanced tools
Comparing version 8.3.0 to 8.8.0
@@ -61,3 +61,7 @@ /***** | ||
getOptions: () => metricOptionsType; | ||
/** | ||
* To check is it the Metrics already initiated | ||
*/ | ||
isInitiated: () => boolean; | ||
} | ||
export { Metrics, metricOptionsType }; |
@@ -92,2 +92,8 @@ /***** | ||
} | ||
/** | ||
* To check is it the Metrics already initiated | ||
*/ | ||
this.isInitiated = () => { | ||
return this._alreadySetup | ||
} | ||
} | ||
@@ -94,0 +100,0 @@ } |
{ | ||
"name": "@mojaloop/central-services-metrics", | ||
"version": "8.3.0", | ||
"version": "8.8.0", | ||
"description": "Shared code for metrics generation", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -121,2 +121,9 @@ /***** | ||
} | ||
/** | ||
* To check is it the Metrics already initiated | ||
*/ | ||
isInitiated = (): boolean => { | ||
return this._alreadySetup | ||
} | ||
} | ||
@@ -123,0 +130,0 @@ |
Sorry, the diff of this file is not supported yet
55225
14
703