@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.cjs.js +4 -16
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +4 -16
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/StreamCall.d.ts +1 -1
- package/dist/src/gen/models/index.d.ts +15 -21
- package/package.json +1 -1
- package/src/StreamCall.ts +1 -1
- package/src/gen/model-decoders/decoders.ts +2 -15
- package/src/gen/models/index.ts +21 -31
package/dist/index.cjs.js
CHANGED
|
@@ -201,12 +201,6 @@ decoders.ActivityResponse = (input) => {
|
|
|
201
201
|
return decode(typeMappings, input);
|
|
202
202
|
};
|
|
203
203
|
decoders.ActivitySelectorConfig = (input) => {
|
|
204
|
-
const typeMappings = {
|
|
205
|
-
cutoff_time: { type: 'StringType', isSingle: true },
|
|
206
|
-
};
|
|
207
|
-
return decode(typeMappings, input);
|
|
208
|
-
};
|
|
209
|
-
decoders.ActivitySelectorConfigResponse = (input) => {
|
|
210
204
|
const typeMappings = {
|
|
211
205
|
cutoff_time: { type: 'DatetimeType', isSingle: true },
|
|
212
206
|
};
|
|
@@ -1450,10 +1444,7 @@ decoders.FeedGroupResponse = (input) => {
|
|
|
1450
1444
|
const typeMappings = {
|
|
1451
1445
|
created_at: { type: 'DatetimeType', isSingle: true },
|
|
1452
1446
|
updated_at: { type: 'DatetimeType', isSingle: true },
|
|
1453
|
-
activity_selectors: {
|
|
1454
|
-
type: 'ActivitySelectorConfigResponse',
|
|
1455
|
-
isSingle: false,
|
|
1456
|
-
},
|
|
1447
|
+
activity_selectors: { type: 'ActivitySelectorConfig', isSingle: false },
|
|
1457
1448
|
};
|
|
1458
1449
|
return decode(typeMappings, input);
|
|
1459
1450
|
};
|
|
@@ -1517,10 +1508,7 @@ decoders.FeedUpdatedEvent = (input) => {
|
|
|
1517
1508
|
decoders.FeedViewResponse = (input) => {
|
|
1518
1509
|
const typeMappings = {
|
|
1519
1510
|
last_used_at: { type: 'DatetimeType', isSingle: true },
|
|
1520
|
-
activity_selectors: {
|
|
1521
|
-
type: 'ActivitySelectorConfigResponse',
|
|
1522
|
-
isSingle: false,
|
|
1523
|
-
},
|
|
1511
|
+
activity_selectors: { type: 'ActivitySelectorConfig', isSingle: false },
|
|
1524
1512
|
};
|
|
1525
1513
|
return decode(typeMappings, input);
|
|
1526
1514
|
};
|
|
@@ -4996,7 +4984,7 @@ class StreamCall extends CallApi {
|
|
|
4996
4984
|
this.data = response.call;
|
|
4997
4985
|
return response;
|
|
4998
4986
|
};
|
|
4999
|
-
this.
|
|
4987
|
+
this.createSRTCredentials = (userID) => {
|
|
5000
4988
|
if (!this.data) {
|
|
5001
4989
|
throw new Error('Object is not initialized, call get() or getOrCreate() first');
|
|
5002
4990
|
}
|
|
@@ -6668,7 +6656,7 @@ class ApiClient {
|
|
|
6668
6656
|
const headers = {
|
|
6669
6657
|
Authorization: this.apiConfig.token,
|
|
6670
6658
|
'stream-auth-type': 'jwt',
|
|
6671
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
6659
|
+
'X-Stream-Client': 'stream-node-' + "0.7.3",
|
|
6672
6660
|
'Accept-Encoding': 'gzip',
|
|
6673
6661
|
'x-client-request-id': clientRequestId,
|
|
6674
6662
|
};
|