@platformatic/node 2.12.0 → 2.14.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.
Files changed (3) hide show
  1. package/index.js +5 -0
  2. package/package.json +6 -6
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -373,6 +373,11 @@ export async function buildStackable (opts) {
373
373
  dirname: root
374
374
  })
375
375
  await configManager.parseAndValidate()
376
+ const config = configManager.current
377
+ // We need to update the config with the telemetry so the service name
378
+ // used in telemetry can be retreived using the management API
379
+ config.telemetry = opts.context.telemetryConfig
380
+ configManager.update(config)
376
381
 
377
382
  return new NodeStackable(opts, root, configManager)
378
383
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/node",
3
- "version": "2.12.0",
3
+ "version": "2.14.0",
4
4
  "description": "Platformatic Node.js Stackable",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -16,9 +16,9 @@
16
16
  "homepage": "https://github.com/platformatic/platformatic#readme",
17
17
  "dependencies": {
18
18
  "light-my-request": "^6.0.0",
19
- "@platformatic/basic": "2.12.0",
20
- "@platformatic/config": "2.12.0",
21
- "@platformatic/utils": "2.12.0"
19
+ "@platformatic/basic": "2.14.0",
20
+ "@platformatic/config": "2.14.0",
21
+ "@platformatic/utils": "2.14.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "borp": "^0.18.0",
@@ -30,8 +30,8 @@
30
30
  "neostandard": "^0.11.1",
31
31
  "tsx": "^4.19.0",
32
32
  "typescript": "^5.5.4",
33
- "@platformatic/composer": "2.12.0",
34
- "@platformatic/service": "2.12.0"
33
+ "@platformatic/composer": "2.14.0",
34
+ "@platformatic/service": "2.14.0"
35
35
  },
36
36
  "scripts": {
37
37
  "test": "npm run lint && borp --concurrency=1 --no-timeout",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/node/2.12.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/node/2.14.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Node.js Stackable",
5
5
  "type": "object",