quickblox 2.15.3 → 2.15.4
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/README.md +1 -1
- package/package.json +1 -1
- package/quickblox.js +3 -8
- package/quickblox.min.js +1 -1
- package/src/qbConfig.js +2 -2
- package/src/qbMain.js +1 -1
- package/src/qbProxy.js +0 -5
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-s
|
|
|
16
16
|
## Dependencies for browser
|
|
17
17
|
|
|
18
18
|
```html
|
|
19
|
-
<script src="https://unpkg.com/quickblox@2.15.
|
|
19
|
+
<script src="https://unpkg.com/quickblox@2.15.4/quickblox.min.js"></script>
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Bower and RequireJS
|
package/package.json
CHANGED
package/quickblox.js
CHANGED
|
@@ -53555,8 +53555,8 @@ module.exports = StreamManagement;
|
|
|
53555
53555
|
*/
|
|
53556
53556
|
|
|
53557
53557
|
var config = {
|
|
53558
|
-
version: '2.15.
|
|
53559
|
-
buildNumber: '
|
|
53558
|
+
version: '2.15.4',
|
|
53559
|
+
buildNumber: '1149',
|
|
53560
53560
|
creds: {
|
|
53561
53561
|
'appId': 0,
|
|
53562
53562
|
'authKey': '',
|
|
@@ -53709,7 +53709,7 @@ QuickBlox.prototype = {
|
|
|
53709
53709
|
* @param {Object} configMap - Settings object for QuickBlox SDK.
|
|
53710
53710
|
*/
|
|
53711
53711
|
init: function(appIdOrToken, authKeyOrAppId, authSecret, accountKey, configMap) {
|
|
53712
|
-
|
|
53712
|
+
Utils.QBLog('current platform:',Utils.getEnv());
|
|
53713
53713
|
if (typeof accountKey === 'string' && accountKey.length) {
|
|
53714
53714
|
if (configMap && typeof configMap === 'object') {
|
|
53715
53715
|
config.set(configMap);
|
|
@@ -54091,7 +54091,6 @@ ServiceProxy.prototype = {
|
|
|
54091
54091
|
qbFetch(qbUrl, qbRequest)
|
|
54092
54092
|
.then(function(response) {
|
|
54093
54093
|
qbResponse = response;
|
|
54094
|
-
console.log('qbProxy fetch then 1');
|
|
54095
54094
|
if (qbRequest.method === 'GET' || qbRequest.method === 'POST'){
|
|
54096
54095
|
var qbTokenExpirationDate = qbResponse.headers.get('qb-token-expirationdate');
|
|
54097
54096
|
var headerHasToken = !(qbTokenExpirationDate === null ||
|
|
@@ -54115,10 +54114,6 @@ ServiceProxy.prototype = {
|
|
|
54115
54114
|
|
|
54116
54115
|
return ' ';
|
|
54117
54116
|
}).then(function(body) {
|
|
54118
|
-
//console.log('HTTP status code: ', qbResponse.headers.status);
|
|
54119
|
-
//console.log('HTTP response: ', qbResponse);
|
|
54120
|
-
console.log('qbProxy fetch then 2');
|
|
54121
|
-
console.log('HTTP body: ', qbResponse);
|
|
54122
54117
|
_requestCallback(null, qbResponse, body);
|
|
54123
54118
|
}, function(error) {
|
|
54124
54119
|
_requestCallback(error);
|