stream-chat 8.19.1 → 8.20.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 +4 -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 +5 -0
package/dist/index.js
CHANGED
|
@@ -10887,13 +10887,13 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10887
10887
|
}, {
|
|
10888
10888
|
key: "getMessage",
|
|
10889
10889
|
value: function () {
|
|
10890
|
-
var _getMessage = _asyncToGenerator__default['default']( /*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee58(messageID) {
|
|
10890
|
+
var _getMessage = _asyncToGenerator__default['default']( /*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee58(messageID, options) {
|
|
10891
10891
|
return _regeneratorRuntime__default['default'].wrap(function _callee58$(_context58) {
|
|
10892
10892
|
while (1) {
|
|
10893
10893
|
switch (_context58.prev = _context58.next) {
|
|
10894
10894
|
case 0:
|
|
10895
10895
|
_context58.next = 2;
|
|
10896
|
-
return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)));
|
|
10896
|
+
return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)), _objectSpread({}, options));
|
|
10897
10897
|
|
|
10898
10898
|
case 2:
|
|
10899
10899
|
return _context58.abrupt("return", _context58.sent);
|
|
@@ -10906,7 +10906,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10906
10906
|
}, _callee58, this);
|
|
10907
10907
|
}));
|
|
10908
10908
|
|
|
10909
|
-
function getMessage(_x77) {
|
|
10909
|
+
function getMessage(_x77, _x78) {
|
|
10910
10910
|
return _getMessage.apply(this, arguments);
|
|
10911
10911
|
}
|
|
10912
10912
|
|
|
@@ -10961,7 +10961,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
10961
10961
|
}, _callee59, this);
|
|
10962
10962
|
}));
|
|
10963
10963
|
|
|
10964
|
-
function queryThreads(
|
|
10964
|
+
function queryThreads(_x79) {
|
|
10965
10965
|
return _queryThreads.apply(this, arguments);
|
|
10966
10966
|
}
|
|
10967
10967
|
|
|
@@ -11021,7 +11021,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11021
11021
|
}, _callee60, this);
|
|
11022
11022
|
}));
|
|
11023
11023
|
|
|
11024
|
-
function getThread(
|
|
11024
|
+
function getThread(_x80) {
|
|
11025
11025
|
return _getThread.apply(this, arguments);
|
|
11026
11026
|
}
|
|
11027
11027
|
|
|
@@ -11093,7 +11093,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11093
11093
|
}, _callee61, this);
|
|
11094
11094
|
}));
|
|
11095
11095
|
|
|
11096
|
-
function partialUpdateThread(
|
|
11096
|
+
function partialUpdateThread(_x81, _x82) {
|
|
11097
11097
|
return _partialUpdateThread.apply(this, arguments);
|
|
11098
11098
|
}
|
|
11099
11099
|
|
|
@@ -11102,7 +11102,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11102
11102
|
}, {
|
|
11103
11103
|
key: "getUserAgent",
|
|
11104
11104
|
value: function getUserAgent() {
|
|
11105
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.
|
|
11105
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.20.0");
|
|
11106
11106
|
}
|
|
11107
11107
|
}, {
|
|
11108
11108
|
key: "setUserAgent",
|
|
@@ -11342,7 +11342,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11342
11342
|
}, _callee62, this);
|
|
11343
11343
|
}));
|
|
11344
11344
|
|
|
11345
|
-
function sendUserCustomEvent(
|
|
11345
|
+
function sendUserCustomEvent(_x83, _x84) {
|
|
11346
11346
|
return _sendUserCustomEvent.apply(this, arguments);
|
|
11347
11347
|
}
|
|
11348
11348
|
|
|
@@ -11462,7 +11462,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11462
11462
|
}, _callee63, this);
|
|
11463
11463
|
}));
|
|
11464
11464
|
|
|
11465
|
-
function createSegment(
|
|
11465
|
+
function createSegment(_x85, _x86, _x87, _x88) {
|
|
11466
11466
|
return _createSegment.apply(this, arguments);
|
|
11467
11467
|
}
|
|
11468
11468
|
|
|
@@ -11497,7 +11497,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11497
11497
|
}, _callee64, this);
|
|
11498
11498
|
}));
|
|
11499
11499
|
|
|
11500
|
-
function createUserSegment(
|
|
11500
|
+
function createUserSegment(_x89, _x90, _x91) {
|
|
11501
11501
|
return _createUserSegment.apply(this, arguments);
|
|
11502
11502
|
}
|
|
11503
11503
|
|
|
@@ -11532,7 +11532,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11532
11532
|
}, _callee65, this);
|
|
11533
11533
|
}));
|
|
11534
11534
|
|
|
11535
|
-
function createChannelSegment(
|
|
11535
|
+
function createChannelSegment(_x92, _x93, _x94) {
|
|
11536
11536
|
return _createChannelSegment.apply(this, arguments);
|
|
11537
11537
|
}
|
|
11538
11538
|
|
|
@@ -11557,7 +11557,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11557
11557
|
}, _callee66, this);
|
|
11558
11558
|
}));
|
|
11559
11559
|
|
|
11560
|
-
function getSegment(
|
|
11560
|
+
function getSegment(_x95) {
|
|
11561
11561
|
return _getSegment.apply(this, arguments);
|
|
11562
11562
|
}
|
|
11563
11563
|
|
|
@@ -11591,7 +11591,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11591
11591
|
}, _callee67, this);
|
|
11592
11592
|
}));
|
|
11593
11593
|
|
|
11594
|
-
function updateSegment(
|
|
11594
|
+
function updateSegment(_x96, _x97) {
|
|
11595
11595
|
return _updateSegment.apply(this, arguments);
|
|
11596
11596
|
}
|
|
11597
11597
|
|
|
@@ -11629,7 +11629,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11629
11629
|
}, _callee68, this);
|
|
11630
11630
|
}));
|
|
11631
11631
|
|
|
11632
|
-
function addSegmentTargets(
|
|
11632
|
+
function addSegmentTargets(_x98, _x99) {
|
|
11633
11633
|
return _addSegmentTargets.apply(this, arguments);
|
|
11634
11634
|
}
|
|
11635
11635
|
|
|
@@ -11664,7 +11664,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11664
11664
|
}, _callee69, this);
|
|
11665
11665
|
}));
|
|
11666
11666
|
|
|
11667
|
-
function querySegmentTargets(
|
|
11667
|
+
function querySegmentTargets(_x100) {
|
|
11668
11668
|
return _querySegmentTargets.apply(this, arguments);
|
|
11669
11669
|
}
|
|
11670
11670
|
|
|
@@ -11702,7 +11702,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11702
11702
|
}, _callee70, this);
|
|
11703
11703
|
}));
|
|
11704
11704
|
|
|
11705
|
-
function removeSegmentTargets(
|
|
11705
|
+
function removeSegmentTargets(_x101, _x102) {
|
|
11706
11706
|
return _removeSegmentTargets.apply(this, arguments);
|
|
11707
11707
|
}
|
|
11708
11708
|
|
|
@@ -11742,7 +11742,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11742
11742
|
}, _callee71, this);
|
|
11743
11743
|
}));
|
|
11744
11744
|
|
|
11745
|
-
function querySegments(
|
|
11745
|
+
function querySegments(_x103, _x104) {
|
|
11746
11746
|
return _querySegments.apply(this, arguments);
|
|
11747
11747
|
}
|
|
11748
11748
|
|
|
@@ -11775,7 +11775,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11775
11775
|
}, _callee72, this);
|
|
11776
11776
|
}));
|
|
11777
11777
|
|
|
11778
|
-
function deleteSegment(
|
|
11778
|
+
function deleteSegment(_x105) {
|
|
11779
11779
|
return _deleteSegment.apply(this, arguments);
|
|
11780
11780
|
}
|
|
11781
11781
|
|
|
@@ -11809,7 +11809,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11809
11809
|
}, _callee73, this);
|
|
11810
11810
|
}));
|
|
11811
11811
|
|
|
11812
|
-
function segmentTargetExists(
|
|
11812
|
+
function segmentTargetExists(_x106, _x107) {
|
|
11813
11813
|
return _segmentTargetExists.apply(this, arguments);
|
|
11814
11814
|
}
|
|
11815
11815
|
|
|
@@ -11842,7 +11842,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11842
11842
|
}, _callee74, this);
|
|
11843
11843
|
}));
|
|
11844
11844
|
|
|
11845
|
-
function createCampaign(
|
|
11845
|
+
function createCampaign(_x108) {
|
|
11846
11846
|
return _createCampaign.apply(this, arguments);
|
|
11847
11847
|
}
|
|
11848
11848
|
|
|
@@ -11867,7 +11867,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11867
11867
|
}, _callee75, this);
|
|
11868
11868
|
}));
|
|
11869
11869
|
|
|
11870
|
-
function getCampaign(
|
|
11870
|
+
function getCampaign(_x109) {
|
|
11871
11871
|
return _getCampaign.apply(this, arguments);
|
|
11872
11872
|
}
|
|
11873
11873
|
|
|
@@ -11895,7 +11895,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11895
11895
|
}, _callee76, this);
|
|
11896
11896
|
}));
|
|
11897
11897
|
|
|
11898
|
-
function startCampaign(
|
|
11898
|
+
function startCampaign(_x110, _x111) {
|
|
11899
11899
|
return _startCampaign.apply(this, arguments);
|
|
11900
11900
|
}
|
|
11901
11901
|
|
|
@@ -11934,7 +11934,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11934
11934
|
}, _callee77, this);
|
|
11935
11935
|
}));
|
|
11936
11936
|
|
|
11937
|
-
function queryCampaigns(
|
|
11937
|
+
function queryCampaigns(_x112, _x113, _x114) {
|
|
11938
11938
|
return _queryCampaigns.apply(this, arguments);
|
|
11939
11939
|
}
|
|
11940
11940
|
|
|
@@ -11968,7 +11968,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
11968
11968
|
}, _callee78, this);
|
|
11969
11969
|
}));
|
|
11970
11970
|
|
|
11971
|
-
function updateCampaign(
|
|
11971
|
+
function updateCampaign(_x115, _x116) {
|
|
11972
11972
|
return _updateCampaign.apply(this, arguments);
|
|
11973
11973
|
}
|
|
11974
11974
|
|
|
@@ -12001,7 +12001,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12001
12001
|
}, _callee79, this);
|
|
12002
12002
|
}));
|
|
12003
12003
|
|
|
12004
|
-
function deleteCampaign(
|
|
12004
|
+
function deleteCampaign(_x117) {
|
|
12005
12005
|
return _deleteCampaign.apply(this, arguments);
|
|
12006
12006
|
}
|
|
12007
12007
|
|
|
@@ -12042,7 +12042,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12042
12042
|
}, _callee80, this);
|
|
12043
12043
|
}));
|
|
12044
12044
|
|
|
12045
|
-
function stopCampaign(
|
|
12045
|
+
function stopCampaign(_x118) {
|
|
12046
12046
|
return _stopCampaign.apply(this, arguments);
|
|
12047
12047
|
}
|
|
12048
12048
|
|
|
@@ -12075,7 +12075,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12075
12075
|
}, _callee81, this);
|
|
12076
12076
|
}));
|
|
12077
12077
|
|
|
12078
|
-
function enrichURL(
|
|
12078
|
+
function enrichURL(_x119) {
|
|
12079
12079
|
return _enrichURL.apply(this, arguments);
|
|
12080
12080
|
}
|
|
12081
12081
|
|
|
@@ -12107,7 +12107,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12107
12107
|
}, _callee82, this);
|
|
12108
12108
|
}));
|
|
12109
12109
|
|
|
12110
|
-
function getTask(
|
|
12110
|
+
function getTask(_x120) {
|
|
12111
12111
|
return _getTask.apply(this, arguments);
|
|
12112
12112
|
}
|
|
12113
12113
|
|
|
@@ -12149,7 +12149,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12149
12149
|
}, _callee83, this);
|
|
12150
12150
|
}));
|
|
12151
12151
|
|
|
12152
|
-
function deleteChannels(
|
|
12152
|
+
function deleteChannels(_x121) {
|
|
12153
12153
|
return _deleteChannels.apply(this, arguments);
|
|
12154
12154
|
}
|
|
12155
12155
|
|
|
@@ -12216,7 +12216,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12216
12216
|
}, _callee84, this);
|
|
12217
12217
|
}));
|
|
12218
12218
|
|
|
12219
|
-
function deleteUsers(
|
|
12219
|
+
function deleteUsers(_x122) {
|
|
12220
12220
|
return _deleteUsers.apply(this, arguments);
|
|
12221
12221
|
}
|
|
12222
12222
|
|
|
@@ -12258,7 +12258,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12258
12258
|
}, _callee85, this);
|
|
12259
12259
|
}));
|
|
12260
12260
|
|
|
12261
|
-
function _createImportURL(
|
|
12261
|
+
function _createImportURL(_x123) {
|
|
12262
12262
|
return _createImportURL2.apply(this, arguments);
|
|
12263
12263
|
}
|
|
12264
12264
|
|
|
@@ -12306,7 +12306,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12306
12306
|
}, _callee86, this);
|
|
12307
12307
|
}));
|
|
12308
12308
|
|
|
12309
|
-
function _createImport(
|
|
12309
|
+
function _createImport(_x124) {
|
|
12310
12310
|
return _createImport2.apply(this, arguments);
|
|
12311
12311
|
}
|
|
12312
12312
|
|
|
@@ -12347,7 +12347,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12347
12347
|
}, _callee87, this);
|
|
12348
12348
|
}));
|
|
12349
12349
|
|
|
12350
|
-
function _getImport(
|
|
12350
|
+
function _getImport(_x125) {
|
|
12351
12351
|
return _getImport2.apply(this, arguments);
|
|
12352
12352
|
}
|
|
12353
12353
|
|
|
@@ -12388,7 +12388,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12388
12388
|
}, _callee88, this);
|
|
12389
12389
|
}));
|
|
12390
12390
|
|
|
12391
|
-
function _listImports(
|
|
12391
|
+
function _listImports(_x126) {
|
|
12392
12392
|
return _listImports2.apply(this, arguments);
|
|
12393
12393
|
}
|
|
12394
12394
|
|
|
@@ -12428,7 +12428,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12428
12428
|
}, _callee89, this);
|
|
12429
12429
|
}));
|
|
12430
12430
|
|
|
12431
|
-
function upsertPushProvider(
|
|
12431
|
+
function upsertPushProvider(_x127) {
|
|
12432
12432
|
return _upsertPushProvider.apply(this, arguments);
|
|
12433
12433
|
}
|
|
12434
12434
|
|
|
@@ -12468,7 +12468,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12468
12468
|
}, _callee90, this);
|
|
12469
12469
|
}));
|
|
12470
12470
|
|
|
12471
|
-
function deletePushProvider(
|
|
12471
|
+
function deletePushProvider(_x128) {
|
|
12472
12472
|
return _deletePushProvider.apply(this, arguments);
|
|
12473
12473
|
}
|
|
12474
12474
|
|
|
@@ -12548,7 +12548,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
12548
12548
|
}, _callee92, this);
|
|
12549
12549
|
}));
|
|
12550
12550
|
|
|
12551
|
-
function commitMessage(
|
|
12551
|
+
function commitMessage(_x129) {
|
|
12552
12552
|
return _commitMessage.apply(this, arguments);
|
|
12553
12553
|
}
|
|
12554
12554
|
|