Skip to content

Commit 3a553a9

Browse files
committed
feat: new methods in swift
1 parent a91a795 commit 3a553a9

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

wallets/rn_cli_wallet/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ PODS:
940940
- React-Mapbuffer (0.74.3):
941941
- glog
942942
- React-debug
943-
- react-native-compat (2.17.2-canary-ca-5):
943+
- react-native-compat (2.17.2-canary-ca-9):
944944
- DoubleConversion
945945
- glog
946946
- hermes-engine
@@ -961,7 +961,7 @@ PODS:
961961
- ReactCommon/turbomodule/bridging
962962
- ReactCommon/turbomodule/core
963963
- Yoga
964-
- YttriumWrapper (= 0.4.6)
964+
- YttriumWrapper (= 0.4.10)
965965
- react-native-config (1.5.2):
966966
- react-native-config/App (= 1.5.2)
967967
- react-native-config/App (1.5.2):
@@ -1332,7 +1332,7 @@ PODS:
13321332
- VisionCamera/React (4.5.0):
13331333
- React-Core
13341334
- Yoga (0.0.0)
1335-
- YttriumWrapper (0.4.6)
1335+
- YttriumWrapper (0.4.10)
13361336

13371337
DEPENDENCIES:
13381338
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
@@ -1601,7 +1601,7 @@ SPEC CHECKSUMS:
16011601
React-jsitracing: 6b3c8c98313642140530f93c46f5a6ca4530b446
16021602
React-logger: fa92ba4d3a5d39ac450f59be2a3cec7b099f0304
16031603
React-Mapbuffer: 9f68550e7c6839d01411ac8896aea5c868eff63a
1604-
react-native-compat: 6faa4d6dc830f46f8db20c8edee159c1981618fc
1604+
react-native-compat: c0c78ff8936889e53e11aad8312bf0ee02acae36
16051605
react-native-config: d7d8a0c65f7fa523197879f6b777997abbfc987e
16061606
react-native-get-random-values: 21325b2244dfa6b58878f51f9aa42821e7ba3d06
16071607
react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc
@@ -1644,8 +1644,8 @@ SPEC CHECKSUMS:
16441644
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
16451645
VisionCamera: 412fec057156eb5fe84a44351e8ed71a072c1228
16461646
Yoga: 88480008ccacea6301ff7bf58726e27a72931c8d
1647-
YttriumWrapper: 7624df90692e87a3f7cdb6e1b6d9c069c7cb16c0
1647+
YttriumWrapper: 0b1c408cb83a8527ed5ccd8f7b6104327d82e2d2
16481648

16491649
PODFILE CHECKSUM: c71b4a1de1dcccdf71d8f7f0d4d9b3c37106456c
16501650

1651-
COCOAPODS: 1.15.2
1651+
COCOAPODS: 1.16.2

wallets/rn_cli_wallet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@reown/walletkit": "1.1.1-canary-ca-10",
3737
"@sentry/react-native": "5.32.0",
3838
"@walletconnect/core": "2.17.2",
39-
"@walletconnect/react-native-compat": "2.17.2-canary-ca-7",
39+
"@walletconnect/react-native-compat": "2.17.2-canary-ca-9",
4040
"dayjs": "1.11.11",
4141
"ethers": "5.7.2",
4242
"patch-package": "8.0.0",

wallets/rn_cli_wallet/src/screens/Settings/index.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ export default function Settings({navigation}: Props) {
3939
console.log('Add new account', newMnemonic);
4040
replaceMnemonic(newMnemonic)
4141
.then(() => {
42-
Alert.alert('Success', 'Mnemonic replaced, reloading the app...');
43-
DevSettings.reload();
42+
Alert.alert('Success', 'Please restart the app!');
4443
})
4544
.catch(e => {
4645
Alert.alert('Error', e.message);
@@ -68,10 +67,18 @@ export default function Settings({navigation}: Props) {
6867
/>
6968

7069
<TextInput
71-
style={{borderColor: 'black'}}
70+
style={{
71+
borderColor: 'gray',
72+
marginVertical: 10,
73+
borderWidth: 1,
74+
lineHeight: 40,
75+
borderRadius: 10,
76+
padding: 10,
77+
}}
7278
placeholder="Enter mnemonic or private key"
7379
onChangeText={value => setNewMnemonic(value)}
7480
/>
81+
7582
<Card title="Add new account" onPress={onAddNewAccount} />
7683
</View>
7784
<Text style={[styles.subtitle, {color: Theme['fg-100']}]}>Device</Text>

wallets/rn_cli_wallet/yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4431,9 +4431,9 @@ __metadata:
44314431
languageName: node
44324432
linkType: hard
44334433

4434-
"@walletconnect/react-native-compat@npm:2.17.2-canary-ca-7":
4435-
version: 2.17.2-canary-ca-7
4436-
resolution: "@walletconnect/react-native-compat@npm:2.17.2-canary-ca-7"
4434+
"@walletconnect/react-native-compat@npm:2.17.2-canary-ca-9":
4435+
version: 2.17.2-canary-ca-9
4436+
resolution: "@walletconnect/react-native-compat@npm:2.17.2-canary-ca-9"
44374437
dependencies:
44384438
events: 3.3.0
44394439
fast-text-encoding: 1.0.6
@@ -4447,7 +4447,7 @@ __metadata:
44474447
peerDependenciesMeta:
44484448
expo-application:
44494449
optional: true
4450-
checksum: 6557d927b15201c502e5b88b88b98b53d7e9aa882396874e57562ffc2c115f624ebce59b9f11f27bb7bd1e2361bbf3bfe2f118b8855011f131ecea8af37845b1
4450+
checksum: 97b3b430e6d44272f8cc7c0f1b9242c0fbc56c0eb58fa629afa45dcd157e181f99c43dab59579e0328c735fed6f4f79170cd07660f356023a6504ad11b7bc9df
44514451
languageName: node
44524452
linkType: hard
44534453

@@ -13311,7 +13311,7 @@ __metadata:
1331113311
"@types/react": ^18.2.6
1331213312
"@types/react-test-renderer": ^18.0.0
1331313313
"@walletconnect/core": 2.17.2
13314-
"@walletconnect/react-native-compat": 2.17.2-canary-ca-7
13314+
"@walletconnect/react-native-compat": 2.17.2-canary-ca-9
1331513315
babel-jest: ^29.6.3
1331613316
babel-plugin-module-resolver: ^5.0.0
1331713317
dayjs: 1.11.11

0 commit comments

Comments
 (0)