Skip to content

Commit

Permalink
(0.72.3) : properly nuke all of @walletconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Aug 13, 2023
1 parent 50bba78 commit ac81d86
Show file tree
Hide file tree
Showing 10 changed files with 96 additions and 996 deletions.
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ SPEC CHECKSUMS:
FBLazyVector: 4cce221dd782d3ff7c4172167bba09d58af67ccb
FBReactNativeSpec: c6bd9e179757b3c0ecf815864fae8032377903ef
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
glog: 39f165f95d368bf68eb4fdab79c1799b09c283d5
HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352
Keycard: ac6df4d91525c3c82635ac24d4ddd9a80aca5fc8
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
Expand Down
176 changes: 88 additions & 88 deletions ios/StatusIm.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"@react-native-community/push-notification-ios": "^1.4.1",
"@react-native-community/slider": "^3.0.0",
"@react-native/metro-config": "^0.72.9",
"@walletconnect/client": "^2.0.0-beta.23",
"base-64": "^1.0.0",
"bignumber.js": "git+https://github.com/status-im/bignumber.js.git#refs/tags/v4.0.2-status",
"chance": "^1.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/mocks/js_dependencies.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ globalThis.__STATUS_MOBILE_JS_IDENTITY_PROXY__ = new Proxy({}, {get() { return (
"../src/js/worklets/parallax.js" #js {}
"../src/js/worklets/identifiers_highlighting.js" #js {}
"./fleets.js" default-fleets
"@walletconnect/client" wallet-connect-client
"../translations/ar.json" (js/JSON.parse (slurp "./translations/ar.json"))
"../translations/de.json" (js/JSON.parse (slurp "./translations/de.json"))
"../translations/en.json" (js/JSON.parse (slurp "./translations/en.json"))
Expand Down
1 change: 0 additions & 1 deletion src/status_im/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
status-im.visibility-status-popover.core
status-im.visibility-status-updates.core
status-im.waku.core
status-im.wallet-connect.core
status-im.wallet.accounts.core
status-im.wallet.choose-recipient.core
[status-im.wallet.core :as wallet]
Expand Down
4 changes: 0 additions & 4 deletions src/status_im/router/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
[status-im.ethereum.stateofus :as stateofus]
[utils.validators :as validators]
[status-im.utils.http :as http]
[status-im.utils.wallet-connect :as wallet-connect]
[taoensso.timbre :as log]
[utils.security.core :as security]))

Expand Down Expand Up @@ -250,9 +249,6 @@
(http/url? uri)
(cb (match-browser-string uri))

(wallet-connect/url? uri)
(cb {:type :wallet-connect :data uri})

(string/starts-with? uri constants/local-pairing-connection-string-identifier)
(cb {:type :localpairing :data uri})

Expand Down
30 changes: 0 additions & 30 deletions src/status_im/utils/wallet_connect.cljs

This file was deleted.

6 changes: 3 additions & 3 deletions src/status_im/wallet/choose_recipient/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
[status-im.utils.http :as http]
[utils.money :as money]
[status-im.utils.universal-links.utils :as links]
[status-im.utils.wallet-connect :as wallet-connect]
[status-im2.navigation.events :as navigation]))
[status-im2.navigation.events :as navigation]
[clojure.string :as string]))

;; FIXME(Ferossgp): Should be part of QR scanner not wallet
(rf/defn toggle-flashlight
Expand Down Expand Up @@ -144,7 +144,7 @@
(if (links/universal-link? uri)
{:dispatch [:universal-links/handle-url uri]}
{:browser/show-browser-selection uri})
(if (wallet-connect/url? uri)
(if (string/starts-with? uri "wc:")
{:ui/show-error "Wallet Connect not implemented"}
;; Re-enable with https://github.com/status-im/status-mobile/issues/13429
;; {:dispatch [::qr-scaner/handle-wallet-connect-uri {:data uri}]}
Expand Down
287 changes: 0 additions & 287 deletions src/status_im/wallet_connect/core.cljs

This file was deleted.

Loading

0 comments on commit ac81d86

Please sign in to comment.