jamdesk 1.1.52 → 1.1.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamdesk",
3
- "version": "1.1.52",
3
+ "version": "1.1.53",
4
4
  "description": "CLI for Jamdesk — build, preview, and deploy documentation sites from MDX. Dev server with hot reload, 50+ components, OpenAPI support, AI search, and Mintlify migration",
5
5
  "keywords": [
6
6
  "jamdesk",
@@ -201,8 +201,10 @@ interface DocsChromeProps {
201
201
 
202
202
  /**
203
203
  * Full docs chrome — html shell, head tags, providers, scripts. Rendered
204
- * by the docs catch-all layout (`app/[[...slug]]/layout.tsx`) once it has
205
- * resolved its inputs (config, language, project slug, custom CSS/JS).
204
+ * by the root layout (`app/layout.tsx`) once it has resolved its inputs
205
+ * (config, language, project slug, custom CSS/JS) from request headers.
206
+ * Lives at root (not a nested segment) so Turbopack Fast Refresh doesn't
207
+ * remount the provider chain on first-visit navs in dev.
206
208
  */
207
209
  export async function DocsChrome({
208
210
  config,
@@ -557,6 +557,7 @@ const TRUSTED_PROXY_HEADERS = [
557
557
  'x-project-slug',
558
558
  'x-host-at-docs',
559
559
  'x-jd-language',
560
+ 'x-jd-unlock-mode',
560
561
  ] as const;
561
562
 
562
563
  /**