Skip to content

Commit

Permalink
fix: upgrade react-native-* libs
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Nov 6, 2023
1 parent a69fcda commit 47f0b1e
Show file tree
Hide file tree
Showing 5 changed files with 133 additions and 141 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cache: 'yarn'

- name: Install Node.js dependencies
run: yarn install
run: yarn install || yarn install

- name: Type check
run: yarn tsc:check
69 changes: 30 additions & 39 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -339,17 +339,15 @@ PODS:
- React-Core
- react-native-blur (4.3.2):
- React-Core
- react-native-document-picker (8.2.0):
- React-Core
- react-native-flipper (0.212.0):
- React-Core
- react-native-image-picker (5.3.1):
- react-native-image-picker (7.0.2):
- React-Core
- react-native-keep-awake (1.2.0):
- react-native-keep-awake (1.2.2):
- React-Core
- react-native-ldk (0.0.120):
- React
- react-native-mmkv (2.8.0):
- react-native-mmkv (2.10.2):
- MMKV (>= 1.2.13)
- React-Core
- react-native-netinfo (10.0.0):
Expand All @@ -358,12 +356,8 @@ PODS:
- React-Core
- react-native-restart (0.0.27):
- React-Core
- react-native-safe-area-context (4.5.1):
- RCT-Folly
- RCTRequired
- RCTTypeSafety
- react-native-safe-area-context (4.7.4):
- React-Core
- ReactCommon/turbomodule/core
- react-native-skia (0.1.182):
- React
- React-callinvoker
Expand Down Expand Up @@ -461,19 +455,20 @@ PODS:
- React-Core
- RNCClipboard (1.12.1):
- React-Core
- RNDeviceInfo (10.6.0):
- RNDeviceInfo (10.11.0):
- React-Core
- RNExitApp (2.0.0):
- React-Core
- RNExitApp (1.1.0):
- React
- RNFS (2.20.0):
- React-Core
- RNGestureHandler (2.9.0):
- RNGestureHandler (2.13.4):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- RNKeychain (8.1.1):
- RNKeychain (8.1.2):
- React-Core
- RNLocalize (3.0.2):
- React-Core
- RNPermissions (3.9.3):
- RNPermissions (3.10.1):
- React-Core
- RNQrGenerator (1.3.1):
- React
Expand All @@ -482,7 +477,7 @@ PODS:
- React
- RNRate (1.2.12):
- React-Core
- RNReactNativeHapticFeedback (1.14.0):
- RNReactNativeHapticFeedback (2.2.0):
- React-Core
- RNReanimated (3.5.4):
- DoubleConversion
Expand Down Expand Up @@ -516,15 +511,15 @@ PODS:
- RNScreens (3.27.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- RNShare (8.2.2):
- RNShare (9.4.1):
- React-Core
- RNSVG (12.5.1):
- RNSVG (13.14.0):
- React-Core
- RNZipArchive (6.0.9):
- RNZipArchive (6.1.0):
- React-Core
- RNZipArchive/Core (= 6.0.9)
- RNZipArchive/Core (= 6.1.0)
- SSZipArchive (~> 2.2)
- RNZipArchive/Core (6.0.9):
- RNZipArchive/Core (6.1.0):
- React-Core
- SSZipArchive (~> 2.2)
- SocketRocket (0.7.0)
Expand Down Expand Up @@ -586,7 +581,6 @@ DEPENDENCIES:
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
- react-native-biometrics (from `../node_modules/react-native-biometrics`)
- "react-native-blur (from `../node_modules/@react-native-community/blur`)"
- react-native-document-picker (from `../node_modules/react-native-document-picker`)
- react-native-flipper (from `../node_modules/react-native-flipper`)
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- "react-native-keep-awake (from `../node_modules/@sayem314/react-native-keep-awake`)"
Expand Down Expand Up @@ -704,8 +698,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-biometrics"
react-native-blur:
:path: "../node_modules/@react-native-community/blur"
react-native-document-picker:
:path: "../node_modules/react-native-document-picker"
react-native-flipper:
:path: "../node_modules/react-native-flipper"
react-native-image-picker:
Expand Down Expand Up @@ -838,16 +830,15 @@ SPEC CHECKSUMS:
React-logger: 3f8ebad1be1bf3299d1ab6d7f971802d7395c7ef
react-native-biometrics: 352e5a794bfffc46a0c86725ea7dc62deb085bdc
react-native-blur: cfdad7b3c01d725ab62a8a729f42ea463998afa2
react-native-document-picker: 495c444c0c773c6e83a5d91165890ecb1c0a399a
react-native-flipper: 9c1957af24b76493ba74f46d000a5c1d485e7731
react-native-image-picker: ec9b713e248760bfa0f879f0715391de4651a7cb
react-native-keep-awake: caee3ff89eaa21dfe29010f0d143566874a04441
react-native-image-picker: 2e2e82aba9b6a91a7c78f7d9afde341a2659c7b8
react-native-keep-awake: ad1d67f617756b139536977a0bf06b27cec0714a
react-native-ldk: fc83520c891e58888c8f975a02ed394a4c4e1c36
react-native-mmkv: 7da5e18e55c04a9af9a7e0ab9792a1e8d33765a1
react-native-mmkv: 9ae7ca3977e8ef48dbf7f066974eb844c20b5fd7
react-native-netinfo: b16b9df4de3ae252984ca7a18097a3d30d27ba21
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
react-native-restart: 7595693413fe3ca15893702f2c8306c62a708162
react-native-safe-area-context: f5549f36508b1b7497434baa0cd97d7e470920d4
react-native-safe-area-context: 2cd91d532de12acdb0a9cbc8d43ac72a8e4c897c
react-native-skia: 588e058a8fe35b8da0b3c7996aa7fe0ee088035b
react-native-tcp-socket: c1b7297619616b4c9caae6889bcb0aba78086989
React-perflogger: 2d505bbe298e3b7bacdd9e542b15535be07220f6
Expand All @@ -866,22 +857,22 @@ SPEC CHECKSUMS:
ReactNativeCameraKit: 32e04877e57e0eeab26e45817e3fd532e7d302fb
RNCAsyncStorage: 3a8f7145d17cdd9f88e7b77666c94a09e4f759c8
RNCClipboard: d77213bfa269013bf4b857b7a9ca37ee062d8ef1
RNDeviceInfo: 475a4c447168d0ad4c807e48ef5e0963a0f4eb1b
RNExitApp: c4e052df2568b43bec8a37c7cd61194d4cfee2c3
RNDeviceInfo: bf8a32acbcb875f568217285d1793b0e8588c974
RNExitApp: 00036cabe7bacbb413d276d5520bf74ba39afa6a
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNGestureHandler: 071d7a9ad81e8b83fe7663b303d132406a7d8f39
RNKeychain: ff836453cba46938e0e9e4c22e43d43fa2c90333
RNGestureHandler: 6e46dde1f87e5f018a54fe5d40cd0e0b942b49ee
RNKeychain: a65256b6ca6ba6976132cc4124b238a5b13b3d9c
RNLocalize: dbea38dcb344bf80ff18a1757b1becf11f70cae4
RNPermissions: a94622f6ea140de2e635832c8c15330a9c07b8a7
RNPermissions: 2c0eec471f4de66d04d226c339898d10a6e123c4
RNQrGenerator: 90461ba3ca88c1d38ef73da50fade35d9648215d
RNQuickAction: 6d404a869dc872cde841ad3147416a670d13fa93
RNRate: ef3bcff84f39bb1d1e41c5593d3eea4aab2bd73a
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
RNReactNativeHapticFeedback: ec56a5f81c3941206fd85625fa669ffc7b4545f9
RNReanimated: be07c7ae209074d0e8a84cf38b7909457ac59a32
RNScreens: 3c2d122f5e08c192e254c510b212306da97d2581
RNShare: d82e10f6b7677f4b0048c23709bd04098d5aee6c
RNSVG: d7d7bc8229af3842c9cfc3a723c815a52cdd1105
RNZipArchive: 68a0c6db4b1c103f846f1559622050df254a3ade
RNShare: 32e97adc8d8c97d4a26bcdd3c45516882184f8b6
RNSVG: d00c8f91c3cbf6d476451313a18f04d220d4f396
RNZipArchive: ef9451b849c45a29509bf44e65b788829ab07801
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
TouchID: ba4c656d849cceabc2e4eef722dea5e55959ecf4
Expand Down
39 changes: 19 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@react-navigation/native-stack": "6.9.16",
"@react-navigation/stack": "6.3.20",
"@reduxjs/toolkit": "^1.9.3",
"@sayem314/react-native-keep-awake": "^1.2.0",
"@sayem314/react-native-keep-awake": "1.2.2",
"@shopify/react-native-skia": "0.1.182",
"@synonymdev/blocktank-client": "0.0.50",
"@synonymdev/blocktank-lsp-http-client": "0.6.0",
Expand Down Expand Up @@ -89,7 +89,7 @@
"intl-messageformat": "10.5.4",
"jdenticon": "^3.2.0",
"lodash": "^4.17.21",
"lottie-react-native": "^5.1.5",
"lottie-react-native": "5.1.5",
"mime": "3.0.0",
"nodejs-mobile-react-native": "github:Shopify/nodejs-mobile-react-native#a74b13a8f92b39805611c3458e453e57e5abe98f",
"process": "^0.11.10",
Expand All @@ -101,23 +101,22 @@
"react-native-biometrics": "3.0.1",
"react-native-camera-kit": "14.0.0-beta2",
"react-native-crypto": "^2.2.0",
"react-native-device-info": "^10.4.0",
"react-native-document-picker": "^8.1.3",
"react-native-dotenv": "^3.4.8",
"react-native-device-info": "10.11.0",
"react-native-dotenv": "3.4.9",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-exit-app": "^1.1.0",
"react-native-exit-app": "2.0.0",
"react-native-fetch-api": "^3.0.0",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "2.9.0",
"react-native-haptic-feedback": "^1.14.0",
"react-native-image-picker": "^5.1.0",
"react-native-gesture-handler": "2.13.4",
"react-native-haptic-feedback": "2.2.0",
"react-native-image-picker": "7.0.2",
"react-native-keyboard-accessory": "^0.1.16",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-keychain": "^8.1.1",
"react-native-keychain": "8.1.2",
"react-native-localize": "3.0.2",
"react-native-mmkv": "^2.8.0",
"react-native-mmkv": "2.10.2",
"react-native-modal": "^13.0.1",
"react-native-permissions": "^3.9.3",
"react-native-permissions": "3.10.1",
"react-native-polyfill-globals": "^3.1.0",
"react-native-qrcode-svg": "^6.2.0",
"react-native-quick-actions": "^0.3.13",
Expand All @@ -126,16 +125,16 @@
"react-native-reanimated": "3.5.4",
"react-native-reanimated-carousel": "3.5.1",
"react-native-restart": "^0.0.27",
"react-native-safe-area-context": "^4.5.0",
"react-native-safe-area-context": "4.7.4",
"react-native-screens": "3.27.0",
"react-native-share": "^8.2.1",
"react-native-share": "9.4.1",
"react-native-skia-stub": "github:limpbrains/react-native-skia-stub#c2cafde63c3893bf0ae762d559075328d514d6d7",
"react-native-svg": "^12.3.0",
"react-native-svg": "13.14.0",
"react-native-tcp-socket": "5.6.2",
"react-native-toast-message": "^2.1.6",
"react-native-toast-message": "2.1.7",
"react-native-touch-id": "^4.4.1",
"react-native-url-polyfill": "^2.0.0",
"react-native-zip-archive": "^6.0.9",
"react-native-zip-archive": "6.1.0",
"react-redux": "8.1.3",
"readable-stream": "^4.4.2",
"redux": "^4.2.1",
Expand All @@ -147,7 +146,7 @@
"rn-qr-generator": "^1.3.1",
"secp256k1": "^4.0.3",
"stream-browserify": "^3.0.0",
"styled-components": "^5.3.11",
"styled-components": "5.3.11",
"text-encoding": "^0.7.0",
"url-parse": "^1.5.10",
"uuid": "^8.3.2",
Expand Down Expand Up @@ -175,8 +174,8 @@
"@types/react-native-dotenv": "^0.2.0",
"@types/react-redux": "^7.1.28",
"@types/redux-logger": "^3.0.11",
"@types/styled-components": "^5.1.26",
"@types/styled-components-react-native": "^5.2.1",
"@types/styled-components": "^5.1.29",
"@types/styled-components-react-native": "^5.2.4",
"@types/text-encoding": "^0.0.36",
"@types/url-parse": "^1.4.8",
"@types/uuid": "^9.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/screens/Recovery/Lightning.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React, { ReactElement, useEffect, useState } from 'react';
import { ActivityIndicator, StyleSheet, View } from 'react-native';
import { useTranslation } from 'react-i18next';
import RNExitApp from 'react-native-exit-app';
import { useSelector } from 'react-redux';

import lm, { ldk, TLdkData } from '@synonymdev/react-native-ldk';
import { View as ThemedView } from '../../styles/components';
Expand All @@ -23,9 +25,7 @@ import { EAvailableNetworks } from '../../utils/networks';
import Dialog from '../../components/Dialog';
import { startWalletServices } from '../../utils/startup';
import { showToast } from '../../utils/notifications';
import RNExitApp from 'react-native-exit-app';
import { selectedNetworkSelector } from '../../store/reselect/wallet';
import { useSelector } from 'react-redux';
import { bytesToString } from '../../utils/converters';
import { setLdkStoragePath } from '../../utils/lightning';
import { TAccountBackup } from '../../store/types/backup';
Expand Down
Loading

0 comments on commit 47f0b1e

Please sign in to comment.