MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / pairBrowser

Function pairBrowser

packages/client/src/api/client.ts:63–68  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

61}
62
63export async function pairBrowser(code: string): Promise<void> {
64 await apiRequest<{ ok: boolean }>("/api/pair", {
65 body: JSON.stringify({ code }),
66 method: "POST",
67 });
68}
69
70export async function fetchHealth(): Promise<HealthResponse> {
71 return apiRequest<HealthResponse>("/api/health");

Callers 1

submitPairingFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected