quickblox 2.17.4-logger → 2.17.6-logger

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.
@@ -763,7 +763,7 @@ ChatProxy.prototype = {
763
763
 
764
764
  if (typeof self.onLogListener === 'function') {
765
765
  Utils.safeCallbackCall(self.onLogListener,
766
- '[QBChat]' + ' Status.ERROR at ' +
766
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.ERROR at ' +
767
767
  chatUtils.getLocalTime()+ ' ERROR CONDITION: ' + condition);
768
768
  }
769
769
  self.isConnected = false;
@@ -782,7 +782,7 @@ ChatProxy.prototype = {
782
782
 
783
783
  if (typeof self.onLogListener === 'function') {
784
784
  Utils.safeCallbackCall(self.onLogListener,
785
- '[QBChat]' + ' Status.CONNFAIL at ' +
785
+ '[QBChat]' + '[SDK v'+config.version+']' +' Status.CONNFAIL at ' +
786
786
  chatUtils.getLocalTime()+ ' CONNFAIL CONDITION: ' + condition);
787
787
  }
788
788
  self.isConnected = false;
@@ -801,7 +801,7 @@ ChatProxy.prototype = {
801
801
 
802
802
  if (typeof self.onLogListener === 'function') {
803
803
  Utils.safeCallbackCall(self.onLogListener,
804
- '[QBChat]' + ' Status.AUTHENTICATING at ' +
804
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.AUTHENTICATING at ' +
805
805
  chatUtils.getLocalTime()+ ' AUTHENTICATING CONDITION: ' + condition);
806
806
  }
807
807
  break;
@@ -811,7 +811,7 @@ ChatProxy.prototype = {
811
811
 
812
812
  if (typeof self.onLogListener === 'function') {
813
813
  Utils.safeCallbackCall(self.onLogListener,
814
- '[QBChat]' + ' Status.AUTHFAIL at ' +
814
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.AUTHFAIL at ' +
815
815
  chatUtils.getLocalTime()+ ' AUTHFAIL CONDITION: ' + condition);
816
816
  }
817
817
  self.isConnected = false;
@@ -835,7 +835,7 @@ ChatProxy.prototype = {
835
835
 
836
836
  if (typeof self.onLogListener === 'function') {
837
837
  Utils.safeCallbackCall(self.onLogListener,
838
- '[QBChat]' + ' Status.CONNECTING at ' + '(Chat Protocol - ' + config.chatProtocol.active === 1 ? 'BOSH' : 'WebSocket' + ')'+
838
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.CONNECTING at ' + '(Chat Protocol - ' + config.chatProtocol.active === 1 ? 'BOSH' : 'WebSocket' + ')'+
839
839
  chatUtils.getLocalTime()+ ' CONNECTING CONDITION: ' + condition);
840
840
  }
841
841
  break;
@@ -845,7 +845,7 @@ ChatProxy.prototype = {
845
845
 
846
846
  if (typeof self.onLogListener === 'function') {
847
847
  Utils.safeCallbackCall(self.onLogListener,
848
- '[QBChat]' + ' Status.CONNECTED at ' +
848
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.CONNECTED at ' +
849
849
  chatUtils.getLocalTime()+ ' CONNECTED CONDITION: ' + condition);
850
850
  }
851
851
  // Remove any handlers that might exist from a previous connection via
@@ -928,7 +928,7 @@ ChatProxy.prototype = {
928
928
 
929
929
  if (typeof self.onLogListener === 'function') {
930
930
  Utils.safeCallbackCall(self.onLogListener,
931
- '[QBChat]' + ' Status.DISCONNECTING at ' +
931
+ '[QBChat]' + '[SDK v'+config.version+']' +' Status.DISCONNECTING at ' +
932
932
  chatUtils.getLocalTime()+ ' DISCONNECTING CONDITION: ' + condition);
933
933
  }
934
934
  break;
@@ -938,7 +938,7 @@ ChatProxy.prototype = {
938
938
 
939
939
  if (typeof self.onLogListener === 'function') {
940
940
  Utils.safeCallbackCall(self.onLogListener,
941
- '[QBChat]' + ' Status.DISCONNECTED at ' +
941
+ '[QBChat]' + '[SDK v'+config.version+']' +' Status.DISCONNECTED at ' +
942
942
  chatUtils.getLocalTime()+ ' DISCONNECTED CONDITION: ' + condition);
943
943
  }
944
944
  // fire 'onDisconnectedListener' only once
@@ -960,7 +960,7 @@ ChatProxy.prototype = {
960
960
 
961
961
  if (typeof self.onLogListener === 'function') {
962
962
  Utils.safeCallbackCall(self.onLogListener,
963
- '[QBChat]' + ' Status.ATTACHED at ' +
963
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.ATTACHED at ' +
964
964
  chatUtils.getLocalTime()+ ' ATTACHED CONDITION: ' + condition);
965
965
  }
966
966
  break;
@@ -970,7 +970,7 @@ ChatProxy.prototype = {
970
970
 
971
971
  if (typeof self.onLogListener === 'function') {
972
972
  Utils.safeCallbackCall(self.onLogListener,
973
- '[QBChat]' + ' Status.REDIRECT at ' +
973
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.REDIRECT at ' +
974
974
  chatUtils.getLocalTime()+ ' REDIRECT CONDITION: ' + condition);
975
975
  }
976
976
  break;
@@ -980,7 +980,7 @@ ChatProxy.prototype = {
980
980
 
981
981
  if (typeof self.onLogListener === 'function') {
982
982
  Utils.safeCallbackCall(self.onLogListener,
983
- '[QBChat]' + ' Status.CONNTIMEOUT at ' +
983
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.CONNTIMEOUT at ' +
984
984
  chatUtils.getLocalTime()+ ' CONNTIMEOUT CONDITION: ' + condition);
985
985
  }
986
986
  break;
@@ -990,7 +990,7 @@ ChatProxy.prototype = {
990
990
 
991
991
  if (typeof self.onLogListener === 'function') {
992
992
  Utils.safeCallbackCall(self.onLogListener,
993
- '[QBChat]' + ' Status.BINDREQUIRED at ' +
993
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status.BINDREQUIRED at ' +
994
994
  chatUtils.getLocalTime()+ ' BINDREQUIRED CONDITION: ' + condition);
995
995
  }
996
996
  break;
@@ -1000,7 +1000,7 @@ ChatProxy.prototype = {
1000
1000
 
1001
1001
  if (typeof self.onLogListener === 'function') {
1002
1002
  Utils.safeCallbackCall(self.onLogListener,
1003
- '[QBChat]' + ' Status.ATTACHFAIL at ' +
1003
+ '[QBChat]' + '[SDK v'+config.version+']' +' Status.ATTACHFAIL at ' +
1004
1004
  chatUtils.getLocalTime()+ ' ATTACHFAIL CONDITION: ' + condition);
1005
1005
  }
1006
1006
  break;
@@ -1011,18 +1011,18 @@ ChatProxy.prototype = {
1011
1011
 
1012
1012
  if (typeof self.onLogListener === 'function') {
1013
1013
  Utils.safeCallbackCall(self.onLogListener,
1014
- '[QBChat]' + ' Status is unknown at ' +
1014
+ '[QBChat]' +'[SDK v'+config.version+']' + ' Status is unknown at ' +
1015
1015
  chatUtils.getLocalTime()+ ' unknown CONDITION: ' + condition);
1016
1016
  }
1017
1017
  break;
1018
1018
  }
1019
1019
  }, function (logLine){
1020
- Utils.QBLog('[QBChat]', 'LOG strophe.js at ' + chatUtils.getLocalTime());
1021
- Utils.QBLog('[QBChat]', 'LOG strophe.js: ' + logLine);
1020
+ Utils.QBLog('[QBChat]'+'[SDK v'+config.version+']', 'LOG strophe.js at ' + chatUtils.getLocalTime());
1021
+ Utils.QBLog('[QBChat]'+'[SDK v'+config.version+']', 'LOG strophe.js: ' + logLine);
1022
1022
 
1023
1023
  if (typeof self.onLogListener === 'function') {
1024
1024
  Utils.safeCallbackCall(self.onLogListener,
1025
- '[QBChat]' + ' LOG strophe.js at ' +
1025
+ '[QBChat]' + '[SDK v'+config.version+']' +' LOG strophe.js at ' +
1026
1026
  chatUtils.getLocalTime()+ ' LOG strophe.js: ' + logLine);
1027
1027
  }
1028
1028
  });
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  // require('strophe.js');
9
- require('./libs/strophe/strophe.umd.js');
9
+ require('../../libs/strophe/strophe.umd.js');
10
10
 
11
11
  var SignalingConstants = require('./qbWebRTCSignalingConstants');
12
12
 
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  // require('strophe.js');
12
- require('./libs/strophe/strophe.umd.js');
12
+ require('../../libs/strophe/strophe.umd.js');
13
13
 
14
14
  var Helpers = require('./qbWebRTCHelpers');
15
15
  var SignalingConstants = require('./qbWebRTCSignalingConstants');
package/src/qbConfig.js CHANGED
@@ -12,7 +12,7 @@
12
12
  */
13
13
 
14
14
  var config = {
15
- version: '2.17.4-logger',
15
+ version: '2.17.6-logger',
16
16
  buildNumber: '1161',
17
17
  creds: {
18
18
  'appId': 0,