@norskvideo/ctl-dev-kit 0.2.124 → 0.2.126

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.
@@ -150,7 +150,7 @@ const DEFAULT_MEDIA_IMAGE = mediaImageFor(DEFAULT_MEDIA_LIB);
150
150
 
151
151
  // Studio's npm packages and image ship from different commits, so its image tag
152
152
  // cannot be derived; it only has to sit on the lib pin's version line.
153
- const DEFAULT_STUDIO_IMAGE = "norskvideo/norsk-studio:1.30.0-2026-09-24-f57973c6";
153
+ const DEFAULT_STUDIO_IMAGE = "norskvideo/norsk-studio:1.31.0-2026-10-31-385d2d30";
154
154
  const DEFAULT_STUDIO_LIB = devKitPin(devKitPackageJson, "@norskvideo/norsk-studio");
155
155
 
156
156
  /** The one zod 4 a generated product resolves: pinned in its root `overrides`
@@ -86,6 +86,11 @@ export async function startInstanceProxy(opts) {
86
86
  return ok ? undefined : new Response("ws upgrade failed", { status: 400 });
87
87
  }
88
88
  const headers = new Headers(req.headers);
89
+ // Studio refuses a browser write whose Origin is not the host it was
90
+ // reached at (id3as/norsk-studio#328). The browser reached this proxy, so
91
+ // say so, as a real reverse proxy would; otherwise a non-loopback upstream
92
+ // (direct mode, <id>-studio-1:8000) sees every dashboard POST as foreign.
93
+ headers.set("x-forwarded-host", req.headers.get("host") ?? u.host);
89
94
  headers.delete("host");
90
95
  const body = req.method === "GET" || req.method === "HEAD" ? undefined : await req.arrayBuffer();
91
96
  // Studio being briefly unreachable is ordinary while a guide polls it; a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-dev-kit",
3
- "version": "0.2.124",
3
+ "version": "0.2.126",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,10 +45,10 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@norskvideo/ctl-oas-to-ts": "^0.1.0",
48
- "@norskvideo/norsk-sdk": "1.3.1-2026-10-28-0dc6d7ee",
49
- "@norskvideo/norsk-studio": "1.30.0-2026-10-28-892c8a05",
50
- "@norskvideo/norsk-studio-builder": "1.30.0-2026-10-28-892c8a05",
51
- "@norskvideo/norsk-studio-built-ins": "1.30.0-2026-10-28-892c8a05",
48
+ "@norskvideo/norsk-sdk": "1.4.2-2026-11-01-72474ffd",
49
+ "@norskvideo/norsk-studio": "1.31.0-2026-10-31-385d2d30",
50
+ "@norskvideo/norsk-studio-builder": "1.31.0-2026-10-31-385d2d30",
51
+ "@norskvideo/norsk-studio-built-ins": "1.31.0-2026-10-31-385d2d30",
52
52
  "@playwright/test": "^1.59.0",
53
53
  "@testing-library/jest-dom": "^6.9.1",
54
54
  "@testing-library/react": "^16.3.2",