(fn: (wos: WorkOS) => Promise<A>)
| 148 | const workos = new WorkOS({ apiKey, clientId, ...workosApiUrlOptions(env.WORKOS_API_URL) }); |
| 149 | |
| 150 | const use = <A>(fn: (wos: WorkOS) => Promise<A>) => |
| 151 | withServiceLogging( |
| 152 | "workos", |
| 153 | () => new WorkOSError(), |
| 154 | tryPromiseService(() => fn(workos)), |
| 155 | ); |
| 156 | |
| 157 | const authenticateSealedSession = (sessionData: string) => |
| 158 | Effect.gen(function* () { |
no test coverage detected