Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Commit 9caab94

Browse files
committed
fix(app,native): swap screen attempt 2
1 parent 633e0a2 commit 9caab94

File tree

5 files changed

+4
-16
lines changed

5 files changed

+4
-16
lines changed
Binary file not shown.

app/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"babel-preset-expo": "~11.0.8",
5555
"chardet": "^2.0.0",
5656
"color": "^4.2.3",
57-
"core-js": "^3.37.1",
5857
"crypto-browserify": "^3.12.0",
5958
"decimal.js": "^10.4.3",
6059
"dotenv": "^16.4.5",

app/src/util/patches/index.native.ts

-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ import '@walletconnect/react-native-compat';
99
// Intl pollyfills - required for iOS
1010
import './intl';
1111

12-
// Core JS
13-
import 'core-js/actual/promise'; // Promise.allSettled required by viem client.multicall; full promise polyfill required for some reason
14-
1512
global.process = require('process');
1613
// @ts-expect-error Cannot assign to userAgent because it is a read-only property.
1714
global.navigator.userAgent ??= 'React Native';

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"turbo": "^2.0.6"
5252
},
5353
"resolutions": {
54-
"dotenv": "patch:dotenv@npm:16.4.5#.yarn/patches/dotenv-npm-16.4.5-bcb20eb95d.patch"
54+
"dotenv": "patch:dotenv@npm:16.4.5#.yarn/patches/dotenv-npm-16.4.5-bcb20eb95d.patch",
55+
"promise": "8.3.0"
5556
}
5657
}

yarn.lock

+2-11
Original file line numberDiff line numberDiff line change
@@ -14838,7 +14838,7 @@ __metadata:
1483814838
languageName: node
1483914839
linkType: hard
1484014840

14841-
"asap@npm:~2.0.3, asap@npm:~2.0.6":
14841+
"asap@npm:~2.0.6":
1484214842
version: 2.0.6
1484314843
resolution: "asap@npm:2.0.6"
1484414844
checksum: 10/b244c0458c571945e4b3be0b14eb001bea5596f9868cc50cc711dc03d58a7e953517d3f0dad81ccde3ff37d1f074701fa76a6f07d41aaa992d7204a37b915dda
@@ -30533,16 +30533,7 @@ __metadata:
3053330533
languageName: node
3053430534
linkType: hard
3053530535

30536-
"promise@npm:^7.1.1":
30537-
version: 7.3.1
30538-
resolution: "promise@npm:7.3.1"
30539-
dependencies:
30540-
asap: "npm:~2.0.3"
30541-
checksum: 10/37dbe58ca7b0716cc881f0618128f1fd6ff9c46cdc529a269fd70004e567126a449a94e9428e2d19b53d06182d11b45d0c399828f103e06b2bb87643319bd2e7
30542-
languageName: node
30543-
linkType: hard
30544-
30545-
"promise@npm:^8.3.0":
30536+
"promise@npm:8.3.0":
3054630537
version: 8.3.0
3054730538
resolution: "promise@npm:8.3.0"
3054830539
dependencies:

0 commit comments

Comments
 (0)