diff --git a/README.md b/README.md index d330e50e..991eec1c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-s ## Dependencies for browser ```html - + ``` ## Bower and RequireJS diff --git a/package.json b/package.json index 88aa95e2..e8c4669b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "quickblox", "description": "QuickBlox JavaScript SDK", - "version": "2.15.3", + "version": "2.15.4", "homepage": "https://quickblox.com/developers/Javascript", "main": "src/qbMain.js", "license": "(Apache-2.0)", diff --git a/quickblox.js b/quickblox.js index abe9cfeb..95820378 100644 --- a/quickblox.js +++ b/quickblox.js @@ -53555,8 +53555,8 @@ module.exports = StreamManagement; */ var config = { - version: '2.15.3', - buildNumber: '1148', + version: '2.15.4', + buildNumber: '1149', creds: { 'appId': 0, 'authKey': '', @@ -53709,7 +53709,7 @@ QuickBlox.prototype = { * @param {Object} configMap - Settings object for QuickBlox SDK. */ init: function(appIdOrToken, authKeyOrAppId, authSecret, accountKey, configMap) { - console.log('current platform: ', Utils.getEnv()); + Utils.QBLog('current platform:',Utils.getEnv()); if (typeof accountKey === 'string' && accountKey.length) { if (configMap && typeof configMap === 'object') { config.set(configMap); @@ -54091,7 +54091,6 @@ ServiceProxy.prototype = { qbFetch(qbUrl, qbRequest) .then(function(response) { qbResponse = response; - console.log('qbProxy fetch then 1'); if (qbRequest.method === 'GET' || qbRequest.method === 'POST'){ var qbTokenExpirationDate = qbResponse.headers.get('qb-token-expirationdate'); var headerHasToken = !(qbTokenExpirationDate === null || @@ -54115,10 +54114,6 @@ ServiceProxy.prototype = { return ' '; }).then(function(body) { - //console.log('HTTP status code: ', qbResponse.headers.status); - //console.log('HTTP response: ', qbResponse); - console.log('qbProxy fetch then 2'); - console.log('HTTP body: ', qbResponse); _requestCallback(null, qbResponse, body); }, function(error) { _requestCallback(error); diff --git a/src/qbConfig.js b/src/qbConfig.js index 82dba2fc..061358a2 100644 --- a/src/qbConfig.js +++ b/src/qbConfig.js @@ -12,8 +12,8 @@ */ var config = { - version: '2.15.3', - buildNumber: '1149', + version: '2.15.4', + buildNumber: '1150', creds: { 'appId': 0, 'authKey': '', diff --git a/src/qbMain.js b/src/qbMain.js index d5c4e63d..e3e290f9 100644 --- a/src/qbMain.js +++ b/src/qbMain.js @@ -36,7 +36,7 @@ QuickBlox.prototype = { * @param {Object} configMap - Settings object for QuickBlox SDK. */ init: function(appIdOrToken, authKeyOrAppId, authSecret, accountKey, configMap) { - console.log('current platform: ', Utils.getEnv()); + Utils.QBLog('current platform:',Utils.getEnv()); if (typeof accountKey === 'string' && accountKey.length) { if (configMap && typeof configMap === 'object') { config.set(configMap); diff --git a/src/qbProxy.js b/src/qbProxy.js index d4aa0c19..4a5ea015 100644 --- a/src/qbProxy.js +++ b/src/qbProxy.js @@ -139,7 +139,6 @@ ServiceProxy.prototype = { qbFetch(qbUrl, qbRequest) .then(function(response) { qbResponse = response; - console.log('qbProxy fetch then 1'); if (qbRequest.method === 'GET' || qbRequest.method === 'POST'){ var qbTokenExpirationDate = qbResponse.headers.get('qb-token-expirationdate'); var headerHasToken = !(qbTokenExpirationDate === null || @@ -163,10 +162,6 @@ ServiceProxy.prototype = { return ' '; }).then(function(body) { - //console.log('HTTP status code: ', qbResponse.headers.status); - //console.log('HTTP response: ', qbResponse); - console.log('qbProxy fetch then 2'); - console.log('HTTP body: ', qbResponse); _requestCallback(null, qbResponse, body); }, function(error) { _requestCallback(error);