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/index.es.js
CHANGED
|
@@ -10859,13 +10859,13 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10859
10859
|
}, {
|
|
10860
10860
|
key: "getMessage",
|
|
10861
10861
|
value: function () {
|
|
10862
|
-
var _getMessage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58(messageID) {
|
|
10862
|
+
var _getMessage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58(messageID, options) {
|
|
10863
10863
|
return _regeneratorRuntime.wrap(function _callee58$(_context58) {
|
|
10864
10864
|
while (1) {
|
|
10865
10865
|
switch (_context58.prev = _context58.next) {
|
|
10866
10866
|
case 0:
|
|
10867
10867
|
_context58.next = 2;
|
|
10868
|
-
return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)));
|
|
10868
|
+
return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)), _objectSpread({}, options));
|
|
10869
10869
|
|
|
10870
10870
|
case 2:
|
|
10871
10871
|
return _context58.abrupt("return", _context58.sent);
|
|
@@ -10878,7 +10878,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10878
10878
|
}, _callee58, this);
|
|
10879
10879
|
}));
|
|
10880
10880
|
|
|
10881
|
-
function getMessage(_x77) {
|
|
10881
|
+
function getMessage(_x77, _x78) {
|
|
10882
10882
|
return _getMessage.apply(this, arguments);
|
|
10883
10883
|
}
|
|
10884
10884
|
|
|
@@ -10933,7 +10933,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10933
10933
|
}, _callee59, this);
|
|
10934
10934
|
}));
|
|
10935
10935
|
|
|
10936
|
-
function queryThreads(
|
|
10936
|
+
function queryThreads(_x79) {
|
|
10937
10937
|
return _queryThreads.apply(this, arguments);
|
|
10938
10938
|
}
|
|
10939
10939
|
|
|
@@ -10993,7 +10993,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10993
10993
|
}, _callee60, this);
|
|
10994
10994
|
}));
|
|
10995
10995
|
|
|
10996
|
-
function getThread(
|
|
10996
|
+
function getThread(_x80) {
|
|
10997
10997
|
return _getThread.apply(this, arguments);
|
|
10998
10998
|
}
|
|
10999
10999
|
|
|
@@ -11065,7 +11065,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11065
11065
|
}, _callee61, this);
|
|
11066
11066
|
}));
|
|
11067
11067
|
|
|
11068
|
-
function partialUpdateThread(
|
|
11068
|
+
function partialUpdateThread(_x81, _x82) {
|
|
11069
11069
|
return _partialUpdateThread.apply(this, arguments);
|
|
11070
11070
|
}
|
|
11071
11071
|
|
|
@@ -11074,7 +11074,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11074
11074
|
}, {
|
|
11075
11075
|
key: "getUserAgent",
|
|
11076
11076
|
value: function getUserAgent() {
|
|
11077
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.
|
|
11077
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.21.0");
|
|
11078
11078
|
}
|
|
11079
11079
|
}, {
|
|
11080
11080
|
key: "setUserAgent",
|
|
@@ -11314,7 +11314,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11314
11314
|
}, _callee62, this);
|
|
11315
11315
|
}));
|
|
11316
11316
|
|
|
11317
|
-
function sendUserCustomEvent(
|
|
11317
|
+
function sendUserCustomEvent(_x83, _x84) {
|
|
11318
11318
|
return _sendUserCustomEvent.apply(this, arguments);
|
|
11319
11319
|
}
|
|
11320
11320
|
|
|
@@ -11434,7 +11434,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11434
11434
|
}, _callee63, this);
|
|
11435
11435
|
}));
|
|
11436
11436
|
|
|
11437
|
-
function createSegment(
|
|
11437
|
+
function createSegment(_x85, _x86, _x87, _x88) {
|
|
11438
11438
|
return _createSegment.apply(this, arguments);
|
|
11439
11439
|
}
|
|
11440
11440
|
|
|
@@ -11469,7 +11469,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11469
11469
|
}, _callee64, this);
|
|
11470
11470
|
}));
|
|
11471
11471
|
|
|
11472
|
-
function createUserSegment(
|
|
11472
|
+
function createUserSegment(_x89, _x90, _x91) {
|
|
11473
11473
|
return _createUserSegment.apply(this, arguments);
|
|
11474
11474
|
}
|
|
11475
11475
|
|
|
@@ -11504,7 +11504,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11504
11504
|
}, _callee65, this);
|
|
11505
11505
|
}));
|
|
11506
11506
|
|
|
11507
|
-
function createChannelSegment(
|
|
11507
|
+
function createChannelSegment(_x92, _x93, _x94) {
|
|
11508
11508
|
return _createChannelSegment.apply(this, arguments);
|
|
11509
11509
|
}
|
|
11510
11510
|
|
|
@@ -11529,7 +11529,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11529
11529
|
}, _callee66, this);
|
|
11530
11530
|
}));
|
|
11531
11531
|
|
|
11532
|
-
function getSegment(
|
|
11532
|
+
function getSegment(_x95) {
|
|
11533
11533
|
return _getSegment.apply(this, arguments);
|
|
11534
11534
|
}
|
|
11535
11535
|
|
|
@@ -11563,7 +11563,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11563
11563
|
}, _callee67, this);
|
|
11564
11564
|
}));
|
|
11565
11565
|
|
|
11566
|
-
function updateSegment(
|
|
11566
|
+
function updateSegment(_x96, _x97) {
|
|
11567
11567
|
return _updateSegment.apply(this, arguments);
|
|
11568
11568
|
}
|
|
11569
11569
|
|
|
@@ -11601,7 +11601,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11601
11601
|
}, _callee68, this);
|
|
11602
11602
|
}));
|
|
11603
11603
|
|
|
11604
|
-
function addSegmentTargets(
|
|
11604
|
+
function addSegmentTargets(_x98, _x99) {
|
|
11605
11605
|
return _addSegmentTargets.apply(this, arguments);
|
|
11606
11606
|
}
|
|
11607
11607
|
|
|
@@ -11636,7 +11636,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11636
11636
|
}, _callee69, this);
|
|
11637
11637
|
}));
|
|
11638
11638
|
|
|
11639
|
-
function querySegmentTargets(
|
|
11639
|
+
function querySegmentTargets(_x100) {
|
|
11640
11640
|
return _querySegmentTargets.apply(this, arguments);
|
|
11641
11641
|
}
|
|
11642
11642
|
|
|
@@ -11674,7 +11674,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11674
11674
|
}, _callee70, this);
|
|
11675
11675
|
}));
|
|
11676
11676
|
|
|
11677
|
-
function removeSegmentTargets(
|
|
11677
|
+
function removeSegmentTargets(_x101, _x102) {
|
|
11678
11678
|
return _removeSegmentTargets.apply(this, arguments);
|
|
11679
11679
|
}
|
|
11680
11680
|
|
|
@@ -11714,7 +11714,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11714
11714
|
}, _callee71, this);
|
|
11715
11715
|
}));
|
|
11716
11716
|
|
|
11717
|
-
function querySegments(
|
|
11717
|
+
function querySegments(_x103, _x104) {
|
|
11718
11718
|
return _querySegments.apply(this, arguments);
|
|
11719
11719
|
}
|
|
11720
11720
|
|
|
@@ -11747,7 +11747,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11747
11747
|
}, _callee72, this);
|
|
11748
11748
|
}));
|
|
11749
11749
|
|
|
11750
|
-
function deleteSegment(
|
|
11750
|
+
function deleteSegment(_x105) {
|
|
11751
11751
|
return _deleteSegment.apply(this, arguments);
|
|
11752
11752
|
}
|
|
11753
11753
|
|
|
@@ -11781,7 +11781,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11781
11781
|
}, _callee73, this);
|
|
11782
11782
|
}));
|
|
11783
11783
|
|
|
11784
|
-
function segmentTargetExists(
|
|
11784
|
+
function segmentTargetExists(_x106, _x107) {
|
|
11785
11785
|
return _segmentTargetExists.apply(this, arguments);
|
|
11786
11786
|
}
|
|
11787
11787
|
|
|
@@ -11814,7 +11814,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11814
11814
|
}, _callee74, this);
|
|
11815
11815
|
}));
|
|
11816
11816
|
|
|
11817
|
-
function createCampaign(
|
|
11817
|
+
function createCampaign(_x108) {
|
|
11818
11818
|
return _createCampaign.apply(this, arguments);
|
|
11819
11819
|
}
|
|
11820
11820
|
|
|
@@ -11839,7 +11839,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11839
11839
|
}, _callee75, this);
|
|
11840
11840
|
}));
|
|
11841
11841
|
|
|
11842
|
-
function getCampaign(
|
|
11842
|
+
function getCampaign(_x109) {
|
|
11843
11843
|
return _getCampaign.apply(this, arguments);
|
|
11844
11844
|
}
|
|
11845
11845
|
|
|
@@ -11867,7 +11867,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11867
11867
|
}, _callee76, this);
|
|
11868
11868
|
}));
|
|
11869
11869
|
|
|
11870
|
-
function startCampaign(
|
|
11870
|
+
function startCampaign(_x110, _x111) {
|
|
11871
11871
|
return _startCampaign.apply(this, arguments);
|
|
11872
11872
|
}
|
|
11873
11873
|
|
|
@@ -11906,7 +11906,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11906
11906
|
}, _callee77, this);
|
|
11907
11907
|
}));
|
|
11908
11908
|
|
|
11909
|
-
function queryCampaigns(
|
|
11909
|
+
function queryCampaigns(_x112, _x113, _x114) {
|
|
11910
11910
|
return _queryCampaigns.apply(this, arguments);
|
|
11911
11911
|
}
|
|
11912
11912
|
|
|
@@ -11940,7 +11940,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11940
11940
|
}, _callee78, this);
|
|
11941
11941
|
}));
|
|
11942
11942
|
|
|
11943
|
-
function updateCampaign(
|
|
11943
|
+
function updateCampaign(_x115, _x116) {
|
|
11944
11944
|
return _updateCampaign.apply(this, arguments);
|
|
11945
11945
|
}
|
|
11946
11946
|
|
|
@@ -11973,7 +11973,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11973
11973
|
}, _callee79, this);
|
|
11974
11974
|
}));
|
|
11975
11975
|
|
|
11976
|
-
function deleteCampaign(
|
|
11976
|
+
function deleteCampaign(_x117) {
|
|
11977
11977
|
return _deleteCampaign.apply(this, arguments);
|
|
11978
11978
|
}
|
|
11979
11979
|
|
|
@@ -12014,7 +12014,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12014
12014
|
}, _callee80, this);
|
|
12015
12015
|
}));
|
|
12016
12016
|
|
|
12017
|
-
function stopCampaign(
|
|
12017
|
+
function stopCampaign(_x118) {
|
|
12018
12018
|
return _stopCampaign.apply(this, arguments);
|
|
12019
12019
|
}
|
|
12020
12020
|
|
|
@@ -12047,7 +12047,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12047
12047
|
}, _callee81, this);
|
|
12048
12048
|
}));
|
|
12049
12049
|
|
|
12050
|
-
function enrichURL(
|
|
12050
|
+
function enrichURL(_x119) {
|
|
12051
12051
|
return _enrichURL.apply(this, arguments);
|
|
12052
12052
|
}
|
|
12053
12053
|
|
|
@@ -12079,7 +12079,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12079
12079
|
}, _callee82, this);
|
|
12080
12080
|
}));
|
|
12081
12081
|
|
|
12082
|
-
function getTask(
|
|
12082
|
+
function getTask(_x120) {
|
|
12083
12083
|
return _getTask.apply(this, arguments);
|
|
12084
12084
|
}
|
|
12085
12085
|
|
|
@@ -12121,7 +12121,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12121
12121
|
}, _callee83, this);
|
|
12122
12122
|
}));
|
|
12123
12123
|
|
|
12124
|
-
function deleteChannels(
|
|
12124
|
+
function deleteChannels(_x121) {
|
|
12125
12125
|
return _deleteChannels.apply(this, arguments);
|
|
12126
12126
|
}
|
|
12127
12127
|
|
|
@@ -12188,7 +12188,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12188
12188
|
}, _callee84, this);
|
|
12189
12189
|
}));
|
|
12190
12190
|
|
|
12191
|
-
function deleteUsers(
|
|
12191
|
+
function deleteUsers(_x122) {
|
|
12192
12192
|
return _deleteUsers.apply(this, arguments);
|
|
12193
12193
|
}
|
|
12194
12194
|
|
|
@@ -12230,7 +12230,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12230
12230
|
}, _callee85, this);
|
|
12231
12231
|
}));
|
|
12232
12232
|
|
|
12233
|
-
function _createImportURL(
|
|
12233
|
+
function _createImportURL(_x123) {
|
|
12234
12234
|
return _createImportURL2.apply(this, arguments);
|
|
12235
12235
|
}
|
|
12236
12236
|
|
|
@@ -12278,7 +12278,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12278
12278
|
}, _callee86, this);
|
|
12279
12279
|
}));
|
|
12280
12280
|
|
|
12281
|
-
function _createImport(
|
|
12281
|
+
function _createImport(_x124) {
|
|
12282
12282
|
return _createImport2.apply(this, arguments);
|
|
12283
12283
|
}
|
|
12284
12284
|
|
|
@@ -12319,7 +12319,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12319
12319
|
}, _callee87, this);
|
|
12320
12320
|
}));
|
|
12321
12321
|
|
|
12322
|
-
function _getImport(
|
|
12322
|
+
function _getImport(_x125) {
|
|
12323
12323
|
return _getImport2.apply(this, arguments);
|
|
12324
12324
|
}
|
|
12325
12325
|
|
|
@@ -12360,7 +12360,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12360
12360
|
}, _callee88, this);
|
|
12361
12361
|
}));
|
|
12362
12362
|
|
|
12363
|
-
function _listImports(
|
|
12363
|
+
function _listImports(_x126) {
|
|
12364
12364
|
return _listImports2.apply(this, arguments);
|
|
12365
12365
|
}
|
|
12366
12366
|
|
|
@@ -12400,7 +12400,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12400
12400
|
}, _callee89, this);
|
|
12401
12401
|
}));
|
|
12402
12402
|
|
|
12403
|
-
function upsertPushProvider(
|
|
12403
|
+
function upsertPushProvider(_x127) {
|
|
12404
12404
|
return _upsertPushProvider.apply(this, arguments);
|
|
12405
12405
|
}
|
|
12406
12406
|
|
|
@@ -12440,7 +12440,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12440
12440
|
}, _callee90, this);
|
|
12441
12441
|
}));
|
|
12442
12442
|
|
|
12443
|
-
function deletePushProvider(
|
|
12443
|
+
function deletePushProvider(_x128) {
|
|
12444
12444
|
return _deletePushProvider.apply(this, arguments);
|
|
12445
12445
|
}
|
|
12446
12446
|
|
|
@@ -12520,7 +12520,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12520
12520
|
}, _callee92, this);
|
|
12521
12521
|
}));
|
|
12522
12522
|
|
|
12523
|
-
function commitMessage(
|
|
12523
|
+
function commitMessage(_x129) {
|
|
12524
12524
|
return _commitMessage.apply(this, arguments);
|
|
12525
12525
|
}
|
|
12526
12526
|
|