MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / bridgeConfig

Method bridgeConfig

packages/cloud/src/CloudAPI.ts:124–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 }
123
124 async bridgeConfig() {
125 return this.request("/api/extension/bridge/config", {
126 method: "GET",
127 parseResponse: (data) =>
128 z
129 .object({
130 userId: z.string(),
131 socketBridgeUrl: z.string(),
132 token: z.string(),
133 })
134 .parse(data),
135 })
136 }
137
138 async creditBalance(): Promise<number> {
139 return this.request("/api/extension/credit-balance", {

Callers

nothing calls this directly

Calls 2

requestMethod · 0.95
parseMethod · 0.80

Tested by

no test coverage detected