(serviceAccountToken: string)
| 239 | * Uses dynamic import to avoid loading the WASM module at build time. |
| 240 | */ |
| 241 | export async function createOnePasswordClient(serviceAccountToken: string) { |
| 242 | const { createClient } = await import('@1password/sdk') |
| 243 | return createClient({ |
| 244 | auth: serviceAccountToken, |
| 245 | integrationName: 'Sim Studio', |
| 246 | integrationVersion: '1.0.0', |
| 247 | }) |
| 248 | } |
| 249 | |
| 250 | const connectLogger = createLogger('OnePasswordConnect') |
| 251 |