Skip to content

Commit

Permalink
feat: rm compat layer
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed May 15, 2024
1 parent 8f530ac commit d9cfb87
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 75 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@react-native-async-storage/async-storage": "^1.17.10",
"@react-native-clipboard/clipboard": "^1.11.1",
"@seald-io/react-native-scrypt": "^1.2.3",
"@walletconnect/react-native-compat": "^2.13.0",
"bip39": "^3.0.4",
"expo": "^46.0.13",
"expo-local-authentication": "^12.3.0",
Expand Down
3 changes: 0 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import { styles } from './styles'

import { LogBox } from 'react-native'

// Needs to be imported as early as possible for the polyfills to be there
import '@walletconnect/react-native-compat'

// disable bottom toast in app simulators - read the console instead
LogBox.ignoreAllLogs()

Expand Down
72 changes: 1 addition & 71 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3139,25 +3139,6 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/react-native-compat@npm:^2.13.0":
version: 2.13.0
resolution: "@walletconnect/react-native-compat@npm:2.13.0"
dependencies:
events: 3.3.0
fast-text-encoding: 1.0.6
react-native-url-polyfill: 2.0.0
peerDependencies:
"@react-native-async-storage/async-storage": "*"
"@react-native-community/netinfo": "*"
expo-application: "*"
react-native-get-random-values: "*"
peerDependenciesMeta:
expo-application:
optional: true
checksum: 884164e1ca81234a6a1591ea9d0d4b91f1ed7fdba51a833991e943fb95749e125e0a64915bfe12faa718b41a905379b8d5d2fda2cea1a54d663ad8a5ed1f6aef
languageName: node
linkType: hard

"@xmldom/xmldom@npm:~0.7.0":
version: 0.7.5
resolution: "@xmldom/xmldom@npm:0.7.5"
Expand Down Expand Up @@ -3987,7 +3968,7 @@ __metadata:
languageName: node
linkType: hard

"buffer@npm:^5.4.3, buffer@npm:^5.5.0, buffer@npm:^5.6.0":
"buffer@npm:^5.5.0, buffer@npm:^5.6.0":
version: 5.7.1
resolution: "buffer@npm:5.7.1"
dependencies:
Expand Down Expand Up @@ -5511,13 +5492,6 @@ __metadata:
languageName: node
linkType: hard

"events@npm:3.3.0":
version: 3.3.0
resolution: "events@npm:3.3.0"
checksum: f6f487ad2198aa41d878fa31452f1a3c00958f46e9019286ff4787c84aac329332ab45c9cdc8c445928fc6d7ded294b9e005a7fce9426488518017831b272780
languageName: node
linkType: hard

"exec-async@npm:^2.2.0":
version: 2.2.0
resolution: "exec-async@npm:2.2.0"
Expand Down Expand Up @@ -5844,13 +5818,6 @@ __metadata:
languageName: node
linkType: hard

"fast-text-encoding@npm:1.0.6":
version: 1.0.6
resolution: "fast-text-encoding@npm:1.0.6"
checksum: 9d58f694314b3283e785bf61954902536da228607ad246905e30256f9ab8331f780ac987e7222c9f5eafd04168d07e12b8054c85cedb76a2c05af0e82387a903
languageName: node
linkType: hard

"fastq@npm:^1.6.0":
version: 1.13.0
resolution: "fastq@npm:1.13.0"
Expand Down Expand Up @@ -10094,13 +10061,6 @@ __metadata:
languageName: node
linkType: hard

"punycode@npm:^2.1.1":
version: 2.3.1
resolution: "punycode@npm:2.3.1"
checksum: bb0a0ceedca4c3c57a9b981b90601579058903c62be23c5e8e843d2c2d4148a3ecf029d5133486fb0e1822b098ba8bba09e89d6b21742d02fa26bda6441a6fb2
languageName: node
linkType: hard

"qrcode-terminal@npm:0.11.0":
version: 0.11.0
resolution: "qrcode-terminal@npm:0.11.0"
Expand Down Expand Up @@ -10298,17 +10258,6 @@ __metadata:
languageName: node
linkType: hard

"react-native-url-polyfill@npm:2.0.0":
version: 2.0.0
resolution: "react-native-url-polyfill@npm:2.0.0"
dependencies:
whatwg-url-without-unicode: 8.0.0-3
peerDependencies:
react-native: "*"
checksum: 1a2e1030a62fd093764b5330ce0ff34d72246e581dd2892cddc347d8621931aeb2c9ea3e054960484a1259230e8461e569e1890f1ff452d3c5c0adef70190fc3
languageName: node
linkType: hard

"react-native-webview@npm:^11.23.1":
version: 11.23.1
resolution: "react-native-webview@npm:11.23.1"
Expand Down Expand Up @@ -11084,7 +11033,6 @@ __metadata:
"@types/react-test-renderer": ^18.0.0
"@typescript-eslint/eslint-plugin": ^5.38.1
"@typescript-eslint/parser": ^5.38.1
"@walletconnect/react-native-compat": ^2.13.0
babel-jest: ^28.1.3
bip39: ^3.0.4
eslint: ^8.24.0
Expand Down Expand Up @@ -12367,31 +12315,13 @@ __metadata:
languageName: node
linkType: hard

"webidl-conversions@npm:^5.0.0":
version: 5.0.0
resolution: "webidl-conversions@npm:5.0.0"
checksum: ccf1ec2ca7c0b5671e5440ace4a66806ae09c49016ab821481bec0c05b1b82695082dc0a27d1fe9d804d475a408ba0c691e6803fd21be608e710955d4589cd69
languageName: node
linkType: hard

"whatwg-fetch@npm:^3.0.0":
version: 3.6.2
resolution: "whatwg-fetch@npm:3.6.2"
checksum: ee976b7249e7791edb0d0a62cd806b29006ad7ec3a3d89145921ad8c00a3a67e4be8f3fb3ec6bc7b58498724fd568d11aeeeea1f7827e7e1e5eae6c8a275afed
languageName: node
linkType: hard

"whatwg-url-without-unicode@npm:8.0.0-3":
version: 8.0.0-3
resolution: "whatwg-url-without-unicode@npm:8.0.0-3"
dependencies:
buffer: ^5.4.3
punycode: ^2.1.1
webidl-conversions: ^5.0.0
checksum: 1fe266f7161e0bd961087c1254a5a59d1138c3d402064495eed65e7590d9caed5a1d9acfd6e7a1b0bf0431253b0e637ee3e4ffc08387cd60e0b2ddb9d4687a4b
languageName: node
linkType: hard

"whatwg-url@npm:^5.0.0":
version: 5.0.0
resolution: "whatwg-url@npm:5.0.0"
Expand Down

0 comments on commit d9cfb87

Please sign in to comment.