stream-chat 8.19.1 → 8.21.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.
@@ -10856,13 +10856,13 @@ var StreamChat = /*#__PURE__*/function () {
10856
10856
  }, {
10857
10857
  key: "getMessage",
10858
10858
  value: function () {
10859
- var _getMessage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58(messageID) {
10859
+ var _getMessage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58(messageID, options) {
10860
10860
  return _regeneratorRuntime.wrap(function _callee58$(_context58) {
10861
10861
  while (1) {
10862
10862
  switch (_context58.prev = _context58.next) {
10863
10863
  case 0:
10864
10864
  _context58.next = 2;
10865
- return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)));
10865
+ return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)), _objectSpread({}, options));
10866
10866
 
10867
10867
  case 2:
10868
10868
  return _context58.abrupt("return", _context58.sent);
@@ -10875,7 +10875,7 @@ var StreamChat = /*#__PURE__*/function () {
10875
10875
  }, _callee58, this);
10876
10876
  }));
10877
10877
 
10878
- function getMessage(_x77) {
10878
+ function getMessage(_x77, _x78) {
10879
10879
  return _getMessage.apply(this, arguments);
10880
10880
  }
10881
10881
 
@@ -10930,7 +10930,7 @@ var StreamChat = /*#__PURE__*/function () {
10930
10930
  }, _callee59, this);
10931
10931
  }));
10932
10932
 
10933
- function queryThreads(_x78) {
10933
+ function queryThreads(_x79) {
10934
10934
  return _queryThreads.apply(this, arguments);
10935
10935
  }
10936
10936
 
@@ -10990,7 +10990,7 @@ var StreamChat = /*#__PURE__*/function () {
10990
10990
  }, _callee60, this);
10991
10991
  }));
10992
10992
 
10993
- function getThread(_x79) {
10993
+ function getThread(_x80) {
10994
10994
  return _getThread.apply(this, arguments);
10995
10995
  }
10996
10996
 
@@ -11062,7 +11062,7 @@ var StreamChat = /*#__PURE__*/function () {
11062
11062
  }, _callee61, this);
11063
11063
  }));
11064
11064
 
11065
- function partialUpdateThread(_x80, _x81) {
11065
+ function partialUpdateThread(_x81, _x82) {
11066
11066
  return _partialUpdateThread.apply(this, arguments);
11067
11067
  }
11068
11068
 
@@ -11071,7 +11071,7 @@ var StreamChat = /*#__PURE__*/function () {
11071
11071
  }, {
11072
11072
  key: "getUserAgent",
11073
11073
  value: function getUserAgent() {
11074
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.19.1");
11074
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.21.0");
11075
11075
  }
11076
11076
  }, {
11077
11077
  key: "setUserAgent",
@@ -11311,7 +11311,7 @@ var StreamChat = /*#__PURE__*/function () {
11311
11311
  }, _callee62, this);
11312
11312
  }));
11313
11313
 
11314
- function sendUserCustomEvent(_x82, _x83) {
11314
+ function sendUserCustomEvent(_x83, _x84) {
11315
11315
  return _sendUserCustomEvent.apply(this, arguments);
11316
11316
  }
11317
11317
 
@@ -11431,7 +11431,7 @@ var StreamChat = /*#__PURE__*/function () {
11431
11431
  }, _callee63, this);
11432
11432
  }));
11433
11433
 
11434
- function createSegment(_x84, _x85, _x86, _x87) {
11434
+ function createSegment(_x85, _x86, _x87, _x88) {
11435
11435
  return _createSegment.apply(this, arguments);
11436
11436
  }
11437
11437
 
@@ -11466,7 +11466,7 @@ var StreamChat = /*#__PURE__*/function () {
11466
11466
  }, _callee64, this);
11467
11467
  }));
11468
11468
 
11469
- function createUserSegment(_x88, _x89, _x90) {
11469
+ function createUserSegment(_x89, _x90, _x91) {
11470
11470
  return _createUserSegment.apply(this, arguments);
11471
11471
  }
11472
11472
 
@@ -11501,7 +11501,7 @@ var StreamChat = /*#__PURE__*/function () {
11501
11501
  }, _callee65, this);
11502
11502
  }));
11503
11503
 
11504
- function createChannelSegment(_x91, _x92, _x93) {
11504
+ function createChannelSegment(_x92, _x93, _x94) {
11505
11505
  return _createChannelSegment.apply(this, arguments);
11506
11506
  }
11507
11507
 
@@ -11526,7 +11526,7 @@ var StreamChat = /*#__PURE__*/function () {
11526
11526
  }, _callee66, this);
11527
11527
  }));
11528
11528
 
11529
- function getSegment(_x94) {
11529
+ function getSegment(_x95) {
11530
11530
  return _getSegment.apply(this, arguments);
11531
11531
  }
11532
11532
 
@@ -11560,7 +11560,7 @@ var StreamChat = /*#__PURE__*/function () {
11560
11560
  }, _callee67, this);
