@platformatic/service 3.12.0 → 3.13.1

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
@@ -239,11 +239,10 @@ export class ServiceCapability extends BaseCapability {
239
239
  pinoOptions.name = this.context.applicationId
240
240
  }
241
241
 
242
- if (this.context?.worker?.count > 1 && this.loggerConfig?.base !== null) {
243
- pinoOptions.base = { pid: process.pid, hostname: hostname(), worker: this.context.worker.index }
244
- } else if (this.loggerConfig?.base === null) {
245
- pinoOptions.base = undefined
246
- }
242
+ pinoOptions.base =
243
+ this.loggerConfig?.base !== null
244
+ ? { pid: process.pid, hostname: hostname(), worker: this.context.worker.index }
245
+ : undefined
247
246
 
248
247
  if (this.loggerConfig?.formatters) {
249
248
  pinoOptions.formatters = buildPinoFormatters(this.loggerConfig?.formatters)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "3.12.0",
3
+ "version": "3.13.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -67,12 +67,12 @@
67
67
  "rfdc": "^1.3.1",
68
68
  "semgrator": "^0.3.0",
69
69
  "undici": "^7.0.0",
70
- "@platformatic/basic": "3.12.0",
71
- "@platformatic/generators": "3.12.0",
72
- "@platformatic/scalar-theme": "3.12.0",
73
- "@platformatic/foundation": "3.12.0",
74
- "@platformatic/telemetry": "3.12.0",
75
- "@platformatic/metrics": "3.12.0"
70
+ "@platformatic/basic": "3.13.1",
71
+ "@platformatic/foundation": "3.13.1",
72
+ "@platformatic/generators": "3.13.1",
73
+ "@platformatic/metrics": "3.13.1",
74
+ "@platformatic/scalar-theme": "3.13.1",
75
+ "@platformatic/telemetry": "3.13.1"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/service/3.12.0.json",
3
- "version": "3.12.0",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/service/3.13.1.json",
3
+ "version": "3.13.1",
4
4
  "title": "Platformatic Service Config",
5
5
  "type": "object",
6
6
  "properties": {