Skip to content

Commit 8f7c89b

Browse files
authored
upgrade async storage version (status-im#13846)
1 parent 62a4c40 commit 8f7c89b

File tree

8 files changed

+134
-134
lines changed

8 files changed

+134
-134
lines changed

ios/Podfile.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ PODS:
316316
- React-Core
317317
- React-RCTImage
318318
- React-RCTText
319-
- RNCAsyncStorage (1.11.0):
320-
- React
319+
- RNCAsyncStorage (1.17.9):
320+
- React-Core
321321
- RNCClipboard (1.2.2):
322322
- React
323323
- RNCMaskedView (0.1.9):
@@ -450,7 +450,7 @@ DEPENDENCIES:
450450
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
451451
- "ReactNativeAudioToolkit (from `../node_modules/@react-native-community/audio-toolkit`)"
452452
- ReactNativeNavigation (from `../node_modules/react-native-navigation`)
453-
- "RNCAsyncStorage (from `../node_modules/@react-native-community/async-storage`)"
453+
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
454454
- "RNCClipboard (from `../node_modules/@react-native-community/clipboard`)"
455455
- "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
456456
- "RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)"
@@ -581,7 +581,7 @@ EXTERNAL SOURCES:
581581
ReactNativeNavigation:
582582
:path: "../node_modules/react-native-navigation"
583583
RNCAsyncStorage:
584-
:path: "../node_modules/@react-native-community/async-storage"
584+
:path: "../node_modules/@react-native-async-storage/async-storage"
585585
RNCClipboard:
586586
:path: "../node_modules/@react-native-community/clipboard"
587587
RNCMaskedView:
@@ -680,7 +680,7 @@ SPEC CHECKSUMS:
680680
ReactCommon: 73d79c7039f473b76db6ff7c6b159c478acbbb3b
681681
ReactNativeAudioToolkit: de9610f323e855ac6574be8c99621f3d57c5df06
682682
ReactNativeNavigation: 94979dd1572a3f093fc85d4599360530a1bed8c8
683-
RNCAsyncStorage: d059c3ee71738c39834a627476322a5a8cd5bf36
683+
RNCAsyncStorage: b2489b49e38c85e10ed45a888d13a2a4c7b32ea1
684684
RNCClipboard: 8148e21ac347c51fd6cd4b683389094c216bb543
685685
RNCMaskedView: 71fc32d971f03b7f03d6ab6b86b730c4ee64f5b6
686686
RNCPushNotificationIOS: c145c6253ea016e5efeff604f2720736b4a596f7
@@ -706,4 +706,4 @@ SPEC CHECKSUMS:
706706

707707
PODFILE CHECKSUM: a1de9468266e7f0b5273acea713782ab759690f1
708708

709-
COCOAPODS: 1.11.3
709+
COCOAPODS: 1.11.2

ios/StatusIm.xcodeproj/project.pbxproj

+105-105
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@babel/preset-typescript": "^7.17.12",
17-
"@react-native-community/async-storage": "^1.11.0",
17+
"@react-native-async-storage/async-storage": "^1.17.9",
1818
"@react-native-community/audio-toolkit": "git+https://github.com/tbenr/react-native-audio-toolkit.git#refs/tags/v2.0.3-status-v6",
1919
"@react-native-community/blur": "git+https://github.com/Kureev/react-native-blur#refs/tags/v3.6.1",
2020
"@react-native-community/cameraroll": "git+https://github.com/status-im/react-native-cameraroll.git#refs/tags/v4.0.4-status.0",

src/mocks/js_dependencies.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
"@react-native-community/audio-toolkit" react-native-audio-toolkit
311311
"react-native-image-viewing" react-native-image-viewing
312312
"react-native-share" react-native-share
313-
"@react-native-community/async-storage" async-storage
313+
"@react-native-async-storage/async-storage" async-storage
314314
"react-native-svg" react-native-svg
315315
"../src/js/worklet_factory.js" worklet-factory
316316
"./fleets.js" default-fleets

src/status_im/async_storage/core.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[taoensso.timbre :as log]
44
[goog.functions :as f]
55
[status-im.async-storage.transit :refer [clj->transit transit->clj]]
6-
["@react-native-community/async-storage" :default async-storage]))
6+
["@react-native-async-storage/async-storage" :default async-storage]))
77

88
(def ^:private debounce-ms 250)
99

src/status_im/keycard/fx.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[status-im.native-module.core :as status]
66
["react-native" :refer (BackHandler)]
77
[taoensso.timbre :as log]
8-
["@react-native-community/async-storage" :default AsyncStorage]))
8+
["@react-native-async-storage/async-storage" :default AsyncStorage]))
99

