@stream-io/node-sdk 0.7.2 → 0.7.3

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
@@ -182,12 +182,6 @@ decoders.ActivityResponse = (input) => {
182
182
  return decode(typeMappings, input);
183
183
  };
184
184
  decoders.ActivitySelectorConfig = (input) => {
185
- const typeMappings = {
186
- cutoff_time: { type: 'StringType', isSingle: true },
187
- };
188
- return decode(typeMappings, input);
189
- };
190
- decoders.ActivitySelectorConfigResponse = (input) => {
191
185
  const typeMappings = {
192
186
  cutoff_time: { type: 'DatetimeType', isSingle: true },
193
187
  };
@@ -1431,10 +1425,7 @@ decoders.FeedGroupResponse = (input) => {
1431
1425
  const typeMappings = {
1432
1426
  created_at: { type: 'DatetimeType', isSingle: true },
1433
1427
  updated_at: { type: 'DatetimeType', isSingle: true },
1434
- activity_selectors: {
1435
- type: 'ActivitySelectorConfigResponse',
1436
- isSingle: false,
1437
- },
1428
+ activity_selectors: { type: 'ActivitySelectorConfig', isSingle: false },
1438
1429
  };
1439
1430
  return decode(typeMappings, input);
1440
1431
  };
@@ -1498,10 +1489,7 @@ decoders.FeedUpdatedEvent = (input) => {
1498
1489
  decoders.FeedViewResponse = (input) => {
1499
1490
  const typeMappings = {
1500
1491
  last_used_at: { type: 'DatetimeType', isSingle: true },
1501
- activity_selectors: {
1502
- type: 'ActivitySelectorConfigResponse',
1503
- isSingle: false,
1504
- },
1492
+ activity_selectors: { type: 'ActivitySelectorConfig', isSingle: false },
1505
1493
  };
1506
1494
  return decode(typeMappings, input);
1507
1495
  };
@@ -4977,7 +4965,7 @@ class StreamCall extends CallApi {
4977
4965
  this.data = response.call;
4978
4966
  return response;
4979
4967
  };
4980
- this.createSRTCredetials = (userID) => {
4968
+ this.createSRTCredentials = (userID) => {
4981
4969
  if (!this.data) {
4982
4970
  throw new Error('Object is not initialized, call get() or getOrCreate() first');
4983
4971
  }
@@ -6649,7 +6637,7 @@ class ApiClient {
6649
6637
  const headers = {
6650
6638
  Authorization: this.apiConfig.token,
6651
6639
  'stream-auth-type': 'jwt',
6652
- 'X-Stream-Client': 'stream-node-' + "0.7.2",
6640
+ 'X-Stream-Client': 'stream-node-' + "0.7.3",
6653
6641
  'Accept-Encoding': 'gzip',
6654
6642
  'x-client-request-id': clientRequestId,
6655
6643
  };