@cedarjs/api-server 2.5.1 → 2.5.2-next.16
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/dist/bin.js +2 -2
- package/dist/cjs/bin.js +2 -2
- package/dist/cjs/logFormatter/bin.js +0 -0
- package/dist/cjs/plugins/graphql.js +2 -2
- package/dist/cjs/watch.js +0 -0
- package/dist/logFormatter/bin.js +0 -0
- package/dist/plugins/graphql.js +2 -2
- package/dist/watch.js +0 -0
- package/package.json +8 -8
package/dist/bin.js
CHANGED
|
@@ -491,9 +491,9 @@ async function redwoodFastifyGraphQLServer(fastify2, options) {
|
|
|
491
491
|
}
|
|
492
492
|
const graphqlOptions = redwoodOptions.graphql;
|
|
493
493
|
if (graphqlOptions?.realtime) {
|
|
494
|
-
const {
|
|
494
|
+
const { useCedarRealtime } = await import("@cedarjs/realtime");
|
|
495
495
|
const originalExtraPlugins = graphqlOptions.extraPlugins ?? [];
|
|
496
|
-
originalExtraPlugins.push(
|
|
496
|
+
originalExtraPlugins.push(useCedarRealtime(graphqlOptions.realtime));
|
|
497
497
|
graphqlOptions.extraPlugins = originalExtraPlugins;
|
|
498
498
|
if (graphqlOptions.realtime.subscriptions) {
|
|
499
499
|
method.push("PUT");
|
package/dist/cjs/bin.js
CHANGED
|
@@ -507,9 +507,9 @@ async function redwoodFastifyGraphQLServer(fastify2, options) {
|
|
|
507
507
|
}
|
|
508
508
|
const graphqlOptions = redwoodOptions.graphql;
|
|
509
509
|
if (graphqlOptions?.realtime) {
|
|
510
|
-
const {
|
|
510
|
+
const { useCedarRealtime } = await import("@cedarjs/realtime");
|
|
511
511
|
const originalExtraPlugins = graphqlOptions.extraPlugins ?? [];
|
|
512
|
-
originalExtraPlugins.push(
|
|
512
|
+
originalExtraPlugins.push(useCedarRealtime(graphqlOptions.realtime));
|
|
513
513
|
graphqlOptions.extraPlugins = originalExtraPlugins;
|
|
514
514
|
if (graphqlOptions.realtime.subscriptions) {
|
|
515
515
|
method.push("PUT");
|
|
File without changes
|
|
@@ -64,9 +64,9 @@ async function redwoodFastifyGraphQLServer(fastify, options) {
|
|
|
64
64
|
}
|
|
65
65
|
const graphqlOptions = redwoodOptions.graphql;
|
|
66
66
|
if (graphqlOptions?.realtime) {
|
|
67
|
-
const {
|
|
67
|
+
const { useCedarRealtime } = await import("@cedarjs/realtime");
|
|
68
68
|
const originalExtraPlugins = graphqlOptions.extraPlugins ?? [];
|
|
69
|
-
originalExtraPlugins.push(
|
|
69
|
+
originalExtraPlugins.push(useCedarRealtime(graphqlOptions.realtime));
|
|
70
70
|
graphqlOptions.extraPlugins = originalExtraPlugins;
|
|
71
71
|
if (graphqlOptions.realtime.subscriptions) {
|
|
72
72
|
method.push("PUT");
|
package/dist/cjs/watch.js
CHANGED
|
File without changes
|
package/dist/logFormatter/bin.js
CHANGED
|
File without changes
|
package/dist/plugins/graphql.js
CHANGED
|
@@ -31,9 +31,9 @@ async function redwoodFastifyGraphQLServer(fastify, options) {
|
|
|
31
31
|
}
|
|
32
32
|
const graphqlOptions = redwoodOptions.graphql;
|
|
33
33
|
if (graphqlOptions?.realtime) {
|
|
34
|
-
const {
|
|
34
|
+
const { useCedarRealtime } = await import("@cedarjs/realtime");
|
|
35
35
|
const originalExtraPlugins = graphqlOptions.extraPlugins ?? [];
|
|
36
|
-
originalExtraPlugins.push(
|
|
36
|
+
originalExtraPlugins.push(useCedarRealtime(graphqlOptions.realtime));
|
|
37
37
|
graphqlOptions.extraPlugins = originalExtraPlugins;
|
|
38
38
|
if (graphqlOptions.realtime.subscriptions) {
|
|
39
39
|
method.push("PUT");
|
package/dist/watch.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api-server",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2-next.16+a27a893fb",
|
|
4
4
|
"description": "CedarJS's HTTP server for Serverless Functions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
"test:watch": "vitest watch"
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@cedarjs/context": "2.5.
|
|
115
|
-
"@cedarjs/fastify-web": "2.5.
|
|
116
|
-
"@cedarjs/internal": "2.5.
|
|
117
|
-
"@cedarjs/project-config": "2.5.
|
|
118
|
-
"@cedarjs/web-server": "2.5.
|
|
114
|
+
"@cedarjs/context": "2.5.2-next.16+a27a893fb",
|
|
115
|
+
"@cedarjs/fastify-web": "2.5.2-next.16+a27a893fb",
|
|
116
|
+
"@cedarjs/internal": "2.5.2-next.16+a27a893fb",
|
|
117
|
+
"@cedarjs/project-config": "2.5.2-next.16+a27a893fb",
|
|
118
|
+
"@cedarjs/web-server": "2.5.2-next.16+a27a893fb",
|
|
119
119
|
"@fastify/multipart": "9.4.0",
|
|
120
120
|
"@fastify/url-data": "6.0.3",
|
|
121
121
|
"ansis": "4.2.0",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"yargs": "17.7.2"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
|
-
"@cedarjs/framework-tools": "
|
|
135
|
+
"@cedarjs/framework-tools": "2.5.2-next.16",
|
|
136
136
|
"@types/aws-lambda": "8.10.160",
|
|
137
137
|
"@types/dotenv-defaults": "^5.0.0",
|
|
138
138
|
"@types/qs": "6.14.0",
|
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
"publishConfig": {
|
|
156
156
|
"access": "public"
|
|
157
157
|
},
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "a27a893fb8f6883f3bf121dad4d3edf7696484fe"
|
|
159
159
|
}
|