From 2f26c06ba854cfd6df49273d611b9f58d074a4f4 Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Mon, 21 Jul 2025 16:02:42 +0200 Subject: [PATCH 1/2] chore: Turn off timeouts for file uploads --- src/ApiClient.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ApiClient.ts b/src/ApiClient.ts index d0a235f..c8e0168 100644 --- a/src/ApiClient.ts +++ b/src/ApiClient.ts @@ -60,7 +60,8 @@ export class ApiClient { try { const response = await fetch(`${this.apiConfig.baseUrl}${url}`, { - signal, + signal: + requestContentType === 'multipart/form-data' ? undefined : signal, method, body: encodedBody, headers, From b4a83432ccb166379735ba8fb32da3d922f368ec Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Fri, 25 Jul 2025 09:38:55 +0200 Subject: [PATCH 2/2] fix: update base path for feeds --- src/StreamClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StreamClient.ts b/src/StreamClient.ts index b194503..373cdf0 100644 --- a/src/StreamClient.ts +++ b/src/StreamClient.ts @@ -47,7 +47,7 @@ export class StreamClient extends CommonApi { const timeout = config?.timeout ?? StreamClient.DEFAULT_TIMEOUT; const chatBaseUrl = config?.basePath ?? 'https://chat.stream-io-api.com'; const videoBaseUrl = config?.basePath ?? 'https://video.stream-io-api.com'; - const feedsBaseUrl = config?.basePath ?? 'https://video.stream-io-api.com'; + const feedsBaseUrl = config?.basePath ?? 'https://feeds.stream-io-api.com'; const chatApiClient = new ApiClient({ apiKey, token,