( apiBaseUrl: string, sessionId: string, )
| 79 | * and worker endpoints from this base. |
| 80 | */ |
| 81 | export function buildCCRv2SdkUrl( |
| 82 | apiBaseUrl: string, |
| 83 | sessionId: string, |
| 84 | ): string { |
| 85 | const base = apiBaseUrl.replace(/\/+$/, '') |
| 86 | return `${base}/v1/code/sessions/${sessionId}` |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Register this bridge as the worker for a CCR v2 session. |
no outgoing calls
no test coverage detected