@aws-amplify/core
Advanced tools
Comparing version 1.0.17 to 1.0.18-unstable.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="1.0.18-unstable.0"></a> | ||
## [1.0.18-unstable.0](https://github.com/aws/aws-amplify/compare/@aws-amplify/core@1.0.17...@aws-amplify/core@1.0.18-unstable.0) (2018-11-06) | ||
### Bug Fixes | ||
* **@aws-amplify/core:** use existing methods to load localStorage ([3ec680d](https://github.com/aws/aws-amplify/commit/3ec680d)) | ||
<a name="1.0.17"></a> | ||
@@ -8,0 +19,0 @@ ## [1.0.17](https://github.com/aws/aws-amplify/compare/@aws-amplify/core@1.0.17-unstable.0...@aws-amplify/core@1.0.17) (2018-11-01) |
@@ -5,3 +5,3 @@ declare const Linking: {}; | ||
}; | ||
declare const AsyncStorage: Storage; | ||
declare const AsyncStorage: any; | ||
export { Linking, AppState, AsyncStorage }; |
@@ -16,2 +16,3 @@ "use strict"; | ||
var JS_1 = require("../JS"); | ||
var StorageHelper_1 = require("../StorageHelper"); | ||
var Linking = {}; | ||
@@ -26,4 +27,4 @@ exports.Linking = Linking; | ||
// if not in react native, just use local storage | ||
var AsyncStorage = JS_1.default.browserOrNode().isBrowser ? window.localStorage : undefined; | ||
var AsyncStorage = JS_1.default.browserOrNode().isBrowser ? new StorageHelper_1.default().getStorage() : undefined; | ||
exports.AsyncStorage = AsyncStorage; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@aws-amplify/core", | ||
"version": "1.0.17", | ||
"version": "1.0.18-unstable.0", | ||
"description": "Core category of aws-amplify", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
3670514
22141
1