@platformatic/gateway 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.
@@ -44,7 +44,7 @@ async function detectApplicationsUpdate ({ app, applications, fetchOpenApiSchema
44
44
  }
45
45
 
46
46
  if (!changed && graphqlApplications.length > 0) {
47
- const graphqlSupergraph = await fetchGraphqlSubgraphs(graphqlApplications, app.graphqlGatewayOptions, app)
47
+ const graphqlSupergraph = await fetchGraphqlSubgraphs(graphqlApplications, app.graphqlComposerOptions, app)
48
48
  if (!isSameGraphqlSchema(graphqlSupergraph, app.graphqlSupergraph)) {
49
49
  changed = true
50
50
  app.graphqlSupergraph = graphqlSupergraph
package/lib/graphql.js CHANGED
@@ -19,7 +19,7 @@ export async function graphqlPlugin (app, opts) {
19
19
  })
20
20
  app.decorate('graphqlComposerOptions', {
21
21
  getter () {
22
- return opts
22
+ return opts?.graphql
23
23
  }
24
24
  })
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/gateway",
3
- "version": "3.16.0",
3
+ "version": "3.17.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -33,7 +33,7 @@
33
33
  "typescript": "^5.5.4",
34
34
  "why-is-node-running": "2",
35
35
  "ws": "^8.16.0",
36
- "@platformatic/db": "3.16.0"
36
+ "@platformatic/db": "3.17.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "@fastify/error": "^4.0.0",
@@ -64,11 +64,11 @@
64
64
  "rfdc": "^1.3.1",
65
65
  "semgrator": "^0.3.0",
66
66
  "undici": "^7.0.0",
67
- "@platformatic/basic": "3.16.0",
68
- "@platformatic/foundation": "^3.16.0",
69
- "@platformatic/scalar-theme": "3.16.0",
70
- "@platformatic/telemetry": "3.16.0",
71
- "@platformatic/service": "3.16.0"
67
+ "@platformatic/basic": "3.17.0",
68
+ "@platformatic/foundation": "^3.17.0",
69
+ "@platformatic/scalar-theme": "3.17.0",
70
+ "@platformatic/service": "3.17.0",
71
+ "@platformatic/telemetry": "3.17.0"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.16.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.17.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Gateway Config",
5
5
  "type": "object",