@stream-io/node-sdk 0.7.29 → 0.7.31

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
@@ -2503,6 +2503,7 @@ decoders.PollVote = (input) => {
2503
2503
  };
2504
2504
  decoders.PollVoteResponse = (input) => {
2505
2505
  const typeMappings = {
2506
+ poll: { type: 'PollResponseData', isSingle: true },
2506
2507
  vote: { type: 'PollVoteResponseData', isSingle: true },
2507
2508
  };
2508
2509
  return decode(typeMappings, input);
@@ -7102,7 +7103,7 @@ class ApiClient {
7102
7103
  const headers = {
7103
7104
  Authorization: this.apiConfig.token,
7104
7105
  'stream-auth-type': 'jwt',
7105
- 'X-Stream-Client': 'stream-node-' + "0.7.29",
7106
+ 'X-Stream-Client': 'stream-node-' + "0.7.31",
7106
7107
  'Accept-Encoding': 'gzip',
7107
7108
  'x-client-request-id': clientRequestId,
7108
7109
  };
@@ -7617,6 +7618,7 @@ class FeedsApi {
7617
7618
  skip_enrich_url: request?.skip_enrich_url,
7618
7619
  skip_push: request?.skip_push,
7619
7620
  user_id: request?.user_id,
7621
+ attachments: request?.attachments,
7620
7622
  custom: request?.custom,
7621
7623
  user: request?.user,
7622
7624
  };