Skip to content

Commit dcc20d5

Browse files
committed
chore: update api endpoints
1 parent fbf5f22 commit dcc20d5

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/index.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,7 @@ class ReplaneRemoteStorage<T extends Configs> implements ReplaneStorage<T> {
331331
timeoutMs: options.timeoutMs,
332332
method: "GET",
333333
signal: options.signal,
334-
url: this.getApiEndpoint(
335-
`/v1/events?includeInitialConfigs=${options.includeInitialConfigs}`,
336-
options
337-
),
334+
url: this.getApiEndpoint(`/sdk/v1/replication/stream`, options),
338335
onConnect: options.onConnect,
339336
});
340337

@@ -373,7 +370,7 @@ export interface ReplaneClientOptions<T extends Configs> {
373370
*/
374371
baseUrl: string;
375372
/**
376-
* Project API key for authorization.
373+
* Project SDK key for authorization.
377374
*/
378375
sdkKey: string;
379376
/**

0 commit comments

Comments
 (0)