quickblox 2.17.10-logger → 2.17.12-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 +1 -1
- package/quickblox.js +5 -5
- package/quickblox.min.js +1 -1
- package/src/qbConfig.js +1 -1
- package/src/qbStrophe.js +3 -3
package/package.json
CHANGED
package/quickblox.js
CHANGED
|
@@ -51494,7 +51494,7 @@ module.exports = StreamManagement;
|
|
|
51494
51494
|
*/
|
|
51495
51495
|
|
|
51496
51496
|
var config = {
|
|
51497
|
-
version: '2.17.
|
|
51497
|
+
version: '2.17.12-logger',
|
|
51498
51498
|
buildNumber: '1161',
|
|
51499
51499
|
creds: {
|
|
51500
51500
|
'appId': 0,
|
|
@@ -52207,14 +52207,14 @@ require('./libs/strophe/strophe.umd.js');
|
|
|
52207
52207
|
var config = require('./qbConfig');
|
|
52208
52208
|
var chatPRTCL = config.chatProtocol;
|
|
52209
52209
|
var Utils = require('./qbUtils');
|
|
52210
|
-
var
|
|
52210
|
+
var QBModules = require('./qbMain');
|
|
52211
52211
|
|
|
52212
52212
|
function Connection(onLogListenerCallback) {
|
|
52213
52213
|
var protocol = chatPRTCL.active === 1 ? chatPRTCL.bosh : chatPRTCL.websocket;
|
|
52214
52214
|
var conn = new Strophe.Connection(protocol);
|
|
52215
|
-
var onLogListener = config.debug? onLogListenerCallback ||
|
|
52215
|
+
var onLogListener = config.debug? onLogListenerCallback || QBModules.chat.onLogListener : null;
|
|
52216
52216
|
var safeCallbackCall = function(message, data) {
|
|
52217
|
-
onLogListener = onLogListenerCallback ||
|
|
52217
|
+
onLogListener = onLogListenerCallback || QBModules.chat.onLogListener;
|
|
52218
52218
|
if (onLogListener && typeof onLogListener === 'function') {
|
|
52219
52219
|
Utils.safeCallbackCall(onLogListener,
|
|
52220
52220
|
'[QBChat][QBStrophe]' + message + data);
|
|
@@ -52269,7 +52269,7 @@ function Connection(onLogListenerCallback) {
|
|
|
52269
52269
|
|
|
52270
52270
|
module.exports = Connection;
|
|
52271
52271
|
|
|
52272
|
-
},{"./libs/strophe/strophe.umd.js":227,"./
|
|
52272
|
+
},{"./libs/strophe/strophe.umd.js":227,"./qbConfig":247,"./qbMain":248,"./qbUtils":251}],251:[function(require,module,exports){
|
|
52273
52273
|
(function (global){(function (){
|
|
52274
52274
|
/* eslint no-console: 2 */
|
|
52275
52275
|
|