@cedarjs/api-server 5.0.0-canary.2466 → 5.0.0-canary.2467

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 CHANGED
@@ -564,11 +564,11 @@ async function redwoodFastifyGraphQLServer(fastify2, options) {
564
564
  absolute: true
565
565
  });
566
566
  const filePath = pathToFileURL3(graphqlFunctionPath).href;
567
- const { __rw_graphqlOptions } = await import(filePath);
568
- if (!__rw_graphqlOptions) {
567
+ const { __cedar_graphqlOptions } = await import(filePath);
568
+ if (!__cedar_graphqlOptions) {
569
569
  return;
570
570
  }
571
- redwoodOptions.graphql = __rw_graphqlOptions;
571
+ redwoodOptions.graphql = __cedar_graphqlOptions;
572
572
  }
573
573
  const graphqlOptions = redwoodOptions.graphql;
574
574
  if (graphqlOptions?.realtime?.subscriptions) {
@@ -698,11 +698,11 @@ async function createServer(options = {}) {
698
698
  });
699
699
  if (graphqlFunctionPath) {
700
700
  const { redwoodFastifyGraphQLServer: redwoodFastifyGraphQLServer2 } = await Promise.resolve().then(() => (init_graphql(), graphql_exports));
701
- const { __rw_graphqlOptions } = await import(pathToFileURL4(graphqlFunctionPath).href);
701
+ const { __cedar_graphqlOptions } = await import(pathToFileURL4(graphqlFunctionPath).href);
702
702
  await server.register(redwoodFastifyGraphQLServer2, {
703
703
  redwood: {
704
704
  apiRootPath,
705
- graphql: __rw_graphqlOptions
705
+ graphql: __cedar_graphqlOptions
706
706
  }
707
707
  });
708
708
  }
package/dist/cjs/bin.js CHANGED
@@ -578,11 +578,11 @@ async function redwoodFastifyGraphQLServer(fastify2, options) {
578
578
  absolute: true
579
579
  });
580
580
  const filePath = (0, import_node_url2.pathToFileURL)(graphqlFunctionPath).href;
581
- const { __rw_graphqlOptions } = await import(filePath);
582
- if (!__rw_graphqlOptions) {
581
+ const { __cedar_graphqlOptions } = await import(filePath);
582
+ if (!__cedar_graphqlOptions) {
583
583
  return;
584
584
  }
585
- redwoodOptions.graphql = __rw_graphqlOptions;
585
+ redwoodOptions.graphql = __cedar_graphqlOptions;
586
586
  }
587
587
  const graphqlOptions = redwoodOptions.graphql;
588
588
  if (graphqlOptions?.realtime?.subscriptions) {
@@ -713,11 +713,11 @@ async function createServer(options = {}) {
713
713
  });
714
714
  if (graphqlFunctionPath) {
715
715
  const { redwoodFastifyGraphQLServer: redwoodFastifyGraphQLServer2 } = await Promise.resolve().then(() => (init_graphql(), graphql_exports));
716
- const { __rw_graphqlOptions } = await import((0, import_node_url3.pathToFileURL)(graphqlFunctionPath).href);
716
+ const { __cedar_graphqlOptions } = await import((0, import_node_url3.pathToFileURL)(graphqlFunctionPath).href);
717
717
  await server.register(redwoodFastifyGraphQLServer2, {
718
718
  redwood: {
719
719
  apiRootPath,
720
- graphql: __rw_graphqlOptions
720
+ graphql: __cedar_graphqlOptions
721
721
  }
722
722
  });
723
723
  }
@@ -110,11 +110,11 @@ async function createServer(options = {}) {
110
110
  });
111
111
  if (graphqlFunctionPath) {
112
112
  const { redwoodFastifyGraphQLServer } = await import("./plugins/graphql.js");
113
- const { __rw_graphqlOptions } = await import((0, import_node_url.pathToFileURL)(graphqlFunctionPath).href);
113
+ const { __cedar_graphqlOptions } = await import((0, import_node_url.pathToFileURL)(graphqlFunctionPath).href);
114
114
  await server.register(redwoodFastifyGraphQLServer, {
115
115
  redwood: {
116
116
  apiRootPath,
117
- graphql: __rw_graphqlOptions
117
+ graphql: __cedar_graphqlOptions
118
118
  }
119
119
  });
120
120
  }
