From df0e65e4529a73bccab604060e300754da079ddd Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 6 Sep 2024 09:41:58 +0000
Subject: [PATCH] chore(deps): update dependency react-native-keychain to
^8.2.0 (#5892)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-keychain](https://redirect.github.com/oblador/react-native-keychain)
| [`^8.1.3` ->
`^8.2.0`](https://renovatebot.com/diffs/npm/react-native-keychain/8.1.3/8.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-keychain/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-keychain/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-keychain/8.1.3/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-keychain/8.1.3/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
oblador/react-native-keychain (react-native-keychain)
###
[`v8.2.0`](https://redirect.github.com/oblador/react-native-keychain/releases/tag/v8.2.0):
8.2.0
[Compare
Source](https://redirect.github.com/oblador/react-native-keychain/compare/v8.1.3...v8.2.0)
#### What's Changed
- feat: add visionOS support by
[@thiagobrez](https://redirect.github.com/thiagobrez) in
[https://github.com/oblador/react-native-keychain/pull/622](https://redirect.github.com/oblador/react-native-keychain/pull/622)
#### New Contributors
- [@thiagobrez](https://redirect.github.com/thiagobrez) made
their first contribution in
[https://github.com/oblador/react-native-keychain/pull/622](https://redirect.github.com/oblador/react-native-keychain/pull/622)
**Full Changelog**:
https://github.com/oblador/react-native-keychain/compare/v8.1.3...v8.2.0
---
### Configuration
📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.
🚦 **Automerge**: Enabled.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/valora-inc/wallet).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jean Regisser
Co-authored-by: valora-bot
---
ios/Podfile.lock | 4 ++--
package.json | 2 +-
...hain+8.1.3.patch => react-native-keychain+8.2.0.patch} | 4 ++--
src/onboarding/registration/EnableBiometry.tsx | 4 +++-
test/RootStateSchema.json | 1 +
yarn.lock | 8 ++++----
6 files changed, 13 insertions(+), 10 deletions(-)
rename patches/{react-native-keychain+8.1.3.patch => react-native-keychain+8.2.0.patch} (91%)
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
index 57082a5d0e6..65d7be3bfcd 100644
--- a/ios/Podfile.lock
+++ b/ios/Podfile.lock
@@ -782,7 +782,7 @@ PODS:
- RNGestureHandler (2.19.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- - RNKeychain (8.1.3):
+ - RNKeychain (8.2.0):
- React-Core
- RNLocalize (3.1.0):
- React-Core
@@ -1315,7 +1315,7 @@ SPEC CHECKSUMS:
RNFBRemoteConfig: 37959d81004ff1232f26276d02655c992b1ce715
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNGestureHandler: 68239315fb1da697e8941ab827b2b3aa7a355a73
- RNKeychain: f1b48665a4646f61191eb048c4c05c58d9a7596f
+ RNKeychain: bfe3d12bf4620fe488771c414530bf16e88f3678
RNLocalize: e8694475db034bf601e17bd3dfa8986565e769eb
RNPermissions: da2a4ded375aa8292d85ed93676e102c203d4717
RNPersonaInquiry2: 3ab52078e891a5d2fa39bf7cc9119ca27f0337fd
diff --git a/package.json b/package.json
index 8f52758b061..db905d96915 100644
--- a/package.json
+++ b/package.json
@@ -148,7 +148,7 @@
"react-native-gesture-handler": "^2.19.0",
"react-native-haptic-feedback": "^2.3.1",
"react-native-in-app-review": "^4.3.3",
- "react-native-keychain": "^8.1.3",
+ "react-native-keychain": "^8.2.0",
"react-native-launch-arguments": "^4.0.2",
"react-native-linear-gradient": "^2.8.3",
"react-native-localize": "^3.1.0",
diff --git a/patches/react-native-keychain+8.1.3.patch b/patches/react-native-keychain+8.2.0.patch
similarity index 91%
rename from patches/react-native-keychain+8.1.3.patch
rename to patches/react-native-keychain+8.2.0.patch
index 790c0dc932e..9d60fe66b02 100644
--- a/patches/react-native-keychain+8.1.3.patch
+++ b/patches/react-native-keychain+8.2.0.patch
@@ -1,8 +1,8 @@
diff --git a/node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.m b/node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.m
-index 9efac96..270fbcf 100644
+index 58d555f..e1e7c0f 100644
--- a/node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.m
+++ b/node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.m
-@@ -279,6 +279,8 @@ - (OSStatus)deleteCredentialsForServer:(NSString *)server
+@@ -280,6 +280,8 @@ - (OSStatus)deleteCredentialsForServer:(NSString *)server
NSMutableDictionary *query = [NSMutableDictionary dictionaryWithObjectsAndKeys:
(__bridge id)kCFBooleanTrue, (__bridge id)kSecReturnAttributes,
(__bridge id)kSecMatchLimitAll, (__bridge id)kSecMatchLimit,
diff --git a/src/onboarding/registration/EnableBiometry.tsx b/src/onboarding/registration/EnableBiometry.tsx
index 6f63a4c0a92..09461d38674 100644
--- a/src/onboarding/registration/EnableBiometry.tsx
+++ b/src/onboarding/registration/EnableBiometry.tsx
@@ -7,8 +7,8 @@ import * as Keychain from 'react-native-keychain'
import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context'
import { setPincodeSuccess } from 'src/account/actions'
import { PincodeType } from 'src/account/reducer'
-import { OnboardingEvents } from 'src/analytics/Events'
import AppAnalytics from 'src/analytics/AppAnalytics'
+import { OnboardingEvents } from 'src/analytics/Events'
import { supportedBiometryTypeSelector } from 'src/app/selectors'
import Button, { BtnSizes, BtnTypes } from 'src/components/Button'
import Face from 'src/icons/biometry/Face'
@@ -49,6 +49,7 @@ const biometryIconMap: { [key in Keychain.BIOMETRY_TYPE]: JSX.Element } = {
[Keychain.BIOMETRY_TYPE.FINGERPRINT]: ,
[Keychain.BIOMETRY_TYPE.FACE]: ,
[Keychain.BIOMETRY_TYPE.IRIS]: ,
+ [Keychain.BIOMETRY_TYPE.OPTIC_ID]: ,
}
const biometryImageMap: { [key in Keychain.BIOMETRY_TYPE]: JSX.Element } = {
@@ -59,6 +60,7 @@ const biometryImageMap: { [key in Keychain.BIOMETRY_TYPE]: JSX.Element } = {
),
[Keychain.BIOMETRY_TYPE.FACE]: ,
[Keychain.BIOMETRY_TYPE.IRIS]: ,
+ [Keychain.BIOMETRY_TYPE.OPTIC_ID]: ,
}
export default function EnableBiometry({ navigation }: Props) {
diff --git a/test/RootStateSchema.json b/test/RootStateSchema.json
index f7d8bac18d3..bd1fdcddb32 100644
--- a/test/RootStateSchema.json
+++ b/test/RootStateSchema.json
@@ -4194,6 +4194,7 @@
"FaceID",
"Fingerprint",
"Iris",
+ "OpticID",
"TouchID"
],
"type": "string"
diff --git a/yarn.lock b/yarn.lock
index 37d7aec9201..8628d64b358 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -12723,10 +12723,10 @@ react-native-in-app-review@^4.3.3:
resolved "https://registry.yarnpkg.com/react-native-in-app-review/-/react-native-in-app-review-4.3.3.tgz#61f09f110de18f0a470a9bb55b9f49600390085f"
integrity sha512-Q9sXBtK8tCBYFPCGmMgeMlkxXC5e6vAyPZK26OC1oOKUuKUd0QORnryk/qbwnuN4fLshHQN8UKlLgyHLGRuK3A==
-react-native-keychain@^8.1.3:
- version "8.1.3"
- resolved "https://registry.yarnpkg.com/react-native-keychain/-/react-native-keychain-8.1.3.tgz#3d9ccc5e4884a59521cbf6a2a529a41314497367"
- integrity sha512-Y4PMfY+VpXn7P1HhszJkWJ5ikKxKwg8djoDxyy7mO3jbsiWtWUtb3AGbFkdOuYaEp7lDc/TPiQgWO8yZ+AMzmw==
+react-native-keychain@^8.2.0:
+ version "8.2.0"
+ resolved "https://registry.yarnpkg.com/react-native-keychain/-/react-native-keychain-8.2.0.tgz#aea82df37aacbb04f8b567a8e0e6d7292025610a"
+ integrity sha512-SkRtd9McIl1Ss2XSWNLorG+KMEbgeVqX+gV+t3u1EAAqT8q2/OpRmRbxpneT2vnb/dMhiU7g6K/pf3nxLUXRvA==
react-native-kill-packager@^1.0.0:
version "1.0.0"