@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.cjs.js CHANGED
@@ -6366,7 +6366,7 @@ class ApiClient {
6366
6366
  const headers = {
6367
6367
  Authorization: this.apiConfig.token,
6368
6368
  'stream-auth-type': 'jwt',
6369
- 'X-Stream-Client': 'stream-node-' + "0.5.0",
6369
+ 'X-Stream-Client': 'stream-node-' + "0.5.1",
6370
6370
  'Accept-Encoding': 'gzip',
6371
6371
  'x-client-request-id': clientRequestId,
6372
6372
  };
@@ -6385,7 +6385,7 @@ class ApiClient {
6385
6385
  }
6386
6386
  try {
6387
6387
  const response = await fetch(`${this.apiConfig.baseUrl}${url}`, {
6388
- signal,
6388
+ signal: requestContentType === 'multipart/form-data' ? undefined : signal,
6389
6389
  method,
6390
6390
  body: encodedBody,
6391
6391
  headers,
@@ -7348,7 +7348,7 @@ class StreamClient extends CommonApi {
7348
7348
  const timeout = config?.timeout ?? StreamClient.DEFAULT_TIMEOUT;
7349
7349
  const chatBaseUrl = config?.basePath ?? 'https://chat.stream-io-api.com';
7350
7350
  const videoBaseUrl = config?.basePath ?? 'https://video.stream-io-api.com';
7351
- const feedsBaseUrl = config?.basePath ?? 'https://video.stream-io-api.com';
7351
+ const feedsBaseUrl = config?.basePath ?? 'https://feeds.stream-io-api.com';
7352
7352
  const chatApiClient = new ApiClient({
7353
7353
  apiKey,
7354
7354
  token,