11561
11561
  }));
11562
11562
 
11563
- function updateSegment(_x95, _x96) {
11563
+ function updateSegment(_x96, _x97) {
11564
11564
  return _updateSegment.apply(this, arguments);
11565
11565
  }
11566
11566
 
@@ -11598,7 +11598,7 @@ var StreamChat = /*#__PURE__*/function () {
11598
11598
  }, _callee68, this);
11599
11599
  }));
11600
11600
 
11601
- function addSegmentTargets(_x97, _x98) {
11601
+ function addSegmentTargets(_x98, _x99) {
11602
11602
  return _addSegmentTargets.apply(this, arguments);
11603
11603
  }
11604
11604
 
@@ -11633,7 +11633,7 @@ var StreamChat = /*#__PURE__*/function () {
11633
11633
  }, _callee69, this);
11634
11634
  }));
11635
11635
 
11636
- function querySegmentTargets(_x99) {
11636
+ function querySegmentTargets(_x100) {
11637
11637
  return _querySegmentTargets.apply(this, arguments);
11638
11638
  }
11639
11639
 
@@ -11671,7 +11671,7 @@ var StreamChat = /*#__PURE__*/function () {
11671
11671
  }, _callee70, this);
11672
11672
  }));
11673
11673
 
11674
- function removeSegmentTargets(_x100, _x101) {
11674
+ function removeSegmentTargets(_x101, _x102) {
11675
11675
  return _removeSegmentTargets.apply(this, arguments);
11676
11676
  }
11677
11677
 
@@ -11711,7 +11711,7 @@ var StreamChat = /*#__PURE__*/function () {
11711
11711
  }, _callee71, this);
11712
11712
  }));
11713
11713
 
11714
- function querySegments(_x102, _x103) {
11714
+ function querySegments(_x103, _x104) {
11715
11715
  return _querySegments.apply(this, arguments);
11716
11716
  }
11717
11717
 
@@ -11744,7 +11744,7 @@ var StreamChat = /*#__PURE__*/function () {
11744
11744
  }, _callee72, this);
11745
11745
  }));
11746
11746
 
11747
- function deleteSegment(_x104) {
11747
+ function deleteSegment(_x105) {
11748
11748
  return _deleteSegment.apply(this, arguments);
11749
11749
  }
11750
11750
 
@@ -11778,7 +11778,7 @@ var StreamChat = /*#__PURE__*/function () {
11778
11778
  }, _callee73, this);
11779
11779
  }));
11780
11780
 
11781
- function segmentTargetExists(_x105, _x106) {
11781
+ function segmentTargetExists(_x106, _x107) {
11782
11782
  return _segmentTargetExists.apply(this, arguments);
11783
11783
  }
11784
11784
 
@@ -11811,7 +11811,7 @@ var StreamChat = /*#__PURE__*/function () {
11811
11811
  }, _callee74, this);
11812
11812
  }));
11813
11813
 
11814
- function createCampaign(_x107) {
11814
+ function createCampaign(_x108) {
11815
11815
  return _createCampaign.apply(this, arguments);
11816
11816
  }
11817
11817
 
@@ -11836,7 +11836,7 @@ var StreamChat = /*#__PURE__*/function () {
11836
11836
  }, _callee75, this);
11837
11837
  }));
11838
11838
 
11839
- function getCampaign(_x108) {
11839
+ function getCampaign(_x109) {
11840
11840
  return _getCampaign.apply(this, arguments);
11841
11841
  }
11842
11842
 
@@ -11864,7 +11864,7 @@ var StreamChat = /*#__PURE__*/function () {
11864
11864
  }, _callee76, this);
11865
11865
  }));
11866
11866
 
11867
- function startCampaign(_x109, _x110) {
11867
+ function startCampaign(_x110, _x111) {
11868
11868
  return _startCampaign.apply(this, arguments);
11869
11869
  }
11870
11870
 
@@ -11903,7 +11903,7 @@ var StreamChat = /*#__PURE__*/function () {
11903
11903
  }, _callee77, this);
11904
11904
  }));
11905
11905
 
11906
- function queryCampaigns(_x111, _x112, _x113) {
11906
+ function queryCampaigns(_x112, _x113, _x114) {
11907
11907
  return _queryCampaigns.apply(this, arguments);
11908
11908
  }
11909
11909
 
@@ -11937,7 +11937,7 @@ var StreamChat = /*#__PURE__*/function () {
11937
11937
  }, _callee78, this);
11938
11938
  }));
11939
11939
 
11940
- function updateCampaign(_x114, _x115) {
11940
+ function updateCampaign(_x115, _x116) {
11941
11941
  return _updateCampaign.apply(this, arguments);
11942
11942
  }
11943
11943
 
@@ -11970,7 +11970,7 @@ var StreamChat = /*#__PURE__*/function () {
11970
11970
  }, _callee79, this);
