quickblox 2.21.3 → 2.21.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickblox",
3
3
  "description": "QuickBlox JavaScript SDK",
4
- "version": "2.21.3",
4
+ "version": "2.21.4",
5
5
  "homepage": "https://quickblox.com/developers/Javascript",
6
6
  "main": "src/qbMain.js",
7
7
  "types": "quickblox.d.ts",
package/quickblox.js CHANGED
@@ -47381,6 +47381,9 @@ ChatProxy.prototype = {
47381
47381
  ' error: ', error);
47382
47382
  self._chatPingFailedCounter += 1;
47383
47383
  if (self._chatPingFailedCounter > 6) {
47384
+ if (self.isConnected && typeof self.onDisconnectedListener === 'function') {
47385
+ Utils.safeCallbackCall(self.onDisconnectedListener);
47386
+ }
47384
47387
  self.isConnected = false;
47385
47388
  self._isConnecting = false;
47386
47389
  self._chatPingFailedCounter = 0;
@@ -47735,6 +47738,7 @@ ChatProxy.prototype = {
47735
47738
  }
47736
47739
  },
47737
47740
 
47741
+
47738
47742
  /**
47739
47743
  * Send message to 1 to 1 or group dialog. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Chat_in_dialog More info.}
47740
47744
  * @memberof QB.chat
@@ -55128,8 +55132,8 @@ module.exports = StreamManagement;
55128
55132
  */
55129
55133
 
55130
55134
  var config = {
55131
- version: '2.21.3',
55132
- buildNumber: '1169',
55135
+ version: '2.21.4',
55136
+ buildNumber: '1171',
55133
55137
  creds: {
55134
55138
  'appId': 0,
55135
55139
  'authKey': '',