quickblox 2.17.18-logger → 2.17.20-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.18-logger",
4
+ "version": "2.17.20-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
@@ -42973,7 +42973,7 @@ function ChatProxy(service) {
42973
42973
  */
42974
42974
  if (Utils.getEnv().browser) {
42975
42975
  // strophe js
42976
- self.connection = Connection(self._OnLogListener);
42976
+ self.connection = Connection(self._OnLogListener.bind(this));
42977
42977
 
42978
42978
  /** Add extension methods to track handlers for removal on reconnect */
42979
42979
  self.connection.XHandlerReferences = [];
@@ -43635,8 +43635,11 @@ function ChatProxy(service) {
43635
43635
  ChatProxy.prototype = {
43636
43636
 
43637
43637
  _OnLogListener: function (message) {
43638
- if (typeof this.onLogListener === 'function') {
43639
- Utils.safeCallbackCall(this.onLogListener, message);
43638
+ var self = this;
43639
+ Utils.QBLog('[QBChat][TEST]', self);
43640
+ Utils.QBLog('[QBChat][TEST]', typeof self.onLogListener);
43641
+ if (typeof self.onLogListener === 'function') {
43642
+ Utils.safeCallbackCall(self.onLogListener, message);
43640
43643
  }
43641
43644
  },
43642
43645
 
@@ -51499,7 +51502,7 @@ module.exports = StreamManagement;
51499
51502
  */
51500
51503
 
51501
51504
  var config = {
51502
- version: '2.17.18-logger',
51505
+ version: '2.17.20-logger',
51503
51506
  buildNumber: '1161',
51504
51507
  creds: {
51505
51508
  'appId': 0,