quickblox 2.15.4 → 2.15.5

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/README.md CHANGED
@@ -16,7 +16,7 @@ Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-s
16
16
  ## Dependencies for browser
17
17
 
18
18
  ```html
19
- <script src="https://unpkg.com/quickblox@2.15.4/quickblox.min.js"></script>
19
+ <script src="https://unpkg.com/quickblox@2.15.5/quickblox.min.js"></script>
20
20
  ```
21
21
 
22
22
  ## Bower and RequireJS
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickblox",
3
3
  "description": "QuickBlox JavaScript SDK",
4
- "version": "2.15.4",
4
+ "version": "2.15.5",
5
5
  "homepage": "https://quickblox.com/developers/Javascript",
6
6
  "main": "src/qbMain.js",
7
7
  "license": "(Apache-2.0)",
package/quickblox.js CHANGED
@@ -46157,11 +46157,11 @@ ChatProxy.prototype = {
46157
46157
  'failed, at ', Utils.getCurrentTime(),
46158
46158
  '_chatPingFailedCounter: ', self._chatPingFailedCounter,
46159
46159
  ' error: ', error);
46160
- self._localPingFaildCounter += 1;
46160
+ self._chatPingFailedCounter += 1;
46161
46161
  if (self._chatPingFailedCounter > 6) {
46162
46162
  self.isConnected = false;
46163
46163
  self._isConnecting = false;
46164
- self._localPingFaildCounter = 0;
46164
+ self._chatPingFailedCounter = 0;
46165
46165
  self._establishConnection(params);
46166
46166
  }
46167
46167
  } else {
@@ -46169,7 +46169,7 @@ ChatProxy.prototype = {
46169
46169
  'Chat Ping: ',
46170
46170
  'ok, at ', Utils.getCurrentTime(),
46171
46171
  '_chatPingFailedCounter: ', self._chatPingFailedCounter);
46172
- self._localPingFaildCounter = 0;
46172
+ self._chatPingFailedCounter = 0;
46173
46173
  }
46174
46174
  });
46175
46175
  } catch (err) {
@@ -46791,7 +46791,7 @@ ChatProxy.prototype = {
46791
46791
  this.connection.flush();
46792
46792
  this.connection.disconnect();
46793
46793
  if (this._checkConnectionPingTimer !== undefined) {
46794
- Utils.QBLog('[QBChat]', 'Stop ping to localhost.');
46794
+ Utils.QBLog('[QBChat]', 'Stop ping');
46795
46795
  clearInterval(this._checkConnectionPingTimer);
46796
46796
  this._checkConnectionPingTimer = undefined;
46797
46797
  }
@@ -53555,8 +53555,8 @@ module.exports = StreamManagement;
53555
53555
  */
53556
53556
 
53557
53557
  var config = {
53558
- version: '2.15.4',
53559
- buildNumber: '1149',
53558
+ version: '2.15.5',
53559
+ buildNumber: '1152',
53560
53560
  creds: {
53561
53561
  'appId': 0,
53562
53562
  'authKey': '',
@@ -53577,9 +53577,9 @@ var config = {
53577
53577
  websocket: 'wss://chat.quickblox.com:5291',
53578
53578
  active: 2
53579
53579
  },
53580
- pingTimeout: 30,
53580
+ pingTimeout: 1,
53581
53581
  pingLocalhostTimeInterval: 5,
53582
- chatReconnectionTimeInterval: 5,
53582
+ chatReconnectionTimeInterval: 3,
53583
53583
  webrtc: {
53584
53584
  answerTimeInterval: 60,
53585
53585
  autoReject: true,
@@ -53622,6 +53622,7 @@ var config = {
53622
53622
  addISOTime: false,
53623
53623
  qbTokenExpirationDate: null,
53624
53624
  liveSessionInterval: 120,
53625
+ callBackInterval: 30,
53625
53626
  };
53626
53627
 
53627
53628
  config.set = function(options) {
@@ -53709,7 +53710,7 @@ QuickBlox.prototype = {
53709
53710
  * @param {Object} configMap - Settings object for QuickBlox SDK.
53710
53711
  */
53711
53712
  init: function(appIdOrToken, authKeyOrAppId, authSecret, accountKey, configMap) {
53712
- Utils.QBLog('current platform:',Utils.getEnv());
53713
+ console.log('current platform: ', Utils.getEnv());
53713
53714
  if (typeof accountKey === 'string' && accountKey.length) {
53714
53715
  if (configMap && typeof configMap === 'object') {
53715
53716
  config.set(configMap);