@stream-io/node-sdk 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.mjs CHANGED
@@ -6347,7 +6347,7 @@ class ApiClient {
6347
6347
  const headers = {
6348
6348
  Authorization: this.apiConfig.token,
6349
6349
  'stream-auth-type': 'jwt',
6350
- 'X-Stream-Client': 'stream-node-' + "0.5.0",
6350
+ 'X-Stream-Client': 'stream-node-' + "0.5.1",
6351
6351
  'Accept-Encoding': 'gzip',
6352
6352
  'x-client-request-id': clientRequestId,
6353
6353
  };
@@ -6366,7 +6366,7 @@ class ApiClient {
6366
6366
  }
6367
6367
  try {
6368
6368
  const response = await fetch(`${this.apiConfig.baseUrl}${url}`, {
6369
- signal,
6369
+ signal: requestContentType === 'multipart/form-data' ? undefined : signal,
6370
6370
  method,
6371
6371
  body: encodedBody,
6372
6372
  headers,
@@ -7329,7 +7329,7 @@ class StreamClient extends CommonApi {
7329
7329
  const timeout = config?.timeout ?? StreamClient.DEFAULT_TIMEOUT;
7330
7330
  const chatBaseUrl = config?.basePath ?? 'https://chat.stream-io-api.com';
7331
7331
  const videoBaseUrl = config?.basePath ?? 'https://video.stream-io-api.com';
7332
- const feedsBaseUrl = config?.basePath ?? 'https://video.stream-io-api.com';
7332
+ const feedsBaseUrl = config?.basePath ?? 'https://feeds.stream-io-api.com';
7333
7333
  const chatApiClient = new ApiClient({
7334
7334
  apiKey,
7335
7335
  token,