Skip to content

Commit

Permalink
fix(app,native): swap screen attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hbriese committed Jul 24, 2024
1 parent 633e0a2 commit 9caab94
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
Binary file not shown.
1 change: 0 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"babel-preset-expo": "~11.0.8",
"chardet": "^2.0.0",
"color": "^4.2.3",
"core-js": "^3.37.1",
"crypto-browserify": "^3.12.0",
"decimal.js": "^10.4.3",
"dotenv": "^16.4.5",
Expand Down
3 changes: 0 additions & 3 deletions app/src/util/patches/index.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import '@walletconnect/react-native-compat';
// Intl pollyfills - required for iOS
import './intl';

// Core JS
import 'core-js/actual/promise'; // Promise.allSettled required by viem client.multicall; full promise polyfill required for some reason

global.process = require('process');
// @ts-expect-error Cannot assign to userAgent because it is a read-only property.
global.navigator.userAgent ??= 'React Native';
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"turbo": "^2.0.6"
},
"resolutions": {
"dotenv": "patch:dotenv@npm:16.4.5#.yarn/patches/dotenv-npm-16.4.5-bcb20eb95d.patch"
"dotenv": "patch:dotenv@npm:16.4.5#.yarn/patches/dotenv-npm-16.4.5-bcb20eb95d.patch",
"promise": "8.3.0"
}
}
13 changes: 2 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14838,7 +14838,7 @@ __metadata:
languageName: node
linkType: hard

"asap@npm:~2.0.3, asap@npm:~2.0.6":
"asap@npm:~2.0.6":
version: 2.0.6
resolution: "asap@npm:2.0.6"
checksum: 10/b244c0458c571945e4b3be0b14eb001bea5596f9868cc50cc711dc03d58a7e953517d3f0dad81ccde3ff37d1f074701fa76a6f07d41aaa992d7204a37b915dda
Expand Down Expand Up @@ -30533,16 +30533,7 @@ __metadata:
languageName: node
linkType: hard

"promise@npm:^7.1.1":
version: 7.3.1
resolution: "promise@npm:7.3.1"
dependencies:
asap: "npm:~2.0.3"
checksum: 10/37dbe58ca7b0716cc881f0618128f1fd6ff9c46cdc529a269fd70004e567126a449a94e9428e2d19b53d06182d11b45d0c399828f103e06b2bb87643319bd2e7
languageName: node
linkType: hard

"promise@npm:^8.3.0":
"promise@npm:8.3.0":
version: 8.3.0
resolution: "promise@npm:8.3.0"
dependencies:
Expand Down

0 comments on commit 9caab94

Please sign in to comment.