kinvey-html5-sdk
Advanced tools
Comparing version 3.8.0 to 3.8.1
@@ -7,2 +7,20 @@ # Change Log | ||
## [3.8.1](https://github.com/Kinvey/html5-sdk/tree/v3.8.1) (2017-08-25) | ||
[Full Changelog](https://github.com/Kinvey/html5-sdk/compare/v3.8.0...v3.8.1)<br/> | ||
### Added | ||
_None_ | ||
### Removed | ||
_None_ | ||
### Changed/Fixed | ||
- Resolve `Kinvey.initialize()` with an instance of `Kinvey.User` or `null`. | ||
### Merged Pull Requests | ||
- Fix Initialize [#23](https://github.com/Kinvey/html5-sdk/pull/23) | ||
### Closed Issues | ||
_None_ | ||
## [3.8.0](https://github.com/Kinvey/html5-sdk/tree/v3.8.0) (2017-08-23) | ||
@@ -9,0 +27,0 @@ [Full Changelog](https://github.com/Kinvey/html5-sdk/compare/v3.5.2...v3.8.0)<br/> |
@@ -44,3 +44,3 @@ 'use strict'; | ||
var client = Kinvey.init(config); | ||
var activeUser = client.getActiveUser(); | ||
var activeUser = _export.User.getActiveUser(client); | ||
@@ -69,2 +69,6 @@ if ((0, _export.isDefined)(activeUser)) { | ||
if ((0, _export.isDefined)(activeUser)) { | ||
if ((0, _export.isDefined)(activeUser.data)) { | ||
return client.setActiveUser(activeUser.data); | ||
} | ||
return client.setActiveUser(activeUser); | ||
@@ -74,2 +78,4 @@ } | ||
return activeUser; | ||
}).then(function () { | ||
return _export.User.getActiveUser(client); | ||
}); | ||
@@ -76,0 +82,0 @@ } |
{ | ||
"name": "kinvey-html5-sdk", | ||
"version": "3.8.0", | ||
"version": "3.8.1", | ||
"description": "Kinvey JavaScript SDK for HTML5 applications.", | ||
@@ -44,3 +44,3 @@ "homepage": "http://www.kinvey.com", | ||
"es6-promise": "4.1.0", | ||
"kinvey-js-sdk": "3.8.0", | ||
"kinvey-js-sdk": "3.8.1", | ||
"local-storage-fallback": "4.0.0", | ||
@@ -52,3 +52,3 @@ "lodash": "4.17.4", | ||
"peerDependencies": { | ||
"kinvey-js-sdk": "3.8.0" | ||
"kinvey-js-sdk": "3.8.1" | ||
}, | ||
@@ -55,0 +55,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
140881
1490
0
+ Addedkinvey-js-sdk@3.8.1(transitive)
- Removedkinvey-js-sdk@3.8.0(transitive)
Updatedkinvey-js-sdk@3.8.1