stream-chat 8.49.0 → 8.50.0

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.js CHANGED
@@ -141,7 +141,7 @@ var Campaign = /*#__PURE__*/function () {
141
141
  key: "create",
142
142
  value: function () {
143
143
  var _create = _asyncToGenerator__default['default']( /*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee() {
144
- var _this$data, _this$data2, _this$data3, _this$data4, _this$data5, _this$data6, _this$data7, _this$data8;
144
+ var _this$data, _this$data2, _this$data3, _this$data4, _this$data5, _this$data6, _this$data7, _this$data8, _this$data9;
145
145
 
146
146
  var body, result;
147
147
  return _regeneratorRuntime__default['default'].wrap(function _callee$(_context) {
@@ -153,11 +153,12 @@ var Campaign = /*#__PURE__*/function () {
153
153
  message_template: (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.message_template,
154
154
  segment_ids: (_this$data2 = this.data) === null || _this$data2 === void 0 ? void 0 : _this$data2.segment_ids,
155
155
  sender_id: (_this$data3 = this.data) === null || _this$data3 === void 0 ? void 0 : _this$data3.sender_id,
156
- channel_template: (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.channel_template,
157
- create_channels: (_this$data5 = this.data) === null || _this$data5 === void 0 ? void 0 : _this$data5.create_channels,
158
- description: (_this$data6 = this.data) === null || _this$data6 === void 0 ? void 0 : _this$data6.description,
159
- name: (_this$data7 = this.data) === null || _this$data7 === void 0 ? void 0 : _this$data7.name,
160
- user_ids: (_this$data8 = this.data) === null || _this$data8 === void 0 ? void 0 : _this$data8.user_ids
156
+ sender_mode: (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.sender_mode,
157
+ channel_template: (_this$data5 = this.data) === null || _this$data5 === void 0 ? void 0 : _this$data5.channel_template,
158
+ create_channels: (_this$data6 = this.data) === null || _this$data6 === void 0 ? void 0 : _this$data6.create_channels,
159
+ description: (_this$data7 = this.data) === null || _this$data7 === void 0 ? void 0 : _this$data7.description,
160
+ name: (_this$data8 = this.data) === null || _this$data8 === void 0 ? void 0 : _this$data8.name,
161
+ user_ids: (_this$data9 = this.data) === null || _this$data9 === void 0 ? void 0 : _this$data9.user_ids
161
162
  };
162
163
  _context.next = 3;
163
164
  return this.client.createCampaign(body);
@@ -14861,7 +14862,7 @@ var StreamChat = /*#__PURE__*/function () {
14861
14862
  }, {
14862
14863
  key: "getUserAgent",
14863
14864
  value: function getUserAgent() {
14864
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.49.0");
14865
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.50.0");
14865
14866
  }
14866
14867
  }, {
14867
14868
  key: "setUserAgent",