Skip to content

Commit

Permalink
Merge pull request #2 from Chinchila01/master
Browse files Browse the repository at this point in the history
AsyncStorage is now imported from the correct package
  • Loading branch information
ptomasroos authored Jun 1, 2019
2 parents 35b3319 + 47a956e commit 5acf34b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-storage-engine-reactnativeasyncstorage",
"version": "1.0.5",
"version": "1.0.6",
"description": "react-native/AsyncStorage based engine for redux-storage",
"main": "build/index.js",
"scripts": {
Expand Down Expand Up @@ -41,5 +41,8 @@
"eslint-plugin-mocha-only": "0.0.3",
"mocca": "^1.0.3",
"release-it": "^2.3.1"
},
"dependencies": {
"@react-native-community/async-storage": "^1.4.0"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AsyncStorage } from 'react-native';
import AsyncStorage from '@react-native-community/async-storage';

export default (key) => ({
load() {
Expand Down

0 comments on commit 5acf34b

Please sign in to comment.