@platformatic/basic 3.16.0 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/capability.js CHANGED
@@ -651,7 +651,7 @@ export class BaseCapability extends EventEmitter {
651
651
 
652
652
  this.#metricsCollected = true
653
653
 
654
- if (this.context.metricsConfig === false) {
654
+ if (this.context.metricsConfig === false || this.context.metricsConfig?.enabled === false) {
655
655
  return
656
656
  }
657
657
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/basic",
3
- "version": "3.16.0",
3
+ "version": "3.17.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -25,10 +25,10 @@
25
25
  "split2": "^4.2.0",
26
26
  "undici": "^7.0.0",
27
27
  "ws": "^8.18.0",
28
- "@platformatic/foundation": "3.16.0",
29
- "@platformatic/metrics": "3.16.0",
30
- "@platformatic/telemetry": "3.16.0",
31
- "@platformatic/itc": "3.16.0"
28
+ "@platformatic/foundation": "3.17.0",
29
+ "@platformatic/itc": "3.17.0",
30
+ "@platformatic/metrics": "3.17.0",
31
+ "@platformatic/telemetry": "3.17.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "cleaner-spec-reporter": "^0.5.0",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/basic/3.16.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/basic/3.17.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Basic Config",
5
5
  "type": "object",