1010
(re-frame/reg-fx
1111
:keycard/start-nfc

src/status_im/utils/wallet_connect.cljs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(ns status-im.utils.wallet-connect
22
(:require ["@walletconnect/client" :refer [CLIENT_EVENTS] :default WalletConnectClient]
3-
["@react-native-community/async-storage" :default AsyncStorage]
3+
["@react-native-async-storage/async-storage" :default AsyncStorage]
44
[clojure.string :as string]
55
[status-im.utils.config :as config]))
66

@@ -25,4 +25,4 @@
2525
(defn session-updated-event [] (.-updated (.-session CLIENT_EVENTS)))
2626

2727
(defn url? [url]
28-
(string/starts-with? url "wc:"))
28+
(string/starts-with? url "wc:"))

yarn.lock

+17-17
Original file line numberDiff line numberDiff line change
@@ -1458,12 +1458,12 @@
14581458
semver "^7.3.5"
14591459
tar "^6.1.11"
14601460

1461-
"@react-native-community/async-storage@^1.11.0":
1462-
version "1.11.0"
1463-
resolved "https://registry.yarnpkg.com/@react-native-community/async-storage/-/async-storage-1.11.0.tgz#bf81b8813080846f150c67f531987c429b442166"
1464-
integrity sha512-Pq9LlmvtCEKAGdkyrgTcRxNh2fnHFykEj2qnRYijOl1pDIl2MkD5IxaXu5eOL0wgOtAl4U//ff4z40Td6XR5rw==
1461+
"@react-native-async-storage/async-storage@^1.17.9":
1462+
version "1.17.9"
1463+
resolved "https://registry.yarnpkg.com/@react-native-async-storage/async-storage/-/async-storage-1.17.9.tgz#2092d675fb9de05a3e71cdf8cefa9c5c4e4a3728"
1464+
integrity sha512-HKhMvjpA5/YzNMkcY3qeWLdTtUrtJe243knHNNYe1c0IplX69hZyiw7DjFwAgxPG9+YvzHDHliqPV+mBNOv+cQ==
14651465
dependencies:
1466-
deep-assign "^3.0.0"
1466+
merge-options "^3.0.4"
14671467

14681468
"@react-native-community/audio-toolkit@git+https://github.com/tbenr/react-native-audio-toolkit.git#refs/tags/v2.0.3-status-v6":
14691469
version "2.0.3"
@@ -3619,13 +3619,6 @@ dedent@^0.6.0:
36193619
resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.6.0.tgz#0e6da8f0ce52838ef5cec5c8f9396b0c1b64a3cb"
36203620
integrity sha512-cSfRWjXJtZQeRuZGVvDrJroCR5V2UvBNUMHsPCdNYzuAG8b9V8aAy3KUcdQrGQPXs17Y+ojbPh1aOCplg9YR9g==
36213621

3622-
deep-assign@^3.0.0:
3623-
version "3.0.0"
3624-
resolved "https://registry.yarnpkg.com/deep-assign/-/deep-assign-3.0.0.tgz#c8e4c4d401cba25550a2f0f486a2e75bc5f219a2"
3625-
integrity sha512-YX2i9XjJ7h5q/aQ/IM9PEwEnDqETAIYbggmdDB3HLTlSgo1CxPsj6pvhPG68rq6SVE0+p+6Ywsm5fTYNrYtBWw==
3626-
dependencies:
3627-
is-obj "^1.0.0"
3628-
36293622
deep-extend@^0.6.0:
36303623
version "0.6.0"
36313624
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
@@ -5173,11 +5166,6 @@ is-number@^7.0.0:
51735166
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
51745167
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
51755168

5176-
is-obj@^1.0.0:
5177-
version "1.0.1"
5178-
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f"
5179-
integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8=
5180-
51815169
is-obj@^2.0.0:
51825170
version "2.0.0"
51835171
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
@@ -5188,6 +5176,11 @@ is-path-inside@^3.0.2:
51885176
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
51895177
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
51905178

5179+
is-plain-obj@^2.1.0:
5180+
version "2.1.0"
5181+
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287"
5182+
integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==
5183+
51915184
is-plain-object@^2.0.3, is-plain-object@^2.0.4:
51925185
version "2.0.4"
51935186
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
@@ -6311,6 +6304,13 @@ mdn-data@2.0.6:
63116304
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.6.tgz#852dc60fcaa5daa2e8cf6c9189c440ed3e042978"
63126305
integrity sha512-rQvjv71olwNHgiTbfPZFkJtjNMciWgswYeciZhtvWLO8bmX3TnhyA62I6sTWOyZssWHJJjY6/KiWwqQsWWsqOA==
63136306

6307+
merge-options@^3.0.4:
6308+
version "3.0.4"
6309+
resolved "https://registry.yarnpkg.com/merge-options/-/merge-options-3.0.4.tgz#84709c2aa2a4b24c1981f66c179fe5565cc6dbb7"
6310+
integrity sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==
6311+
dependencies:
6312+
is-plain-obj "^2.1.0"
6313+
63146314
merge-source-map@^1.1.0:
63156315
version "1.1.0"
63166316
resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646"

0 commit comments

Comments
 (0)