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/index.es.js CHANGED
@@ -6493,7 +6493,7 @@ var StreamChat = /*#__PURE__*/function () {
6493
6493
 
6494
6494
  case 8:
6495
6495
  if (!this.wsConnection && (this.options.warmUp || this.options.enableInsights)) {
6496
- this.sendBeacon();
6496
+ this.sayHi();
6497
6497
  } // The StableWSConnection handles all the reconnection logic.
6498
6498
 
6499
6499
 
@@ -6535,8 +6535,8 @@ var StreamChat = /*#__PURE__*/function () {
6535
6535
  return connect;
6536
6536
  }()
6537
6537
  }, {
6538
- key: "sendBeacon",
6539
- value: function sendBeacon() {
6538
+ key: "sayHi",
6539
+ value: function sayHi() {
6540
6540
  var _this4 = this;
6541
6541
 
6542
6542
  var client_request_id = randomId();
@@ -6545,8 +6545,8 @@ var StreamChat = /*#__PURE__*/function () {
6545
6545
  'x-client-request-id': client_request_id
6546
6546
  }
6547
6547
  };
6548
- this.doAxiosRequest('get', this.baseURL + '/beacon', null, opts).catch(function (e) {
6549
- _this4.postInsights('http_beacon_failed', {
6548
+ this.doAxiosRequest('get', this.baseURL + '/hi', null, opts).catch(function (e) {
6549
+ _this4.postInsights('http_hi_failed', {
6550
6550
  api_key: _this4.key,
6551
6551
  err: e,
6552
6552
  client_request_id: client_request_id
@@ -8364,7 +8364,7 @@ var StreamChat = /*#__PURE__*/function () {
8364
8364
  }, {
8365
8365
  key: "getUserAgent",
8366
8366
  value: function getUserAgent() {
8367
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "4.4.3-dev.2");
8367
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "4.4.3-dev.3");
8368
8368
  }
8369
8369
  }, {
8370
8370
  key: "setUserAgent",