From d8cd615939bac7ad6dd5e862d920dce44e36e860 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Tue, 20 Aug 2024 09:48:27 -0700 Subject: [PATCH] js[minor]: Expose client config interface --- js/src/client.ts | 2 +- js/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/client.ts b/js/src/client.ts index fab3f6b23..05b1a602b 100644 --- a/js/src/client.ts +++ b/js/src/client.ts @@ -42,7 +42,7 @@ import { import { __version__ } from "./index.js"; import { assertUuid } from "./utils/_uuid.js"; -interface ClientConfig { +export interface ClientConfig { apiUrl?: string; apiKey?: string; callerOptions?: AsyncCallerParams; diff --git a/js/src/index.ts b/js/src/index.ts index e1f22e0e3..9aab556f7 100644 --- a/js/src/index.ts +++ b/js/src/index.ts @@ -1,4 +1,4 @@ -export { Client } from "./client.js"; +export { Client, type ClientConfig } from "./client.js"; export type { Dataset,