stream-chat 4.4.3-dev.2 → 4.4.3-dev.3

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.js CHANGED
@@ -6510,7 +6510,7 @@ var StreamChat = /*#__PURE__*/function () {
6510
6510
 
6511
6511
  case 8:
6512
6512
  if (!this.wsConnection && (this.options.warmUp || this.options.enableInsights)) {
6513
- this.sendBeacon();
6513
+ this.sayHi();
6514
6514
  } // The StableWSConnection handles all the reconnection logic.
6515
6515
 
6516
6516
 
@@ -6552,8 +6552,8 @@ var StreamChat = /*#__PURE__*/function () {
6552
6552
  return connect;
6553
6553
  }()
6554
6554
  }, {
6555
- key: "sendBeacon",
6556
- value: function sendBeacon() {
6555
+ key: "sayHi",
6556
+ value: function sayHi() {
6557
6557
  var _this4 = this;
6558
6558
 
6559
6559
  var client_request_id = randomId();
@@ -6562,8 +6562,8 @@ var StreamChat = /*#__PURE__*/function () {
6562
6562
  'x-client-request-id': client_request_id
6563
6563
  }
6564
6564
  };
6565
- this.doAxiosRequest('get', this.baseURL + '/beacon', null, opts).catch(function (e) {
6566
- _this4.postInsights('http_beacon_failed', {
6565
+ this.doAxiosRequest('get', this.baseURL + '/hi', null, opts).catch(function (e) {
6566
+ _this4.postInsights('http_hi_failed', {
6567
6567
  api_key: _this4.key,
6568
6568
  err: e,
6569
6569
  client_request_id: client_request_id
@@ -8381,7 +8381,7 @@ var StreamChat = /*#__PURE__*/function () {
8381
8381
  }, {
8382
8382
  key: "getUserAgent",
8383
8383
  value: function getUserAgent() {
8384
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "4.4.3-dev.2");
8384
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "4.4.3-dev.3");
8385
8385
  }
8386
8386
  }, {
8387
8387
  key: "setUserAgent",