quickblox 2.17.7-logger → 2.17.8-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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickblox",
3
3
  "description": "QuickBlox JavaScript SDK",
4
- "version": "2.17.7-logger",
4
+ "version": "2.17.8-logger",
5
5
  "homepage": "https://quickblox.com/developers/Javascript",
6
6
  "main": "src/qbMain.js",
7
7
  "types": "quickblox.d.ts",
package/quickblox.js CHANGED
@@ -51484,7 +51484,7 @@ module.exports = StreamManagement;
51484
51484
  */
51485
51485
 
51486
51486
  var config = {
51487
- version: '2.17.7-logger',
51487
+ version: '2.17.8-logger',
51488
51488
  buildNumber: '1161',
51489
51489
  creds: {
51490
51490
  'appId': 0,
@@ -52197,10 +52197,12 @@ require('./libs/strophe/strophe.umd.js');
52197
52197
  var config = require('./qbConfig');
52198
52198
  var chatPRTCL = config.chatProtocol;
52199
52199
  var Utils = require('./qbUtils');
52200
+ var QBChatModules = require('./modules/qbChat');
52200
52201
 
52201
- function Connection(onLogListener) {
52202
+ function Connection(onLogListenerCallback) {
52202
52203
  var protocol = chatPRTCL.active === 1 ? chatPRTCL.bosh : chatPRTCL.websocket;
52203
52204
  var conn = new Strophe.Connection(protocol);
52205
+ var onLogListener = onLogListenerCallback || QBChatModules.onLogListener;
52204
52206
 
52205
52207
  if (chatPRTCL.active === 1) {
52206
52208
  conn.xmlInput = function(data) {
@@ -52266,7 +52268,7 @@ function Connection(onLogListener) {
52266
52268
 
52267
52269
  module.exports = Connection;
52268
52270
 
52269
- },{"./libs/strophe/strophe.umd.js":227,"./qbConfig":247,"./qbUtils":251}],251:[function(require,module,exports){
52271
+ },{"./libs/strophe/strophe.umd.js":227,"./modules/qbChat":undefined,"./qbConfig":247,"./qbUtils":251}],251:[function(require,module,exports){
52270
52272
  (function (global){(function (){
52271
52273
  /* eslint no-console: 2 */
52272
52274