@platformatic/service 0.34.0 → 0.35.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/help/compile.txt CHANGED
@@ -7,7 +7,11 @@ Compile typescript plugins.
7
7
  As a result of executing this command, Platformatic Service will compile typescript
8
8
  plugins in the `outDir` directory.
9
9
 
10
- If not specified, the configuration specified will be loaded from
11
- `platformatic.service.json`, `platformatic.service.yml`, or `platformatic.service.tml` in the current directory.
12
- You can find more details about the configuration format at:
13
- https://docs.platformatic.dev/docs/reference/service/configuration.
10
+ If not specified, the configuration will be loaded from any of the following, in the current directory.
11
+
12
+ * `platformatic.service.json`, or
13
+ * `platformatic.service.yml`, or
14
+ * `platformatic.service.tml`
15
+
16
+ You can find more details about the configuration format here:
17
+ * [Platformatic Service Configuration](https://docs.platformatic.dev/docs/reference/service/configuration)
package/lib/schema.js CHANGED
@@ -328,6 +328,7 @@ const server = {
328
328
  },
329
329
  cors
330
330
  },
331
+ additionalProperties: false,
331
332
  required: ['hostname', 'port']
332
333
  }
333
334
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -65,12 +65,12 @@
65
65
  "pino-pretty": "^10.0.0",
66
66
  "rfdc": "^1.3.0",
67
67
  "ua-parser-js": "^1.0.35",
68
- "@platformatic/client": "0.34.0",
69
- "@platformatic/config": "0.34.0",
70
- "@platformatic/swagger-ui-theme": "0.34.0",
71
- "@platformatic/types": "0.34.0",
72
- "@platformatic/utils": "0.34.0",
73
- "@platformatic/telemetry": "0.34.0"
68
+ "@platformatic/client": "0.35.0",
69
+ "@platformatic/config": "0.35.0",
70
+ "@platformatic/swagger-ui-theme": "0.35.0",
71
+ "@platformatic/types": "0.35.0",
72
+ "@platformatic/utils": "0.35.0",
73
+ "@platformatic/telemetry": "0.35.0"
74
74
  },
75
75
  "standard": {
76
76
  "ignore": [
@@ -81,7 +81,7 @@ test('should setup telemetry if configured', async ({ teardown, equal, pass, sam
81
81
  equal(finishedSpans.length, 1)
82
82
  const span = finishedSpans[0]
83
83
  equal(span.name, 'GET /')
84
- equal(span.attributes['req.method'], 'GET')
85
- equal(span.attributes['req.url'], '/')
86
- equal(span.attributes['reply.statusCode'], 200)
84
+ equal(span.attributes['http.request.method'], 'GET')
85
+ equal(span.attributes['url.path'], '/')
86
+ equal(span.attributes['http.response.status_code'], 200)
87
87
  })