Skip to content

Commit

Permalink
version JS SDK 2.15.4 has created.
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem-K-Koltunov committed Feb 7, 2023
1 parent 38933e0 commit 3d0878e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-s
## Dependencies for browser

```html
<script src="https://unpkg.com/quickblox@2.15.3/quickblox.min.js"></script>
<script src="https://unpkg.com/quickblox@2.15.4/quickblox.min.js"></script>
```

## Bower and RequireJS
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand Down
11 changes: 3 additions & 8 deletions quickblox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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': '',
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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 ||
Expand All @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/qbConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
*/

var config = {
version: '2.15.3',
buildNumber: '1149',
version: '2.15.4',
buildNumber: '1150',
creds: {
'appId': 0,
'authKey': '',
Expand Down
2 changes: 1 addition & 1 deletion src/qbMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 0 additions & 5 deletions src/qbProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand All @@ -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);
Expand Down

0 comments on commit 3d0878e

Please sign in to comment.