@platformatic/service 1.26.0 → 1.27.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/index.js +6 -4
- package/package.json +11 -11
package/index.js
CHANGED
|
@@ -42,6 +42,12 @@ async function platformaticService (app, opts) {
|
|
|
42
42
|
await app.register(telemetry, config.telemetry)
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
// This must be done before loading the plugins, so they can be
|
|
46
|
+
// configured accordingly
|
|
47
|
+
if (isKeyEnabled('clients', config)) {
|
|
48
|
+
app.register(setupClients, config.clients)
|
|
49
|
+
}
|
|
50
|
+
|
|
45
51
|
if (Array.isArray(beforePlugins)) {
|
|
46
52
|
for (const plugin of beforePlugins) {
|
|
47
53
|
app.register(plugin)
|
|
@@ -83,10 +89,6 @@ async function platformaticService (app, opts) {
|
|
|
83
89
|
}
|
|
84
90
|
})
|
|
85
91
|
|
|
86
|
-
if (isKeyEnabled('clients', config)) {
|
|
87
|
-
app.register(setupClients, config.clients)
|
|
88
|
-
}
|
|
89
|
-
|
|
90
92
|
if (isKeyEnabled('cors', config.server)) {
|
|
91
93
|
app.register(setupCors, config.server.cors)
|
|
92
94
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@fastify/aws-lambda": "^4.0.0",
|
|
21
21
|
"@fastify/compress": "^7.0.0",
|
|
22
22
|
"bindings": "^1.5.0",
|
|
23
|
-
"borp": "^0.
|
|
23
|
+
"borp": "^0.10.0",
|
|
24
24
|
"json-schema-to-typescript": "^13.1.2",
|
|
25
25
|
"openapi-types": "^12.1.3",
|
|
26
26
|
"pino-abstract-transport": "^1.1.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"es-main": "^1.3.0",
|
|
64
64
|
"execa": "^8.0.1",
|
|
65
65
|
"fastify": "^4.26.0",
|
|
66
|
-
"fastify-metrics": "^
|
|
66
|
+
"fastify-metrics": "^11.0.0",
|
|
67
67
|
"fastify-openapi-glue": "^4.4.3",
|
|
68
68
|
"fastify-plugin": "^4.5.1",
|
|
69
69
|
"graphql": "^16.8.1",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"rfdc": "^1.3.1",
|
|
78
78
|
"ua-parser-js": "^1.0.37",
|
|
79
79
|
"undici": "^6.6.0",
|
|
80
|
-
"@platformatic/
|
|
81
|
-
"@platformatic/config": "1.
|
|
82
|
-
"@platformatic/generators": "1.
|
|
83
|
-
"@platformatic/
|
|
84
|
-
"@platformatic/metaconfig": "1.
|
|
85
|
-
"@platformatic/
|
|
86
|
-
"@platformatic/
|
|
87
|
-
"@platformatic/
|
|
80
|
+
"@platformatic/client": "1.27.0",
|
|
81
|
+
"@platformatic/config": "1.27.0",
|
|
82
|
+
"@platformatic/generators": "1.27.0",
|
|
83
|
+
"@platformatic/authenticate": "1.27.0",
|
|
84
|
+
"@platformatic/metaconfig": "1.27.0",
|
|
85
|
+
"@platformatic/scalar-theme": "1.27.0",
|
|
86
|
+
"@platformatic/utils": "1.27.0",
|
|
87
|
+
"@platformatic/telemetry": "1.27.0"
|
|
88
88
|
},
|
|
89
89
|
"standard": {
|
|
90
90
|
"ignore": [
|