@stream-io/node-sdk 0.7.29 → 0.7.30
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
|
@@ -2484,6 +2484,7 @@ decoders.PollVote = (input) => {
|
|
|
2484
2484
|
};
|
|
2485
2485
|
decoders.PollVoteResponse = (input) => {
|
|
2486
2486
|
const typeMappings = {
|
|
2487
|
+
poll: { type: 'PollResponseData', isSingle: true },
|
|
2487
2488
|
vote: { type: 'PollVoteResponseData', isSingle: true },
|
|
2488
2489
|
};
|
|
2489
2490
|
return decode(typeMappings, input);
|
|
@@ -7083,7 +7084,7 @@ class ApiClient {
|
|
|
7083
7084
|
const headers = {
|
|
7084
7085
|
Authorization: this.apiConfig.token,
|
|
7085
7086
|
'stream-auth-type': 'jwt',
|
|
7086
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
7087
|
+
'X-Stream-Client': 'stream-node-' + "0.7.30",
|
|
7087
7088
|
'Accept-Encoding': 'gzip',
|
|
7088
7089
|
'x-client-request-id': clientRequestId,
|
|
7089
7090
|
};
|