@constructive-io/graphql-server 4.42.1 → 4.43.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.
@@ -53,8 +53,8 @@ async function handleInvoke(req, res) {
53
53
  schema: module.schemaName,
54
54
  alias: 'd',
55
55
  })
56
- .where('b.api_id', '=', ctx.api.apiId)
57
- .where('b.alias', '=', alias)
56
+ .where({ 'b.api_id': { equalTo: ctx.api.apiId } })
57
+ .where({ 'b.alias': { equalTo: alias } })
58
58
  .build();
59
59
  const { rows } = await client.query(text, values);
60
60
  for (const row of rows) {
@@ -153,7 +153,7 @@ async function handleGetInvocation(req, res) {
153
153
  .schema(module.invocationsSchemaName)
154
154
  .table(module.invocationsTableName)
155
155
  .select(['id', 'status', 'result', 'error', 'created_at', 'started_at', 'completed_at', 'duration_ms'])
156
- .where('id', '=', id)
156
+ .where({ id: { equalTo: id } })
157
157
  .build();
158
158
  const { rows } = await client.query(text, values);
159
159
  if (rows[0])
package/middleware/fn.js CHANGED
@@ -89,8 +89,8 @@ async function handleInvoke(req, res) {
89
89
  schema: module.schemaName,
90
90
  alias: 'd',
91
91
  })
92
- .where('b.api_id', '=', ctx.api.apiId)
93
- .where('b.alias', '=', alias)
92
+ .where({ 'b.api_id': { equalTo: ctx.api.apiId } })
93
+ .where({ 'b.alias': { equalTo: alias } })
94
94
  .build();
95
95
  const { rows } = await client.query(text, values);
96
96
  for (const row of rows) {
@@ -189,7 +189,7 @@ async function handleGetInvocation(req, res) {
189
189
  .schema(module.invocationsSchemaName)
190
190
  .table(module.invocationsTableName)
191
191
  .select(['id', 'status', 'result', 'error', 'created_at', 'started_at', 'completed_at', 'duration_ms'])
192
- .where('id', '=', id)
192
+ .where({ id: { equalTo: id } })
193
193
  .build();
194
194
  const { rows } = await client.query(text, values);
195
195
  if (rows[0])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-server",
3
- "version": "4.42.1",
3
+ "version": "4.43.1",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive GraphQL Server",
6
6
  "main": "index.js",
@@ -42,10 +42,10 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@constructive-io/csrf": "^0.17.0",
45
- "@constructive-io/express-context": "^0.10.0",
45
+ "@constructive-io/express-context": "^0.11.1",
46
46
  "@constructive-io/graphql-env": "^3.15.0",
47
47
  "@constructive-io/graphql-types": "^3.14.0",
48
- "@constructive-io/query-builder": "^2.22.0",
48
+ "@constructive-io/query-builder": "^2.23.0",
49
49
  "@constructive-io/s3-utils": "^2.20.0",
50
50
  "@constructive-io/url-domains": "^2.19.0",
51
51
  "@graphile-contrib/pg-many-to-many": "2.0.0-rc.2",
@@ -53,7 +53,7 @@
53
53
  "@pgpmjs/logger": "^2.14.0",
54
54
  "@pgpmjs/server-utils": "^3.15.1",
55
55
  "@pgpmjs/types": "^2.34.0",
56
- "agentic-server": "0.9.1",
56
+ "agentic-server": "0.10.1",
57
57
  "cors": "^2.8.6",
58
58
  "deepmerge": "^4.3.1",
59
59
  "express": "^5.2.1",
@@ -64,8 +64,8 @@
64
64
  "graphile-build-pg": "5.0.2",
65
65
  "graphile-cache": "^3.15.0",
66
66
  "graphile-config": "1.0.1",
67
- "graphile-function-bindings": "^0.2.1",
68
- "graphile-settings": "^5.13.3",
67
+ "graphile-function-bindings": "^0.3.0",
68
+ "graphile-settings": "^5.14.1",
69
69
  "graphile-utils": "5.0.1",
70
70
  "graphql": "16.13.0",
71
71
  "graphql-upload": "^13.0.0",
@@ -92,5 +92,5 @@
92
92
  "nodemon": "^3.1.14",
93
93
  "ts-node": "^10.9.2"
94
94
  },
95
- "gitHead": "fe49621d08cbf93d3b75ee7bb9b0849580980369"
95
+ "gitHead": "89298a1b9d3c6db8ab95ce4a6dfdb9285551dc5b"
96
96
  }