MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / readOverrides

Function readOverrides

packages/core/src/runtime/getVariables.ts:62–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62function readOverrides(): Record<string, unknown> {
63 if (typeof window === "undefined") return {};
64 const raw = (window as Window & { __hfVariables?: unknown }).__hfVariables;
65 if (!raw || typeof raw !== "object" || Array.isArray(raw)) return {};
66 return raw as Record<string, unknown>;
67}

Callers 1

getVariablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected