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