Skip to content

Commit 737f017

Browse files
committed
feat: allow js sdk start without sdk key or base url
1 parent 7687631 commit 737f017

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/sdk/src/client.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,6 @@ async function createReplaneClientInternal<T extends object = Record<string, unk
333333
sdkOptions: ReplaneFinalOptions,
334334
storage: ReplaneStorage
335335
): Promise<ReplaneClient<T>> {
336-
if (!sdkOptions.sdkKey) throw new Error("SDK key is required");
337-
338336
const { client, configs, startStreaming, clientReady } = createClientCore<T>({
339337
initialConfigs: sdkOptions.fallbacks,
340338
context: sdkOptions.context,

0 commit comments

Comments
 (0)