@cedarjs/vite 6.0.0-canary.2807 → 6.0.0-canary.2810

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.
@@ -190,7 +190,7 @@ async function generateGraphQLModule(distPath) {
190
190
  include: ["__cedar_graphqlOptions"]
191
191
  });
192
192
  return `
193
- import { buildCedarContext, requestToLegacyEvent } from '@cedarjs/api/runtime';
193
+ import { buildCedarContext, noopAuthDecoder, requestToLegacyEvent } from '@cedarjs/api/runtime';
194
194
  import { createGraphQLYoga } from '@cedarjs/graphql-server';
195
195
 
196
196
  // Inlined bundle of ${path.basename(distPath)} (node_modules kept external)
@@ -211,7 +211,7 @@ async function generateGraphQLModule(distPath) {
211
211
  async fetch(request) {
212
212
  const { yoga, graphqlOptions } = await getYoga();
213
213
  const cedarContext = await buildCedarContext(request, {
214
- authDecoder: graphqlOptions ? graphqlOptions.authDecoder : undefined,
214
+ authDecoder: graphqlOptions?.authDecoder ?? noopAuthDecoder,
215
215
  });
216
216
  const event = await requestToLegacyEvent(request, cedarContext);
217
217
  // Wrap yoga.handle in an AsyncLocalStorage run so directive
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/vite",
3
- "version": "6.0.0-canary.2807",
3
+ "version": "6.0.0-canary.2810",
4
4
  "description": "Vite configuration package for CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -52,16 +52,16 @@
52
52
  "@babel/parser": "7.29.7",
53
53
  "@babel/traverse": "7.29.7",
54
54
  "@babel/types": "7.29.7",
55
- "@cedarjs/api": "6.0.0-canary.2807",
56
- "@cedarjs/api-server": "6.0.0-canary.2807",
57
- "@cedarjs/babel-config": "6.0.0-canary.2807",
58
- "@cedarjs/context": "6.0.0-canary.2807",
59
- "@cedarjs/graphql-server": "6.0.0-canary.2807",
60
- "@cedarjs/internal": "6.0.0-canary.2807",
61
- "@cedarjs/project-config": "6.0.0-canary.2807",
62
- "@cedarjs/server-store": "6.0.0-canary.2807",
63
- "@cedarjs/structure": "6.0.0-canary.2807",
64
- "@cedarjs/testing": "6.0.0-canary.2807",
55
+ "@cedarjs/api": "6.0.0-canary.2810",
56
+ "@cedarjs/api-server": "6.0.0-canary.2810",
57
+ "@cedarjs/babel-config": "6.0.0-canary.2810",
58
+ "@cedarjs/context": "6.0.0-canary.2810",
59
+ "@cedarjs/graphql-server": "6.0.0-canary.2810",
60
+ "@cedarjs/internal": "6.0.0-canary.2810",
61
+ "@cedarjs/project-config": "6.0.0-canary.2810",
62
+ "@cedarjs/server-store": "6.0.0-canary.2810",
63
+ "@cedarjs/structure": "6.0.0-canary.2810",
64
+ "@cedarjs/testing": "6.0.0-canary.2810",
65
65
  "@swc/core": "1.15.46",
66
66
  "@universal-deploy/store": "^0.2.1",
67
67
  "@universal-deploy/vite": "^0.1.9",
@@ -92,10 +92,10 @@
92
92
  "yargs-parser": "21.1.1"
93
93
  },
94
94
  "devDependencies": {
95
- "@cedarjs/auth": "6.0.0-canary.2807",
96
- "@cedarjs/framework-tools": "6.0.0-canary.2807",
97
- "@cedarjs/router": "6.0.0-canary.2807",
98
- "@cedarjs/web": "6.0.0-canary.2807",
95
+ "@cedarjs/auth": "6.0.0-canary.2810",
96
+ "@cedarjs/framework-tools": "6.0.0-canary.2810",
97
+ "@cedarjs/router": "6.0.0-canary.2810",
98
+ "@cedarjs/web": "6.0.0-canary.2810",
99
99
  "@dr.pogodin/react-helmet": "2.0.4",
100
100
  "@hyrious/esbuild-plugin-commonjs": "0.2.6",
101
101
  "@jridgewell/trace-mapping": "0.3.31",
@@ -115,9 +115,9 @@
115
115
  "vitest": "4.1.10"
116
116
  },
117
117
  "peerDependencies": {
118
- "@cedarjs/auth": "6.0.0-canary.2807",
119
- "@cedarjs/router": "6.0.0-canary.2807",
120
- "@cedarjs/web": "6.0.0-canary.2807"
118
+ "@cedarjs/auth": "6.0.0-canary.2810",
119
+ "@cedarjs/router": "6.0.0-canary.2810",
120
+ "@cedarjs/web": "6.0.0-canary.2810"
121
121
  },
122
122
  "engines": {
123
123
  "node": ">=24"