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.
- package/dist/browser.es.js +37 -37
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.full-bundle.min.js +1 -1
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/browser.js +37 -37
- package/dist/browser.js.map +1 -1
- package/dist/index.es.js +37 -37
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +37 -37
- package/dist/index.js.map +1 -1
- package/dist/types/client.d.ts +4 -2
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/types.d.ts +6 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3 -1
- package/src/types.ts +7 -0
package/dist/browser.js
CHANGED
|
@@ -10881,13 +10881,13 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10881
10881
|
}, {
|
|
10882
10882
|
key: "getMessage",
|
|
10883
10883
|
value: function () {
|
|
10884
|
-
var _getMessage = _asyncToGenerator__default['default']( /*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee58(messageID) {
|
|
10884
|
+
var _getMessage = _asyncToGenerator__default['default']( /*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee58(messageID, options) {
|
|
10885
10885
|
return _regeneratorRuntime__default['default'].wrap(function _callee58$(_context58) {
|
|
10886
10886
|
while (1) {
|
|
10887
10887
|
switch (_context58.prev = _context58.next) {
|
|
10888
10888
|
case 0:
|
|
10889
10889
|
_context58.next = 2;
|
|
10890
|
-
return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)));
|
|
10890
|
+
return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)), _objectSpread({}, options));
|
|
10891
10891
|
|
|
10892
10892
|
case 2:
|
|
10893
10893
|
return _context58.abrupt("return", _context58.sent);
|
|
@@ -10900,7 +10900,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10900
10900
|
}, _callee58, this);
|
|
10901
10901
|
}));
|
|
10902
10902
|
|
|
10903
|
-
function getMessage(_x77) {
|
|
10903
|
+
function getMessage(_x77, _x78) {
|
|
10904
10904
|
return _getMessage.apply(this, arguments);
|
|
10905
10905
|
}
|
|
10906
10906
|
|
|
@@ -10955,7 +10955,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10955
10955
|
}, _callee59, this);
|
|
10956
10956
|
}));
|
|
10957
10957
|
|
|
10958
|
-
function queryThreads(
|
|
10958
|
+
function queryThreads(_x79) {
|
|
10959
10959
|
return _queryThreads.apply(this, arguments);
|
|
10960
10960
|
}
|
|
10961
10961
|
|
|
@@ -11015,7 +11015,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11015
11015
|
}, _callee60, this);
|
|
11016
11016
|
}));
|
|
11017
11017
|
|
|
11018
|
-
function getThread(
|
|
11018
|
+
function getThread(_x80) {
|
|
11019
11019
|
return _getThread.apply(this, arguments);
|
|
11020
11020
|
}
|
|
11021
11021
|
|
|
@@ -11087,7 +11087,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11087
11087
|
}, _callee61, this);
|
|
11088
11088
|
}));
|
|
11089
11089
|
|
|
11090
|
-
function partialUpdateThread(
|
|
11090
|
+
function partialUpdateThread(_x81, _x82) {
|
|
11091
11091
|
return _partialUpdateThread.apply(this, arguments);
|
|
11092
11092
|
}
|
|
11093
11093
|
|
|
@@ -11096,7 +11096,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11096
11096
|
}, {
|
|
11097
11097
|
key: "getUserAgent",
|
|
11098
11098
|
value: function getUserAgent() {
|
|
11099
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.
|
|
11099
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.21.0");
|
|
11100
11100
|
}
|
|
11101
11101
|
}, {
|
|
11102
11102
|
key: "setUserAgent",
|
|
@@ -11336,7 +11336,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11336
11336
|
}, _callee62, this);
|
|
11337
11337
|
}));
|
|
11338
11338
|
|
|
11339
|
-
function sendUserCustomEvent(
|
|
11339
|
+
function sendUserCustomEvent(_x83, _x84) {
|
|
11340
11340
|
return _sendUserCustomEvent.apply(this, arguments);
|
|
11341
11341
|
}
|
|
11342
11342
|
|
|
@@ -11456,7 +11456,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11456
11456
|
}, _callee63, this);
|
|
11457
11457
|
}));
|
|
11458
11458
|
|
|
11459
|
-
function createSegment(
|
|
11459
|
+
function createSegment(_x85, _x86, _x87, _x88) {
|
|
11460
11460
|
return _createSegment.apply(this, arguments);
|
|
11461
11461
|
}
|
|
11462
11462
|
|
|
@@ -11491,7 +11491,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11491
11491
|
}, _callee64, this);
|
|
11492
11492
|
}));
|
|
11493
11493
|
|
|
11494
|
-
function createUserSegment(
|
|
11494
|
+
function createUserSegment(_x89, _x90, _x91) {
|
|
11495
11495
|
return _createUserSegment.apply(this, arguments);
|
|
11496
11496
|
}
|
|
11497
11497
|
|
|
@@ -11526,7 +11526,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11526
11526
|
}, _callee65, this);
|
|
11527
11527
|
}));
|
|
11528
11528
|
|
|
11529
|
-
function createChannelSegment(
|
|
11529
|
+
function createChannelSegment(_x92, _x93, _x94) {
|
|
11530
11530
|
return _createChannelSegment.apply(this, arguments);
|
|
11531
11531
|
}
|
|
11532
11532
|
|
|
@@ -11551,7 +11551,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11551
11551
|
}, _callee66, this);
|
|
11552
11552
|
}));
|
|
11553
11553
|
|
|
11554
|
-
function getSegment(
|
|
11554
|
+
function getSegment(_x95) {
|
|
11555
11555
|
return _getSegment.apply(this, arguments);
|
|
11556
11556
|
}
|
|
11557
11557
|
|
|
@@ -11585,7 +11585,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11585
11585
|
}, _callee67, this);
|
|
11586
11586
|
}));
|
|
11587
11587
|
|
|
11588
|
-
function updateSegment(
|
|
11588
|
+
function updateSegment(_x96, _x97) {
|
|
11589
11589
|
return _updateSegment.apply(this, arguments);
|
|
11590
11590
|
}
|
|
11591
11591
|
|
|
@@ -11623,7 +11623,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11623
11623
|
}, _callee68, this);
|
|
11624
11624
|
}));
|
|
11625
11625
|
|
|
11626
|
-
function addSegmentTargets(
|
|
11626
|
+
function addSegmentTargets(_x98, _x99) {
|
|
11627
11627
|
return _addSegmentTargets.apply(this, arguments);
|
|
11628
11628
|
}
|
|
11629
11629
|
|
|
@@ -11658,7 +11658,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11658
11658
|
}, _callee69, this);
|
|
11659
11659
|
}));
|
|
11660
11660
|
|
|
11661
|
-
function querySegmentTargets(
|
|
11661
|
+
function querySegmentTargets(_x100) {
|
|
11662
11662
|
return _querySegmentTargets.apply(this, arguments);
|
|
11663
11663
|
}
|
|
11664
11664
|
|
|
@@ -11696,7 +11696,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11696
11696
|
}, _callee70, this);
|
|
11697
11697
|
}));
|
|
11698
11698
|
|
|
11699
|
-
function removeSegmentTargets(
|
|
11699
|
+
function removeSegmentTargets(_x101, _x102) {
|
|
11700
11700
|
return _removeSegmentTargets.apply(this, arguments);
|
|
11701
11701
|
}
|
|
11702
11702
|
|
|
@@ -11736,7 +11736,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11736
11736
|
}, _callee71, this);
|
|
11737
11737
|
}));
|
|
11738
11738
|
|
|
11739
|
-
function querySegments(
|
|
11739
|
+
function querySegments(_x103, _x104) {
|
|
11740
11740
|
return _querySegments.apply(this, arguments);
|
|
11741
11741
|
}
|
|
11742
11742
|
|
|
@@ -11769,7 +11769,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11769
11769
|
}, _callee72, this);
|
|
11770
11770
|
}));
|
|
11771
11771
|
|
|
11772
|
-
function deleteSegment(
|
|
11772
|
+
function deleteSegment(_x105) {
|
|
11773
11773
|
return _deleteSegment.apply(this, arguments);
|
|
11774
11774
|
}
|
|
11775
11775
|
|
|
@@ -11803,7 +11803,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11803
11803
|
}, _callee73, this);
|
|
11804
11804
|
}));
|
|
11805
11805
|
|
|
11806
|
-
function segmentTargetExists(
|
|
11806
|
+
function segmentTargetExists(_x106, _x107) {
|
|
11807
11807
|
return _segmentTargetExists.apply(this, arguments);
|
|
11808
11808
|
}
|
|
11809
11809
|
|
|
@@ -11836,7 +11836,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11836
11836
|
}, _callee74, this);
|
|
11837
11837
|
}));
|
|
11838
11838
|
|
|
11839
|
-
function createCampaign(
|
|
11839
|
+
function createCampaign(_x108) {
|
|
11840
11840
|
return _createCampaign.apply(this, arguments);
|
|
11841
11841
|
}
|
|
11842
11842
|
|
|
@@ -11861,7 +11861,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11861
11861
|
}, _callee75, this);
|
|
11862
11862
|
}));
|
|
11863
11863
|
|
|
11864
|
-
function getCampaign(
|
|
11864
|
+
function getCampaign(_x109) {
|
|
11865
11865
|
return _getCampaign.apply(this, arguments);
|
|
11866
11866
|
}
|
|
11867
11867
|
|
|
@@ -11889,7 +11889,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11889
11889
|
}, _callee76, this);
|
|
11890
11890
|
}));
|
|
11891
11891
|
|
|
11892
|
-
function startCampaign(
|
|
11892
|
+
function startCampaign(_x110, _x111) {
|
|
11893
11893
|
return _startCampaign.apply(this, arguments);
|
|
11894
11894
|
}
|
|
11895
11895
|
|
|
@@ -11928,7 +11928,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11928
11928
|
}, _callee77, this);
|
|
11929
11929
|
}));
|
|
11930
11930
|
|
|
11931
|
-
function queryCampaigns(
|
|
11931
|
+
function queryCampaigns(_x112, _x113, _x114) {
|
|
11932
11932
|
return _queryCampaigns.apply(this, arguments);
|
|
11933
11933
|
}
|
|
11934
11934
|
|
|
@@ -11962,7 +11962,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11962
11962
|
}, _callee78, this);
|
|
11963
11963
|
}));
|
|
11964
11964
|
|
|
11965
|
-
function updateCampaign(
|
|
11965
|
+
function updateCampaign(_x115, _x116) {
|
|
11966
11966
|
return _updateCampaign.apply(this, arguments);
|
|
11967
11967
|
}
|
|
11968
11968
|
|
|
@@ -11995,7 +11995,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11995
11995
|
}, _callee79, this);
|
|
11996
11996
|
}));
|
|
11997
11997
|
|
|
11998
|
-
function deleteCampaign(
|
|
11998
|
+
function deleteCampaign(_x117) {
|
|
11999
11999
|
return _deleteCampaign.apply(this, arguments);
|
|
12000
12000
|
}
|
|
12001
12001
|
|
|
@@ -12036,7 +12036,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12036
12036
|
}, _callee80, this);
|
|
12037
12037
|
}));
|
|
12038
12038
|
|
|
12039
|
-
function stopCampaign(
|
|
12039
|
+
function stopCampaign(_x118) {
|
|
12040
12040
|
return _stopCampaign.apply(this, arguments);
|
|
12041
12041
|
}
|
|
12042
12042
|
|
|
@@ -12069,7 +12069,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12069
12069
|
}, _callee81, this);
|
|
12070
12070
|
}));
|
|
12071
12071
|
|
|
12072
|
-
function enrichURL(
|
|
12072
|
+
function enrichURL(_x119) {
|
|
12073
12073
|
return _enrichURL.apply(this, arguments);
|
|
12074
12074
|
}
|
|
12075
12075
|
|
|
@@ -12101,7 +12101,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12101
12101
|
}, _callee82, this);
|
|
12102
12102
|
}));
|
|
12103
12103
|
|
|
12104
|
-
function getTask(
|
|
12104
|
+
function getTask(_x120) {
|
|
12105
12105
|
return _getTask.apply(this, arguments);
|
|
12106
12106
|
}
|
|
12107
12107
|
|
|
@@ -12143,7 +12143,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12143
12143
|
}, _callee83, this);
|
|
12144
12144
|
}));
|
|
12145
12145
|
|
|
12146
|
-
function deleteChannels(
|
|
12146
|
+
function deleteChannels(_x121) {
|
|
12147
12147
|
return _deleteChannels.apply(this, arguments);
|
|
12148
12148
|
}
|
|
12149
12149
|
|
|
@@ -12210,7 +12210,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12210
12210
|
}, _callee84, this);
|
|
12211
12211
|
}));
|
|
12212
12212
|
|
|
12213
|
-
function deleteUsers(
|
|
12213
|
+
function deleteUsers(_x122) {
|
|
12214
12214
|
return _deleteUsers.apply(this, arguments);
|
|
12215
12215
|
}
|
|
12216
12216
|
|
|
@@ -12252,7 +12252,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12252
12252
|
}, _callee85, this);
|
|
12253
12253
|
}));
|
|
12254
12254
|
|
|
12255
|
-
function _createImportURL(
|
|
12255
|
+
function _createImportURL(_x123) {
|
|
12256
12256
|
return _createImportURL2.apply(this, arguments);
|
|
12257
12257
|
}
|
|
12258
12258
|
|
|
@@ -12300,7 +12300,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12300
12300
|
}, _callee86, this);
|
|
12301
12301
|
}));
|
|
12302
12302
|
|
|
12303
|
-
function _createImport(
|
|
12303
|
+
function _createImport(_x124) {
|
|
12304
12304
|
return _createImport2.apply(this, arguments);
|
|
12305
12305
|
}
|
|
12306
12306
|
|
|
@@ -12341,7 +12341,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12341
12341
|
}, _callee87, this);
|
|
12342
12342
|
}));
|
|
12343
12343
|
|
|
12344
|
-
function _getImport(
|
|
12344
|
+
function _getImport(_x125) {
|
|
12345
12345
|
return _getImport2.apply(this, arguments);
|
|
12346
12346
|
}
|
|
12347
12347
|
|
|
@@ -12382,7 +12382,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12382
12382
|
}, _callee88, this);
|
|
12383
12383
|
}));
|
|
12384
12384
|
|
|
12385
|
-
function _listImports(
|
|
12385
|
+
function _listImports(_x126) {
|
|
12386
12386
|
return _listImports2.apply(this, arguments);
|
|
12387
12387
|
}
|
|
12388
12388
|
|
|
@@ -12422,7 +12422,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12422
12422
|
}, _callee89, this);
|
|
12423
12423
|
}));
|
|
12424
12424
|
|
|
12425
|
-
function upsertPushProvider(
|
|
12425
|
+
function upsertPushProvider(_x127) {
|
|
12426
12426
|
return _upsertPushProvider.apply(this, arguments);
|
|
12427
12427
|
}
|
|
12428
12428
|
|
|
@@ -12462,7 +12462,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12462
12462
|
}, _callee90, this);
|
|
12463
12463
|
}));
|
|
12464
12464
|
|
|
12465
|
-
function deletePushProvider(
|
|
12465
|
+
function deletePushProvider(_x128) {
|
|
12466
12466
|
return _deletePushProvider.apply(this, arguments);
|
|
12467
12467
|
}
|
|
12468
12468
|
|
|
@@ -12542,7 +12542,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12542
12542
|
}, _callee92, this);
|
|
12543
12543
|
}));
|
|
12544
12544
|
|
|
12545
|
-
function commitMessage(
|
|
12545
|
+
function commitMessage(_x129) {
|
|
12546
12546
|
return _commitMessage.apply(this, arguments);
|
|
12547
12547
|
}
|
|
12548
12548
|
|