Skip to content

Commit

Permalink
Merge branch 'main' into canary-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kvramyasri7 authored Aug 7, 2023
2 parents 7c7dd77 + a2410b3 commit 960a1ac
Show file tree
Hide file tree
Showing 4 changed files with 570 additions and 609 deletions.
2 changes: 1 addition & 1 deletion packages/amazon-cognito-identity-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@babel/core": "7.17.2",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.0.0",
"@react-native-async-storage/async-storage": "1.15.17",
"@react-native-async-storage/async-storage": "^1.17.12",
"babel-loader": "^8.0.6",
"cross-env": "^3.1.4",
"eslint": "^3.19.0",
Expand Down
4 changes: 1 addition & 3 deletions packages/cache/src/AsyncStorageCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ export class AsyncStorageCache extends StorageCache implements ICache {
*/
async _findValidKeys() {
const keys = [];
let keyInCache = [];

keyInCache = await AsyncStorage.getAllKeys();
const keyInCache = await AsyncStorage.getAllKeys();

for (let i = 0; i < keyInCache.length; i += 1) {
const key = keyInCache[i];
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
},
"homepage": "https://aws-amplify.github.io/",
"devDependencies": {
"@react-native-async-storage/async-storage": "1.15.17",
"@react-native-async-storage/async-storage": "^1.17.12",
"find": "^0.2.7",
"genversion": "^2.2.0",
"react-native": "^0.64.1",
"react-native": "^0.68.7",
"typescript": "5.0.2"
},
"files": [
Expand Down
Loading

0 comments on commit 960a1ac

Please sign in to comment.