@@ -58,11 +58,11 @@ async function redwoodFastifyGraphQLServer(fastify, options) {
58
58
  absolute: true
59
59
  });
60
60
  const filePath = (0, import_node_url.pathToFileURL)(graphqlFunctionPath).href;
61
- const { __rw_graphqlOptions } = await import(filePath);
62
- if (!__rw_graphqlOptions) {
61
+ const { __cedar_graphqlOptions } = await import(filePath);
62
+ if (!__cedar_graphqlOptions) {
63
63
  return;
64
64
  }
65
- redwoodOptions.graphql = __rw_graphqlOptions;
65
+ redwoodOptions.graphql = __cedar_graphqlOptions;
66
66
  }
67
67
  const graphqlOptions = redwoodOptions.graphql;
68
68
  if (graphqlOptions?.realtime?.subscriptions) {
@@ -77,11 +77,11 @@ async function createServer(options = {}) {
77
77
  });
78
78
  if (graphqlFunctionPath) {
79
79
  const { redwoodFastifyGraphQLServer } = await import("./plugins/graphql.js");
80
- const { __rw_graphqlOptions } = await import(pathToFileURL(graphqlFunctionPath).href);
80
+ const { __cedar_graphqlOptions } = await import(pathToFileURL(graphqlFunctionPath).href);
81
81
  await server.register(redwoodFastifyGraphQLServer, {
82
82
  redwood: {
83
83
  apiRootPath,
84
- graphql: __rw_graphqlOptions
84
+ graphql: __cedar_graphqlOptions
85
85
  }
86
86
  });
87
87
  }
@@ -25,11 +25,11 @@ async function redwoodFastifyGraphQLServer(fastify, options) {
25
25
  absolute: true
26
26
  });
27
27
  const filePath = pathToFileURL(graphqlFunctionPath).href;
28
- const { __rw_graphqlOptions } = await import(filePath);
29
- if (!__rw_graphqlOptions) {
28
+ const { __cedar_graphqlOptions } = await import(filePath);
29
+ if (!__cedar_graphqlOptions) {
30
30
  return;
31
31
  }
32
- redwoodOptions.graphql = __rw_graphqlOptions;
32
+ redwoodOptions.graphql = __cedar_graphqlOptions;
33
33
  }
34
34
  const graphqlOptions = redwoodOptions.graphql;
35
35
  if (graphqlOptions?.realtime?.subscriptions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/api-server",
3
- "version": "5.0.0-canary.2466",
3
+ "version": "5.0.0-canary.2467",
4
4
  "description": "CedarJS's HTTP server for Serverless Functions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -133,11 +133,11 @@
133
133
  "test:watch": "vitest watch"
134
134
  },
135
135
  "dependencies": {
136
- "@cedarjs/context": "5.0.0-canary.2466",
137
- "@cedarjs/fastify-web": "5.0.0-canary.2466",
138
- "@cedarjs/internal": "5.0.0-canary.2466",
139
- "@cedarjs/project-config": "5.0.0-canary.2466",
140
- "@cedarjs/web-server": "5.0.0-canary.2466",
136
+ "@cedarjs/context": "5.0.0-canary.2467",
137
+ "@cedarjs/fastify-web": "5.0.0-canary.2467",
138
+ "@cedarjs/internal": "5.0.0-canary.2467",
139
+ "@cedarjs/project-config": "5.0.0-canary.2467",
140
+ "@cedarjs/web-server": "5.0.0-canary.2467",
141
141
  "@fastify/multipart": "9.4.0",
142
142
  "@fastify/url-data": "6.0.3",
143
143
  "ansis": "4.2.0",
@@ -155,7 +155,7 @@
155
155
  "yargs": "17.7.2"
156
156
  },
157
157
  "devDependencies": {
158
- "@cedarjs/framework-tools": "5.0.0-canary.2466",
158
+ "@cedarjs/framework-tools": "5.0.0-canary.2467",
159
159
  "@types/aws-lambda": "8.10.162",
160
160
  "@types/dotenv-defaults": "^5.0.0",
161
161
  "@types/split2": "4.2.3",