wallet-stack 1.0.0-alpha.127 → 1.0.0-alpha.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/locales/de/translation.json +2 -1
- package/locales/en-US/translation.json +2 -1
- package/locales/es-419/translation.json +2 -1
- package/locales/fr-FR/translation.json +2 -1
- package/locales/it-IT/translation.json +2 -1
- package/locales/pl-PL/translation.json +2 -1
- package/locales/pt-BR/translation.json +2 -1
- package/locales/ru-RU/translation.json +2 -1
- package/locales/th-TH/translation.json +2 -1
- package/locales/tr-TR/translation.json +2 -1
- package/locales/uk-UA/translation.json +2 -1
- package/locales/vi-VN/translation.json +2 -1
- package/locales/zh-CN/translation.json +2 -1
- package/metro-config.js +1 -1
- package/package.json +18 -13
- package/src/account/LicenseDisclaimer.txt +4 -4
- package/src/account/ProfileSubmenu.test.tsx +1 -1
- package/src/account/SecuritySubmenu.test.tsx +2 -2
- package/src/account/saga.test.ts +1 -1
- package/src/app/actions.ts +1 -1
- package/src/app/reducers.ts +1 -1
- package/src/app/saga.test.ts +1 -1
- package/src/app/saga.ts +1 -1
- package/src/backup/BackupPhrase.test.tsx +1 -1
- package/src/components/WebView.tsx +2 -2
- package/src/config.ts +1 -1
- package/src/fiatExchanges/BidaliScreen.test.tsx +1 -1
- package/src/fiatExchanges/BidaliScreen.tsx +1 -1
- package/src/i18n/i18n.test.ts +1 -1
- package/src/i18n/otaTranslations.test.ts +1 -1
- package/src/i18n/otaTranslations.ts +1 -1
- package/src/onboarding/registration/EnableBiometry.test.tsx +1 -1
- package/src/onboarding/registration/EnableBiometry.tsx +1 -1
- package/src/onboarding/steps.test.ts +1 -1
- package/src/onboarding/steps.ts +1 -1
- package/src/pincode/PincodeLock.test.tsx +1 -1
- package/src/pincode/PincodeSet.tsx +1 -1
- package/src/pincode/authentication.test.ts +1 -1
- package/src/pincode/authentication.ts +1 -1
- package/src/qrcode/utils.ts +1 -1
- package/src/storage/keychain.tsx +1 -1
- package/src/utils/Logger.test.ts +1 -1
- package/src/utils/Logger.ts +1 -1
- package/src/utils/accountChecker.test.ts +1 -1
- package/src/utils/aes.ts +1 -1
- package/src/utils/random.ts +1 -1
- package/src/verify/VerificationCodeInputScreen.test.tsx +1 -1
- package/src/verify/VerificationStartScreen.test.tsx +1 -1
- package/src/verify/hooks.test.tsx +1 -1
- package/src/webview/WebViewScreen.tsx +1 -1
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Lade deine Freunde ein und erhalte bis zu 12 cUSD",
|
|
711
711
|
"body": "Sobald sie ihre Nummer verknüpfen und Guthaben zu {{appName}} hinzufügen, erhaltet ihr beide 0,50 cUSD."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Per SMS einladen",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Per SMS einladen",
|
|
715
716
|
"shareMessage": "Hey! Melde dich bei {{appName}} wallet an. Ich nutze sie, um meine Ersparnisse in USD und Krypto zu vermehren, und du kannst sie in Sekundenschnelle mit nur einer Telefonnummer einrichten: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Invite friends and get up to 12 cUSD",
|
|
711
711
|
"body": "Once they connect their number and add funds to {{appName}}, you’ll both receive 0.50 cUSD."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Invite with SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Invite with SMS",
|
|
715
716
|
"shareMessage": "Hey! Sign up to {{appName}} wallet. I use it to grow my savings in USD and crypto, and you can set it up in seconds with just a phone number: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Invita a amigos y consigue hasta 12 cUSD",
|
|
711
711
|
"body": "Una vez que conecten su número y agreguen fondos a {{appName}}, ambos recibirán 0,50 cUSD."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Invitar por SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Invitar por SMS",
|
|
715
716
|
"shareMessage": "Hola, regístrate en la cartera {{appName}} . Yo la utilizo para hacer crecer mis ahorros en USD y criptomonedas, y tú puedes configurarla en segundos con sólo un número de teléfono: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Invitez des amis et obtenez jusqu'à 12 cUSD",
|
|
711
711
|
"body": "Une fois que votre contact aura relié son numéro et ajouté des fonds à {{appName}}, vous recevrez tous les deux 0,50 cUSD."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Inviter par SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Inviter par SMS",
|
|
715
716
|
"shareMessage": "Hé ! Inscris-toi à {{appName}} wallet. Je l'utilise pour faire fructifier mes économies en USD et en crypto, et tu peux le configurer en quelques secondes avec un simple numéro de téléphone : {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Invita gli amici e guadagni fino a 12 cUSD",
|
|
711
711
|
"body": "Dopo che avranno collegato il loro numero e avranno depositato dei fondi su {{appName}}, riceverete entrambi 0,50 cUSD."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Invita con SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Invita con SMS",
|
|
715
716
|
"shareMessage": "Ehi! Iscriviti a {{appName}} wallet. Io lo uso per far crescere i miei risparmi in USD e criptovalute, e tu puoi configurarlo in pochi secondi con un semplice numero di telefono: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Zaproś znajomych i zdobądź do 12 cUSD",
|
|
711
711
|
"body": "Gdy połączą swój numer i dodadzą środki do {{appName}}, otrzymacie po 0,50 cUSD."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Zaproś przez SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Zaproś przez SMS",
|
|
715
716
|
"shareMessage": "Zarejestruj się w portfelu {{appName}} . Używam go do powiększania moich oszczędności w USD i kryptowalutach, a możesz go skonfigurować w kilka sekund, podając tylko numer telefonu: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Indique um amigo e ganhe USDT",
|
|
711
711
|
"body": "Depois que a pessoa conectar seu número à {{appName}}, vocês dois receberão 1 USDT."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Convidar com SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Convidar com SMS",
|
|
715
716
|
"shareMessage": "Ei, inscreva-se na carteira {{appName}} . Eu a uso para aumentar minhas economias em dólares e criptomoedas, e você pode configurá-la em segundos com apenas um número de telefone: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Пригласите друзей и получите до 12 cUSD",
|
|
711
711
|
"body": "Как только они подключат свои номера и внесут средства в {{appName}}, вы получите по 0,50 cUSD."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Пригласить с помощью SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Пригласить с помощью SMS",
|
|
715
716
|
"shareMessage": "Привет! Зарегистрируйся на кошельке {{appName}} . Я использую его для приумножения своих сбережений в долларах и криптовалютах, а ты можешь настроить его за считанные секунды, указав лишь номер телефона: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "เชิญเพื่อนและรับสูงสุด 12 cUSD",
|
|
711
711
|
"body": "เมื่อเพื่อนเชื่อมต่อเบอร์และเพิ่มเงินทุนลงใน {{appName}} คุณทั้งคู่จะได้รับ 0.50 cUSD"
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "เชิญด้วย SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "เชิญด้วย SMS",
|
|
715
716
|
"shareMessage": "Hey! Sign up to {{appName}} wallet. I use it to grow my savings in USD and crypto, and you can set it up in seconds with just a phone number: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Arkadaşlarınızı davet edin ve 12 cUSD'ye kadar kazanın",
|
|
711
711
|
"body": "Numaralarını bağladıklarında ve {{appName}} uygulamasına fon eklediklerinde her ikiniz de 0,50 cUSD alacaksınız."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "SMS ile davet et",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "SMS ile davet et",
|
|
715
716
|
"shareMessage": "Hey! {{appName}} cüzdanına kaydolun. Birikimlerimi USD ve kripto olarak artırmak için kullanıyorum ve siz de sadece bir telefon numarasıyla saniyeler içinde kurabilirsiniz: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Запрошуйте друзів і отримуйте до 12 cUSD",
|
|
711
711
|
"body": "Щойно вони під’єднають свій номер і покладуть кошти у {{appName}}, кожен із вас отримає по 0,50 cUSD."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Запросити з SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Запросити з SMS",
|
|
715
716
|
"shareMessage": "Привіт! Підписуйся на гаманець {{appName}} . Я використовую його для примноження своїх заощаджень у доларах та криптовалюті, а ви можете створити його за лічені секунди, маючи лише номер телефону: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "Giới thiệu bạn bè và nhận USDT",
|
|
711
711
|
"body": "Khi họ kết nối số điện thoại, cả hai bạn sẽ nhận được 1 USDT mỗi người."
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "Mời bằng SMS",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "Mời bằng SMS",
|
|
715
716
|
"shareMessage": "Hey! Sign up to {{appName}} wallet. I use it to grow my savings in USD and crypto, and you can set it up in seconds with just a phone number: {{shareUrl}}."
|
|
716
717
|
},
|
|
@@ -710,7 +710,8 @@
|
|
|
710
710
|
"title": "邀请朋友,最多可获得 12 cUSD",
|
|
711
711
|
"body": "他们连接了自己的号码并将资金添加到 {{appName}} 后,你们都将收到 0.50 cUSD。"
|
|
712
712
|
},
|
|
713
|
-
"inviteWithSMS":
|
|
713
|
+
"inviteWithSMS": "通过短信邀请",
|
|
714
|
+
"inviteWithSmsMessage": {
|
|
714
715
|
"title": "通过短信邀请",
|
|
715
716
|
"shareMessage": "嘿!注册 {{appName}} 钱包。我用它来增加我的美元和加密货币储蓄,你只需一个电话号码就可以在几秒钟内设置好: {{shareUrl}}。"
|
|
716
717
|
},
|
package/metro-config.js
CHANGED
|
@@ -18,7 +18,7 @@ function getDefaultConfig(...args) {
|
|
|
18
18
|
// This is the crypto module we want to use moving forward (unless something better comes up).
|
|
19
19
|
// It is implemented natively using OpenSSL.
|
|
20
20
|
crypto: require.resolve('react-native-quick-crypto'),
|
|
21
|
-
fs: require.resolve('@
|
|
21
|
+
fs: require.resolve('@valora/react-native-fs'),
|
|
22
22
|
stream: require.resolve('readable-stream'),
|
|
23
23
|
buffer: require.resolve('@craftzdog/react-native-buffer'),
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wallet-stack",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.128",
|
|
4
4
|
"author": "Valora Inc",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -60,11 +60,7 @@
|
|
|
60
60
|
"test:update-root-state-schema": "./scripts/update_root_state_schema.sh"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@divvi/cookies": "^6.2.3",
|
|
64
|
-
"@divvi/react-native-fs": "^2.20.1",
|
|
65
|
-
"@divvi/react-native-keychain": "^10.0.0-divvi.1",
|
|
66
63
|
"@google-cloud/recaptcha-enterprise-react-native": "^18.8.0",
|
|
67
|
-
"@interaxyz/react-native-webview": "^13.13.4",
|
|
68
64
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
69
65
|
"@react-native-clipboard/clipboard": "^1.16.3",
|
|
70
66
|
"@react-native-community/netinfo": "^11.4.1",
|
|
@@ -88,7 +84,11 @@
|
|
|
88
84
|
"@segment/sovran-react-native": "^1.1.3",
|
|
89
85
|
"@sentry/react-native": "^6.20.0",
|
|
90
86
|
"@statsig/react-native-bindings": "^3.17.1",
|
|
91
|
-
"@
|
|
87
|
+
"@valora/react-native-cookies": "^6.2.3",
|
|
88
|
+
"@valora/react-native-fs": "^2.20.1",
|
|
89
|
+
"@valora/react-native-keychain": "^10.0.0-valora.1",
|
|
90
|
+
"@valora/react-native-webview": "^13.13.4",
|
|
91
|
+
"@walletconnect/react-native-compat": "2.21.9",
|
|
92
92
|
"expo-camera": "~16.1.11",
|
|
93
93
|
"expo-splash-screen": "~0.30.10",
|
|
94
94
|
"lottie-react-native": "^5.1.6",
|
|
@@ -107,9 +107,11 @@
|
|
|
107
107
|
"react-native-launch-arguments": "^4.0.2",
|
|
108
108
|
"react-native-linear-gradient": "^2.8.3",
|
|
109
109
|
"react-native-localize": "^3.3.0",
|
|
110
|
+
"react-native-nitro-modules": ">=0.29.1",
|
|
110
111
|
"react-native-pager-view": "^6.7.1",
|
|
111
112
|
"react-native-permissions": "^4.1.5",
|
|
112
|
-
"react-native-quick-
|
|
113
|
+
"react-native-quick-base64": ">=2.1.0",
|
|
114
|
+
"react-native-quick-crypto": "^1.0.16",
|
|
113
115
|
"react-native-reanimated": "~3.17.4",
|
|
114
116
|
"react-native-restart": "^0.0.27",
|
|
115
117
|
"react-native-safe-area-context": "^5.6.1",
|
|
@@ -123,8 +125,8 @@
|
|
|
123
125
|
"dependencies": {
|
|
124
126
|
"@badrap/result": "~0.2.13",
|
|
125
127
|
"@crowdin/ota-client": "^2.0.1",
|
|
126
|
-
"@fiatconnect/fiatconnect-sdk": "^0.5.
|
|
127
|
-
"@fiatconnect/fiatconnect-types": "^13.3.
|
|
128
|
+
"@fiatconnect/fiatconnect-sdk": "^0.5.163",
|
|
129
|
+
"@fiatconnect/fiatconnect-types": "^13.3.50",
|
|
128
130
|
"@gorhom/bottom-sheet": "^5.1.1",
|
|
129
131
|
"@interaxyz/react-navigation-bottom-sheet": "^0.3.2",
|
|
130
132
|
"@json-rpc-tools/utils": "^1.7.6",
|
|
@@ -142,7 +144,7 @@
|
|
|
142
144
|
"@types/lodash": "^4.17.15",
|
|
143
145
|
"@types/seedrandom": "^3.0.8",
|
|
144
146
|
"@types/uuid": "^10.0.0",
|
|
145
|
-
"@walletconnect/utils": "
|
|
147
|
+
"@walletconnect/utils": "2.21.9",
|
|
146
148
|
"bignumber.js": "^9.1.2",
|
|
147
149
|
"country-data": "^0.0.31",
|
|
148
150
|
"date-fns": "^4.1.0",
|
|
@@ -160,16 +162,19 @@
|
|
|
160
162
|
"io-ts": "2.2.22",
|
|
161
163
|
"is-ip": "^3.1.0",
|
|
162
164
|
"jwt-decode": "^4.0.0",
|
|
163
|
-
"lodash": "^4.17.
|
|
165
|
+
"lodash": "^4.17.23",
|
|
164
166
|
"mixpanel-react-native": "^3.2.1",
|
|
165
167
|
"permissionless": "^0.2.57",
|
|
166
168
|
"react-async-hook": "^4.0.0",
|
|
167
169
|
"react-i18next": "^15.4.1",
|
|
168
170
|
"react-native-android-open-settings": "^1.3.0",
|
|
169
171
|
"react-native-modal": "^14.0.0-rc.1",
|
|
172
|
+
"react-native-nitro-modules": ">=0.29.1",
|
|
170
173
|
"react-native-picker-select": "^9.3.1",
|
|
171
174
|
"react-native-platform-touchable": "^1.1.1",
|
|
172
175
|
"react-native-qrcode-svg": "^6.3.12",
|
|
176
|
+
"react-native-quick-base64": ">=2.1.0",
|
|
177
|
+
"react-native-quick-crypto": "^1.0.16",
|
|
173
178
|
"react-native-skeleton-placeholder": "^5.2.4",
|
|
174
179
|
"react-native-url-polyfill": "^2.0.0",
|
|
175
180
|
"react-redux": "^9.2.0",
|
|
@@ -198,8 +203,8 @@
|
|
|
198
203
|
"@types/react-native-video": "^5.0.15",
|
|
199
204
|
"@types/react-test-renderer": "^19.0.0",
|
|
200
205
|
"@types/redux-mock-store": "^1.0.6",
|
|
201
|
-
"@walletconnect/types": "
|
|
202
|
-
"ajv": "^8.
|
|
206
|
+
"@walletconnect/types": "2.21.9",
|
|
207
|
+
"ajv": "^8.18.0",
|
|
203
208
|
"babel-jest": "^29.2.1",
|
|
204
209
|
"jest": "^29.6.2",
|
|
205
210
|
"jest-fetch-mock": "^3.0.3",
|
|
@@ -390,7 +390,7 @@ SOFTWARE.
|
|
|
390
390
|
|
|
391
391
|
-----
|
|
392
392
|
|
|
393
|
-
The following software may be included in this product: @
|
|
393
|
+
The following software may be included in this product: @valora/react-native-cookies. A copy of the source code may be downloaded from git+https://github.com/valora-xyz/react-native-cookies.git. This software contains the following license and notice below:
|
|
394
394
|
|
|
395
395
|
MIT License
|
|
396
396
|
|
|
@@ -416,7 +416,7 @@ SOFTWARE.
|
|
|
416
416
|
|
|
417
417
|
-----
|
|
418
418
|
|
|
419
|
-
The following software may be included in this product: @
|
|
419
|
+
The following software may be included in this product: @valora/react-native-fs, react-native-fs. A copy of the source code may be downloaded from git+https@https://github.com/valora-xyz/react-native-fs.git (@valora/react-native-fs), git@github.com:itinance/react-native-fs.git (react-native-fs). This software contains the following license and notice below:
|
|
420
420
|
|
|
421
421
|
The MIT License (MIT)
|
|
422
422
|
|
|
@@ -442,7 +442,7 @@ SOFTWARE.
|
|
|
442
442
|
|
|
443
443
|
-----
|
|
444
444
|
|
|
445
|
-
The following software may be included in this product: @
|
|
445
|
+
The following software may be included in this product: @valora/react-native-keychain, react-native-animatable. A copy of the source code may be downloaded from git+https://github.com/valora-xyz/react-native-keychain.git (@valora/react-native-keychain), git://github.com/oblador/react-native-animatable.git (react-native-animatable). This software contains the following license and notice below:
|
|
446
446
|
|
|
447
447
|
The MIT License (MIT)
|
|
448
448
|
|
|
@@ -631,7 +631,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
|
631
631
|
|
|
632
632
|
-----
|
|
633
633
|
|
|
634
|
-
The following software may be included in this product: @
|
|
634
|
+
The following software may be included in this product: @valora/react-native-webview, @react-native-community/netinfo, @react-native-masked-view/masked-view, @react-native-picker/picker. A copy of the source code may be downloaded from git+https://github.com/valora-xyz/react-native-webview.git (@valora/react-native-webview), https://github.com/react-native-netinfo/react-native-netinfo.git (@react-native-community/netinfo), git+https://github.com/react-native-masked-view/masked-view.git (@react-native-masked-view/masked-view), https://github.com/react-native-picker/picker.git (@react-native-picker/picker). This software contains the following license and notice below:
|
|
635
635
|
|
|
636
636
|
MIT License
|
|
637
637
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as Keychain from '@divvi/react-native-keychain'
|
|
2
1
|
import { act, fireEvent, render, waitFor } from '@testing-library/react-native'
|
|
2
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
3
3
|
import { FetchMock } from 'jest-fetch-mock/types'
|
|
4
4
|
import * as React from 'react'
|
|
5
5
|
import 'react-native'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as Keychain from '@divvi/react-native-keychain'
|
|
2
|
-
import { BIOMETRY_TYPE } from '@divvi/react-native-keychain'
|
|
3
1
|
import { act, fireEvent, render, waitFor } from '@testing-library/react-native'
|
|
2
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
3
|
+
import { BIOMETRY_TYPE } from '@valora/react-native-keychain'
|
|
4
4
|
import { FetchMock } from 'jest-fetch-mock/types'
|
|
5
5
|
import * as React from 'react'
|
|
6
6
|
import 'react-native'
|
package/src/account/saga.test.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Keychain from '@
|
|
1
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
2
2
|
import { FetchMock } from 'jest-fetch-mock/types'
|
|
3
3
|
import { expectSaga } from 'redux-saga-test-plan'
|
|
4
4
|
import * as matchers from 'redux-saga-test-plan/matchers'
|
package/src/app/actions.ts
CHANGED
package/src/app/reducers.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BIOMETRY_TYPE } from '@
|
|
1
|
+
import { BIOMETRY_TYPE } from '@valora/react-native-keychain'
|
|
2
2
|
import { Platform } from 'react-native'
|
|
3
3
|
import { Actions, ActionTypes, AppState } from 'src/app/actions'
|
|
4
4
|
import { DEEP_LINK_URL_SCHEME } from 'src/config'
|
package/src/app/saga.test.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BIOMETRY_TYPE } from '@
|
|
1
|
+
import { BIOMETRY_TYPE } from '@valora/react-native-keychain'
|
|
2
2
|
import * as RNLocalize from 'react-native-localize'
|
|
3
3
|
import { expectSaga } from 'redux-saga-test-plan'
|
|
4
4
|
import * as matchers from 'redux-saga-test-plan/matchers'
|
package/src/app/saga.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as Keychain from '@divvi/react-native-keychain'
|
|
2
1
|
import { fireEvent, render } from '@testing-library/react-native'
|
|
2
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
3
3
|
import * as React from 'react'
|
|
4
4
|
import 'react-native'
|
|
5
5
|
import { Provider } from 'react-redux'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WebView as RNWebView, WebViewProps } from '@
|
|
2
|
-
import { WebViewErrorEvent } from '@
|
|
1
|
+
import { WebView as RNWebView, WebViewProps } from '@valora/react-native-webview'
|
|
2
|
+
import { WebViewErrorEvent } from '@valora/react-native-webview/lib/WebViewTypes'
|
|
3
3
|
import React from 'react'
|
|
4
4
|
import { Platform, StyleSheet } from 'react-native'
|
|
5
5
|
import Logger from 'src/utils/Logger'
|
package/src/config.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CachesDirectoryPath } from '@divvi/react-native-fs'
|
|
2
1
|
import { Network } from '@fiatconnect/fiatconnect-types'
|
|
2
|
+
import { CachesDirectoryPath } from '@valora/react-native-fs'
|
|
3
3
|
import Config from 'react-native-config'
|
|
4
4
|
import { SpendMerchant } from 'src/fiatExchanges/Spend'
|
|
5
5
|
import { LoggerLevel } from 'src/utils/LoggerLevels'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WebView } from '@interaxyz/react-native-webview'
|
|
2
1
|
import { render } from '@testing-library/react-native'
|
|
2
|
+
import { WebView } from '@valora/react-native-webview'
|
|
3
3
|
import * as React from 'react'
|
|
4
4
|
import { Provider } from 'react-redux'
|
|
5
5
|
import { getAppConfig } from 'src/appConfig'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WebViewMessageEvent } from '@interaxyz/react-native-webview'
|
|
2
1
|
import { NativeStackScreenProps } from '@react-navigation/native-stack'
|
|
2
|
+
import { WebViewMessageEvent } from '@valora/react-native-webview'
|
|
3
3
|
import React, { useEffect, useMemo, useRef, useState } from 'react'
|
|
4
4
|
import { ActivityIndicator, StyleSheet } from 'react-native'
|
|
5
5
|
import { SafeAreaView } from 'react-native-safe-area-context'
|
package/src/i18n/i18n.test.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BIOMETRY_TYPE } from '@divvi/react-native-keychain'
|
|
2
1
|
import { act, fireEvent, render } from '@testing-library/react-native'
|
|
2
|
+
import { BIOMETRY_TYPE } from '@valora/react-native-keychain'
|
|
3
3
|
import * as React from 'react'
|
|
4
4
|
import { Provider } from 'react-redux'
|
|
5
5
|
import { setPincodeSuccess } from 'src/account/actions'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as Keychain from '@divvi/react-native-keychain'
|
|
2
1
|
import { useHeaderHeight } from '@react-navigation/elements'
|
|
3
2
|
import { NativeStackScreenProps } from '@react-navigation/native-stack'
|
|
3
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
4
4
|
import React, { useEffect, useLayoutEffect, type JSX } from 'react'
|
|
5
5
|
import { useTranslation } from 'react-i18next'
|
|
6
6
|
import { Image, ScrollView, StyleSheet, Text, View } from 'react-native'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BIOMETRY_TYPE } from '@
|
|
1
|
+
import { BIOMETRY_TYPE } from '@valora/react-native-keychain'
|
|
2
2
|
import { initializeAccount } from 'src/account/actions'
|
|
3
3
|
import { KeylessBackupFlow } from 'src/keylessBackup/types'
|
|
4
4
|
import { navigate, navigateClearingStack, popToScreen } from 'src/navigator/NavigationService'
|
package/src/onboarding/steps.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BIOMETRY_TYPE } from '@divvi/react-native-keychain'
|
|
2
1
|
import { act, fireEvent, render, waitFor } from '@testing-library/react-native'
|
|
2
|
+
import { BIOMETRY_TYPE } from '@valora/react-native-keychain'
|
|
3
3
|
import * as React from 'react'
|
|
4
4
|
import { Provider } from 'react-redux'
|
|
5
5
|
import { PincodeType } from 'src/account/reducer'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This is a reactnavigation SCREEN, which we use to set a PIN.
|
|
3
3
|
*/
|
|
4
|
-
import { BIOMETRY_TYPE } from '@divvi/react-native-keychain'
|
|
5
4
|
import { NativeStackScreenProps } from '@react-navigation/native-stack'
|
|
5
|
+
import { BIOMETRY_TYPE } from '@valora/react-native-keychain'
|
|
6
6
|
import * as React from 'react'
|
|
7
7
|
import { WithTranslation } from 'react-i18next'
|
|
8
8
|
import { StyleSheet } from 'react-native'
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The password is a combination of the two. It is used for unlocking the account in the keychain
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import * as Keychain from '@
|
|
8
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
9
9
|
import crypto from 'crypto'
|
|
10
10
|
import { PincodeType } from 'src/account/reducer'
|
|
11
11
|
import { pincodeTypeSelector } from 'src/account/selectors'
|
package/src/qrcode/utils.ts
CHANGED
package/src/storage/keychain.tsx
CHANGED
package/src/utils/Logger.test.ts
CHANGED
package/src/utils/Logger.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable no-console */
|
|
2
|
-
import * as RNFS from '@divvi/react-native-fs'
|
|
3
2
|
import * as Sentry from '@sentry/react-native'
|
|
4
3
|
import { SeverityLevel } from '@sentry/types'
|
|
4
|
+
import * as RNFS from '@valora/react-native-fs'
|
|
5
5
|
import { format } from 'date-fns'
|
|
6
6
|
import { Platform } from 'react-native'
|
|
7
7
|
import Toast from 'react-native-simple-toast'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as Keychain from '@divvi/react-native-keychain'
|
|
2
1
|
import * as Sentry from '@sentry/react-native'
|
|
2
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
3
3
|
import AppAnalytics from 'src/analytics/AppAnalytics'
|
|
4
4
|
import { resetStateOnInvalidStoredAccount } from 'src/utils/accountChecker'
|
|
5
5
|
import { clearStoredAccounts } from 'src/web3/KeychainAccounts'
|
package/src/utils/aes.ts
CHANGED
package/src/utils/random.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as Keychain from '@divvi/react-native-keychain'
|
|
2
1
|
import { act, fireEvent, render, waitFor, within } from '@testing-library/react-native'
|
|
2
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
3
3
|
import { FetchMock } from 'jest-fetch-mock/types'
|
|
4
4
|
import MockDate from 'mockdate'
|
|
5
5
|
import React from 'react'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as Keychain from '@divvi/react-native-keychain'
|
|
2
1
|
import { fireEvent, render, waitFor, within } from '@testing-library/react-native'
|
|
2
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
3
3
|
import React from 'react'
|
|
4
4
|
import { Provider } from 'react-redux'
|
|
5
5
|
import { navigate } from 'src/navigator/NavigationService'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as Keychain from '@divvi/react-native-keychain'
|
|
2
1
|
import { act, fireEvent, render } from '@testing-library/react-native'
|
|
2
|
+
import * as Keychain from '@valora/react-native-keychain'
|
|
3
3
|
import { FetchMock } from 'jest-fetch-mock/types'
|
|
4
4
|
import React from 'react'
|
|
5
5
|
import { Text } from 'react-native'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ShouldStartLoadRequest } from '@interaxyz/react-native-webview/lib/WebViewTypes'
|
|
2
1
|
import { useHeaderHeight } from '@react-navigation/elements'
|
|
3
2
|
import { NativeStackScreenProps } from '@react-navigation/native-stack'
|
|
3
|
+
import { ShouldStartLoadRequest } from '@valora/react-native-webview/lib/WebViewTypes'
|
|
4
4
|
import React, { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react'
|
|
5
5
|
import { useTranslation } from 'react-i18next'
|
|
6
6
|
import {
|