11971
11971
  }));
11972
11972
 
11973
- function deleteCampaign(_x116) {
11973
+ function deleteCampaign(_x117) {
11974
11974
  return _deleteCampaign.apply(this, arguments);
11975
11975
  }
11976
11976
 
@@ -12011,7 +12011,7 @@ var StreamChat = /*#__PURE__*/function () {
12011
12011
  }, _callee80, this);
12012
12012
  }));
12013
12013
 
12014
- function stopCampaign(_x117) {
12014
+ function stopCampaign(_x118) {
12015
12015
  return _stopCampaign.apply(this, arguments);
12016
12016
  }
12017
12017
 
@@ -12044,7 +12044,7 @@ var StreamChat = /*#__PURE__*/function () {
12044
12044
  }, _callee81, this);
12045
12045
  }));
12046
12046
 
12047
- function enrichURL(_x118) {
12047
+ function enrichURL(_x119) {
12048
12048
  return _enrichURL.apply(this, arguments);
12049
12049
  }
12050
12050
 
@@ -12076,7 +12076,7 @@ var StreamChat = /*#__PURE__*/function () {
12076
12076
  }, _callee82, this);
12077
12077
  }));
12078
12078
 
12079
- function getTask(_x119) {
12079
+ function getTask(_x120) {
12080
12080
  return _getTask.apply(this, arguments);
12081
12081
  }
12082
12082
 
@@ -12118,7 +12118,7 @@ var StreamChat = /*#__PURE__*/function () {
12118
12118
  }, _callee83, this);
12119
12119
  }));
12120
12120
 
12121
- function deleteChannels(_x120) {
12121
+ function deleteChannels(_x121) {
12122
12122
  return _deleteChannels.apply(this, arguments);
12123
12123
  }
12124
12124
 
@@ -12185,7 +12185,7 @@ var StreamChat = /*#__PURE__*/function () {
12185
12185
  }, _callee84, this);
12186
12186
  }));
12187
12187
 
12188
- function deleteUsers(_x121) {
12188
+ function deleteUsers(_x122) {
12189
12189
  return _deleteUsers.apply(this, arguments);
12190
12190
  }
12191
12191
 
@@ -12227,7 +12227,7 @@ var StreamChat = /*#__PURE__*/function () {
12227
12227
  }, _callee85, this);
12228
12228
  }));
12229
12229
 
12230
- function _createImportURL(_x122) {
12230
+ function _createImportURL(_x123) {
12231
12231
  return _createImportURL2.apply(this, arguments);
12232
12232
  }
12233
12233
 
@@ -12275,7 +12275,7 @@ var StreamChat = /*#__PURE__*/function () {
12275
12275
  }, _callee86, this);
12276
12276
  }));
12277
12277
 
12278
- function _createImport(_x123) {
12278
+ function _createImport(_x124) {
12279
12279
  return _createImport2.apply(this, arguments);
12280
12280
  }
12281
12281
 
@@ -12316,7 +12316,7 @@ var StreamChat = /*#__PURE__*/function () {
12316
12316
  }, _callee87, this);
12317
12317
  }));
12318
12318
 
12319
- function _getImport(_x124) {
12319
+ function _getImport(_x125) {
12320
12320
  return _getImport2.apply(this, arguments);
12321
12321
  }
12322
12322
 
@@ -12357,7 +12357,7 @@ var StreamChat = /*#__PURE__*/function () {
12357
12357
  }, _callee88, this);
12358
12358
  }));
12359
12359
 
12360
- function _listImports(_x125) {
12360
+ function _listImports(_x126) {
12361
12361
  return _listImports2.apply(this, arguments);
12362
12362
  }
12363
12363
 
@@ -12397,7 +12397,7 @@ var StreamChat = /*#__PURE__*/function () {
12397
12397
  }, _callee89, this);
12398
12398
  }));
12399
12399
 
12400
- function upsertPushProvider(_x126) {
12400
+ function upsertPushProvider(_x127) {
12401
12401
  return _upsertPushProvider.apply(this, arguments);
12402
12402
  }
12403
12403
 
@@ -12437,7 +12437,7 @@ var StreamChat = /*#__PURE__*/function () {
12437
12437
  }, _callee90, this);
12438
12438
  }));
12439
12439
 
12440
- function deletePushProvider(_x127) {
12440
+ function deletePushProvider(_x128) {
12441
12441
  return _deletePushProvider.apply(this, arguments);
12442
12442
  }
12443
12443
 
@@ -12517,7 +12517,7 @@ var StreamChat = /*#__PURE__*/function () {
12517
12517
  }, _callee92, this);
12518
12518
  }));
12519
12519
 
12520
- function commitMessage(_x128) {
12520
+ function commitMessage(_x129) {
12521
12521
  return _commitMessage.apply(this, arguments);
12522
12522
  }
12523
12523