quickblox 2.21.3 → 2.21.4-alpha.1

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-alpha.1",
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: '1170',
55133
55137
  creds: {
55134
55138
  'appId': 0,
55135
55139
  'authKey': '',
@@ -882,6 +882,9 @@ ChatProxy.prototype = {
882
882
  ' error: ', error);
883
883
  self._chatPingFailedCounter += 1;
884
884
  if (self._chatPingFailedCounter > 6) {
885
+ if (self.isConnected && typeof self.onDisconnectedListener === 'function') {
886
+ Utils.safeCallbackCall(self.onDisconnectedListener);
887
+ }
885
888
  self.isConnected = false;
886
889
  self._isConnecting = false;
887
890
  self._chatPingFailedCounter = 0;
@@ -1236,6 +1239,7 @@ ChatProxy.prototype = {
1236
1239
  }
1237
1240
  },
1238
1241
 
1242
+
1239
1243
  /**
1240
1244
  * Send message to 1 to 1 or group dialog. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Chat_in_dialog More info.}
1241
1245
  * @memberof QB.chat
package/src/qbConfig.js CHANGED
@@ -12,8 +12,8 @@
12
12
  */
13
13
 
14
14
  var config = {
15
- version: '2.21.3',
16
- buildNumber: '1169',
15
+ version: '2.21.4',
16
+ buildNumber: '1170',
17
17
  creds: {
18
18
  'appId': 0,
19
19
  'authKey': '',