authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-11 13:53:45-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-11 13:53:45-07:00
logfb52d125b78b2ed1638a719a7546fad9c695c620
tree52de466872afc32650b18d31879c51831fbc1e7e
parente1c94f703f05b43f2935d09ed1ef882d0ee13ff8
signature Signed by PGP key B5690EEEBB952194

fix(client-runtime): typecheck device hub ticket request on main (#11304)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

1 files changed, 2 insertions(+), 1 deletions(-)

packages/client-runtime/src/state/deviceHubAccess.ts+2-1
...@@ -50,10 +50,11 @@ export const resolveDeviceHubAccess = Effect.fn("clientRuntime.state.resolveDevi...@@ -50,10 +50,11 @@ export const resolveDeviceHubAccess = Effect.fn("clientRuntime.state.resolveDevi
50 prepared: input.prepared,50 prepared: input.prepared,
51 signer,51 signer,
52 remoteAuthorization,52 remoteAuthorization,
53 group: "auth",
53 method: "POST",54 method: "POST",
54 url: (httpBaseUrl) => environmentEndpointUrl(httpBaseUrl, "/api/auth/websocket-ticket"),55 url: (httpBaseUrl) => environmentEndpointUrl(httpBaseUrl, "/api/auth/websocket-ticket"),
55 timeoutMs: TICKET_TIMEOUT_MS,56 timeoutMs: TICKET_TIMEOUT_MS,
56 request: ({ client, headers }) => client.auth.webSocketTicket({ headers }),57 request: ({ client, headers }) => client.webSocketTicket({ headers }),
57 });58 });
58 return {59 return {
59 httpBase,60 httpBase,