v11.0.0 Release
Changes
- feat(2151)!: helm-release-v12.1.0
- Updated dependencies
- Added lint scripts to package.json
- Updated standard to use ts-standard
- Updated type definitions to match latest prom-client changes
- Standardised tsconfig
- Updated unit tests and fixed code-coverage
- Major version bump
BREAKING CHANGE: Metrics.getMetricsForPrometheus
is now an async function and returns a Promise<string>
. The following error will be displays when hitting a /metrics
on existing Mojaloop services (e.g. Central-Ledger) end-point if the promise is not handled (await
ed):
{
"errorInformation": {
"errorCode": "2001",
"errorDescription": "Internal server error - Cannot wrap a promise"
}
}