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

Function createCloudClient

packages/cli/src/cloud/index.ts:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 * refresh would have fixed them.
28 */
29export async function createCloudClient(): Promise<HyperframesCloudClient> {
30 const client = new HyperframesCloudClient({
31 baseUrl: resolveCloudBaseUrl(),
32 getAuthHeaders: resolveCloudAuthHeaders,
33 });
34 return wrapWith401Retry(client);
35}
36
37function wrapWith401Retry(client: HyperframesCloudClient): HyperframesCloudClient {
38 return new Proxy(client, {

Callers 5

index.test.tsFile · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85

Calls 2

resolveCloudBaseUrlFunction · 0.85
wrapWith401RetryFunction · 0.85

Tested by

no test coverage detected