diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 28ffa3669..874ec77e0 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -20,9 +20,9 @@ PODS: - GoogleUtilities/Logger (~> 7.8) - FirebaseCoreExtension (10.3.0): - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.18.0): + - FirebaseCoreInternal (10.29.0): - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseInstallations (10.18.0): + - FirebaseInstallations (10.29.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) @@ -38,43 +38,54 @@ PODS: - nanopb (< 2.30910.0, >= 2.30908.0) - fmt (6.2.1) - glog (0.3.5) - - GoogleDataTransport (9.3.0): + - GoogleDataTransport (9.4.1): - GoogleUtilities/Environment (~> 7.7) - - nanopb (< 2.30910.0, >= 2.30908.0) + - nanopb (< 2.30911.0, >= 2.30908.0) - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities (7.12.0): - - GoogleUtilities/AppDelegateSwizzler (= 7.12.0) - - GoogleUtilities/Environment (= 7.12.0) - - GoogleUtilities/ISASwizzler (= 7.12.0) - - GoogleUtilities/Logger (= 7.12.0) - - GoogleUtilities/MethodSwizzler (= 7.12.0) - - GoogleUtilities/Network (= 7.12.0) - - "GoogleUtilities/NSData+zlib (= 7.12.0)" - - GoogleUtilities/Reachability (= 7.12.0) - - GoogleUtilities/SwizzlerTestHelpers (= 7.12.0) - - GoogleUtilities/UserDefaults (= 7.12.0) - - GoogleUtilities/AppDelegateSwizzler (7.12.0): + - GoogleUtilities (7.13.3): + - GoogleUtilities/AppDelegateSwizzler (= 7.13.3) + - GoogleUtilities/Environment (= 7.13.3) + - GoogleUtilities/ISASwizzler (= 7.13.3) + - GoogleUtilities/Logger (= 7.13.3) + - GoogleUtilities/MethodSwizzler (= 7.13.3) + - GoogleUtilities/Network (= 7.13.3) + - "GoogleUtilities/NSData+zlib (= 7.13.3)" + - GoogleUtilities/Privacy (= 7.13.3) + - GoogleUtilities/Reachability (= 7.13.3) + - GoogleUtilities/SwizzlerTestHelpers (= 7.13.3) + - GoogleUtilities/UserDefaults (= 7.13.3) + - GoogleUtilities/AppDelegateSwizzler (7.13.3): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - - GoogleUtilities/Environment (7.12.0): + - GoogleUtilities/Privacy + - GoogleUtilities/Environment (7.13.3): + - GoogleUtilities/Privacy - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/ISASwizzler (7.12.0) - - GoogleUtilities/Logger (7.12.0): + - GoogleUtilities/ISASwizzler (7.13.3): + - GoogleUtilities/Privacy + - GoogleUtilities/Logger (7.13.3): - GoogleUtilities/Environment - - GoogleUtilities/MethodSwizzler (7.12.0): + - GoogleUtilities/Privacy + - GoogleUtilities/MethodSwizzler (7.13.3): - GoogleUtilities/Logger - - GoogleUtilities/Network (7.12.0): + - GoogleUtilities/Privacy + - GoogleUtilities/Network (7.13.3): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" + - GoogleUtilities/Privacy - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.12.0)" - - GoogleUtilities/Reachability (7.12.0): + - "GoogleUtilities/NSData+zlib (7.13.3)": + - GoogleUtilities/Privacy + - GoogleUtilities/Privacy (7.13.3) + - GoogleUtilities/Reachability (7.13.3): - GoogleUtilities/Logger - - GoogleUtilities/SwizzlerTestHelpers (7.12.0): + - GoogleUtilities/Privacy + - GoogleUtilities/SwizzlerTestHelpers (7.13.3): - GoogleUtilities/MethodSwizzler - - GoogleUtilities/UserDefaults (7.12.0): + - GoogleUtilities/UserDefaults (7.13.3): - GoogleUtilities/Logger + - GoogleUtilities/Privacy - hermes-engine (0.72.5): - hermes-engine/Pre-built (= 0.72.5) - hermes-engine/Pre-built (0.72.5) @@ -88,7 +99,7 @@ PODS: - RNPermissions - Permission-Notifications (3.8.3): - RNPermissions - - PromisesObjC (2.3.1) + - PromisesObjC (2.4.0) - RCT-Folly (2021.07.22.00): - boost - DoubleConversion @@ -389,12 +400,12 @@ PODS: - React-jsinspector (0.72.5) - React-logger (0.72.5): - glog - - react-native-compat (2.12.2): + - react-native-compat (2.17.0): - RCT-Folly (= 2021.07.22.00) - React-Core - react-native-get-random-values (1.11.0): - React-Core - - react-native-netinfo (11.3.1): + - react-native-netinfo (11.4.1): - React-Core - react-native-pager-view (5.4.25): - React-Core @@ -579,16 +590,17 @@ PODS: - RNScreens (3.22.1): - React-Core - React-RCTImage - - RNSentry (5.6.0): + - RNSentry (5.31.0): + - hermes-engine + - RCT-Folly (= 2021.07.22.00) - React-Core - - Sentry/HybridSDK (= 8.7.3) + - React-hermes + - Sentry/HybridSDK (= 8.36.0) - RNSVG (13.10.0): - React-Core - RNVectorIcons (9.2.0): - React-Core - - Sentry/HybridSDK (8.7.3): - - SentryPrivate (= 8.7.3) - - SentryPrivate (8.7.3) + - Sentry/HybridSDK (8.36.0) - SocketRocket (0.6.1) - Yoga (1.14.0) @@ -676,7 +688,6 @@ SPEC REPOS: - nanopb - PromisesObjC - Sentry - - SentryPrivate - SocketRocket EXTERNAL SOURCES: @@ -818,19 +829,19 @@ SPEC CHECKSUMS: Firebase: f92fc551ead69c94168d36c2b26188263860acd9 FirebaseCore: 988754646ab3bd4bdcb740f1bfe26b9f6c0d5f2a FirebaseCoreExtension: 93d252fabdc9696bf14a73b04d84877ab9b3a832 - FirebaseCoreInternal: 8eb002e564b533bdcf1ba011f33f2b5c10e2ed4a - FirebaseInstallations: e842042ec6ac1fd2e37d7706363ebe7f662afea4 + FirebaseCoreInternal: df84dd300b561c27d5571684f389bf60b0a5c934 + FirebaseInstallations: 913cf60d0400ebd5d6b63a28b290372ab44590dd FirebaseMessaging: e345b219fd15d325f0cf2fef28cb8ce00d851b3f fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b - GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe - GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34 + GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a + GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 hermes-engine: f6cf92a471053245614d9d8097736f6337d5b86c libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 Permission-Camera: 9c8b1a826770a6feea747cc8a4a89d2b39df4273 Permission-Notifications: 05a9c72e2ae989d28eb1eecf3d6a12daba73d375 - PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4 + PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 RCTRequired: df81ab637d35fac9e6eb94611cfd20f0feb05455 RCTTypeSafety: 4636e4a36c7c2df332bda6d59b19b41c443d4287 @@ -846,9 +857,9 @@ SPEC CHECKSUMS: React-jsiexecutor: ff70a72027dea5cc7d71cfcc6fad7f599f63987a React-jsinspector: aef73cbd43b70675f572214d10fa438c89bf11ba React-logger: 2e4aee3e11b3ec4fa6cfd8004610bbb3b8d6cca4 - react-native-compat: ea766c4bcad72b3cb36765a97a846c9551b5b802 + react-native-compat: e1d76a58eb20d569c73d92d370cc86f9e8c63d67 react-native-get-random-values: 21325b2244dfa6b58878f51f9aa42821e7ba3d06 - react-native-netinfo: bdb108d340cdb41875c9ced535977cac6d2ff321 + react-native-netinfo: f0a9899081c185db1de5bb2fdc1c88c202a059ac react-native-pager-view: da490aa1f902c9a5aeecf0909cc975ad0e92e53e react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846 react-native-safe-area-context: 68b07eabfb0d14547d36f6929c0e98d818064f02 @@ -883,11 +894,10 @@ SPEC CHECKSUMS: RNPermissions: d9db16f082ce2e09908e58c925189e2637d2786b RNReanimated: ab2e96c6d5591c3dfbb38a464f54c8d17fb34a87 RNScreens: 50ffe2fa2342eabb2d0afbe19f7c1af286bc7fb3 - RNSentry: 9f0447b3ce13806f544903748de423259ead8552 + RNSentry: b3f878fa0cef050836b302c0905e952d3e6e7452 RNSVG: 80584470ff1ffc7994923ea135a3e5ad825546b9 RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8 - Sentry: c7a86f43510a7d5678d4de28d78c28ab351d295b - SentryPrivate: 2eaabf598a46d4b9b8822aef766df2a84caf2e6f + Sentry: f8374b5415bc38dfb5645941b3ae31230fbeae57 SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 Yoga: 86fed2e4d425ee4c6eab3813ba1791101ee153c6 diff --git a/locale/da/texts.po b/locale/da/texts.po index 6022603fa..836298b60 100644 --- a/locale/da/texts.po +++ b/locale/da/texts.po @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.3.1\n" +"X-Generator: Poedit 3.5\n" #. This should never happen! #: src/models.js:85 @@ -68,7 +68,7 @@ msgstr "Ugyldig adresse" #. * #. * @example #. * You have received 10 T2, 5 T1 and 2 other token on a new transaction. -#. +#. #: src/workers/pushNotificationHandler.js:92 #, javascript-format msgid "" @@ -83,7 +83,7 @@ msgstr[1] "" #. * #. * @example #. * You have received 10 T2 and 5 T1 on a new transaction. -#. +#. #: src/workers/pushNotificationHandler.js:105 #, javascript-format msgid "" @@ -94,7 +94,7 @@ msgstr "" #. * #. * @example #. * You have received 10 T2 on a new transaction. -#. +#. #: src/workers/pushNotificationHandler.js:113 msgid "You have received ${ _firstToken2 } on a new transaction." msgstr "" @@ -115,11 +115,11 @@ msgstr "OM" msgid "This app is developed by Hathor Labs and is distributed for free." msgstr "Denne app er udviklet af Hathor Labs og distribueres gratis." -#: src/screens/About.js:99 src/screens/InitWallet.js:64 +#: src/screens/About.js:99 src/screens/InitWallet.js:65 msgid "This wallet is connected to the **mainnet**." msgstr "Denne wallet er tilsluttet til ** mainnet **." -#: src/screens/About.js:102 src/screens/InitWallet.js:67 +#: src/screens/About.js:102 src/screens/InitWallet.js:68 msgid "" "A mobile wallet is not the safest place to store your tokens.\n" "So, we advise you to keep only a small amount of tokens here, such as pocket " @@ -227,8 +227,8 @@ msgid "You have ${ amountAvailableText } HTR available" msgstr "Du har ${ amountAvailableText } HTR tilgængelig" #: src/screens/CreateTokenAmount.js:149 src/screens/CreateTokenName.js:64 -#: src/screens/CreateTokenSymbol.js:84 src/screens/InitWallet.js:220 -#: src/screens/InitWallet.js:349 src/screens/SendAddressInput.js:66 +#: src/screens/CreateTokenSymbol.js:84 src/screens/InitWallet.js:229 +#: src/screens/InitWallet.js:358 src/screens/SendAddressInput.js:66 #: src/screens/SendAmountInput.js:185 msgid "Next" msgstr "Næste" @@ -301,7 +301,7 @@ msgstr "TOKEN DETALJER" #. * #. * name {string} token name -#. +#. #: src/screens/CreateTokenName.js:26 msgid "0/30 characters" msgstr "0/30 tegn" @@ -350,36 +350,36 @@ msgstr "" msgid "Register token" msgstr "Registrer token" -#: src/screens/InitWallet.js:61 +#: src/screens/InitWallet.js:62 msgid "Welcome to Hathor Wallet!" msgstr "Velkommen til Hathor Wallet!" -#: src/screens/InitWallet.js:72 +#: src/screens/InitWallet.js:73 msgid "" "For further information, check out our website |link:https://hathor." "network/|." msgstr "" "For yderligere information, se vores websted |link:https://hathor.network/|." -#: src/screens/InitWallet.js:85 +#: src/screens/InitWallet.js:86 msgid "" "I agree with the |link1:Terms of Service| and |link2:Privacy Policy| and " "understand the risks of using a mobile wallet" msgstr "" -#: src/screens/InitWallet.js:97 +#: src/screens/InitWallet.js:98 msgid "Start" msgstr "Start" -#: src/screens/InitWallet.js:114 +#: src/screens/InitWallet.js:115 msgid "To start," msgstr "For at begynde," -#: src/screens/InitWallet.js:116 +#: src/screens/InitWallet.js:117 msgid "You need to **initialize your wallet**." msgstr "Skal du **initialisere din wallet**." -#: src/screens/InitWallet.js:119 +#: src/screens/InitWallet.js:120 msgid "" "You can either **start a new wallet** or **import a wallet** that already " "exists." @@ -387,23 +387,23 @@ msgstr "" "Du kan enten **oprette en ny wallet** eller **importere en wallet**, der " "allerede findes." -#: src/screens/InitWallet.js:122 +#: src/screens/InitWallet.js:123 msgid "To import a wallet, you will need to provide your seed words." msgstr "For at importere en wallet skal du angive dine seed-ord." -#: src/screens/InitWallet.js:127 +#: src/screens/InitWallet.js:128 msgid "Import Wallet" msgstr "Importer wallet" -#: src/screens/InitWallet.js:133 +#: src/screens/InitWallet.js:134 msgid "New Wallet" msgstr "Ny wallet" -#: src/screens/InitWallet.js:211 +#: src/screens/InitWallet.js:220 msgid "Your wallet has been created!" msgstr "Din wallet er oprettet!" -#: src/screens/InitWallet.js:213 +#: src/screens/InitWallet.js:222 msgid "" "You must **do a backup** and save the words below **in the same order they " "appear**." @@ -411,11 +411,11 @@ msgstr "" "Du skal **lave en sikkerhedskopi** og gemme nedenstående ord **i samme " "rækkefølge, som de vises**." -#: src/screens/InitWallet.js:310 +#: src/screens/InitWallet.js:319 msgid "To import a wallet," msgstr "Hvis du vil importere en wallet," -#: src/screens/InitWallet.js:312 +#: src/screens/InitWallet.js:321 #, javascript-format msgid "" "You need to **write down the ${ this.numberOfWords } seed words** of your " @@ -424,17 +424,17 @@ msgstr "" "Skal du **skrive ${ this.numberOfWords } seed-ord** i din wallet adskilt med " "mellemrum." -#: src/screens/InitWallet.js:315 +#: src/screens/InitWallet.js:324 msgid "Words" msgstr "Ord" -#: src/screens/InitWallet.js:320 +#: src/screens/InitWallet.js:329 msgid "Enter your seed words separated by space" msgstr "Indtast dine seed-ord adskilt med mellemrum" #: src/components/NanoContract/NanoContractDetails.js:238 -#: src/components/WalletConnect/CreateTokenRequest.js:197 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:295 +#: src/components/Reown/CreateTokenRequest.js:197 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:357 #: src/screens/LoadHistoryScreen.js:51 src/screens/LoadWalletErrorScreen.js:20 #: src/screens/NanoContract/NanoContractRegisterScreen.js:168 msgid "Try again" @@ -516,13 +516,12 @@ msgstr "Du har lige modtaget **${ amount } ${ symbol }**" msgid "PAYMENT REQUEST" msgstr "BETALINGSANMODNING" -#: src/components/TxDetailsModal.js:101 src/screens/PaymentRequestDetail.js:123 +#: src/components/TxDetailsModal.js:100 src/screens/PaymentRequestDetail.js:123 msgid "Token" msgstr "Token" -#: src/components/TxDetailsModal.js:166 -#: src/components/WalletConnect/CreateTokenRequest.js:82 -#: src/screens/PaymentRequestDetail.js:127 +#: src/components/Reown/CreateTokenRequest.js:82 +#: src/components/TxDetailsModal.js:165 src/screens/PaymentRequestDetail.js:127 msgid "Amount" msgstr "Antal" @@ -554,11 +553,11 @@ msgstr "Indtast din pinkode " msgid "Unlock Hathor Wallet" msgstr "Lås Hathor-wallet op" -#: src/components/WalletConnect/CreateTokenModal.js:60 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:64 -#: src/components/WalletConnect/SignMessageModal.js:72 -#: src/screens/PinScreen.js:265 -#: src/screens/WalletConnect/WalletConnectList.js:125 +#: src/components/Reown/CreateTokenModal.js:60 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:65 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:79 +#: src/components/Reown/SignMessageModal.js:79 src/screens/PinScreen.js:265 +#: src/screens/Reown/ReownList.js:125 msgid "Cancel" msgstr "Annuller" @@ -584,7 +583,7 @@ msgstr "" #. * #. * index {number} Selected index of the tab bar -#. +#. #. eslint thinks routes is not used, but TabView uses it #. eslint-disable-next-line react/no-unused-state #: src/screens/Receive.js:31 @@ -717,7 +716,7 @@ msgstr "Din overførsel af **${ _this.amountAndToken }** er bekræftet" #: src/components/NanoContract/EditAddressModal.js:60 #: src/components/NanoContract/SelectAddressModal.js:117 -#: src/components/WalletConnect/SignMessageRequest.js:40 +#: src/components/Reown/SignMessageRequest.js:40 #: src/screens/SendConfirmScreen.js:161 msgid "Address" msgstr "Adresse" @@ -740,8 +739,7 @@ msgstr "Okay" msgid "You don't have the requested token [${ tokenLabel }]" msgstr "Du har ikke den anmodede token [${ tokenLabel }]" -#: src/screens/SendScanQRCode.js:103 -#: src/screens/WalletConnect/WalletConnectScan.js:49 +#: src/screens/Reown/ReownScan.js:49 src/screens/SendScanQRCode.js:103 msgid "Scan the QR code" msgstr "Scan QR-koden" @@ -815,64 +813,71 @@ msgstr "Jeg vil afregistrere token **${ tokenLabel }**" msgid "Unregister token" msgstr "Afregistrer token" -#: src/screens/WalletConnect/CreateTokenScreen.js:25 +#: src/screens/Reown/CreateTokenScreen.js:25 msgid "Create Token Request" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:48 -#: src/screens/WalletConnect/NewNanoContractTransactionScreen.js:24 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:49 +#: src/screens/Reown/NewNanoContractTransactionScreen.js:24 msgid "New Nano Contract Transaction" msgstr "" -#: src/screens/WalletConnect/SignMessageRequestScreen.js:25 -msgid "Sign Message Request" -msgstr "" - -#: src/screens/WalletConnect/WalletConnectList.js:33 +#: src/screens/Reown/ReownList.js:33 msgid "There was an error connecting. Please try again later." msgstr "" #. translator: Used when the QR Code Scanner is opened, and user will manually #. enter the information. -#: src/screens/WalletConnect/WalletConnectList.js:111 +#: src/screens/Reown/ReownList.js:111 msgid "Add" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:117 +#: src/screens/Reown/ReownList.js:117 msgid "End session" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:117 +#: src/screens/Reown/ReownList.js:117 msgid "This will disconnect the session." msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:119 +#: src/screens/Reown/ReownList.js:119 msgid "End" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:137 -msgid "Wallet Connect Sessions" +#: src/screens/Reown/ReownList.js:137 +msgid "Reown Sessions" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:39 +#: src/screens/Reown/ReownManual.js:39 msgid "Manual Connection" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:45 -msgid "Wallet Connect URI" +#: src/screens/Reown/ReownManual.js:45 +msgid "Reown URI" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:57 -#: src/screens/WalletConnect/WalletConnectScan.js:34 +#: src/screens/Reown/ReownManual.js:57 src/screens/Reown/ReownScan.js:34 msgid "Connect" msgstr "" #. translator: Used when the QR Code Scanner is opened, and user will manually #. enter the information. -#: src/screens/WalletConnect/WalletConnectScan.js:41 +#: src/screens/Reown/ReownScan.js:41 msgid "Manual" msgstr "" +#: src/screens/Reown/SignMessageRequestScreen.js:25 +msgid "Sign Message Request" +msgstr "" + +#: src/screens/Reown/SignOracleDataRequestScreen.js:25 +msgid "Sign Oracle Data Request" +msgstr "" + +#: src/screens/Reown/SuccessFeedbackScreen.js:36 +msgid "Back" +msgstr "" + #: src/screens/NetworkSettings/CustomNetworkSettingsScreen.js:18 msgid "Custom Network Settings" msgstr "" @@ -952,7 +957,7 @@ msgstr "" msgid "Network Pre-Settings" msgstr "" -#: src/screens/NetworkSettings/NetworkPreSettingsScreen.js:127 +#: src/screens/NetworkSettings/NetworkPreSettingsScreen.js:131 msgid "Customize" msgstr "" @@ -985,7 +990,8 @@ msgstr "" #: src/components/NanoContract/NanoContractDetails.js:202 #: src/components/NanoContract/SelectAddressModal.js:105 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:215 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:243 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:283 #: src/screens/NanoContract/NanoContractRegisterScreen.js:184 msgid "Loading" msgstr "" @@ -997,8 +1003,8 @@ msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:142 #: src/components/NanoContract/NanoContractTransactionHeader.js:85 #: src/components/NanoContract/NanoContractsListItem.js:57 -#: src/components/TxDetailsModal.js:106 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:83 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:80 +#: src/components/TxDetailsModal.js:117 #: src/screens/NanoContract/NanoContractRegisterScreen.js:194 msgid "Nano Contract ID" msgstr "" @@ -1015,6 +1021,7 @@ msgstr "" msgid "after the contract is registered." msgstr "" +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:259 #: src/screens/NanoContract/NanoContractRegisterScreen.js:233 msgid "Register Nano Contract" msgstr "" @@ -1067,37 +1074,37 @@ msgstr "" msgid "Error while trying to download Nano Contract transactions history." msgstr "" -#: src/sagas/networkSettings.js:85 +#: src/sagas/networkSettings.js:86 msgid "Custom Network Settings cannot be empty." msgstr "" -#: src/sagas/networkSettings.js:92 +#: src/sagas/networkSettings.js:93 msgid "explorerUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:99 +#: src/sagas/networkSettings.js:100 msgid "explorerServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:106 +#: src/sagas/networkSettings.js:107 msgid "txMiningServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:113 +#: src/sagas/networkSettings.js:114 msgid "nodeUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:120 +#: src/sagas/networkSettings.js:121 msgid "walletServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:127 +#: src/sagas/networkSettings.js:128 msgid "walletServiceWsUrl should be a valid URL." msgstr "" #. If we fall into this situation, the app should be killed #. for the custom new network settings take effect. -#: src/sagas/networkSettings.js:279 +#: src/sagas/networkSettings.js:280 msgid "Wallet not found while trying to persist the custom network settings." msgstr "" @@ -1117,21 +1124,21 @@ msgstr "" msgid "Error loading the details of some tokens." msgstr "" -#: src/sagas/wallet.js:780 +#: src/sagas/wallet.js:789 msgid "Wallet is not ready to load addresses." msgstr "" #. This will show the message in the feedback content at SelectAddressModal -#: src/sagas/wallet.js:796 +#: src/sagas/wallet.js:805 msgid "There was an error while loading wallet addresses. Try again." msgstr "" -#: src/sagas/wallet.js:806 +#: src/sagas/wallet.js:815 msgid "Wallet is not ready to load the first address." msgstr "" #. This will show the message in the feedback content -#: src/sagas/wallet.js:822 +#: src/sagas/wallet.js:831 msgid "There was an error while loading first wallet address. Try again." msgstr "" @@ -1238,7 +1245,7 @@ msgstr "Ingen internetforbindelse" msgid "Public Explorer" msgstr "Public Explorer" -#: src/components/PushTxDetailsModal.js:76 src/components/TxDetailsModal.js:103 +#: src/components/PushTxDetailsModal.js:76 src/components/TxDetailsModal.js:102 msgid "Date & Time" msgstr "Dato & Tid" @@ -1299,308 +1306,343 @@ msgstr "" msgid "Voided" msgstr "" -#: src/components/TxDetailsModal.js:102 +#: src/components/TxDetailsModal.js:101 msgid "Description" msgstr "Beskrivelse" #: src/components/NanoContract/NanoContractTransactionHeader.js:44 -#: src/components/TxDetailsModal.js:104 +#: src/components/TxDetailsModal.js:103 msgid "Transaction ID" msgstr "" +#: src/components/TxDetailsModal.js:107 +msgid "Nano Contract Status" +msgstr "" + #: src/components/NanoContract/NanoContractTransactionHeader.js:89 -#: src/components/TxDetailsModal.js:105 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:116 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:113 +#: src/components/TxDetailsModal.js:116 msgid "Blueprint Method" msgstr "" -#: src/components/TxDetailsModal.js:107 +#: src/components/TxDetailsModal.js:118 msgid "Nano Contract Caller" msgstr "" -#: src/components/TxDetailsModal.js:111 -msgid "Nano Contract Status" -msgstr "" - #: src/components/NanoContract/NanoContractDetailsHeader.js:79 -#: src/components/TxDetailsModal.js:120 +#: src/components/TxDetailsModal.js:119 msgid "Nano Contract" msgstr "" -#: src/components/WalletConnect/ApproveRejectModal.js:63 +#: src/components/Reown/ApproveRejectModal.js:63 msgid "Reject" msgstr "" -#: src/components/WalletConnect/ApproveRejectModal.js:64 +#: src/components/Reown/ApproveRejectModal.js:64 msgid "Approve" msgstr "" -#: src/components/WalletConnect/ConnectModal.js:38 +#: src/components/Reown/ConnectModal.js:38 msgid "Connect to this dApp?" msgstr "" -#: src/components/WalletConnect/ConnectModal.js:41 +#: src/components/Reown/ConnectModal.js:41 msgid "" "By clicking connect, you allow this dapp to receive your wallet's public " "address. Please validate the URL and the dApp name, this is an important " "security step to protect your data from potential phishing risks." msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:44 +#: src/components/Reown/CreateTokenModal.js:44 msgid "New Create Token Request" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:48 +#: src/components/Reown/CreateTokenModal.js:48 msgid "You have received a new Create Token Request. Please" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:50 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:54 -#: src/components/WalletConnect/SignMessageModal.js:62 +#: src/components/Reown/CreateTokenModal.js:50 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:55 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:69 +#: src/components/Reown/SignMessageModal.js:69 msgid "carefully review the details" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:52 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:56 -#: src/components/WalletConnect/SignMessageModal.js:64 +#: src/components/Reown/CreateTokenModal.js:52 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:57 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:71 +#: src/components/Reown/SignMessageModal.js:71 msgid "before deciding to accept or decline." msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:56 +#: src/components/Reown/CreateTokenModal.js:56 msgid "Review Create Token Request details" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:74 +#: src/components/Reown/CreateTokenRequest.js:74 msgid "Yes" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:74 +#: src/components/Reown/CreateTokenRequest.js:74 msgid "No" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:80 +#: src/components/Reown/CreateTokenRequest.js:80 msgid "Name" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:81 +#: src/components/Reown/CreateTokenRequest.js:81 msgid "Symbol" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:83 +#: src/components/Reown/CreateTokenRequest.js:83 #, javascript-format msgid "Address to send newly minted ${ data.symbol }" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:84 +#: src/components/Reown/CreateTokenRequest.js:84 msgid "Address to send change ${ DEFAULT_TOKEN.uid }" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:85 +#: src/components/Reown/CreateTokenRequest.js:85 msgid "Create mint authority?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:86 +#: src/components/Reown/CreateTokenRequest.js:86 msgid "Create melt authority?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:87 +#: src/components/Reown/CreateTokenRequest.js:87 msgid "Address to send the mint authority" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:88 +#: src/components/Reown/CreateTokenRequest.js:88 msgid "Address to send the melt authority" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:92 +#: src/components/Reown/CreateTokenRequest.js:92 msgid "Allow external mint authority addresses?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:99 +#: src/components/Reown/CreateTokenRequest.js:99 msgid "Allow external melt authority addresses?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:103 +#: src/components/Reown/CreateTokenRequest.js:103 msgid "Token data" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:158 -#: src/components/WalletConnect/SignMessageRequest.js:81 +#: src/components/Reown/CreateTokenRequest.js:158 +#: src/components/Reown/SignMessageRequest.js:81 +#: src/components/Reown/SignOracleDataRequest.js:76 msgid "Accept Request" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:162 -#: src/components/WalletConnect/SignMessageRequest.js:85 +#: src/components/Reown/CreateTokenRequest.js:162 +#: src/components/Reown/SignMessageRequest.js:85 +#: src/components/Reown/SignOracleDataRequest.js:80 msgid "Decline Request" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:172 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:258 +#: src/components/Reown/CreateTokenRequest.js:172 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:293 msgid "Sending transaction" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:173 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:259 +#: src/components/Reown/CreateTokenRequest.js:173 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:294 msgid "Please wait." msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:186 +#: src/components/Reown/CreateTokenRequest.js:186 msgid "Create Token Transaction successfully sent." msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:188 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:287 +#: src/components/Reown/CreateTokenRequest.js:188 msgid "Ok, close" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:195 +#: src/components/Reown/CreateTokenRequest.js:195 msgid "Error while sending create token transaction." msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:56 +#: src/components/Reown/SignMessageModal.js:63 msgid "New Sign Message Request" msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:60 +#: src/components/Reown/SignMessageModal.js:67 msgid "You have received a new Sign Message Request. Please" msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:68 +#: src/components/Reown/SignMessageModal.js:75 msgid "Review Sign Message Request details" msgstr "" -#: src/components/WalletConnect/SignMessageRequest.js:35 +#: src/components/Reown/SignMessageRequest.js:35 msgid "Message to sign" msgstr "" -#: src/components/WalletConnect/SignMessageRequest.js:45 +#: src/components/Reown/SignMessageRequest.js:45 msgid "Address Path" msgstr "" -#: src/components/WalletConnect/WarnDisclaimer.js:27 +#: src/components/Reown/SignOracleDataRequest.js:35 +msgid "Oracle data to sign" +msgstr "" + +#: src/components/Reown/SignOracleDataRequest.js:40 +msgid "Oracle" +msgstr "" + +#: src/components/Reown/WarnDisclaimer.js:27 msgid "" "Caution: There are risks associated with signing dapp transaction requests." msgstr "" -#: src/components/WalletConnect/WarnDisclaimer.js:33 +#: src/components/Reown/WarnDisclaimer.js:33 msgid "Read More." msgstr "" -#: src/components/WalletConnect/NanoContract/DappContainer.js:41 +#: src/components/Reown/NanoContract/DappContainer.js:41 msgid "Review your transaction from this dApp" msgstr "" -#: src/components/WalletConnect/NanoContract/DappContainer.js:44 +#: src/components/Reown/NanoContract/DappContainer.js:44 msgid "Stay vigilant and protect your data from potential phishing attempts." msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:26 +#: src/components/Reown/NanoContract/DeclineModal.js:26 msgid "Decline transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:29 +#: src/components/Reown/NanoContract/DeclineModal.js:29 msgid "Are you sure you want to decline this transaction?" msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:33 +#: src/components/Reown/NanoContract/DeclineModal.js:33 msgid "Yes, decline transaction" msgstr "" #: src/components/NanoContract/UnregisterNanoContractModal.js:50 -#: src/components/WalletConnect/NanoContract/DeclineModal.js:39 +#: src/components/Reown/NanoContract/DeclineModal.js:39 msgid "No, go back" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:36 +#: src/components/Reown/NanoContract/NanoContractActions.js:36 #, javascript-format msgid "${ tokenSymbol } Deposit" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:37 +#: src/components/Reown/NanoContract/NanoContractActions.js:37 msgid "${ tokenSymbol } Withdrawal" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:101 +#: src/components/Reown/NanoContract/NanoContractActions.js:101 msgid "Action List" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:150 +#: src/components/Reown/NanoContract/NanoContractActions.js:150 msgid "To Address:" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:88 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:85 msgid "Blueprint ID" msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:146 #: src/components/NanoContract/NanoContractsListItem.js:59 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:93 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:90 msgid "Blueprint Name" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:109 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:140 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:106 msgid "Loading..." msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:103 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:124 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:121 msgid "Caller" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:143 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:132 msgid "Couldn't determine address, select one" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:51 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:51 #, javascript-format msgid "Position ${ idx }" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:100 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:100 msgid "Arguments" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:105 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:105 msgid "Loading arguments." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:52 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:53 msgid "You have received a new Nano Contract Transaction. Please" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:60 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:61 msgid "Review transaction details" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:197 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:205 +msgid "Success!" +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:206 +msgid "Transaction successfully sent." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:244 +msgid "Registering Nano Contract." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:253 msgid "Nano Contract Not Found" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:198 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:254 msgid "" "The Nano Contract requested is not registered. First register the Nano " "Contract to interact with it." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:201 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:248 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:264 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:278 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:329 msgid "Decline Transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:216 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:276 +msgid "Error while registering Nano Contract." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:284 msgid "Loading transaction information." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:244 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:325 msgid "Accept Transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:285 -msgid "Transaction successfully sent." +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:355 +msgid "Error while sending transaction." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:293 -msgid "Error while sending transaction." +#: src/components/Reown/NanoContract/SignOracleDataModal.js:63 +msgid "New Sign Oracle Data Request" +msgstr "" + +#: src/components/Reown/NanoContract/SignOracleDataModal.js:67 +msgid "You have received a new Sign Oracle Data Request. Please" +msgstr "" + +#: src/components/Reown/NanoContract/SignOracleDataModal.js:75 +msgid "Review Sign Oracle Data Request details" msgstr "" #: src/components/NetworkSettings/NetworkStatusBar.js:14 diff --git a/locale/pt-br/texts.po b/locale/pt-br/texts.po index 9634cc78b..a6f7800dc 100644 --- a/locale/pt-br/texts.po +++ b/locale/pt-br/texts.po @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" -"X-Generator: Poedit 3.4.4\n" +"X-Generator: Poedit 3.5\n" #. This should never happen! #: src/models.js:85 @@ -68,7 +68,7 @@ msgstr "Endereço inválido" #. * #. * @example #. * You have received 10 T2, 5 T1 and 2 other token on a new transaction. -#. +#. #: src/workers/pushNotificationHandler.js:92 #, javascript-format msgid "" @@ -87,7 +87,7 @@ msgstr[1] "" #. * #. * @example #. * You have received 10 T2 and 5 T1 on a new transaction. -#. +#. #: src/workers/pushNotificationHandler.js:105 #, javascript-format msgid "" @@ -99,7 +99,7 @@ msgstr "" #. * #. * @example #. * You have received 10 T2 on a new transaction. -#. +#. #: src/workers/pushNotificationHandler.js:113 msgid "You have received ${ _firstToken2 } on a new transaction." msgstr "Você recebeu ${ _firstToken2 } em uma nova transação." @@ -121,11 +121,11 @@ msgid "This app is developed by Hathor Labs and is distributed for free." msgstr "" "Este aplicativo foi desenvolvido pela Hathor Labs e é distribuído de graça." -#: src/screens/About.js:99 src/screens/InitWallet.js:64 +#: src/screens/About.js:99 src/screens/InitWallet.js:65 msgid "This wallet is connected to the **mainnet**." msgstr "Esta wallet está conectada à **mainnet**." -#: src/screens/About.js:102 src/screens/InitWallet.js:67 +#: src/screens/About.js:102 src/screens/InitWallet.js:68 msgid "" "A mobile wallet is not the safest place to store your tokens.\n" "So, we advise you to keep only a small amount of tokens here, such as pocket " @@ -235,8 +235,8 @@ msgid "You have ${ amountAvailableText } HTR available" msgstr "Você tem ${ amountAvailableText } HTR disponíveis" #: src/screens/CreateTokenAmount.js:149 src/screens/CreateTokenName.js:64 -#: src/screens/CreateTokenSymbol.js:84 src/screens/InitWallet.js:220 -#: src/screens/InitWallet.js:349 src/screens/SendAddressInput.js:66 +#: src/screens/CreateTokenSymbol.js:84 src/screens/InitWallet.js:229 +#: src/screens/InitWallet.js:358 src/screens/SendAddressInput.js:66 #: src/screens/SendAmountInput.js:185 msgid "Next" msgstr "Próximo" @@ -309,7 +309,7 @@ msgstr "DETALHES DO TOKEN" #. * #. * name {string} token name -#. +#. #: src/screens/CreateTokenName.js:26 msgid "0/30 characters" msgstr "0/30 caracteres" @@ -359,18 +359,18 @@ msgstr "Nano Contracts" msgid "Register token" msgstr "Registrar um token" -#: src/screens/InitWallet.js:61 +#: src/screens/InitWallet.js:62 msgid "Welcome to Hathor Wallet!" msgstr "Bem vindo à Hathor Wallet!" -#: src/screens/InitWallet.js:72 +#: src/screens/InitWallet.js:73 msgid "" "For further information, check out our website |link:https://hathor." "network/|." msgstr "" "Para mais informações, visite nosso site |link:https://hathor.network/|." -#: src/screens/InitWallet.js:85 +#: src/screens/InitWallet.js:86 msgid "" "I agree with the |link1:Terms of Service| and |link2:Privacy Policy| and " "understand the risks of using a mobile wallet" @@ -378,19 +378,19 @@ msgstr "" "Eu concordo com os |link1:Termos de Serviço| e |link2:Política de " "Privacidade| e entendo os riscos de usar uma wallet de celular" -#: src/screens/InitWallet.js:97 +#: src/screens/InitWallet.js:98 msgid "Start" msgstr "Iniciar" -#: src/screens/InitWallet.js:114 +#: src/screens/InitWallet.js:115 msgid "To start," msgstr "Para começar," -#: src/screens/InitWallet.js:116 +#: src/screens/InitWallet.js:117 msgid "You need to **initialize your wallet**." msgstr "Você precisa **inicializar sua wallet**." -#: src/screens/InitWallet.js:119 +#: src/screens/InitWallet.js:120 msgid "" "You can either **start a new wallet** or **import a wallet** that already " "exists." @@ -398,23 +398,23 @@ msgstr "" "Você pode tanto **iniciar uma nova wallet** ou **importar uma wallet** que " "já existe." -#: src/screens/InitWallet.js:122 +#: src/screens/InitWallet.js:123 msgid "To import a wallet, you will need to provide your seed words." msgstr "Para importar uma wallet, você deve entrar com as suas palavras." -#: src/screens/InitWallet.js:127 +#: src/screens/InitWallet.js:128 msgid "Import Wallet" msgstr "Importar Wallet" -#: src/screens/InitWallet.js:133 +#: src/screens/InitWallet.js:134 msgid "New Wallet" msgstr "Nova Wallet" -#: src/screens/InitWallet.js:211 +#: src/screens/InitWallet.js:220 msgid "Your wallet has been created!" msgstr "Sua wallet foi criada!" -#: src/screens/InitWallet.js:213 +#: src/screens/InitWallet.js:222 msgid "" "You must **do a backup** and save the words below **in the same order they " "appear**." @@ -422,11 +422,11 @@ msgstr "" "Você deve **realizar o backup** e salvar as palavras abaixo **na mesma ordem " "em que elas aparecem**." -#: src/screens/InitWallet.js:310 +#: src/screens/InitWallet.js:319 msgid "To import a wallet," msgstr "Para importar sua wallet," -#: src/screens/InitWallet.js:312 +#: src/screens/InitWallet.js:321 #, javascript-format msgid "" "You need to **write down the ${ this.numberOfWords } seed words** of your " @@ -435,17 +435,17 @@ msgstr "" "Você precisa **digitar as ${ this.numberOfWords } palavras** da sua wallet, " "separadas por espaço." -#: src/screens/InitWallet.js:315 +#: src/screens/InitWallet.js:324 msgid "Words" msgstr "Palavras" -#: src/screens/InitWallet.js:320 +#: src/screens/InitWallet.js:329 msgid "Enter your seed words separated by space" msgstr "Digite suas palavras separadas por espaços" #: src/components/NanoContract/NanoContractDetails.js:238 -#: src/components/WalletConnect/CreateTokenRequest.js:197 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:295 +#: src/components/Reown/CreateTokenRequest.js:197 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:357 #: src/screens/LoadHistoryScreen.js:51 src/screens/LoadWalletErrorScreen.js:20 #: src/screens/NanoContract/NanoContractRegisterScreen.js:168 msgid "Try again" @@ -529,13 +529,12 @@ msgstr "Você recebeu **${ amount } ${ symbol }**" msgid "PAYMENT REQUEST" msgstr "REQUISIÇÃO DE PAGAMENTO" -#: src/components/TxDetailsModal.js:101 src/screens/PaymentRequestDetail.js:123 +#: src/components/TxDetailsModal.js:100 src/screens/PaymentRequestDetail.js:123 msgid "Token" msgstr "Token" -#: src/components/TxDetailsModal.js:166 -#: src/components/WalletConnect/CreateTokenRequest.js:82 -#: src/screens/PaymentRequestDetail.js:127 +#: src/components/Reown/CreateTokenRequest.js:82 +#: src/components/TxDetailsModal.js:165 src/screens/PaymentRequestDetail.js:127 msgid "Amount" msgstr "Quantidade" @@ -567,11 +566,11 @@ msgstr "Digite seu PIN " msgid "Unlock Hathor Wallet" msgstr "Desbloqueie sua Hathor Wallet" -#: src/components/WalletConnect/CreateTokenModal.js:60 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:64 -#: src/components/WalletConnect/SignMessageModal.js:72 -#: src/screens/PinScreen.js:265 -#: src/screens/WalletConnect/WalletConnectList.js:125 +#: src/components/Reown/CreateTokenModal.js:60 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:65 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:79 +#: src/components/Reown/SignMessageModal.js:79 src/screens/PinScreen.js:265 +#: src/screens/Reown/ReownList.js:125 msgid "Cancel" msgstr "Cancelar" @@ -599,7 +598,7 @@ msgstr "" #. * #. * index {number} Selected index of the tab bar -#. +#. #. eslint thinks routes is not used, but TabView uses it #. eslint-disable-next-line react/no-unused-state #: src/screens/Receive.js:31 @@ -733,7 +732,7 @@ msgstr "Sua transferência de **${ this.amountAndToken }** foi confirmada" #: src/components/NanoContract/EditAddressModal.js:60 #: src/components/NanoContract/SelectAddressModal.js:117 -#: src/components/WalletConnect/SignMessageRequest.js:40 +#: src/components/Reown/SignMessageRequest.js:40 #: src/screens/SendConfirmScreen.js:161 msgid "Address" msgstr "Endereço" @@ -756,8 +755,7 @@ msgstr "OK" msgid "You don't have the requested token [${ tokenLabel }]" msgstr "Você não tem o token requisitado [${ tokenLabel }]" -#: src/screens/SendScanQRCode.js:103 -#: src/screens/WalletConnect/WalletConnectScan.js:49 +#: src/screens/Reown/ReownScan.js:49 src/screens/SendScanQRCode.js:103 msgid "Scan the QR code" msgstr "Leia o QR code" @@ -833,65 +831,72 @@ msgstr "Eu quero desregistrar o token **${ tokenLabel }**" msgid "Unregister token" msgstr "Desregistrar token" -#: src/screens/WalletConnect/CreateTokenScreen.js:25 +#: src/screens/Reown/CreateTokenScreen.js:25 msgid "Create Token Request" msgstr "Requisição de Criação de Token" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:48 -#: src/screens/WalletConnect/NewNanoContractTransactionScreen.js:24 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:49 +#: src/screens/Reown/NewNanoContractTransactionScreen.js:24 msgid "New Nano Contract Transaction" msgstr "Nova Transação de Nano Contract" -#: src/screens/WalletConnect/SignMessageRequestScreen.js:25 -msgid "Sign Message Request" -msgstr "Solicitação de Assinatura de Mensagem" - -#: src/screens/WalletConnect/WalletConnectList.js:33 +#: src/screens/Reown/ReownList.js:33 msgid "There was an error connecting. Please try again later." msgstr "" "Ocorreu um erro durante a conexão. Por favor, tente novamente mais tarde." #. translator: Used when the QR Code Scanner is opened, and user will manually #. enter the information. -#: src/screens/WalletConnect/WalletConnectList.js:111 +#: src/screens/Reown/ReownList.js:111 msgid "Add" msgstr "Adicionar" -#: src/screens/WalletConnect/WalletConnectList.js:117 +#: src/screens/Reown/ReownList.js:117 msgid "End session" msgstr "Encerrar sessão" -#: src/screens/WalletConnect/WalletConnectList.js:117 +#: src/screens/Reown/ReownList.js:117 msgid "This will disconnect the session." msgstr "Isso irá desconectar a sessão." -#: src/screens/WalletConnect/WalletConnectList.js:119 +#: src/screens/Reown/ReownList.js:119 msgid "End" msgstr "Encerrar" -#: src/screens/WalletConnect/WalletConnectList.js:137 -msgid "Wallet Connect Sessions" -msgstr "Sessões do Wallet Connect" +#: src/screens/Reown/ReownList.js:137 +msgid "Reown Sessions" +msgstr "Sessões do Reown" -#: src/screens/WalletConnect/WalletConnectManual.js:39 +#: src/screens/Reown/ReownManual.js:39 msgid "Manual Connection" msgstr "Digitar" -#: src/screens/WalletConnect/WalletConnectManual.js:45 -msgid "Wallet Connect URI" +#: src/screens/Reown/ReownManual.js:45 +msgid "Reown URI" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:57 -#: src/screens/WalletConnect/WalletConnectScan.js:34 +#: src/screens/Reown/ReownManual.js:57 src/screens/Reown/ReownScan.js:34 msgid "Connect" msgstr "Conectar" #. translator: Used when the QR Code Scanner is opened, and user will manually #. enter the information. -#: src/screens/WalletConnect/WalletConnectScan.js:41 +#: src/screens/Reown/ReownScan.js:41 msgid "Manual" msgstr "Digitar" +#: src/screens/Reown/SignMessageRequestScreen.js:25 +msgid "Sign Message Request" +msgstr "Solicitação de Assinatura de Mensagem" + +#: src/screens/Reown/SignOracleDataRequestScreen.js:25 +msgid "Sign Oracle Data Request" +msgstr "Solicitação de Assinatura de Dados do Oracle" + +#: src/screens/Reown/SuccessFeedbackScreen.js:36 +msgid "Back" +msgstr "Voltar" + #: src/screens/NetworkSettings/CustomNetworkSettingsScreen.js:18 msgid "Custom Network Settings" msgstr "Configurações de Rede Personalizada" @@ -977,7 +982,7 @@ msgstr "Wallet Service WS URL (opcional)" msgid "Network Pre-Settings" msgstr "Pré-Configurações de Rede" -#: src/screens/NetworkSettings/NetworkPreSettingsScreen.js:127 +#: src/screens/NetworkSettings/NetworkPreSettingsScreen.js:131 msgid "Customize" msgstr "Personalizar" @@ -1013,7 +1018,8 @@ msgstr "Erro ao carregar primeiro endereço da wallet" #: src/components/NanoContract/NanoContractDetails.js:202 #: src/components/NanoContract/SelectAddressModal.js:105 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:215 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:243 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:283 #: src/screens/NanoContract/NanoContractRegisterScreen.js:184 msgid "Loading" msgstr "Carregando" @@ -1025,8 +1031,8 @@ msgstr "Carregando primeiro endereço da wallet." #: src/components/NanoContract/NanoContractDetailsHeader.js:142 #: src/components/NanoContract/NanoContractTransactionHeader.js:85 #: src/components/NanoContract/NanoContractsListItem.js:57 -#: src/components/TxDetailsModal.js:106 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:83 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:80 +#: src/components/TxDetailsModal.js:117 #: src/screens/NanoContract/NanoContractRegisterScreen.js:194 msgid "Nano Contract ID" msgstr "ID do Nano Contract" @@ -1043,6 +1049,7 @@ msgstr "Se deseja alterar o endereço de assinatura, você pode alterar" msgid "after the contract is registered." msgstr "depois do contrato ser registrado." +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:259 #: src/screens/NanoContract/NanoContractRegisterScreen.js:233 msgid "Register Nano Contract" msgstr "Registrar Nano Contract" @@ -1095,37 +1102,37 @@ msgstr "Nano Contract não registrado." msgid "Error while trying to download Nano Contract transactions history." msgstr "Error ao fazer download do histórico de transações do Nano Contract." -#: src/sagas/networkSettings.js:85 +#: src/sagas/networkSettings.js:86 msgid "Custom Network Settings cannot be empty." msgstr "As Configurações de Rede não podem estar vazias." -#: src/sagas/networkSettings.js:92 +#: src/sagas/networkSettings.js:93 msgid "explorerUrl should be a valid URL." msgstr "explorerUrl deve ser uma URL válida." -#: src/sagas/networkSettings.js:99 +#: src/sagas/networkSettings.js:100 msgid "explorerServiceUrl should be a valid URL." msgstr "explorerServiceUrl deve ser uma URL válida." -#: src/sagas/networkSettings.js:106 +#: src/sagas/networkSettings.js:107 msgid "txMiningServiceUrl should be a valid URL." msgstr "txMiningServiceUrl deve ser uma URL válida." -#: src/sagas/networkSettings.js:113 +#: src/sagas/networkSettings.js:114 msgid "nodeUrl should be a valid URL." msgstr "nodeUrl deve ser uma URL válida." -#: src/sagas/networkSettings.js:120 +#: src/sagas/networkSettings.js:121 msgid "walletServiceUrl should be a valid URL." msgstr "walletServiceUrl deve ser uma URL válida." -#: src/sagas/networkSettings.js:127 +#: src/sagas/networkSettings.js:128 msgid "walletServiceWsUrl should be a valid URL." msgstr "walletServiceWsUrl deve ser uma URL válida." #. If we fall into this situation, the app should be killed #. for the custom new network settings take effect. -#: src/sagas/networkSettings.js:279 +#: src/sagas/networkSettings.js:280 msgid "Wallet not found while trying to persist the custom network settings." msgstr "" "Wallet não encontrada ao persistir a configuração personalizada da rede." @@ -1146,21 +1153,21 @@ msgstr "A wallet não está pronta ainda." msgid "Error loading the details of some tokens." msgstr "Ocorreu um erro durante o carregamento de detalhes de alguns tokens." -#: src/sagas/wallet.js:780 +#: src/sagas/wallet.js:789 msgid "Wallet is not ready to load addresses." msgstr "A wallet não está pronta para carregar os endereços." #. This will show the message in the feedback content at SelectAddressModal -#: src/sagas/wallet.js:796 +#: src/sagas/wallet.js:805 msgid "There was an error while loading wallet addresses. Try again." msgstr "Ocorreu um erro ao carregar os endereços da wallet. Tente novamente." -#: src/sagas/wallet.js:806 +#: src/sagas/wallet.js:815 msgid "Wallet is not ready to load the first address." msgstr "A wallet não está pronta para carregar o primeiro endereço." #. This will show the message in the feedback content -#: src/sagas/wallet.js:822 +#: src/sagas/wallet.js:831 msgid "There was an error while loading first wallet address. Try again." msgstr "" "Ocorreu um erro ao carregar o primeiro endereço da wallet. Tente novamente." @@ -1271,7 +1278,7 @@ msgstr "Sem conexão com a internet" msgid "Public Explorer" msgstr "Explorer Público" -#: src/components/PushTxDetailsModal.js:76 src/components/TxDetailsModal.js:103 +#: src/components/PushTxDetailsModal.js:76 src/components/TxDetailsModal.js:102 msgid "Date & Time" msgstr "Data & Hora" @@ -1331,47 +1338,47 @@ msgstr "Processando" msgid "Voided" msgstr "Inválida" -#: src/components/TxDetailsModal.js:102 +#: src/components/TxDetailsModal.js:101 msgid "Description" msgstr "Descrição" #: src/components/NanoContract/NanoContractTransactionHeader.js:44 -#: src/components/TxDetailsModal.js:104 +#: src/components/TxDetailsModal.js:103 msgid "Transaction ID" msgstr "ID da Transação" +#: src/components/TxDetailsModal.js:107 +msgid "Nano Contract Status" +msgstr "Status do Nano Contract" + #: src/components/NanoContract/NanoContractTransactionHeader.js:89 -#: src/components/TxDetailsModal.js:105 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:116 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:113 +#: src/components/TxDetailsModal.js:116 msgid "Blueprint Method" msgstr "Método do Blueprint" -#: src/components/TxDetailsModal.js:107 +#: src/components/TxDetailsModal.js:118 msgid "Nano Contract Caller" msgstr "Endereço de assinatura do Nano Contract" -#: src/components/TxDetailsModal.js:111 -msgid "Nano Contract Status" -msgstr "Status do Nano Contract" - #: src/components/NanoContract/NanoContractDetailsHeader.js:79 -#: src/components/TxDetailsModal.js:120 +#: src/components/TxDetailsModal.js:119 msgid "Nano Contract" msgstr "Nano Contract" -#: src/components/WalletConnect/ApproveRejectModal.js:63 +#: src/components/Reown/ApproveRejectModal.js:63 msgid "Reject" msgstr "Rejeitar" -#: src/components/WalletConnect/ApproveRejectModal.js:64 +#: src/components/Reown/ApproveRejectModal.js:64 msgid "Approve" msgstr "Aprovar" -#: src/components/WalletConnect/ConnectModal.js:38 +#: src/components/Reown/ConnectModal.js:38 msgid "Connect to this dApp?" msgstr "Conectar à esse dApp?" -#: src/components/WalletConnect/ConnectModal.js:41 +#: src/components/Reown/ConnectModal.js:41 msgid "" "By clicking connect, you allow this dapp to receive your wallet's public " "address. Please validate the URL and the dApp name, this is an important " @@ -1382,240 +1389,262 @@ msgstr "" "importante de segurança para proteger seus dados de potenciais riscos de " "phishing." -#: src/components/WalletConnect/CreateTokenModal.js:44 +#: src/components/Reown/CreateTokenModal.js:44 msgid "New Create Token Request" msgstr "Nova Requisição de Criação de Token" -#: src/components/WalletConnect/CreateTokenModal.js:48 +#: src/components/Reown/CreateTokenModal.js:48 msgid "You have received a new Create Token Request. Please" msgstr "Você recebeu uma nova Solicitação de Criação de Token. Por favor," -#: src/components/WalletConnect/CreateTokenModal.js:50 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:54 -#: src/components/WalletConnect/SignMessageModal.js:62 +#: src/components/Reown/CreateTokenModal.js:50 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:55 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:69 +#: src/components/Reown/SignMessageModal.js:69 msgid "carefully review the details" msgstr "revise os detalhes com cuidado" -#: src/components/WalletConnect/CreateTokenModal.js:52 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:56 -#: src/components/WalletConnect/SignMessageModal.js:64 +#: src/components/Reown/CreateTokenModal.js:52 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:57 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:71 +#: src/components/Reown/SignMessageModal.js:71 msgid "before deciding to accept or decline." msgstr "antes de decidir aceitar ou recusar." -#: src/components/WalletConnect/CreateTokenModal.js:56 +#: src/components/Reown/CreateTokenModal.js:56 msgid "Review Create Token Request details" msgstr "Revisar detalhes da Solicitação de Criação de Token" -#: src/components/WalletConnect/CreateTokenRequest.js:74 +#: src/components/Reown/CreateTokenRequest.js:74 msgid "Yes" msgstr "Sim" -#: src/components/WalletConnect/CreateTokenRequest.js:74 +#: src/components/Reown/CreateTokenRequest.js:74 msgid "No" msgstr "Não" -#: src/components/WalletConnect/CreateTokenRequest.js:80 +#: src/components/Reown/CreateTokenRequest.js:80 msgid "Name" msgstr "Nome" -#: src/components/WalletConnect/CreateTokenRequest.js:81 +#: src/components/Reown/CreateTokenRequest.js:81 msgid "Symbol" msgstr "Símbolo" -#: src/components/WalletConnect/CreateTokenRequest.js:83 +#: src/components/Reown/CreateTokenRequest.js:83 #, javascript-format msgid "Address to send newly minted ${ data.symbol }" msgstr "Endereço para enviar os tokens ${ data.symbol } criados" -#: src/components/WalletConnect/CreateTokenRequest.js:84 +#: src/components/Reown/CreateTokenRequest.js:84 msgid "Address to send change ${ DEFAULT_TOKEN.uid }" msgstr "Endereço para enviar o ${ DEFAULT_TOKEN.uid } de troco" -#: src/components/WalletConnect/CreateTokenRequest.js:85 +#: src/components/Reown/CreateTokenRequest.js:85 msgid "Create mint authority?" msgstr "Criar mint authority?" -#: src/components/WalletConnect/CreateTokenRequest.js:86 +#: src/components/Reown/CreateTokenRequest.js:86 msgid "Create melt authority?" msgstr "Criar melt authority?" -#: src/components/WalletConnect/CreateTokenRequest.js:87 +#: src/components/Reown/CreateTokenRequest.js:87 msgid "Address to send the mint authority" msgstr "Endereço para enviar o mint authority" -#: src/components/WalletConnect/CreateTokenRequest.js:88 +#: src/components/Reown/CreateTokenRequest.js:88 msgid "Address to send the melt authority" msgstr "Endereço para enviar o melt authority" -#: src/components/WalletConnect/CreateTokenRequest.js:92 +#: src/components/Reown/CreateTokenRequest.js:92 msgid "Allow external mint authority addresses?" msgstr "Permitir endereços externos de mint authority?" -#: src/components/WalletConnect/CreateTokenRequest.js:99 +#: src/components/Reown/CreateTokenRequest.js:99 msgid "Allow external melt authority addresses?" msgstr "Permitir endereços externos de melt authority?" -#: src/components/WalletConnect/CreateTokenRequest.js:103 +#: src/components/Reown/CreateTokenRequest.js:103 msgid "Token data" msgstr "Dados do Token" -#: src/components/WalletConnect/CreateTokenRequest.js:158 -#: src/components/WalletConnect/SignMessageRequest.js:81 +#: src/components/Reown/CreateTokenRequest.js:158 +#: src/components/Reown/SignMessageRequest.js:81 +#: src/components/Reown/SignOracleDataRequest.js:76 msgid "Accept Request" msgstr "Aceitar Solicitação" -#: src/components/WalletConnect/CreateTokenRequest.js:162 -#: src/components/WalletConnect/SignMessageRequest.js:85 +#: src/components/Reown/CreateTokenRequest.js:162 +#: src/components/Reown/SignMessageRequest.js:85 +#: src/components/Reown/SignOracleDataRequest.js:80 msgid "Decline Request" msgstr "Recusar Solicitação" -#: src/components/WalletConnect/CreateTokenRequest.js:172 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:258 +#: src/components/Reown/CreateTokenRequest.js:172 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:293 msgid "Sending transaction" msgstr "Enviando transação" -#: src/components/WalletConnect/CreateTokenRequest.js:173 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:259 +#: src/components/Reown/CreateTokenRequest.js:173 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:294 msgid "Please wait." msgstr "Por favor, espere." -#: src/components/WalletConnect/CreateTokenRequest.js:186 +#: src/components/Reown/CreateTokenRequest.js:186 msgid "Create Token Transaction successfully sent." msgstr "Transação de Criação de Token enviada com sucesso." -#: src/components/WalletConnect/CreateTokenRequest.js:188 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:287 +#: src/components/Reown/CreateTokenRequest.js:188 msgid "Ok, close" msgstr "Ok, fechar" -#: src/components/WalletConnect/CreateTokenRequest.js:195 +#: src/components/Reown/CreateTokenRequest.js:195 msgid "Error while sending create token transaction." msgstr "Erro ao enviar transação de criação de token." -#: src/components/WalletConnect/SignMessageModal.js:56 +#: src/components/Reown/SignMessageModal.js:63 msgid "New Sign Message Request" msgstr "Nova Solicitação de Assinatura de Mensagem" -#: src/components/WalletConnect/SignMessageModal.js:60 +#: src/components/Reown/SignMessageModal.js:67 msgid "You have received a new Sign Message Request. Please" msgstr "" "Você recebeu uma nova Solicitação de Assinatura de Mensagem. Por favor," -#: src/components/WalletConnect/SignMessageModal.js:68 +#: src/components/Reown/SignMessageModal.js:75 msgid "Review Sign Message Request details" msgstr "Revisar detalhes da Solicitação de Assinatura de Mensagem" -#: src/components/WalletConnect/SignMessageRequest.js:35 +#: src/components/Reown/SignMessageRequest.js:35 msgid "Message to sign" msgstr "Mensagem para assinar" -#: src/components/WalletConnect/SignMessageRequest.js:45 +#: src/components/Reown/SignMessageRequest.js:45 msgid "Address Path" msgstr "Path do Endereço" -#: src/components/WalletConnect/WarnDisclaimer.js:27 +#: src/components/Reown/SignOracleDataRequest.js:35 +msgid "Oracle data to sign" +msgstr "Dados do Oracle para assinar" + +#: src/components/Reown/SignOracleDataRequest.js:40 +msgid "Oracle" +msgstr "" + +#: src/components/Reown/WarnDisclaimer.js:27 msgid "" "Caution: There are risks associated with signing dapp transaction requests." msgstr "" "Cuidado: Há riscos associados a pedidos de assinatura de transação via dApp." -#: src/components/WalletConnect/WarnDisclaimer.js:33 +#: src/components/Reown/WarnDisclaimer.js:33 msgid "Read More." msgstr "Ler mais." -#: src/components/WalletConnect/NanoContract/DappContainer.js:41 +#: src/components/Reown/NanoContract/DappContainer.js:41 msgid "Review your transaction from this dApp" msgstr "Revise sua transação originada neste dApp" -#: src/components/WalletConnect/NanoContract/DappContainer.js:44 +#: src/components/Reown/NanoContract/DappContainer.js:44 msgid "Stay vigilant and protect your data from potential phishing attempts." msgstr "Fique atento e proteja seus dados de potenciais tentativas de phising." -#: src/components/WalletConnect/NanoContract/DeclineModal.js:26 +#: src/components/Reown/NanoContract/DeclineModal.js:26 msgid "Decline transaction" msgstr "Recusar transação" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:29 +#: src/components/Reown/NanoContract/DeclineModal.js:29 msgid "Are you sure you want to decline this transaction?" msgstr "Tem certeza que deseja recusar esta transação?" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:33 +#: src/components/Reown/NanoContract/DeclineModal.js:33 msgid "Yes, decline transaction" msgstr "Sim, recusar transação" #: src/components/NanoContract/UnregisterNanoContractModal.js:50 -#: src/components/WalletConnect/NanoContract/DeclineModal.js:39 +#: src/components/Reown/NanoContract/DeclineModal.js:39 msgid "No, go back" msgstr "Não, voltar" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:36 +#: src/components/Reown/NanoContract/NanoContractActions.js:36 #, javascript-format msgid "${ tokenSymbol } Deposit" msgstr "${ tokenSymbol } Depósito" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:37 +#: src/components/Reown/NanoContract/NanoContractActions.js:37 msgid "${ tokenSymbol } Withdrawal" msgstr "${ tokenSymbol } Saque" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:101 +#: src/components/Reown/NanoContract/NanoContractActions.js:101 msgid "Action List" msgstr "Lista de Actions" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:150 +#: src/components/Reown/NanoContract/NanoContractActions.js:150 msgid "To Address:" msgstr "Para o endereço:" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:88 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:85 msgid "Blueprint ID" msgstr "ID do Blueprint" #: src/components/NanoContract/NanoContractDetailsHeader.js:146 #: src/components/NanoContract/NanoContractsListItem.js:59 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:93 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:90 msgid "Blueprint Name" msgstr "Nome do Blueprint" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:109 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:140 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:106 msgid "Loading..." msgstr "Carregando..." #: src/components/NanoContract/NanoContractTransactionHeader.js:103 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:124 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:121 msgid "Caller" msgstr "Caller" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:143 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:132 msgid "Couldn't determine address, select one" msgstr "Não foi possível determinar um endereço, selecione um" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:51 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:51 #, javascript-format msgid "Position ${ idx }" msgstr "Posição ${ idx }" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:100 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:100 msgid "Arguments" msgstr "Argumentos" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:105 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:105 msgid "Loading arguments." msgstr "Carregando argumentos." -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:52 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:53 msgid "You have received a new Nano Contract Transaction. Please" msgstr "" "Você recebeu um pedido para criar uma transação de Nano Contract. Por favor," -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:60 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:61 msgid "Review transaction details" msgstr "Revisar detalhes da transação" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:197 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:205 +msgid "Success!" +msgstr "Sucesso!" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:206 +msgid "Transaction successfully sent." +msgstr "Transação enviada com sucesso." + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:244 +msgid "Registering Nano Contract." +msgstr "Registrando Nano Contract." + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:253 msgid "Nano Contract Not Found" msgstr "Nano Contract não encontrado" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:198 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:254 msgid "" "The Nano Contract requested is not registered. First register the Nano " "Contract to interact with it." @@ -1623,27 +1652,42 @@ msgstr "" "O Nano Contract solicitado não está registrado. Primeiro registre o Nano " "Contract para interagir com ele." -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:201 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:248 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:264 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:278 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:329 msgid "Decline Transaction" msgstr "Recusar transação" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:216 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:276 +msgid "Error while registering Nano Contract." +msgstr "Erro ao tentar registrar o Nano Contract." + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:284 msgid "Loading transaction information." msgstr "Carregando informações da transação." -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:244 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:325 msgid "Accept Transaction" msgstr "Aceitar transação" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:285 -msgid "Transaction successfully sent." -msgstr "Transação enviada com sucesso." - -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:293 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:355 msgid "Error while sending transaction." msgstr "Ocorreu um erro durante o envio da transação." +#: src/components/Reown/NanoContract/SignOracleDataModal.js:63 +msgid "New Sign Oracle Data Request" +msgstr "Nova Solicitação de Assinatura de Dados do Oracle" + +#: src/components/Reown/NanoContract/SignOracleDataModal.js:67 +msgid "You have received a new Sign Oracle Data Request. Please" +msgstr "" +"Você recebeu uma nova Solicitação de Assinatura de dados do Oracle. Por " +"favor," + +#: src/components/Reown/NanoContract/SignOracleDataModal.js:75 +msgid "Review Sign Oracle Data Request details" +msgstr "Revisar detalhes da Solicitação de Assinatura de dados do Oracle" + #: src/components/NetworkSettings/NetworkStatusBar.js:14 msgid "Custom network" msgstr "Rede personalizada" diff --git a/locale/ru-ru/texts.po b/locale/ru-ru/texts.po index 1fb48d314..535b79c37 100644 --- a/locale/ru-ru/texts.po +++ b/locale/ru-ru/texts.po @@ -117,11 +117,11 @@ msgstr "О НАС" msgid "This app is developed by Hathor Labs and is distributed for free." msgstr "Это приложение разработано Hathor Labs и распространяется бесплатно." -#: src/screens/About.js:99 src/screens/InitWallet.js:64 +#: src/screens/About.js:99 src/screens/InitWallet.js:65 msgid "This wallet is connected to the **mainnet**." msgstr "Этот кошелек подключен к **mainnet**." -#: src/screens/About.js:102 src/screens/InitWallet.js:67 +#: src/screens/About.js:102 src/screens/InitWallet.js:68 msgid "" "A mobile wallet is not the safest place to store your tokens.\n" "So, we advise you to keep only a small amount of tokens here, such as pocket " @@ -228,8 +228,8 @@ msgid "You have ${ amountAvailableText } HTR available" msgstr "У вас ${ amountAvailableText } HTR" #: src/screens/CreateTokenAmount.js:149 src/screens/CreateTokenName.js:64 -#: src/screens/CreateTokenSymbol.js:84 src/screens/InitWallet.js:220 -#: src/screens/InitWallet.js:349 src/screens/SendAddressInput.js:66 +#: src/screens/CreateTokenSymbol.js:84 src/screens/InitWallet.js:229 +#: src/screens/InitWallet.js:358 src/screens/SendAddressInput.js:66 #: src/screens/SendAmountInput.js:185 msgid "Next" msgstr "Далее" @@ -351,11 +351,11 @@ msgstr "" msgid "Register token" msgstr "Зарегистрировать токен" -#: src/screens/InitWallet.js:61 +#: src/screens/InitWallet.js:62 msgid "Welcome to Hathor Wallet!" msgstr "Добро пожаловать в Hathor Wallet!" -#: src/screens/InitWallet.js:72 +#: src/screens/InitWallet.js:73 msgid "" "For further information, check out our website |link:https://hathor." "network/|." @@ -363,25 +363,25 @@ msgstr "" "Для получения дополнительной информации, посетите наш веб-сайт |link:https://" "hathor.network/|." -#: src/screens/InitWallet.js:85 +#: src/screens/InitWallet.js:86 msgid "" "I agree with the |link1:Terms of Service| and |link2:Privacy Policy| and " "understand the risks of using a mobile wallet" msgstr "" -#: src/screens/InitWallet.js:97 +#: src/screens/InitWallet.js:98 msgid "Start" msgstr "Начать" -#: src/screens/InitWallet.js:114 +#: src/screens/InitWallet.js:115 msgid "To start," msgstr "Начать," -#: src/screens/InitWallet.js:116 +#: src/screens/InitWallet.js:117 msgid "You need to **initialize your wallet**." msgstr "Вам нужно **инициализировать свой кошелек**." -#: src/screens/InitWallet.js:119 +#: src/screens/InitWallet.js:120 msgid "" "You can either **start a new wallet** or **import a wallet** that already " "exists." @@ -389,23 +389,23 @@ msgstr "" "Вы можете **создать новый кошелек**, либо **импортировать кошелек**, который " "уже существует." -#: src/screens/InitWallet.js:122 +#: src/screens/InitWallet.js:123 msgid "To import a wallet, you will need to provide your seed words." msgstr "Чтобы импортировать кошелек, необходимо ввести seed-фразу." -#: src/screens/InitWallet.js:127 +#: src/screens/InitWallet.js:128 msgid "Import Wallet" msgstr "Импортировать Кошелек" -#: src/screens/InitWallet.js:133 +#: src/screens/InitWallet.js:134 msgid "New Wallet" msgstr "Новый Кошелек" -#: src/screens/InitWallet.js:211 +#: src/screens/InitWallet.js:220 msgid "Your wallet has been created!" msgstr "Ваш кошелек создан!" -#: src/screens/InitWallet.js:213 +#: src/screens/InitWallet.js:222 msgid "" "You must **do a backup** and save the words below **in the same order they " "appear**." @@ -413,11 +413,11 @@ msgstr "" "Вы должны **сделать резервную копию** и сохранить слова ниже **в том же " "порядке, в котором они появились**." -#: src/screens/InitWallet.js:310 +#: src/screens/InitWallet.js:319 msgid "To import a wallet," msgstr "Чтобы импортировать кошелек," -#: src/screens/InitWallet.js:312 +#: src/screens/InitWallet.js:321 #, javascript-format msgid "" "You need to **write down the ${ this.numberOfWords } seed words** of your " @@ -425,17 +425,17 @@ msgid "" msgstr "" "Вам нужно **записать ${ this.numberOfWords } seed-фразу** вашего кошелька." -#: src/screens/InitWallet.js:315 +#: src/screens/InitWallet.js:324 msgid "Words" msgstr "Слова" -#: src/screens/InitWallet.js:320 +#: src/screens/InitWallet.js:329 msgid "Enter your seed words separated by space" msgstr "Введите seed-фразу" #: src/components/NanoContract/NanoContractDetails.js:238 -#: src/components/WalletConnect/CreateTokenRequest.js:197 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:295 +#: src/components/Reown/CreateTokenRequest.js:197 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:357 #: src/screens/LoadHistoryScreen.js:51 src/screens/LoadWalletErrorScreen.js:20 #: src/screens/NanoContract/NanoContractRegisterScreen.js:168 msgid "Try again" @@ -518,13 +518,12 @@ msgstr "Вы только что получили **${ amount } ${ symbol }**" msgid "PAYMENT REQUEST" msgstr "ЗАПРОС СРЕДСТВ" -#: src/components/TxDetailsModal.js:101 src/screens/PaymentRequestDetail.js:123 +#: src/components/TxDetailsModal.js:100 src/screens/PaymentRequestDetail.js:123 msgid "Token" msgstr "Токен" -#: src/components/TxDetailsModal.js:166 -#: src/components/WalletConnect/CreateTokenRequest.js:82 -#: src/screens/PaymentRequestDetail.js:127 +#: src/components/Reown/CreateTokenRequest.js:82 +#: src/components/TxDetailsModal.js:165 src/screens/PaymentRequestDetail.js:127 msgid "Amount" msgstr "Количество" @@ -556,11 +555,11 @@ msgstr "Введите свой PIN-код " msgid "Unlock Hathor Wallet" msgstr "Разблокировать Hathor Wallet" -#: src/components/WalletConnect/CreateTokenModal.js:60 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:64 -#: src/components/WalletConnect/SignMessageModal.js:72 -#: src/screens/PinScreen.js:265 -#: src/screens/WalletConnect/WalletConnectList.js:125 +#: src/components/Reown/CreateTokenModal.js:60 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:65 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:79 +#: src/components/Reown/SignMessageModal.js:79 src/screens/PinScreen.js:265 +#: src/screens/Reown/ReownList.js:125 msgid "Cancel" msgstr "Отмена" @@ -719,7 +718,7 @@ msgstr "Ваш перевод **${ this.amountAndToken }** был подтвер #: src/components/NanoContract/EditAddressModal.js:60 #: src/components/NanoContract/SelectAddressModal.js:117 -#: src/components/WalletConnect/SignMessageRequest.js:40 +#: src/components/Reown/SignMessageRequest.js:40 #: src/screens/SendConfirmScreen.js:161 msgid "Address" msgstr "Адрес" @@ -742,8 +741,7 @@ msgstr "OK" msgid "You don't have the requested token [${ tokenLabel }]" msgstr "У вас нет запрошенного токена [${ tokenLabel }]" -#: src/screens/SendScanQRCode.js:103 -#: src/screens/WalletConnect/WalletConnectScan.js:49 +#: src/screens/Reown/ReownScan.js:49 src/screens/SendScanQRCode.js:103 msgid "Scan the QR code" msgstr "Сканировать QR-код" @@ -819,64 +817,71 @@ msgstr "Я хочу отменить регистрацию токена **${ to msgid "Unregister token" msgstr "Отменить регистрацию токена" -#: src/screens/WalletConnect/CreateTokenScreen.js:25 +#: src/screens/Reown/CreateTokenScreen.js:25 msgid "Create Token Request" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:48 -#: src/screens/WalletConnect/NewNanoContractTransactionScreen.js:24 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:49 +#: src/screens/Reown/NewNanoContractTransactionScreen.js:24 msgid "New Nano Contract Transaction" msgstr "" -#: src/screens/WalletConnect/SignMessageRequestScreen.js:25 -msgid "Sign Message Request" -msgstr "" - -#: src/screens/WalletConnect/WalletConnectList.js:33 +#: src/screens/Reown/ReownList.js:33 msgid "There was an error connecting. Please try again later." msgstr "" #. translator: Used when the QR Code Scanner is opened, and user will manually #. enter the information. -#: src/screens/WalletConnect/WalletConnectList.js:111 +#: src/screens/Reown/ReownList.js:111 msgid "Add" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:117 +#: src/screens/Reown/ReownList.js:117 msgid "End session" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:117 +#: src/screens/Reown/ReownList.js:117 msgid "This will disconnect the session." msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:119 +#: src/screens/Reown/ReownList.js:119 msgid "End" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:137 -msgid "Wallet Connect Sessions" +#: src/screens/Reown/ReownList.js:137 +msgid "Reown Sessions" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:39 +#: src/screens/Reown/ReownManual.js:39 msgid "Manual Connection" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:45 -msgid "Wallet Connect URI" +#: src/screens/Reown/ReownManual.js:45 +msgid "Reown URI" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:57 -#: src/screens/WalletConnect/WalletConnectScan.js:34 +#: src/screens/Reown/ReownManual.js:57 src/screens/Reown/ReownScan.js:34 msgid "Connect" msgstr "" #. translator: Used when the QR Code Scanner is opened, and user will manually #. enter the information. -#: src/screens/WalletConnect/WalletConnectScan.js:41 +#: src/screens/Reown/ReownScan.js:41 msgid "Manual" msgstr "" +#: src/screens/Reown/SignMessageRequestScreen.js:25 +msgid "Sign Message Request" +msgstr "" + +#: src/screens/Reown/SignOracleDataRequestScreen.js:25 +msgid "Sign Oracle Data Request" +msgstr "" + +#: src/screens/Reown/SuccessFeedbackScreen.js:36 +msgid "Back" +msgstr "" + #: src/screens/NetworkSettings/CustomNetworkSettingsScreen.js:18 msgid "Custom Network Settings" msgstr "" @@ -956,7 +961,7 @@ msgstr "" msgid "Network Pre-Settings" msgstr "" -#: src/screens/NetworkSettings/NetworkPreSettingsScreen.js:127 +#: src/screens/NetworkSettings/NetworkPreSettingsScreen.js:131 msgid "Customize" msgstr "" @@ -989,7 +994,8 @@ msgstr "" #: src/components/NanoContract/NanoContractDetails.js:202 #: src/components/NanoContract/SelectAddressModal.js:105 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:215 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:243 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:283 #: src/screens/NanoContract/NanoContractRegisterScreen.js:184 msgid "Loading" msgstr "" @@ -1001,8 +1007,8 @@ msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:142 #: src/components/NanoContract/NanoContractTransactionHeader.js:85 #: src/components/NanoContract/NanoContractsListItem.js:57 -#: src/components/TxDetailsModal.js:106 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:83 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:80 +#: src/components/TxDetailsModal.js:117 #: src/screens/NanoContract/NanoContractRegisterScreen.js:194 msgid "Nano Contract ID" msgstr "" @@ -1019,6 +1025,7 @@ msgstr "" msgid "after the contract is registered." msgstr "" +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:259 #: src/screens/NanoContract/NanoContractRegisterScreen.js:233 msgid "Register Nano Contract" msgstr "" @@ -1071,37 +1078,37 @@ msgstr "" msgid "Error while trying to download Nano Contract transactions history." msgstr "" -#: src/sagas/networkSettings.js:85 +#: src/sagas/networkSettings.js:86 msgid "Custom Network Settings cannot be empty." msgstr "" -#: src/sagas/networkSettings.js:92 +#: src/sagas/networkSettings.js:93 msgid "explorerUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:99 +#: src/sagas/networkSettings.js:100 msgid "explorerServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:106 +#: src/sagas/networkSettings.js:107 msgid "txMiningServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:113 +#: src/sagas/networkSettings.js:114 msgid "nodeUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:120 +#: src/sagas/networkSettings.js:121 msgid "walletServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:127 +#: src/sagas/networkSettings.js:128 msgid "walletServiceWsUrl should be a valid URL." msgstr "" #. If we fall into this situation, the app should be killed #. for the custom new network settings take effect. -#: src/sagas/networkSettings.js:279 +#: src/sagas/networkSettings.js:280 msgid "Wallet not found while trying to persist the custom network settings." msgstr "" @@ -1121,21 +1128,21 @@ msgstr "" msgid "Error loading the details of some tokens." msgstr "" -#: src/sagas/wallet.js:780 +#: src/sagas/wallet.js:789 msgid "Wallet is not ready to load addresses." msgstr "" #. This will show the message in the feedback content at SelectAddressModal -#: src/sagas/wallet.js:796 +#: src/sagas/wallet.js:805 msgid "There was an error while loading wallet addresses. Try again." msgstr "" -#: src/sagas/wallet.js:806 +#: src/sagas/wallet.js:815 msgid "Wallet is not ready to load the first address." msgstr "" #. This will show the message in the feedback content -#: src/sagas/wallet.js:822 +#: src/sagas/wallet.js:831 msgid "There was an error while loading first wallet address. Try again." msgstr "" @@ -1228,7 +1235,7 @@ msgstr "Нет соединения с интернетом" msgid "Public Explorer" msgstr "Public Explorer" -#: src/components/PushTxDetailsModal.js:76 src/components/TxDetailsModal.js:103 +#: src/components/PushTxDetailsModal.js:76 src/components/TxDetailsModal.js:102 msgid "Date & Time" msgstr "Дата и Время" @@ -1288,308 +1295,343 @@ msgstr "" msgid "Voided" msgstr "" -#: src/components/TxDetailsModal.js:102 +#: src/components/TxDetailsModal.js:101 msgid "Description" msgstr "Описание" #: src/components/NanoContract/NanoContractTransactionHeader.js:44 -#: src/components/TxDetailsModal.js:104 +#: src/components/TxDetailsModal.js:103 msgid "Transaction ID" msgstr "" +#: src/components/TxDetailsModal.js:107 +msgid "Nano Contract Status" +msgstr "" + #: src/components/NanoContract/NanoContractTransactionHeader.js:89 -#: src/components/TxDetailsModal.js:105 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:116 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:113 +#: src/components/TxDetailsModal.js:116 msgid "Blueprint Method" msgstr "" -#: src/components/TxDetailsModal.js:107 +#: src/components/TxDetailsModal.js:118 msgid "Nano Contract Caller" msgstr "" -#: src/components/TxDetailsModal.js:111 -msgid "Nano Contract Status" -msgstr "" - #: src/components/NanoContract/NanoContractDetailsHeader.js:79 -#: src/components/TxDetailsModal.js:120 +#: src/components/TxDetailsModal.js:119 msgid "Nano Contract" msgstr "" -#: src/components/WalletConnect/ApproveRejectModal.js:63 +#: src/components/Reown/ApproveRejectModal.js:63 msgid "Reject" msgstr "" -#: src/components/WalletConnect/ApproveRejectModal.js:64 +#: src/components/Reown/ApproveRejectModal.js:64 msgid "Approve" msgstr "" -#: src/components/WalletConnect/ConnectModal.js:38 +#: src/components/Reown/ConnectModal.js:38 msgid "Connect to this dApp?" msgstr "" -#: src/components/WalletConnect/ConnectModal.js:41 +#: src/components/Reown/ConnectModal.js:41 msgid "" "By clicking connect, you allow this dapp to receive your wallet's public " "address. Please validate the URL and the dApp name, this is an important " "security step to protect your data from potential phishing risks." msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:44 +#: src/components/Reown/CreateTokenModal.js:44 msgid "New Create Token Request" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:48 +#: src/components/Reown/CreateTokenModal.js:48 msgid "You have received a new Create Token Request. Please" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:50 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:54 -#: src/components/WalletConnect/SignMessageModal.js:62 +#: src/components/Reown/CreateTokenModal.js:50 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:55 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:69 +#: src/components/Reown/SignMessageModal.js:69 msgid "carefully review the details" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:52 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:56 -#: src/components/WalletConnect/SignMessageModal.js:64 +#: src/components/Reown/CreateTokenModal.js:52 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:57 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:71 +#: src/components/Reown/SignMessageModal.js:71 msgid "before deciding to accept or decline." msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:56 +#: src/components/Reown/CreateTokenModal.js:56 msgid "Review Create Token Request details" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:74 +#: src/components/Reown/CreateTokenRequest.js:74 msgid "Yes" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:74 +#: src/components/Reown/CreateTokenRequest.js:74 msgid "No" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:80 +#: src/components/Reown/CreateTokenRequest.js:80 msgid "Name" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:81 +#: src/components/Reown/CreateTokenRequest.js:81 msgid "Symbol" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:83 +#: src/components/Reown/CreateTokenRequest.js:83 #, javascript-format msgid "Address to send newly minted ${ data.symbol }" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:84 +#: src/components/Reown/CreateTokenRequest.js:84 msgid "Address to send change ${ DEFAULT_TOKEN.uid }" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:85 +#: src/components/Reown/CreateTokenRequest.js:85 msgid "Create mint authority?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:86 +#: src/components/Reown/CreateTokenRequest.js:86 msgid "Create melt authority?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:87 +#: src/components/Reown/CreateTokenRequest.js:87 msgid "Address to send the mint authority" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:88 +#: src/components/Reown/CreateTokenRequest.js:88 msgid "Address to send the melt authority" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:92 +#: src/components/Reown/CreateTokenRequest.js:92 msgid "Allow external mint authority addresses?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:99 +#: src/components/Reown/CreateTokenRequest.js:99 msgid "Allow external melt authority addresses?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:103 +#: src/components/Reown/CreateTokenRequest.js:103 msgid "Token data" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:158 -#: src/components/WalletConnect/SignMessageRequest.js:81 +#: src/components/Reown/CreateTokenRequest.js:158 +#: src/components/Reown/SignMessageRequest.js:81 +#: src/components/Reown/SignOracleDataRequest.js:76 msgid "Accept Request" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:162 -#: src/components/WalletConnect/SignMessageRequest.js:85 +#: src/components/Reown/CreateTokenRequest.js:162 +#: src/components/Reown/SignMessageRequest.js:85 +#: src/components/Reown/SignOracleDataRequest.js:80 msgid "Decline Request" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:172 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:258 +#: src/components/Reown/CreateTokenRequest.js:172 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:293 msgid "Sending transaction" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:173 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:259 +#: src/components/Reown/CreateTokenRequest.js:173 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:294 msgid "Please wait." msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:186 +#: src/components/Reown/CreateTokenRequest.js:186 msgid "Create Token Transaction successfully sent." msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:188 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:287 +#: src/components/Reown/CreateTokenRequest.js:188 msgid "Ok, close" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:195 +#: src/components/Reown/CreateTokenRequest.js:195 msgid "Error while sending create token transaction." msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:56 +#: src/components/Reown/SignMessageModal.js:63 msgid "New Sign Message Request" msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:60 +#: src/components/Reown/SignMessageModal.js:67 msgid "You have received a new Sign Message Request. Please" msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:68 +#: src/components/Reown/SignMessageModal.js:75 msgid "Review Sign Message Request details" msgstr "" -#: src/components/WalletConnect/SignMessageRequest.js:35 +#: src/components/Reown/SignMessageRequest.js:35 msgid "Message to sign" msgstr "" -#: src/components/WalletConnect/SignMessageRequest.js:45 +#: src/components/Reown/SignMessageRequest.js:45 msgid "Address Path" msgstr "" -#: src/components/WalletConnect/WarnDisclaimer.js:27 +#: src/components/Reown/SignOracleDataRequest.js:35 +msgid "Oracle data to sign" +msgstr "" + +#: src/components/Reown/SignOracleDataRequest.js:40 +msgid "Oracle" +msgstr "" + +#: src/components/Reown/WarnDisclaimer.js:27 msgid "" "Caution: There are risks associated with signing dapp transaction requests." msgstr "" -#: src/components/WalletConnect/WarnDisclaimer.js:33 +#: src/components/Reown/WarnDisclaimer.js:33 msgid "Read More." msgstr "" -#: src/components/WalletConnect/NanoContract/DappContainer.js:41 +#: src/components/Reown/NanoContract/DappContainer.js:41 msgid "Review your transaction from this dApp" msgstr "" -#: src/components/WalletConnect/NanoContract/DappContainer.js:44 +#: src/components/Reown/NanoContract/DappContainer.js:44 msgid "Stay vigilant and protect your data from potential phishing attempts." msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:26 +#: src/components/Reown/NanoContract/DeclineModal.js:26 msgid "Decline transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:29 +#: src/components/Reown/NanoContract/DeclineModal.js:29 msgid "Are you sure you want to decline this transaction?" msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:33 +#: src/components/Reown/NanoContract/DeclineModal.js:33 msgid "Yes, decline transaction" msgstr "" #: src/components/NanoContract/UnregisterNanoContractModal.js:50 -#: src/components/WalletConnect/NanoContract/DeclineModal.js:39 +#: src/components/Reown/NanoContract/DeclineModal.js:39 msgid "No, go back" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:36 +#: src/components/Reown/NanoContract/NanoContractActions.js:36 #, javascript-format msgid "${ tokenSymbol } Deposit" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:37 +#: src/components/Reown/NanoContract/NanoContractActions.js:37 msgid "${ tokenSymbol } Withdrawal" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:101 +#: src/components/Reown/NanoContract/NanoContractActions.js:101 msgid "Action List" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:150 +#: src/components/Reown/NanoContract/NanoContractActions.js:150 msgid "To Address:" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:88 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:85 msgid "Blueprint ID" msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:146 #: src/components/NanoContract/NanoContractsListItem.js:59 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:93 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:90 msgid "Blueprint Name" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:109 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:140 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:106 msgid "Loading..." msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:103 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:124 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:121 msgid "Caller" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:143 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:132 msgid "Couldn't determine address, select one" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:51 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:51 #, javascript-format msgid "Position ${ idx }" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:100 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:100 msgid "Arguments" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:105 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:105 msgid "Loading arguments." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:52 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:53 msgid "You have received a new Nano Contract Transaction. Please" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:60 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:61 msgid "Review transaction details" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:197 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:205 +msgid "Success!" +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:206 +msgid "Transaction successfully sent." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:244 +msgid "Registering Nano Contract." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:253 msgid "Nano Contract Not Found" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:198 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:254 msgid "" "The Nano Contract requested is not registered. First register the Nano " "Contract to interact with it." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:201 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:248 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:264 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:278 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:329 msgid "Decline Transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:216 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:276 +msgid "Error while registering Nano Contract." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:284 msgid "Loading transaction information." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:244 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:325 msgid "Accept Transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:285 -msgid "Transaction successfully sent." +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:355 +msgid "Error while sending transaction." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:293 -msgid "Error while sending transaction." +#: src/components/Reown/NanoContract/SignOracleDataModal.js:63 +msgid "New Sign Oracle Data Request" +msgstr "" + +#: src/components/Reown/NanoContract/SignOracleDataModal.js:67 +msgid "You have received a new Sign Oracle Data Request. Please" +msgstr "" + +#: src/components/Reown/NanoContract/SignOracleDataModal.js:75 +msgid "Review Sign Oracle Data Request details" msgstr "" #: src/components/NetworkSettings/NetworkStatusBar.js:14 diff --git a/locale/texts.pot b/locale/texts.pot index 72c4316a2..d19aa1e08 100644 --- a/locale/texts.pot +++ b/locale/texts.pot @@ -108,12 +108,12 @@ msgid "This app is developed by Hathor Labs and is distributed for free." msgstr "" #: src/screens/About.js:99 -#: src/screens/InitWallet.js:64 +#: src/screens/InitWallet.js:65 msgid "This wallet is connected to the **mainnet**." msgstr "" #: src/screens/About.js:102 -#: src/screens/InitWallet.js:67 +#: src/screens/InitWallet.js:68 msgid "" "A mobile wallet is not the safest place to store your tokens.\n" "So, we advise you to keep only a small amount of tokens here, such as " @@ -222,8 +222,8 @@ msgstr "" #: src/screens/CreateTokenAmount.js:149 #: src/screens/CreateTokenName.js:64 #: src/screens/CreateTokenSymbol.js:84 -#: src/screens/InitWallet.js:220 -#: src/screens/InitWallet.js:349 +#: src/screens/InitWallet.js:229 +#: src/screens/InitWallet.js:358 #: src/screens/SendAddressInput.js:66 #: src/screens/SendAmountInput.js:185 msgid "Next" @@ -346,84 +346,84 @@ msgstr "" msgid "Register token" msgstr "" -#: src/screens/InitWallet.js:61 +#: src/screens/InitWallet.js:62 msgid "Welcome to Hathor Wallet!" msgstr "" -#: src/screens/InitWallet.js:72 +#: src/screens/InitWallet.js:73 msgid "" "For further information, check out our website " "|link:https://hathor.network/|." msgstr "" -#: src/screens/InitWallet.js:85 +#: src/screens/InitWallet.js:86 msgid "" "I agree with the |link1:Terms of Service| and |link2:Privacy Policy| and " "understand the risks of using a mobile wallet" msgstr "" -#: src/screens/InitWallet.js:97 +#: src/screens/InitWallet.js:98 msgid "Start" msgstr "" -#: src/screens/InitWallet.js:114 +#: src/screens/InitWallet.js:115 msgid "To start," msgstr "" -#: src/screens/InitWallet.js:116 +#: src/screens/InitWallet.js:117 msgid "You need to **initialize your wallet**." msgstr "" -#: src/screens/InitWallet.js:119 +#: src/screens/InitWallet.js:120 msgid "" "You can either **start a new wallet** or **import a wallet** that already " "exists." msgstr "" -#: src/screens/InitWallet.js:122 +#: src/screens/InitWallet.js:123 msgid "To import a wallet, you will need to provide your seed words." msgstr "" -#: src/screens/InitWallet.js:127 +#: src/screens/InitWallet.js:128 msgid "Import Wallet" msgstr "" -#: src/screens/InitWallet.js:133 +#: src/screens/InitWallet.js:134 msgid "New Wallet" msgstr "" -#: src/screens/InitWallet.js:211 +#: src/screens/InitWallet.js:220 msgid "Your wallet has been created!" msgstr "" -#: src/screens/InitWallet.js:213 +#: src/screens/InitWallet.js:222 msgid "" "You must **do a backup** and save the words below **in the same order they " "appear**." msgstr "" -#: src/screens/InitWallet.js:310 +#: src/screens/InitWallet.js:319 msgid "To import a wallet," msgstr "" -#: src/screens/InitWallet.js:312 +#: src/screens/InitWallet.js:321 #, javascript-format msgid "" "You need to **write down the ${ this.numberOfWords } seed words** of your " "wallet, separated by space." msgstr "" -#: src/screens/InitWallet.js:315 +#: src/screens/InitWallet.js:324 msgid "Words" msgstr "" -#: src/screens/InitWallet.js:320 +#: src/screens/InitWallet.js:329 msgid "Enter your seed words separated by space" msgstr "" #: src/components/NanoContract/NanoContractDetails.js:238 -#: src/components/WalletConnect/CreateTokenRequest.js:197 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:295 +#: src/components/Reown/CreateTokenRequest.js:197 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:357 #: src/screens/LoadHistoryScreen.js:51 #: src/screens/LoadWalletErrorScreen.js:20 #: src/screens/NanoContract/NanoContractRegisterScreen.js:168 @@ -509,13 +509,13 @@ msgstr "" msgid "PAYMENT REQUEST" msgstr "" -#: src/components/TxDetailsModal.js:101 +#: src/components/TxDetailsModal.js:100 #: src/screens/PaymentRequestDetail.js:123 msgid "Token" msgstr "" -#: src/components/TxDetailsModal.js:166 -#: src/components/WalletConnect/CreateTokenRequest.js:82 +#: src/components/Reown/CreateTokenRequest.js:82 +#: src/components/TxDetailsModal.js:165 #: src/screens/PaymentRequestDetail.js:127 msgid "Amount" msgstr "" @@ -549,11 +549,12 @@ msgstr "" msgid "Unlock Hathor Wallet" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:60 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:64 -#: src/components/WalletConnect/SignMessageModal.js:72 +#: src/components/Reown/CreateTokenModal.js:60 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:65 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:79 +#: src/components/Reown/SignMessageModal.js:79 #: src/screens/PinScreen.js:265 -#: src/screens/WalletConnect/WalletConnectList.js:125 +#: src/screens/Reown/ReownList.js:125 msgid "Cancel" msgstr "" @@ -714,7 +715,7 @@ msgstr "" #: src/components/NanoContract/EditAddressModal.js:60 #: src/components/NanoContract/SelectAddressModal.js:117 -#: src/components/WalletConnect/SignMessageRequest.js:40 +#: src/components/Reown/SignMessageRequest.js:40 #: src/screens/SendConfirmScreen.js:161 msgid "Address" msgstr "" @@ -737,8 +738,8 @@ msgstr "" msgid "You don't have the requested token [${ tokenLabel }]" msgstr "" +#: src/screens/Reown/ReownScan.js:49 #: src/screens/SendScanQRCode.js:103 -#: src/screens/WalletConnect/WalletConnectScan.js:49 msgid "Scan the QR code" msgstr "" @@ -811,64 +812,72 @@ msgstr "" msgid "Unregister token" msgstr "" -#: src/screens/WalletConnect/CreateTokenScreen.js:25 +#: src/screens/Reown/CreateTokenScreen.js:25 msgid "Create Token Request" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:48 -#: src/screens/WalletConnect/NewNanoContractTransactionScreen.js:24 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:49 +#: src/screens/Reown/NewNanoContractTransactionScreen.js:24 msgid "New Nano Contract Transaction" msgstr "" -#: src/screens/WalletConnect/SignMessageRequestScreen.js:25 -msgid "Sign Message Request" -msgstr "" - -#: src/screens/WalletConnect/WalletConnectList.js:33 +#: src/screens/Reown/ReownList.js:33 msgid "There was an error connecting. Please try again later." msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:111 +#: src/screens/Reown/ReownList.js:111 #. translator: Used when the QR Code Scanner is opened, and user will manually #. enter the information. msgid "Add" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:117 +#: src/screens/Reown/ReownList.js:117 msgid "End session" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:117 +#: src/screens/Reown/ReownList.js:117 msgid "This will disconnect the session." msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:119 +#: src/screens/Reown/ReownList.js:119 msgid "End" msgstr "" -#: src/screens/WalletConnect/WalletConnectList.js:137 -msgid "Wallet Connect Sessions" +#: src/screens/Reown/ReownList.js:137 +msgid "Reown Sessions" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:39 +#: src/screens/Reown/ReownManual.js:39 msgid "Manual Connection" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:45 -msgid "Wallet Connect URI" +#: src/screens/Reown/ReownManual.js:45 +msgid "Reown URI" msgstr "" -#: src/screens/WalletConnect/WalletConnectManual.js:57 -#: src/screens/WalletConnect/WalletConnectScan.js:34 +#: src/screens/Reown/ReownManual.js:57 +#: src/screens/Reown/ReownScan.js:34 msgid "Connect" msgstr "" -#: src/screens/WalletConnect/WalletConnectScan.js:41 +#: src/screens/Reown/ReownScan.js:41 #. translator: Used when the QR Code Scanner is opened, and user will manually #. enter the information. msgid "Manual" msgstr "" +#: src/screens/Reown/SignMessageRequestScreen.js:25 +msgid "Sign Message Request" +msgstr "" + +#: src/screens/Reown/SignOracleDataRequestScreen.js:25 +msgid "Sign Oracle Data Request" +msgstr "" + +#: src/screens/Reown/SuccessFeedbackScreen.js:36 +msgid "Back" +msgstr "" + #: src/screens/NetworkSettings/CustomNetworkSettingsScreen.js:18 msgid "Custom Network Settings" msgstr "" @@ -948,7 +957,7 @@ msgstr "" msgid "Network Pre-Settings" msgstr "" -#: src/screens/NetworkSettings/NetworkPreSettingsScreen.js:127 +#: src/screens/NetworkSettings/NetworkPreSettingsScreen.js:131 msgid "Customize" msgstr "" @@ -981,7 +990,8 @@ msgstr "" #: src/components/NanoContract/NanoContractDetails.js:202 #: src/components/NanoContract/SelectAddressModal.js:105 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:215 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:243 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:283 #: src/screens/NanoContract/NanoContractRegisterScreen.js:184 msgid "Loading" msgstr "" @@ -993,8 +1003,8 @@ msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:142 #: src/components/NanoContract/NanoContractTransactionHeader.js:85 #: src/components/NanoContract/NanoContractsListItem.js:57 -#: src/components/TxDetailsModal.js:106 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:83 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:80 +#: src/components/TxDetailsModal.js:117 #: src/screens/NanoContract/NanoContractRegisterScreen.js:194 msgid "Nano Contract ID" msgstr "" @@ -1011,6 +1021,7 @@ msgstr "" msgid "after the contract is registered." msgstr "" +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:259 #: src/screens/NanoContract/NanoContractRegisterScreen.js:233 msgid "Register Nano Contract" msgstr "" @@ -1063,35 +1074,35 @@ msgstr "" msgid "Error while trying to download Nano Contract transactions history." msgstr "" -#: src/sagas/networkSettings.js:85 +#: src/sagas/networkSettings.js:86 msgid "Custom Network Settings cannot be empty." msgstr "" -#: src/sagas/networkSettings.js:92 +#: src/sagas/networkSettings.js:93 msgid "explorerUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:99 +#: src/sagas/networkSettings.js:100 msgid "explorerServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:106 +#: src/sagas/networkSettings.js:107 msgid "txMiningServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:113 +#: src/sagas/networkSettings.js:114 msgid "nodeUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:120 +#: src/sagas/networkSettings.js:121 msgid "walletServiceUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:127 +#: src/sagas/networkSettings.js:128 msgid "walletServiceWsUrl should be a valid URL." msgstr "" -#: src/sagas/networkSettings.js:279 +#: src/sagas/networkSettings.js:280 #. If we fall into this situation, the app should be killed #. for the custom new network settings take effect. msgid "Wallet not found while trying to persist the custom network settings." @@ -1113,20 +1124,20 @@ msgstr "" msgid "Error loading the details of some tokens." msgstr "" -#: src/sagas/wallet.js:780 +#: src/sagas/wallet.js:789 msgid "Wallet is not ready to load addresses." msgstr "" -#: src/sagas/wallet.js:796 +#: src/sagas/wallet.js:805 #. This will show the message in the feedback content at SelectAddressModal msgid "There was an error while loading wallet addresses. Try again." msgstr "" -#: src/sagas/wallet.js:806 +#: src/sagas/wallet.js:815 msgid "Wallet is not ready to load the first address." msgstr "" -#: src/sagas/wallet.js:822 +#: src/sagas/wallet.js:831 #. This will show the message in the feedback content msgid "There was an error while loading first wallet address. Try again." msgstr "" @@ -1221,7 +1232,7 @@ msgid "Public Explorer" msgstr "" #: src/components/PushTxDetailsModal.js:76 -#: src/components/TxDetailsModal.js:103 +#: src/components/TxDetailsModal.js:102 msgid "Date & Time" msgstr "" @@ -1280,307 +1291,342 @@ msgstr "" msgid "Voided" msgstr "" -#: src/components/TxDetailsModal.js:102 +#: src/components/TxDetailsModal.js:101 msgid "Description" msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:44 -#: src/components/TxDetailsModal.js:104 +#: src/components/TxDetailsModal.js:103 msgid "Transaction ID" msgstr "" +#: src/components/TxDetailsModal.js:107 +msgid "Nano Contract Status" +msgstr "" + #: src/components/NanoContract/NanoContractTransactionHeader.js:89 -#: src/components/TxDetailsModal.js:105 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:116 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:113 +#: src/components/TxDetailsModal.js:116 msgid "Blueprint Method" msgstr "" -#: src/components/TxDetailsModal.js:107 +#: src/components/TxDetailsModal.js:118 msgid "Nano Contract Caller" msgstr "" -#: src/components/TxDetailsModal.js:111 -msgid "Nano Contract Status" -msgstr "" - #: src/components/NanoContract/NanoContractDetailsHeader.js:79 -#: src/components/TxDetailsModal.js:120 +#: src/components/TxDetailsModal.js:119 msgid "Nano Contract" msgstr "" -#: src/components/WalletConnect/ApproveRejectModal.js:63 +#: src/components/Reown/ApproveRejectModal.js:63 msgid "Reject" msgstr "" -#: src/components/WalletConnect/ApproveRejectModal.js:64 +#: src/components/Reown/ApproveRejectModal.js:64 msgid "Approve" msgstr "" -#: src/components/WalletConnect/ConnectModal.js:38 +#: src/components/Reown/ConnectModal.js:38 msgid "Connect to this dApp?" msgstr "" -#: src/components/WalletConnect/ConnectModal.js:41 +#: src/components/Reown/ConnectModal.js:41 msgid "" "By clicking connect, you allow this dapp to receive your wallet's public " "address. Please validate the URL and the dApp name, this is an important " "security step to protect your data from potential phishing risks." msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:44 +#: src/components/Reown/CreateTokenModal.js:44 msgid "New Create Token Request" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:48 +#: src/components/Reown/CreateTokenModal.js:48 msgid "You have received a new Create Token Request. Please" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:50 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:54 -#: src/components/WalletConnect/SignMessageModal.js:62 +#: src/components/Reown/CreateTokenModal.js:50 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:55 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:69 +#: src/components/Reown/SignMessageModal.js:69 msgid "carefully review the details" msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:52 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:56 -#: src/components/WalletConnect/SignMessageModal.js:64 +#: src/components/Reown/CreateTokenModal.js:52 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:57 +#: src/components/Reown/NanoContract/SignOracleDataModal.js:71 +#: src/components/Reown/SignMessageModal.js:71 msgid "before deciding to accept or decline." msgstr "" -#: src/components/WalletConnect/CreateTokenModal.js:56 +#: src/components/Reown/CreateTokenModal.js:56 msgid "Review Create Token Request details" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:74 +#: src/components/Reown/CreateTokenRequest.js:74 msgid "Yes" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:74 +#: src/components/Reown/CreateTokenRequest.js:74 msgid "No" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:80 +#: src/components/Reown/CreateTokenRequest.js:80 msgid "Name" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:81 +#: src/components/Reown/CreateTokenRequest.js:81 msgid "Symbol" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:83 +#: src/components/Reown/CreateTokenRequest.js:83 #, javascript-format msgid "Address to send newly minted ${ data.symbol }" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:84 +#: src/components/Reown/CreateTokenRequest.js:84 msgid "Address to send change ${ DEFAULT_TOKEN.uid }" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:85 +#: src/components/Reown/CreateTokenRequest.js:85 msgid "Create mint authority?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:86 +#: src/components/Reown/CreateTokenRequest.js:86 msgid "Create melt authority?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:87 +#: src/components/Reown/CreateTokenRequest.js:87 msgid "Address to send the mint authority" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:88 +#: src/components/Reown/CreateTokenRequest.js:88 msgid "Address to send the melt authority" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:92 +#: src/components/Reown/CreateTokenRequest.js:92 msgid "Allow external mint authority addresses?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:99 +#: src/components/Reown/CreateTokenRequest.js:99 msgid "Allow external melt authority addresses?" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:103 +#: src/components/Reown/CreateTokenRequest.js:103 msgid "Token data" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:158 -#: src/components/WalletConnect/SignMessageRequest.js:81 +#: src/components/Reown/CreateTokenRequest.js:158 +#: src/components/Reown/SignMessageRequest.js:81 +#: src/components/Reown/SignOracleDataRequest.js:76 msgid "Accept Request" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:162 -#: src/components/WalletConnect/SignMessageRequest.js:85 +#: src/components/Reown/CreateTokenRequest.js:162 +#: src/components/Reown/SignMessageRequest.js:85 +#: src/components/Reown/SignOracleDataRequest.js:80 msgid "Decline Request" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:172 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:258 +#: src/components/Reown/CreateTokenRequest.js:172 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:293 msgid "Sending transaction" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:173 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:259 +#: src/components/Reown/CreateTokenRequest.js:173 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:294 msgid "Please wait." msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:186 +#: src/components/Reown/CreateTokenRequest.js:186 msgid "Create Token Transaction successfully sent." msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:188 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:287 +#: src/components/Reown/CreateTokenRequest.js:188 msgid "Ok, close" msgstr "" -#: src/components/WalletConnect/CreateTokenRequest.js:195 +#: src/components/Reown/CreateTokenRequest.js:195 msgid "Error while sending create token transaction." msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:56 +#: src/components/Reown/SignMessageModal.js:63 msgid "New Sign Message Request" msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:60 +#: src/components/Reown/SignMessageModal.js:67 msgid "You have received a new Sign Message Request. Please" msgstr "" -#: src/components/WalletConnect/SignMessageModal.js:68 +#: src/components/Reown/SignMessageModal.js:75 msgid "Review Sign Message Request details" msgstr "" -#: src/components/WalletConnect/SignMessageRequest.js:35 +#: src/components/Reown/SignMessageRequest.js:35 msgid "Message to sign" msgstr "" -#: src/components/WalletConnect/SignMessageRequest.js:45 +#: src/components/Reown/SignMessageRequest.js:45 msgid "Address Path" msgstr "" -#: src/components/WalletConnect/WarnDisclaimer.js:27 +#: src/components/Reown/SignOracleDataRequest.js:35 +msgid "Oracle data to sign" +msgstr "" + +#: src/components/Reown/SignOracleDataRequest.js:40 +msgid "Oracle" +msgstr "" + +#: src/components/Reown/WarnDisclaimer.js:27 msgid "Caution: There are risks associated with signing dapp transaction requests." msgstr "" -#: src/components/WalletConnect/WarnDisclaimer.js:33 +#: src/components/Reown/WarnDisclaimer.js:33 msgid "Read More." msgstr "" -#: src/components/WalletConnect/NanoContract/DappContainer.js:41 +#: src/components/Reown/NanoContract/DappContainer.js:41 msgid "Review your transaction from this dApp" msgstr "" -#: src/components/WalletConnect/NanoContract/DappContainer.js:44 +#: src/components/Reown/NanoContract/DappContainer.js:44 msgid "Stay vigilant and protect your data from potential phishing attempts." msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:26 +#: src/components/Reown/NanoContract/DeclineModal.js:26 msgid "Decline transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:29 +#: src/components/Reown/NanoContract/DeclineModal.js:29 msgid "Are you sure you want to decline this transaction?" msgstr "" -#: src/components/WalletConnect/NanoContract/DeclineModal.js:33 +#: src/components/Reown/NanoContract/DeclineModal.js:33 msgid "Yes, decline transaction" msgstr "" #: src/components/NanoContract/UnregisterNanoContractModal.js:50 -#: src/components/WalletConnect/NanoContract/DeclineModal.js:39 +#: src/components/Reown/NanoContract/DeclineModal.js:39 msgid "No, go back" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:36 +#: src/components/Reown/NanoContract/NanoContractActions.js:36 #, javascript-format msgid "${ tokenSymbol } Deposit" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:37 +#: src/components/Reown/NanoContract/NanoContractActions.js:37 msgid "${ tokenSymbol } Withdrawal" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:101 +#: src/components/Reown/NanoContract/NanoContractActions.js:101 msgid "Action List" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractActions.js:150 +#: src/components/Reown/NanoContract/NanoContractActions.js:150 msgid "To Address:" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:88 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:85 msgid "Blueprint ID" msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:146 #: src/components/NanoContract/NanoContractsListItem.js:59 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:93 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:90 msgid "Blueprint Name" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:109 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:140 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:106 msgid "Loading..." msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:103 -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:124 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:121 msgid "Caller" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:143 +#: src/components/Reown/NanoContract/NanoContractExecInfo.js:132 msgid "Couldn't determine address, select one" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:51 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:51 #, javascript-format msgid "Position ${ idx }" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:100 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:100 msgid "Arguments" msgstr "" -#: src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js:105 +#: src/components/Reown/NanoContract/NanoContractMethodArgs.js:105 msgid "Loading arguments." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:52 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:53 msgid "You have received a new Nano Contract Transaction. Please" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js:60 +#: src/components/Reown/NanoContract/NewNanoContractTransactionModal.js:61 msgid "Review transaction details" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:197 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:205 +msgid "Success!" +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:206 +msgid "Transaction successfully sent." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:244 +msgid "Registering Nano Contract." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:253 msgid "Nano Contract Not Found" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:198 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:254 msgid "" "The Nano Contract requested is not registered. First register the Nano " "Contract to interact with it." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:201 -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:248 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:264 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:278 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:329 msgid "Decline Transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:216 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:276 +msgid "Error while registering Nano Contract." +msgstr "" + +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:284 msgid "Loading transaction information." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:244 +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:325 msgid "Accept Transaction" msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:285 -msgid "Transaction successfully sent." +#: src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js:355 +msgid "Error while sending transaction." msgstr "" -#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:293 -msgid "Error while sending transaction." +#: src/components/Reown/NanoContract/SignOracleDataModal.js:63 +msgid "New Sign Oracle Data Request" +msgstr "" + +#: src/components/Reown/NanoContract/SignOracleDataModal.js:67 +msgid "You have received a new Sign Oracle Data Request. Please" +msgstr "" + +#: src/components/Reown/NanoContract/SignOracleDataModal.js:75 +msgid "Review Sign Oracle Data Request details" msgstr "" #: src/components/NetworkSettings/NetworkStatusBar.js:14 diff --git a/package-lock.json b/package-lock.json index 3d186233e..24d606133 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,31 +14,30 @@ "@fortawesome/free-regular-svg-icons": "6.4.0", "@fortawesome/free-solid-svg-icons": "6.4.0", "@fortawesome/react-native-fontawesome": "0.2.7", - "@hathor/hathor-rpc-handler": "^0.0.2-experimental-alpha", + "@hathor/hathor-rpc-handler": "0.0.3-experimental-alpha", "@hathor/unleash-client": "0.1.0", "@hathor/wallet-lib": "1.10.0", - "@json-rpc-tools/utils": "^1.7.6", + "@json-rpc-tools/utils": "1.7.6", "@notifee/react-native": "5.7.0", "@react-native-async-storage/async-storage": "1.19.0", - "@react-native-community/netinfo": "11.3.1", + "@react-native-community/netinfo": "11.4.1", "@react-native-firebase/app": "16.7.0", "@react-native-firebase/messaging": "16.7.0", "@react-navigation/bottom-tabs": "6.5.8", "@react-navigation/native": "6.1.7", "@react-navigation/stack": "6.3.17", - "@sentry/react-native": "5.6.0", - "@walletconnect/core": "^2.15.1", - "@walletconnect/react-native-compat": "^2.12.2", - "@walletconnect/web3wallet": "^1.14.1", + "@reown/walletkit": "1.1.0", + "@sentry/react-native": "5.31.0", + "@walletconnect/core": "2.17.0", + "@walletconnect/react-native-compat": "2.17.0", "assert": "2.0.0", "buffer": "4.9.2", "console-browserify": "1.2.0", "crypto-js": "4.1.1", "deprecated-react-native-prop-types": "2.3.0", - "ethers": "^6.13.2", - "events": "^3.3.0", - "fast-text-encoding": "^1.0.6", - "hathor-rpc-handler-test": "^0.0.42", + "ethers": "6.13.3", + "events": "3.3.0", + "fast-text-encoding": "1.0.6", "intl": "1.2.5", "lodash": "4.17.21", "metro-config": "0.70.4", @@ -67,6 +66,7 @@ "react-native-status-bar-height": "2.6.0", "react-native-svg": "13.10.0", "react-native-tab-view": "3.5.2", + "react-native-url-polyfill": "2.0.0", "react-native-vector-icons": "9.2.0", "react-native-version-number": "0.3.6", "react-redux": "7.2.9", @@ -75,7 +75,7 @@ "redux-saga": "1.2.3", "redux-thunk": "2.4.2", "stream-browserify": "1.0.0", - "text-encoding": "^0.7.0", + "text-encoding": "0.7.0", "ttag": "1.7.24", "unleash-proxy-client": "1.11.0", "url": "0.11.1" @@ -120,8 +120,7 @@ }, "node_modules/@adraffy/ens-normalize": { "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", - "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.2.1", @@ -2177,268 +2176,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@ethersproject/abstract-provider": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", - "integrity": "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0" - } - }, - "node_modules/@ethersproject/abstract-signer": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz", - "integrity": "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "node_modules/@ethersproject/address": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz", - "integrity": "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/rlp": "^5.7.0" - } - }, - "node_modules/@ethersproject/base64": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz", - "integrity": "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0" - } - }, - "node_modules/@ethersproject/bignumber": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz", - "integrity": "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "bn.js": "^5.2.1" - } - }, - "node_modules/@ethersproject/bignumber/node_modules/bn.js": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", - "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" - }, - "node_modules/@ethersproject/bytes": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz", - "integrity": "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/constants": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz", - "integrity": "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bignumber": "^5.7.0" - } - }, - "node_modules/@ethersproject/hash": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", - "integrity": "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "node_modules/@ethersproject/keccak256": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", - "integrity": "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "js-sha3": "0.8.0" - } - }, - "node_modules/@ethersproject/logger": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz", - "integrity": "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ] - }, - "node_modules/@ethersproject/networks": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz", - "integrity": "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/properties": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", - "integrity": "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/rlp": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", - "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, "node_modules/@ethersproject/shims": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/shims/-/shims-5.7.0.tgz", @@ -2454,102 +2191,6 @@ } ] }, - "node_modules/@ethersproject/signing-key": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz", - "integrity": "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "bn.js": "^5.2.1", - "elliptic": "6.5.4", - "hash.js": "1.1.7" - } - }, - "node_modules/@ethersproject/signing-key/node_modules/bn.js": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", - "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" - }, - "node_modules/@ethersproject/strings": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz", - "integrity": "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/transactions": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz", - "integrity": "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0" - } - }, - "node_modules/@ethersproject/web": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", - "integrity": "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, "node_modules/@expo/config-plugins": { "version": "5.0.4", "license": "MIT", @@ -2755,20 +2396,22 @@ } }, "node_modules/@hathor/hathor-rpc-handler": { - "version": "0.0.2-experimental-alpha", - "resolved": "https://registry.npmjs.org/@hathor/hathor-rpc-handler/-/hathor-rpc-handler-0.0.2-experimental-alpha.tgz", - "integrity": "sha512-DLFokiS3E+O8kdbrL6vfnueIbB9+2bpvMPLKb7N/YVZOuJJ5clSsjmPa+JxxpnZjI+Z0SFGJf9zEBYgqMP/h4g==", + "version": "0.0.3-experimental-alpha", + "resolved": "https://registry.npmjs.org/@hathor/hathor-rpc-handler/-/hathor-rpc-handler-0.0.3-experimental-alpha.tgz", + "integrity": "sha512-ZnesczIAuVGYwqDkm9VJH+cXkOULfWaskXrbtxNrhUVODbKNXpTsirlhNSSB931vZIFYO7SD8T7ToJxo+qgStw==", "dependencies": { - "@hathor/wallet-lib": "1.8.0" + "@hathor/wallet-lib": "1.11.0" }, "engines": { "node": ">=20" } }, "node_modules/@hathor/hathor-rpc-handler/node_modules/@hathor/wallet-lib": { - "version": "1.8.0", - "license": "MIT", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@hathor/wallet-lib/-/wallet-lib-1.11.0.tgz", + "integrity": "sha512-TkVS5QPSj7AKJkxh2GmZNE1ubg4t4xJkg0HnXACNTGefQ+rRDF3CLxqSOAqq9wXhlxhSbppJoksRh7M5Udp3Sg==", "dependencies": { + "abstract-level": "1.0.4", "axios": "1.7.2", "bitcore-lib": "8.25.10", "bitcore-mnemonic": "8.25.10", @@ -2778,7 +2421,7 @@ "level": "8.0.1", "lodash": "4.17.21", "long": "5.2.3", - "ws": "8.17.0" + "ws": "8.17.1" }, "engines": { "node": ">=20.0.0", @@ -2787,6 +2430,8 @@ }, "node_modules/@hathor/hathor-rpc-handler/node_modules/buffer": { "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", "funding": [ { "type": "github", @@ -2801,7 +2446,6 @@ "url": "https://feross.org/support" } ], - "license": "MIT", "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" @@ -2809,11 +2453,13 @@ }, "node_modules/@hathor/hathor-rpc-handler/node_modules/crypto-js": { "version": "4.2.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" }, "node_modules/@hathor/hathor-rpc-handler/node_modules/ws": { - "version": "8.17.0", - "license": "MIT", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { "node": ">=10.0.0" }, @@ -2832,16 +2478,14 @@ }, "node_modules/@hathor/unleash-client": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@hathor/unleash-client/-/unleash-client-0.1.0.tgz", - "integrity": "sha512-SR1JBQkegKMLNhU5yWYjHcZVC9EZ9kkDz/X5a2RHZsr+dhMic1oriqin3S8jjvIhmjn/uBZFlvzaTm7ll7h3mw==", + "license": "MIT", "engines": { "node": ">=18" } }, "node_modules/@hathor/wallet-lib": { "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@hathor/wallet-lib/-/wallet-lib-1.10.0.tgz", - "integrity": "sha512-oxQoxnwZNDrgjnvblx0ipVOxMNeM8W2PJkQpyzZJyl1QpRyhqHqqyYD0iSn1bhQEq8C1IRoSrvjsd3Af5eHdWQ==", + "license": "MIT", "dependencies": { "abstract-level": "1.0.4", "axios": "1.7.2", @@ -2888,8 +2532,6 @@ }, "node_modules/@hathor/wallet-lib/node_modules/ws": { "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -4273,9 +3915,7 @@ }, "node_modules/@json-rpc-tools/types": { "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/types/-/types-1.7.6.tgz", - "integrity": "sha512-nDSqmyRNEqEK9TZHtM15uNnDljczhCUdBmRhpNZ95bIPKEDQ+nTDmGMFd2lLin3upc5h2VVVd9tkTDdbXUhDIQ==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "license": "MIT", "dependencies": { "keyvaluestorage-interface": "^1.0.0" } @@ -4307,8 +3947,7 @@ }, "node_modules/@noble/curves": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.2" }, @@ -4318,8 +3957,7 @@ }, "node_modules/@noble/hashes": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4368,8 +4006,7 @@ }, "node_modules/@parcel/watcher": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.4.1.tgz", - "integrity": "sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==", + "license": "MIT", "dependencies": { "detect-libc": "^1.0.3", "is-glob": "^4.0.3", @@ -4400,11 +4037,10 @@ }, "node_modules/@parcel/watcher-darwin-arm64": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.4.1.tgz", - "integrity": "sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -4419,11 +4055,10 @@ }, "node_modules/@parcel/watcher-wasm": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-wasm/-/watcher-wasm-2.4.1.tgz", - "integrity": "sha512-/ZR0RxqxU/xxDGzbzosMjh4W6NdYFMqq2nvo2b8SLi7rsl/4jkL8S5stIikorNkdR50oVDvqb/3JT05WM+CRRA==", "bundleDependencies": [ "napi-wasm" ], + "license": "MIT", "dependencies": { "is-glob": "^4.0.3", "micromatch": "^4.0.5", @@ -4444,8 +4079,7 @@ }, "node_modules/@pedrouid/environment": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@pedrouid/environment/-/environment-1.0.1.tgz", - "integrity": "sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==" + "license": "MIT" }, "node_modules/@react-native-async-storage/async-storage": { "version": "1.19.0", @@ -5680,9 +5314,9 @@ } }, "node_modules/@react-native-community/netinfo": { - "version": "11.3.1", - "resolved": "https://registry.npmjs.org/@react-native-community/netinfo/-/netinfo-11.3.1.tgz", - "integrity": "sha512-UBnJxyV0b7i9Moa97Av+HKho1ByzX0DtbJXzUQS5E3xhQs6P2D/Os0iw3ouy7joY1TVd6uIhplPbr7l1SJNaNQ==", + "version": "11.4.1", + "resolved": "https://registry.npmjs.org/@react-native-community/netinfo/-/netinfo-11.4.1.tgz", + "integrity": "sha512-B0BYAkghz3Q2V09BF88RA601XursIEA111tnc2JOaN7axJWmNefmfjZqw/KdSxKZp7CZUuPpjBmz/WCR9uaHYg==", "peerDependencies": { "react-native": ">=0.59" } @@ -6458,36 +6092,83 @@ "version": "1.2.1", "license": "MIT" }, + "node_modules/@reown/walletkit": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@reown/walletkit/-/walletkit-1.1.0.tgz", + "integrity": "sha512-KAWbA2H0MzsrqU680/tQ3ecm23Ip5scClzzgQD7/u3c+FlSYDlGToz7SqIShpeoDT1ZI+WepoKUdkkA8UXUtJQ==", + "dependencies": { + "@walletconnect/core": "2.17.0", + "@walletconnect/jsonrpc-provider": "1.0.14", + "@walletconnect/jsonrpc-utils": "1.0.8", + "@walletconnect/logger": "2.1.2", + "@walletconnect/sign-client": "2.17.0", + "@walletconnect/types": "2.17.0", + "@walletconnect/utils": "2.17.0" + } + }, + "node_modules/@sentry-internal/feedback": { + "version": "7.119.0", + "license": "MIT", + "dependencies": { + "@sentry/core": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@sentry-internal/replay-canvas": { + "version": "7.119.0", + "license": "MIT", + "dependencies": { + "@sentry/core": "7.119.0", + "@sentry/replay": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@sentry-internal/tracing": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "dependencies": { - "@sentry/core": "7.54.0", - "@sentry/types": "7.54.0", - "@sentry/utils": "7.54.0", - "tslib": "^1.9.3" + "@sentry/core": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0" }, "engines": { "node": ">=8" } }, + "node_modules/@sentry/babel-plugin-component-annotate": { + "version": "2.20.1", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, "node_modules/@sentry/browser": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "dependencies": { - "@sentry-internal/tracing": "7.54.0", - "@sentry/core": "7.54.0", - "@sentry/replay": "7.54.0", - "@sentry/types": "7.54.0", - "@sentry/utils": "7.54.0", - "tslib": "^1.9.3" + "@sentry-internal/feedback": "7.119.0", + "@sentry-internal/replay-canvas": "7.119.0", + "@sentry-internal/tracing": "7.119.0", + "@sentry/core": "7.119.0", + "@sentry/integrations": "7.119.0", + "@sentry/replay": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/cli": { - "version": "2.18.1", + "version": "2.31.2", "hasInstallScript": true, "license": "BSD-3-Clause", "dependencies": { @@ -6501,56 +6182,74 @@ "sentry-cli": "bin/sentry-cli" }, "engines": { - "node": ">= 10" + "node": ">= 10" + }, + "optionalDependencies": { + "@sentry/cli-darwin": "2.31.2", + "@sentry/cli-linux-arm": "2.31.2", + "@sentry/cli-linux-arm64": "2.31.2", + "@sentry/cli-linux-i686": "2.31.2", + "@sentry/cli-linux-x64": "2.31.2", + "@sentry/cli-win32-i686": "2.31.2", + "@sentry/cli-win32-x64": "2.31.2" + } + }, + "node_modules/@sentry/cli-darwin": { + "version": "2.31.2", + "license": "BSD-3-Clause", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=10" } }, "node_modules/@sentry/core": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "dependencies": { - "@sentry/types": "7.54.0", - "@sentry/utils": "7.54.0", - "tslib": "^1.9.3" + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/hub": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "dependencies": { - "@sentry/core": "7.54.0", - "@sentry/types": "7.54.0", - "@sentry/utils": "7.54.0", - "tslib": "^1.9.3" + "@sentry/core": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/integrations": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "dependencies": { - "@sentry/types": "7.54.0", - "@sentry/utils": "7.54.0", - "localforage": "^1.8.1", - "tslib": "^1.9.3" + "@sentry/core": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0", + "localforage": "^1.8.1" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/react": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "dependencies": { - "@sentry/browser": "7.54.0", - "@sentry/types": "7.54.0", - "@sentry/utils": "7.54.0", - "hoist-non-react-statics": "^3.3.2", - "tslib": "^1.9.3" + "@sentry/browser": "7.119.0", + "@sentry/core": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0", + "hoist-non-react-statics": "^3.3.2" }, "engines": { "node": ">=8" @@ -6560,48 +6259,58 @@ } }, "node_modules/@sentry/react-native": { - "version": "5.6.0", + "version": "5.31.0", "license": "MIT", "dependencies": { - "@sentry/browser": "7.54.0", - "@sentry/cli": "2.18.1", - "@sentry/core": "7.54.0", - "@sentry/hub": "7.54.0", - "@sentry/integrations": "7.54.0", - "@sentry/react": "7.54.0", - "@sentry/types": "7.54.0", - "@sentry/utils": "7.54.0" + "@sentry/babel-plugin-component-annotate": "2.20.1", + "@sentry/browser": "7.119.0", + "@sentry/cli": "2.31.2", + "@sentry/core": "7.119.0", + "@sentry/hub": "7.119.0", + "@sentry/integrations": "7.119.0", + "@sentry/react": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0" + }, + "bin": { + "sentry-expo-upload-sourcemaps": "scripts/expo-upload-sourcemaps.js" }, "peerDependencies": { + "expo": ">=49.0.0", "react": ">=17.0.0", "react-native": ">=0.65.0" + }, + "peerDependenciesMeta": { + "expo": { + "optional": true + } } }, "node_modules/@sentry/replay": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "dependencies": { - "@sentry/core": "7.54.0", - "@sentry/types": "7.54.0", - "@sentry/utils": "7.54.0" + "@sentry-internal/tracing": "7.119.0", + "@sentry/core": "7.119.0", + "@sentry/types": "7.119.0", + "@sentry/utils": "7.119.0" }, "engines": { "node": ">=12" } }, "node_modules/@sentry/types": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/@sentry/utils": { - "version": "7.54.0", + "version": "7.119.0", "license": "MIT", "dependencies": { - "@sentry/types": "7.54.0", - "tslib": "^1.9.3" + "@sentry/types": "7.119.0" }, "engines": { "node": ">=8" @@ -6642,26 +6351,22 @@ }, "node_modules/@stablelib/aead": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/aead/-/aead-1.0.1.tgz", - "integrity": "sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg==" + "license": "MIT" }, "node_modules/@stablelib/binary": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/binary/-/binary-1.0.1.tgz", - "integrity": "sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q==", + "license": "MIT", "dependencies": { "@stablelib/int": "^1.0.1" } }, "node_modules/@stablelib/bytes": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz", - "integrity": "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==" + "license": "MIT" }, "node_modules/@stablelib/chacha": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/chacha/-/chacha-1.0.1.tgz", - "integrity": "sha512-Pmlrswzr0pBzDofdFuVe1q7KdsHKhhU24e8gkEwnTGOmlC7PADzLVxGdn2PoNVBBabdg0l/IfLKg6sHAbTQugg==", + "license": "MIT", "dependencies": { "@stablelib/binary": "^1.0.1", "@stablelib/wipe": "^1.0.1" @@ -6669,8 +6374,7 @@ }, "node_modules/@stablelib/chacha20poly1305": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/chacha20poly1305/-/chacha20poly1305-1.0.1.tgz", - "integrity": "sha512-MmViqnqHd1ymwjOQfghRKw2R/jMIGT3wySN7cthjXCBdO+qErNPUBnRzqNpnvIwg7JBCg3LdeCZZO4de/yEhVA==", + "license": "MIT", "dependencies": { "@stablelib/aead": "^1.0.1", "@stablelib/binary": "^1.0.1", @@ -6682,13 +6386,11 @@ }, "node_modules/@stablelib/constant-time": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/constant-time/-/constant-time-1.0.1.tgz", - "integrity": "sha512-tNOs3uD0vSJcK6z1fvef4Y+buN7DXhzHDPqRLSXUel1UfqMB1PWNsnnAezrKfEwTLpN0cGH2p9NNjs6IqeD0eg==" + "license": "MIT" }, "node_modules/@stablelib/ed25519": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@stablelib/ed25519/-/ed25519-1.0.3.tgz", - "integrity": "sha512-puIMWaX9QlRsbhxfDc5i+mNPMY+0TmQEskunY1rZEBPi1acBCVQAhnsk/1Hk50DGPtVsZtAWQg4NHGlVaO9Hqg==", + "license": "MIT", "dependencies": { "@stablelib/random": "^1.0.2", "@stablelib/sha512": "^1.0.1", @@ -6697,13 +6399,11 @@ }, "node_modules/@stablelib/hash": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/hash/-/hash-1.0.1.tgz", - "integrity": "sha512-eTPJc/stDkdtOcrNMZ6mcMK1e6yBbqRBaNW55XA1jU8w/7QdnCF0CmMmOD1m7VSkBR44PWrMHU2l6r8YEQHMgg==" + "license": "MIT" }, "node_modules/@stablelib/hkdf": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/hkdf/-/hkdf-1.0.1.tgz", - "integrity": "sha512-SBEHYE16ZXlHuaW5RcGk533YlBj4grMeg5TooN80W3NpcHRtLZLLXvKyX0qcRFxf+BGDobJLnwkvgEwHIDBR6g==", + "license": "MIT", "dependencies": { "@stablelib/hash": "^1.0.1", "@stablelib/hmac": "^1.0.1", @@ -6712,8 +6412,7 @@ }, "node_modules/@stablelib/hmac": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/hmac/-/hmac-1.0.1.tgz", - "integrity": "sha512-V2APD9NSnhVpV/QMYgCVMIYKiYG6LSqw1S65wxVoirhU/51ACio6D4yDVSwMzuTJXWZoVHbDdINioBwKy5kVmA==", + "license": "MIT", "dependencies": { "@stablelib/constant-time": "^1.0.1", "@stablelib/hash": "^1.0.1", @@ -6722,21 +6421,18 @@ }, "node_modules/@stablelib/int": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/int/-/int-1.0.1.tgz", - "integrity": "sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w==" + "license": "MIT" }, "node_modules/@stablelib/keyagreement": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz", - "integrity": "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==", + "license": "MIT", "dependencies": { "@stablelib/bytes": "^1.0.1" } }, "node_modules/@stablelib/poly1305": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/poly1305/-/poly1305-1.0.1.tgz", - "integrity": "sha512-1HlG3oTSuQDOhSnLwJRKeTRSAdFNVB/1djy2ZbS35rBSJ/PFqx9cf9qatinWghC2UbfOYD8AcrtbUQl8WoxabA==", + "license": "MIT", "dependencies": { "@stablelib/constant-time": "^1.0.1", "@stablelib/wipe": "^1.0.1" @@ -6744,8 +6440,7 @@ }, "node_modules/@stablelib/random": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@stablelib/random/-/random-1.0.2.tgz", - "integrity": "sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==", + "license": "MIT", "dependencies": { "@stablelib/binary": "^1.0.1", "@stablelib/wipe": "^1.0.1" @@ -6753,8 +6448,7 @@ }, "node_modules/@stablelib/sha256": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/sha256/-/sha256-1.0.1.tgz", - "integrity": "sha512-GIIH3e6KH+91FqGV42Kcj71Uefd/QEe7Dy42sBTeqppXV95ggCcxLTk39bEr+lZfJmp+ghsR07J++ORkRELsBQ==", + "license": "MIT", "dependencies": { "@stablelib/binary": "^1.0.1", "@stablelib/hash": "^1.0.1", @@ -6763,8 +6457,7 @@ }, "node_modules/@stablelib/sha512": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/sha512/-/sha512-1.0.1.tgz", - "integrity": "sha512-13gl/iawHV9zvDKciLo1fQ8Bgn2Pvf7OV6amaRVKiq3pjQ3UmEpXxWiAfV8tYjUpeZroBxtyrwtdooQT/i3hzw==", + "license": "MIT", "dependencies": { "@stablelib/binary": "^1.0.1", "@stablelib/hash": "^1.0.1", @@ -6773,13 +6466,11 @@ }, "node_modules/@stablelib/wipe": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/wipe/-/wipe-1.0.1.tgz", - "integrity": "sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==" + "license": "MIT" }, "node_modules/@stablelib/x25519": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz", - "integrity": "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==", + "license": "MIT", "dependencies": { "@stablelib/keyagreement": "^1.0.1", "@stablelib/random": "^1.0.2", @@ -7176,33 +6867,10 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@walletconnect/auth-client": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-2.1.2.tgz", - "integrity": "sha512-ubJLn+vGb8sTdBFX6xAh4kjR5idrtS3RBngQWaJJJpEPBQmxMb8pM2q0FIRs8Is4K6jKy+uEhusMV+7ZBmTzjw==", - "dependencies": { - "@ethersproject/hash": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@stablelib/random": "^1.0.2", - "@stablelib/sha256": "^1.0.1", - "@walletconnect/core": "^2.10.1", - "@walletconnect/events": "^1.0.1", - "@walletconnect/heartbeat": "^1.2.1", - "@walletconnect/jsonrpc-utils": "^1.0.8", - "@walletconnect/logger": "^2.0.1", - "@walletconnect/time": "^1.0.2", - "@walletconnect/utils": "^2.10.1", - "events": "^3.3.0", - "isomorphic-unfetch": "^3.1.0" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/@walletconnect/core": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.15.1.tgz", - "integrity": "sha512-9MWVt33MFrLiAeK9nqY/B30/y0M4uiq8v9EXenIBQdlgkmXM++RTcOnn7u7EAbthGgzx3WLPRm4ViwIb+rI/Cg==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.17.0.tgz", + "integrity": "sha512-On+uSaCfWdsMIQsECwWHZBmUXfrnqmv6B8SXRRuTJgd8tUpEvBkLQH4X7XkSm3zW6ozEkQTCagZ2ox2YPn3kbw==", "dependencies": { "@walletconnect/heartbeat": "1.2.2", "@walletconnect/jsonrpc-provider": "1.0.14", @@ -7215,8 +6883,8 @@ "@walletconnect/relay-auth": "1.0.4", "@walletconnect/safe-json": "1.0.2", "@walletconnect/time": "1.0.2", - "@walletconnect/types": "2.15.1", - "@walletconnect/utils": "2.15.1", + "@walletconnect/types": "2.17.0", + "@walletconnect/utils": "2.17.0", "events": "3.3.0", "lodash.isequal": "4.5.0", "uint8arrays": "3.1.0" @@ -7235,16 +6903,14 @@ }, "node_modules/@walletconnect/environment": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.1.tgz", - "integrity": "sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg==", + "license": "MIT", "dependencies": { "tslib": "1.14.1" } }, "node_modules/@walletconnect/events": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/events/-/events-1.0.1.tgz", - "integrity": "sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==", + "license": "MIT", "dependencies": { "keyvaluestorage-interface": "^1.0.0", "tslib": "1.14.1" @@ -7252,8 +6918,7 @@ }, "node_modules/@walletconnect/heartbeat": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@walletconnect/heartbeat/-/heartbeat-1.2.2.tgz", - "integrity": "sha512-uASiRmC5MwhuRuf05vq4AT48Pq8RMi876zV8rr8cV969uTOzWdB/k+Lj5yI2PBtB1bGQisGen7MM1GcZlQTBXw==", + "license": "MIT", "dependencies": { "@walletconnect/events": "^1.0.1", "@walletconnect/time": "^1.0.2", @@ -7262,8 +6927,7 @@ }, "node_modules/@walletconnect/jsonrpc-provider": { "version": "1.0.14", - "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.14.tgz", - "integrity": "sha512-rtsNY1XqHvWj0EtITNeuf8PHMvlCLiS3EjQL+WOkxEOA4KPxsohFnBDeyPYiNm4ZvkQdLnece36opYidmtbmow==", + "license": "MIT", "dependencies": { "@walletconnect/jsonrpc-utils": "^1.0.8", "@walletconnect/safe-json": "^1.0.2", @@ -7272,8 +6936,7 @@ }, "node_modules/@walletconnect/jsonrpc-types": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.4.tgz", - "integrity": "sha512-P6679fG/M+wuWg9TY8mh6xFSdYnFyFjwFelxyISxMDrlbXokorEVXYOxiqEbrU3x1BmBoCAJJ+vtEaEoMlpCBQ==", + "license": "MIT", "dependencies": { "events": "^3.3.0", "keyvaluestorage-interface": "^1.0.0" @@ -7281,8 +6944,7 @@ }, "node_modules/@walletconnect/jsonrpc-utils": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz", - "integrity": "sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw==", + "license": "MIT", "dependencies": { "@walletconnect/environment": "^1.0.1", "@walletconnect/jsonrpc-types": "^1.0.3", @@ -7291,8 +6953,7 @@ }, "node_modules/@walletconnect/jsonrpc-ws-connection": { "version": "1.0.14", - "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.14.tgz", - "integrity": "sha512-Jsl6fC55AYcbkNVkwNM6Jo+ufsuCQRqViOQ8ZBPH9pRREHH9welbBiszuTLqEJiQcO/6XfFDl6bzCJIkrEi8XA==", + "license": "MIT", "dependencies": { "@walletconnect/jsonrpc-utils": "^1.0.6", "@walletconnect/safe-json": "^1.0.2", @@ -7302,8 +6963,7 @@ }, "node_modules/@walletconnect/keyvaluestorage": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz", - "integrity": "sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA==", + "license": "MIT", "dependencies": { "@walletconnect/safe-json": "^1.0.1", "idb-keyval": "^6.2.1", @@ -7320,21 +6980,20 @@ }, "node_modules/@walletconnect/logger": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@walletconnect/logger/-/logger-2.1.2.tgz", - "integrity": "sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw==", + "license": "MIT", "dependencies": { "@walletconnect/safe-json": "^1.0.2", "pino": "7.11.0" } }, "node_modules/@walletconnect/react-native-compat": { - "version": "2.12.2", - "resolved": "https://registry.npmjs.org/@walletconnect/react-native-compat/-/react-native-compat-2.12.2.tgz", - "integrity": "sha512-NChpoZwftMDSy6xH0hc1d2eCvlm0Tx8BQSMtHKFaOpbxxreB90UDmbubqNIPywAGinM/1isgen0i0yvLpHRLRg==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@walletconnect/react-native-compat/-/react-native-compat-2.17.0.tgz", + "integrity": "sha512-v6BshAwhyAoCkAdjEvKv+Symt4LHrNr5fuNEODvNdLpcaNtZCXRPSh0SAuDyi3zYNwa0s6Naj1pqG4YCipu/mQ==", "dependencies": { "events": "3.3.0", - "fast-text-encoding": "^1.0.6", - "react-native-url-polyfill": "^2.0.0" + "fast-text-encoding": "1.0.6", + "react-native-url-polyfill": "2.0.0" }, "peerDependencies": { "@react-native-async-storage/async-storage": "*", @@ -7350,16 +7009,14 @@ }, "node_modules/@walletconnect/relay-api": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@walletconnect/relay-api/-/relay-api-1.0.11.tgz", - "integrity": "sha512-tLPErkze/HmC9aCmdZOhtVmYZq1wKfWTJtygQHoWtgg722Jd4homo54Cs4ak2RUFUZIGO2RsOpIcWipaua5D5Q==", + "license": "MIT", "dependencies": { "@walletconnect/jsonrpc-types": "^1.0.2" } }, "node_modules/@walletconnect/relay-auth": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz", - "integrity": "sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==", + "license": "MIT", "dependencies": { "@stablelib/ed25519": "^1.0.2", "@stablelib/random": "^1.0.1", @@ -7371,40 +7028,36 @@ }, "node_modules/@walletconnect/safe-json": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.2.tgz", - "integrity": "sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA==", + "license": "MIT", "dependencies": { "tslib": "1.14.1" } }, "node_modules/@walletconnect/sign-client": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/@walletconnect/sign-client/-/sign-client-2.15.1.tgz", - "integrity": "sha512-YnLNEmCHgZ8yBpE3hwZnHD/bVznVMguSAlwLBNOoWUH2f4d9mR8bqa6KeVXqZ3e8mVHcxKTJTjTJ3oQMLyKIjw==", + "version": "2.17.0", + "license": "Apache-2.0", "dependencies": { - "@walletconnect/core": "2.15.1", + "@walletconnect/core": "2.17.0", "@walletconnect/events": "1.0.1", "@walletconnect/heartbeat": "1.2.2", "@walletconnect/jsonrpc-utils": "1.0.8", "@walletconnect/logger": "2.1.2", "@walletconnect/time": "1.0.2", - "@walletconnect/types": "2.15.1", - "@walletconnect/utils": "2.15.1", + "@walletconnect/types": "2.17.0", + "@walletconnect/utils": "2.17.0", "events": "3.3.0" } }, "node_modules/@walletconnect/time": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@walletconnect/time/-/time-1.0.2.tgz", - "integrity": "sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==", + "license": "MIT", "dependencies": { "tslib": "1.14.1" } }, "node_modules/@walletconnect/types": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.15.1.tgz", - "integrity": "sha512-4WkMsHD8ioZI5GmxNT0qMlz6msI7ZajBcTyDxfRncaNZVau0C+Btw1U4jWO+gxwJVDJY+Ue/cb1QKJ5BanZsyw==", + "version": "2.17.0", + "license": "Apache-2.0", "dependencies": { "@walletconnect/events": "1.0.1", "@walletconnect/heartbeat": "1.2.2", @@ -7415,9 +7068,8 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.15.1.tgz", - "integrity": "sha512-i5AR8XpZdcX8ghaCjYV13Er/KAGe56c1mLaG9c2cv9kmnZMZijeMdInjX/flnSM1RFDUiZXvKPMUNwlCL4NsWw==", + "version": "2.17.0", + "license": "Apache-2.0", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -7425,51 +7077,35 @@ "@stablelib/sha256": "1.0.1", "@stablelib/x25519": "1.0.3", "@walletconnect/relay-api": "1.0.11", + "@walletconnect/relay-auth": "1.0.4", "@walletconnect/safe-json": "1.0.2", "@walletconnect/time": "1.0.2", - "@walletconnect/types": "2.15.1", + "@walletconnect/types": "2.17.0", "@walletconnect/window-getters": "1.0.1", "@walletconnect/window-metadata": "1.0.1", "detect-browser": "5.3.0", + "elliptic": "^6.5.7", "query-string": "7.1.3", "uint8arrays": "3.1.0" } }, "node_modules/@walletconnect/utils/node_modules/uint8arrays": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.1.0.tgz", - "integrity": "sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog==", + "license": "MIT", "dependencies": { "multiformats": "^9.4.2" } }, - "node_modules/@walletconnect/web3wallet": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@walletconnect/web3wallet/-/web3wallet-1.14.1.tgz", - "integrity": "sha512-JLrVah4Tow5Dt0nUBMUFNxZr2iuavwySA+gYEoeL7uDL1iVeih5zsWJCMm/xjzfSYeUZXN6/XVhxWDAuy7zv8Q==", - "dependencies": { - "@walletconnect/auth-client": "2.1.2", - "@walletconnect/core": "2.15.1", - "@walletconnect/jsonrpc-provider": "1.0.14", - "@walletconnect/jsonrpc-utils": "1.0.8", - "@walletconnect/logger": "2.1.2", - "@walletconnect/sign-client": "2.15.1", - "@walletconnect/types": "2.15.1", - "@walletconnect/utils": "2.15.1" - } - }, "node_modules/@walletconnect/window-getters": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.1.tgz", - "integrity": "sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==", + "license": "MIT", "dependencies": { "tslib": "1.14.1" } }, "node_modules/@walletconnect/window-metadata": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz", - "integrity": "sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==", + "license": "MIT", "dependencies": { "@walletconnect/window-getters": "^1.0.1", "tslib": "1.14.1" @@ -7570,8 +7206,7 @@ }, "node_modules/aes-js": { "version": "4.0.0-beta.5", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + "license": "MIT" }, "node_modules/agent-base": { "version": "6.0.2", @@ -7842,8 +7477,7 @@ }, "node_modules/atomic-sleep": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/atomic-sleep/-/atomic-sleep-1.0.0.tgz", - "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==", + "license": "MIT", "engines": { "node": ">=8.0.0" } @@ -8328,8 +7962,7 @@ }, "node_modules/binary-extensions": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "license": "MIT", "engines": { "node": ">=8" }, @@ -8753,8 +8386,7 @@ }, "node_modules/chokidar": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "license": "MIT", "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -8776,8 +8408,7 @@ }, "node_modules/chokidar/node_modules/glob-parent": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -8799,8 +8430,7 @@ }, "node_modules/citty": { "version": "0.1.6", - "resolved": "https://registry.npmjs.org/citty/-/citty-0.1.6.tgz", - "integrity": "sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==", + "license": "MIT", "dependencies": { "consola": "^3.2.3" } @@ -8847,8 +8477,7 @@ }, "node_modules/clipboardy": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-4.0.0.tgz", - "integrity": "sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w==", + "license": "MIT", "dependencies": { "execa": "^8.0.1", "is-wsl": "^3.1.0", @@ -8863,8 +8492,7 @@ }, "node_modules/clipboardy/node_modules/execa": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^8.0.1", @@ -8885,8 +8513,7 @@ }, "node_modules/clipboardy/node_modules/get-stream": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", + "license": "MIT", "engines": { "node": ">=16" }, @@ -8896,16 +8523,14 @@ }, "node_modules/clipboardy/node_modules/human-signals": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", + "license": "Apache-2.0", "engines": { "node": ">=16.17.0" } }, "node_modules/clipboardy/node_modules/is-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -8915,8 +8540,7 @@ }, "node_modules/clipboardy/node_modules/mimic-fn": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -8926,8 +8550,7 @@ }, "node_modules/clipboardy/node_modules/npm-run-path": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", + "license": "MIT", "dependencies": { "path-key": "^4.0.0" }, @@ -8940,8 +8563,7 @@ }, "node_modules/clipboardy/node_modules/onetime": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "license": "MIT", "dependencies": { "mimic-fn": "^4.0.0" }, @@ -8954,8 +8576,7 @@ }, "node_modules/clipboardy/node_modules/path-key": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -8965,8 +8586,7 @@ }, "node_modules/clipboardy/node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", "engines": { "node": ">=14" }, @@ -8976,8 +8596,7 @@ }, "node_modules/clipboardy/node_modules/strip-final-newline": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -9158,8 +8777,7 @@ }, "node_modules/confbox": { "version": "0.1.7", - "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.7.tgz", - "integrity": "sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==" + "license": "MIT" }, "node_modules/confusing-browser-globals": { "version": "1.0.11", @@ -9192,8 +8810,7 @@ }, "node_modules/consola": { "version": "3.2.3", - "resolved": "https://registry.npmjs.org/consola/-/consola-3.2.3.tgz", - "integrity": "sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==", + "license": "MIT", "engines": { "node": "^14.18.0 || >=16.10.0" } @@ -9226,8 +8843,7 @@ }, "node_modules/cookie-es": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-1.2.2.tgz", - "integrity": "sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==" + "license": "MIT" }, "node_modules/cookies": { "version": "0.8.0", @@ -9440,8 +9056,7 @@ }, "node_modules/crossws": { "version": "0.2.4", - "resolved": "https://registry.npmjs.org/crossws/-/crossws-0.2.4.tgz", - "integrity": "sha512-DAxroI2uSOgUKLz00NX6A8U/8EE3SZHmIND+10jkVSaypvyt57J5JEOxAQOL6lQxyzi/wZbTIwssU1uy69h5Vg==", + "license": "MIT", "peerDependencies": { "uWebSockets.js": "*" }, @@ -9605,8 +9220,7 @@ }, "node_modules/defu": { "version": "6.1.4", - "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz", - "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==" + "license": "MIT" }, "node_modules/delayed-stream": { "version": "1.0.0", @@ -9658,8 +9272,7 @@ }, "node_modules/destr": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.3.tgz", - "integrity": "sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==" + "license": "MIT" }, "node_modules/destroy": { "version": "1.2.0", @@ -9671,13 +9284,11 @@ }, "node_modules/detect-browser": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/detect-browser/-/detect-browser-5.3.0.tgz", - "integrity": "sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==" + "license": "MIT" }, "node_modules/detect-libc": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "license": "Apache-2.0", "bin": { "detect-libc": "bin/detect-libc.js" }, @@ -9785,8 +9396,7 @@ }, "node_modules/duplexify": { "version": "4.1.3", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.3.tgz", - "integrity": "sha512-M3BmBhwJRZsSx38lZyhE53Csddgzl5R7xGJNk7CVddZD6CcmwMCH8J+7AprIrQKH7TonKxaCjcv27Qmf+sQ+oA==", + "license": "MIT", "dependencies": { "end-of-stream": "^1.4.1", "inherits": "^2.0.3", @@ -9796,13 +9406,11 @@ }, "node_modules/duplexify/node_modules/inherits": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "license": "ISC" }, "node_modules/duplexify/node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -9814,8 +9422,7 @@ }, "node_modules/duplexify/node_modules/string_decoder": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.2.0" } @@ -9829,7 +9436,7 @@ "license": "ISC" }, "node_modules/elliptic": { - "version": "6.5.4", + "version": "6.5.7", "license": "MIT", "dependencies": { "bn.js": "^4.11.9", @@ -9886,8 +9493,7 @@ }, "node_modules/end-of-stream": { "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "license": "MIT", "dependencies": { "once": "^1.4.0" } @@ -10721,9 +10327,9 @@ } }, "node_modules/ethers": { - "version": "6.13.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", - "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", + "version": "6.13.3", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.3.tgz", + "integrity": "sha512-/DzbZOLVtoO4fKvvQwpEucHAQgIwBGWuRvBdwE/lMXgXvvHHTSkn7XqAQ2b+gjJzZDJjWA9OD05bVceVOsBHbg==", "funding": [ { "type": "individual", @@ -10749,18 +10355,15 @@ }, "node_modules/ethers/node_modules/@types/node": { "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "license": "MIT" }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "license": "0BSD" }, "node_modules/ethers/node_modules/ws": { "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, @@ -10853,8 +10456,7 @@ }, "node_modules/fast-base64-decode": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fast-base64-decode/-/fast-base64-decode-1.0.0.tgz", - "integrity": "sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q==" + "license": "MIT" }, "node_modules/fast-deep-equal": { "version": "3.1.3", @@ -10903,8 +10505,7 @@ }, "node_modules/fast-redact": { "version": "3.5.0", - "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.5.0.tgz", - "integrity": "sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A==", + "license": "MIT", "engines": { "node": ">=6" } @@ -11313,8 +10914,7 @@ }, "node_modules/get-port-please": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/get-port-please/-/get-port-please-3.1.2.tgz", - "integrity": "sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==" + "license": "MIT" }, "node_modules/get-stream": { "version": "6.0.1", @@ -11495,8 +11095,7 @@ }, "node_modules/h3": { "version": "1.12.0", - "resolved": "https://registry.npmjs.org/h3/-/h3-1.12.0.tgz", - "integrity": "sha512-Zi/CcNeWBXDrFNlV0hUBJQR9F7a96RjMeAZweW/ZWkR9fuXrMcvKnSA63f/zZ9l0GgQOZDVHGvXivNN9PWOwhA==", + "license": "MIT", "dependencies": { "cookie-es": "^1.1.0", "crossws": "^0.2.4", @@ -11655,87 +11254,6 @@ "node": ">= 0.4" } }, - "node_modules/hathor-rpc-handler-test": { - "version": "0.0.42", - "resolved": "https://registry.npmjs.org/hathor-rpc-handler-test/-/hathor-rpc-handler-test-0.0.42.tgz", - "integrity": "sha512-QfQX4R5+n3hSmq/ed3S+6+2RX/UNd9Fi+VRHFBqulZKX6OOCRoDn30KQfeSDcWb8IOUQ+L1JBlkDyq5cgoyRtw==", - "dependencies": { - "@hathor/wallet-lib": "1.11.0" - }, - "engines": { - "node": ">=20" - } - }, - "node_modules/hathor-rpc-handler-test/node_modules/@hathor/wallet-lib": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@hathor/wallet-lib/-/wallet-lib-1.11.0.tgz", - "integrity": "sha512-TkVS5QPSj7AKJkxh2GmZNE1ubg4t4xJkg0HnXACNTGefQ+rRDF3CLxqSOAqq9wXhlxhSbppJoksRh7M5Udp3Sg==", - "dependencies": { - "abstract-level": "1.0.4", - "axios": "1.7.2", - "bitcore-lib": "8.25.10", - "bitcore-mnemonic": "8.25.10", - "buffer": "6.0.3", - "crypto-js": "4.2.0", - "isomorphic-ws": "5.0.0", - "level": "8.0.1", - "lodash": "4.17.21", - "long": "5.2.3", - "ws": "8.17.1" - }, - "engines": { - "node": ">=20.0.0", - "npm": ">=10.0.0" - } - }, - "node_modules/hathor-rpc-handler-test/node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/hathor-rpc-handler-test/node_modules/crypto-js": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", - "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" - }, - "node_modules/hathor-rpc-handler-test/node_modules/ws": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/hermes-estree": { "version": "0.6.0", "license": "MIT" @@ -11857,8 +11375,7 @@ }, "node_modules/http-shutdown": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/http-shutdown/-/http-shutdown-1.2.2.tgz", - "integrity": "sha512-S9wWkJ/VSY9/k4qcjG318bqJNruzE4HySUhFYknwmu6LBP97KLLfwNf+n4V1BHurvFNkSKLFnK/RsuUnRTf9Vw==", + "license": "MIT", "engines": { "iojs": ">= 1.0.0", "node": ">= 0.12.0" @@ -11907,8 +11424,7 @@ }, "node_modules/idb-keyval": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.2.1.tgz", - "integrity": "sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg==" + "license": "Apache-2.0" }, "node_modules/ieee754": { "version": "1.2.1", @@ -12048,8 +11564,7 @@ }, "node_modules/iron-webcrypto": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz", - "integrity": "sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/brc-dd" } @@ -12098,8 +11613,7 @@ }, "node_modules/is-binary-path": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "license": "MIT", "dependencies": { "binary-extensions": "^2.0.0" }, @@ -12189,8 +11703,7 @@ }, "node_modules/is-docker": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "license": "MIT", "bin": { "is-docker": "cli.js" }, @@ -12248,8 +11761,7 @@ }, "node_modules/is-inside-container": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", - "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "license": "MIT", "dependencies": { "is-docker": "^3.0.0" }, @@ -12445,8 +11957,7 @@ }, "node_modules/is-wsl": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", - "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "license": "MIT", "dependencies": { "is-inside-container": "^1.0.0" }, @@ -12459,8 +11970,7 @@ }, "node_modules/is64bit": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is64bit/-/is64bit-2.0.0.tgz", - "integrity": "sha512-jv+8jaWCl0g2lSBkNSVXdzfBA0npK1HGC2KtWM9FumFRoGS94g3NbCCLVnCYHLjp4GrW2KZeeSTMo5ddtznmGw==", + "license": "MIT", "dependencies": { "system-architecture": "^0.1.0" }, @@ -12486,15 +11996,6 @@ "node": ">=0.10.0" } }, - "node_modules/isomorphic-unfetch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz", - "integrity": "sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==", - "dependencies": { - "node-fetch": "^2.6.1", - "unfetch": "^4.2.0" - } - }, "node_modules/isomorphic-ws": { "version": "5.0.0", "license": "MIT", @@ -15153,11 +14654,10 @@ } }, "node_modules/jiti": { - "version": "1.21.6", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", - "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "version": "2.0.0", + "license": "MIT", "bin": { - "jiti": "bin/jiti.js" + "jiti": "lib/jiti-cli.mjs" } }, "node_modules/joi": { @@ -15171,11 +14671,6 @@ "@sideway/pinpoint": "^2.0.0" } }, - "node_modules/js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - }, "node_modules/js-tokens": { "version": "4.0.0", "license": "MIT" @@ -15381,8 +14876,7 @@ }, "node_modules/keyvaluestorage-interface": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz", - "integrity": "sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g==" + "license": "MIT" }, "node_modules/kind-of": { "version": "6.0.3", @@ -15637,26 +15131,25 @@ "license": "MIT" }, "node_modules/listhen": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/listhen/-/listhen-1.7.2.tgz", - "integrity": "sha512-7/HamOm5YD9Wb7CFgAZkKgVPA96WwhcTQoqtm2VTZGVbVVn3IWKRBTgrU7cchA3Q8k9iCsG8Osoi9GX4JsGM9g==", + "version": "1.8.0", + "license": "MIT", "dependencies": { "@parcel/watcher": "^2.4.1", "@parcel/watcher-wasm": "^2.4.1", "citty": "^0.1.6", "clipboardy": "^4.0.0", "consola": "^3.2.3", - "crossws": "^0.2.0", + "crossws": "^0.2.4", "defu": "^6.1.4", "get-port-please": "^3.1.2", - "h3": "^1.10.2", + "h3": "^1.12.0", "http-shutdown": "^1.2.2", - "jiti": "^1.21.0", - "mlly": "^1.6.1", + "jiti": "^2.0.0", + "mlly": "^1.7.1", "node-forge": "^1.3.1", "pathe": "^1.1.2", "std-env": "^3.7.0", - "ufo": "^1.4.0", + "ufo": "^1.5.4", "untun": "^0.1.3", "uqr": "^0.1.2" }, @@ -15695,8 +15188,7 @@ }, "node_modules/lodash.isequal": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", - "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==" + "license": "MIT" }, "node_modules/lodash.mapvalues": { "version": "4.6.0", @@ -16936,8 +16428,7 @@ }, "node_modules/mlly": { "version": "1.7.1", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.7.1.tgz", - "integrity": "sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==", + "license": "MIT", "dependencies": { "acorn": "^8.11.3", "pathe": "^1.1.2", @@ -16961,8 +16452,7 @@ }, "node_modules/mri": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", - "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "license": "MIT", "engines": { "node": ">=4" } @@ -16973,8 +16463,7 @@ }, "node_modules/multiformats": { "version": "9.9.0", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", - "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" + "license": "(Apache-2.0 AND MIT)" }, "node_modules/nanoid": { "version": "3.3.6", @@ -17030,8 +16519,7 @@ }, "node_modules/node-addon-api": { "version": "7.1.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", - "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==" + "license": "MIT" }, "node_modules/node-dir": { "version": "0.1.17", @@ -17063,8 +16551,7 @@ }, "node_modules/node-fetch-native": { "version": "1.6.4", - "resolved": "https://registry.npmjs.org/node-fetch-native/-/node-fetch-native-1.6.4.tgz", - "integrity": "sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==" + "license": "MIT" }, "node_modules/node-fetch/node_modules/tr46": { "version": "0.0.3", @@ -17084,8 +16571,7 @@ }, "node_modules/node-forge": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "license": "(BSD-3-Clause OR GPL-2.0)", "engines": { "node": ">= 6.13.0" } @@ -17274,24 +16760,21 @@ } }, "node_modules/ofetch": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/ofetch/-/ofetch-1.3.4.tgz", - "integrity": "sha512-KLIET85ik3vhEfS+3fDlc/BAZiAp+43QEC/yCo5zkNoY2YaKvNkOaFr/6wCFgFH1kuYQM5pMNi0Tg8koiIemtw==", + "version": "1.4.0", + "license": "MIT", "dependencies": { "destr": "^2.0.3", - "node-fetch-native": "^1.6.3", - "ufo": "^1.5.3" + "node-fetch-native": "^1.6.4", + "ufo": "^1.5.4" } }, "node_modules/ohash": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/ohash/-/ohash-1.1.3.tgz", - "integrity": "sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw==" + "version": "1.1.4", + "license": "MIT" }, "node_modules/on-exit-leak-free": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz", - "integrity": "sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg==" + "license": "MIT" }, "node_modules/on-finished": { "version": "2.3.0", @@ -17577,8 +17060,7 @@ }, "node_modules/pathe": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz", - "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==" + "license": "MIT" }, "node_modules/pbkdf2": { "version": "3.0.8", @@ -17613,8 +17095,7 @@ }, "node_modules/pino": { "version": "7.11.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-7.11.0.tgz", - "integrity": "sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==", + "license": "MIT", "dependencies": { "atomic-sleep": "^1.0.0", "fast-redact": "^3.0.0", @@ -17634,8 +17115,7 @@ }, "node_modules/pino-abstract-transport": { "version": "0.5.0", - "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.5.0.tgz", - "integrity": "sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ==", + "license": "MIT", "dependencies": { "duplexify": "^4.1.2", "split2": "^4.0.0" @@ -17643,8 +17123,7 @@ }, "node_modules/pino-std-serializers": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-4.0.0.tgz", - "integrity": "sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q==" + "license": "MIT" }, "node_modules/pirates": { "version": "4.0.6", @@ -17713,9 +17192,8 @@ } }, "node_modules/pkg-types": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.1.3.tgz", - "integrity": "sha512-+JrgthZG6m3ckicaOB74TwQ+tBWsFl3qVQg7mN8ulwSOElJ7gBhKzj2VkCPnZ4NlF6kEquYU+RIYNVAvzd54UA==", + "version": "1.2.0", + "license": "MIT", "dependencies": { "confbox": "^0.1.7", "mlly": "^1.7.1", @@ -17850,8 +17328,7 @@ }, "node_modules/process-warning": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-1.0.0.tgz", - "integrity": "sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q==" + "license": "MIT" }, "node_modules/progress": { "version": "2.0.3", @@ -18006,13 +17483,11 @@ }, "node_modules/quick-format-unescaped": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz", - "integrity": "sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==" + "license": "MIT" }, "node_modules/radix3": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/radix3/-/radix3-1.1.2.tgz", - "integrity": "sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==" + "license": "MIT" }, "node_modules/randombytes": { "version": "2.1.0", @@ -18398,8 +17873,7 @@ }, "node_modules/react-native-url-polyfill": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz", - "integrity": "sha512-My330Do7/DvKnEvwQc0WdcBnFPploYKp9CYlefDXzIdEaA+PAhDYllkvGeEroEzvc4Kzzj2O4yVdz8v6fjRvhA==", + "license": "MIT", "dependencies": { "whatwg-url-without-unicode": "8.0.0-3" }, @@ -18750,8 +18224,7 @@ }, "node_modules/readdirp": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "license": "MIT", "dependencies": { "picomatch": "^2.2.1" }, @@ -18773,8 +18246,7 @@ }, "node_modules/real-require": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/real-require/-/real-require-0.1.0.tgz", - "integrity": "sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg==", + "license": "MIT", "engines": { "node": ">= 12.13.0" } @@ -19106,8 +18578,7 @@ }, "node_modules/safe-stable-stringify": { "version": "2.4.3", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", - "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", + "license": "MIT", "engines": { "node": ">=10" } @@ -19383,8 +18854,7 @@ }, "node_modules/sonic-boom": { "version": "2.8.0", - "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-2.8.0.tgz", - "integrity": "sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg==", + "license": "MIT", "dependencies": { "atomic-sleep": "^1.0.0" } @@ -19413,8 +18883,7 @@ }, "node_modules/split2": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", - "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "license": "ISC", "engines": { "node": ">= 10.x" } @@ -19470,8 +18939,7 @@ }, "node_modules/std-env": { "version": "3.7.0", - "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.7.0.tgz", - "integrity": "sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==" + "license": "MIT" }, "node_modules/stream-browserify": { "version": "1.0.0", @@ -19490,8 +18958,7 @@ }, "node_modules/stream-shift": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", - "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==" + "license": "MIT" }, "node_modules/strict-uri-encode": { "version": "2.0.0", @@ -19725,8 +19192,7 @@ }, "node_modules/system-architecture": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/system-architecture/-/system-architecture-0.1.0.tgz", - "integrity": "sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA==", + "license": "MIT", "engines": { "node": ">=18" }, @@ -19798,8 +19264,7 @@ }, "node_modules/thread-stream": { "version": "0.15.2", - "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-0.15.2.tgz", - "integrity": "sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==", + "license": "MIT", "dependencies": { "real-require": "^0.1.0" } @@ -20321,8 +19786,7 @@ }, "node_modules/ufo": { "version": "1.5.4", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.5.4.tgz", - "integrity": "sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==" + "license": "MIT" }, "node_modules/uglify-es": { "version": "3.3.9", @@ -20344,8 +19808,7 @@ }, "node_modules/uint8arrays": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.1.1.tgz", - "integrity": "sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==", + "license": "MIT", "dependencies": { "multiformats": "^9.4.2" } @@ -20366,13 +19829,11 @@ }, "node_modules/uncrypto": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/uncrypto/-/uncrypto-0.1.3.tgz", - "integrity": "sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==" + "license": "MIT" }, "node_modules/unenv": { "version": "1.10.0", - "resolved": "https://registry.npmjs.org/unenv/-/unenv-1.10.0.tgz", - "integrity": "sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ==", + "license": "MIT", "dependencies": { "consola": "^3.2.3", "defu": "^6.1.4", @@ -20383,8 +19844,7 @@ }, "node_modules/unenv/node_modules/mime": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", + "license": "MIT", "bin": { "mime": "cli.js" }, @@ -20392,11 +19852,6 @@ "node": ">=10.0.0" } }, - "node_modules/unfetch": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz", - "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==" - }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "license": "MIT", @@ -20460,35 +19915,34 @@ } }, "node_modules/unstorage": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/unstorage/-/unstorage-1.10.2.tgz", - "integrity": "sha512-cULBcwDqrS8UhlIysUJs2Dk0Mmt8h7B0E6mtR+relW9nZvsf/u4SkAYyNliPiPW7XtFNb5u3IUMkxGxFTTRTgQ==", + "version": "1.12.0", + "license": "MIT", "dependencies": { "anymatch": "^3.1.3", "chokidar": "^3.6.0", "destr": "^2.0.3", - "h3": "^1.11.1", + "h3": "^1.12.0", "listhen": "^1.7.2", - "lru-cache": "^10.2.0", + "lru-cache": "^10.4.3", "mri": "^1.2.0", - "node-fetch-native": "^1.6.2", - "ofetch": "^1.3.3", - "ufo": "^1.4.0" + "node-fetch-native": "^1.6.4", + "ofetch": "^1.3.4", + "ufo": "^1.5.4" }, "peerDependencies": { - "@azure/app-configuration": "^1.5.0", - "@azure/cosmos": "^4.0.0", + "@azure/app-configuration": "^1.7.0", + "@azure/cosmos": "^4.1.1", "@azure/data-tables": "^13.2.2", - "@azure/identity": "^4.0.1", + "@azure/identity": "^4.4.1", "@azure/keyvault-secrets": "^4.8.0", - "@azure/storage-blob": "^12.17.0", - "@capacitor/preferences": "^5.0.7", + "@azure/storage-blob": "^12.24.0", + "@capacitor/preferences": "^6.0.2", "@netlify/blobs": "^6.5.0 || ^7.0.0", - "@planetscale/database": "^1.16.0", - "@upstash/redis": "^1.28.4", + "@planetscale/database": "^1.19.0", + "@upstash/redis": "^1.34.0", "@vercel/kv": "^1.0.1", "idb-keyval": "^6.2.1", - "ioredis": "^5.3.2" + "ioredis": "^5.4.1" }, "peerDependenciesMeta": { "@azure/app-configuration": { @@ -20534,13 +19988,11 @@ }, "node_modules/unstorage/node_modules/lru-cache": { "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + "license": "ISC" }, "node_modules/untun": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/untun/-/untun-0.1.3.tgz", - "integrity": "sha512-4luGP9LMYszMRZwsvyUd9MrxgEGZdZuZgpVQHEEX0lCYFESasVRvZd0EYpCkOIbJKHMuv0LskpXc/8Un+MJzEQ==", + "license": "MIT", "dependencies": { "citty": "^0.1.5", "consola": "^3.2.3", @@ -20580,8 +20032,7 @@ }, "node_modules/uqr": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/uqr/-/uqr-0.1.2.tgz", - "integrity": "sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA==" + "license": "MIT" }, "node_modules/uri-js": { "version": "4.4.1", @@ -20714,8 +20165,7 @@ }, "node_modules/webidl-conversions": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", - "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "license": "BSD-2-Clause", "engines": { "node": ">=8" } @@ -20726,8 +20176,7 @@ }, "node_modules/whatwg-url-without-unicode": { "version": "8.0.0-3", - "resolved": "https://registry.npmjs.org/whatwg-url-without-unicode/-/whatwg-url-without-unicode-8.0.0-3.tgz", - "integrity": "sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==", + "license": "MIT", "dependencies": { "buffer": "^5.4.3", "punycode": "^2.1.1", @@ -20739,8 +20188,6 @@ }, "node_modules/whatwg-url-without-unicode/node_modules/buffer": { "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "funding": [ { "type": "github", @@ -20755,6 +20202,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" diff --git a/package.json b/package.json index 81ff8e1b5..ec1e351ce 100644 --- a/package.json +++ b/package.json @@ -22,31 +22,30 @@ "@fortawesome/free-regular-svg-icons": "6.4.0", "@fortawesome/free-solid-svg-icons": "6.4.0", "@fortawesome/react-native-fontawesome": "0.2.7", - "@hathor/hathor-rpc-handler": "^0.0.2-experimental-alpha", + "@hathor/hathor-rpc-handler": "0.0.3-experimental-alpha", "@hathor/unleash-client": "0.1.0", "@hathor/wallet-lib": "1.10.0", - "@json-rpc-tools/utils": "^1.7.6", + "@json-rpc-tools/utils": "1.7.6", "@notifee/react-native": "5.7.0", "@react-native-async-storage/async-storage": "1.19.0", - "@react-native-community/netinfo": "11.3.1", + "@react-native-community/netinfo": "11.4.1", "@react-native-firebase/app": "16.7.0", "@react-native-firebase/messaging": "16.7.0", "@react-navigation/bottom-tabs": "6.5.8", "@react-navigation/native": "6.1.7", "@react-navigation/stack": "6.3.17", - "@sentry/react-native": "5.6.0", - "@walletconnect/core": "^2.15.1", - "@walletconnect/react-native-compat": "^2.12.2", - "@walletconnect/web3wallet": "^1.14.1", + "@reown/walletkit": "1.1.0", + "@sentry/react-native": "5.31.0", + "@walletconnect/core": "2.17.0", + "@walletconnect/react-native-compat": "2.17.0", "assert": "2.0.0", "buffer": "4.9.2", "console-browserify": "1.2.0", "crypto-js": "4.1.1", "deprecated-react-native-prop-types": "2.3.0", - "ethers": "^6.13.2", - "events": "^3.3.0", - "fast-text-encoding": "^1.0.6", - "hathor-rpc-handler-test": "^0.0.42", + "ethers": "6.13.3", + "events": "3.3.0", + "fast-text-encoding": "1.0.6", "intl": "1.2.5", "lodash": "4.17.21", "metro-config": "0.70.4", @@ -75,6 +74,7 @@ "react-native-status-bar-height": "2.6.0", "react-native-svg": "13.10.0", "react-native-tab-view": "3.5.2", + "react-native-url-polyfill": "2.0.0", "react-native-vector-icons": "9.2.0", "react-native-version-number": "0.3.6", "react-redux": "7.2.9", @@ -83,7 +83,7 @@ "redux-saga": "1.2.3", "redux-thunk": "2.4.2", "stream-browserify": "1.0.0", - "text-encoding": "^0.7.0", + "text-encoding": "0.7.0", "ttag": "1.7.24", "unleash-proxy-client": "1.11.0", "url": "0.11.1" diff --git a/shim.js b/shim.js index deae9758b..27480bb04 100644 --- a/shim.js +++ b/shim.js @@ -43,3 +43,7 @@ if (typeof atob === 'undefined') { return Buffer.from(b64Encoded, 'base64').toString('binary'); }; } + +const { URLSearchParams } = require('react-native-url-polyfill'); + +global.URLSearchParams = URLSearchParams; diff --git a/src/App.js b/src/App.js index c4fb1ea38..c4c7ec049 100644 --- a/src/App.js +++ b/src/App.js @@ -29,7 +29,7 @@ import IconTabBar from './icon-font'; import { IS_MULTI_TOKEN, LOCK_TIMEOUT, PUSH_ACTION, INITIAL_TOKENS } from './constants'; import { setSupportedBiometry } from './utils'; import { - appStateUpdate, + appStateUpdate, lockScreen, onExceptionCaptured, pushTxDetailsRequested, @@ -79,11 +79,11 @@ import TokenDetail from './screens/TokenDetail'; import UnregisterToken from './screens/UnregisterToken'; import ReceiveScreen from './screens/Receive'; import Settings from './screens/Settings'; -import WalletConnectList from './screens/WalletConnect/WalletConnectList'; -import WalletConnectManual from './screens/WalletConnect/WalletConnectManual'; -import WalletConnectScan from './screens/WalletConnect/WalletConnectScan'; +import ReownList from './screens/Reown/ReownList'; +import ReownManual from './screens/Reown/ReownManual'; +import ReownScan from './screens/Reown/ReownScan'; import baseStyle from './styles/init'; -import WalletConnectModal from './components/WalletConnect/WalletConnectModal'; +import ReownModal from './components/Reown/ReownModal'; import { COLORS, HathorTheme } from './styles/themes'; import { NetworkSettingsFlowNav, NetworkSettingsFlowStack } from './screens/NetworkSettings'; import { NetworkStatusBar } from './components/NetworkSettings/NetworkStatusBar'; @@ -91,12 +91,12 @@ import ShowPushNotificationTxDetails from './components/ShowPushNotificationTxDe import { NanoContractDetailsScreen } from './screens/NanoContract/NanoContractDetailsScreen'; import { NanoContractTransactionScreen } from './screens/NanoContract/NanoContractTransactionScreen'; import { NanoContractRegisterScreen } from './screens/NanoContract/NanoContractRegisterScreen'; -import { NewNanoContractTransactionScreen } from './screens/WalletConnect/NewNanoContractTransactionScreen'; +import { NewNanoContractTransactionScreen } from './screens/Reown/NewNanoContractTransactionScreen'; import { NanoContractRegisterQrCodeScreen } from './screens/NanoContractRegisterQrCodeScreen'; -import { SignMessageRequestScreen } from './screens/WalletConnect/SignMessageRequestScreen'; -import { SignOracleDataRequestScreen } from './screens/WalletConnect/SignOracleDataRequestScreen'; -import { CreateTokenRequestScreen } from './screens/WalletConnect/CreateTokenScreen'; -import { SuccessFeedbackScreen } from './screens/WalletConnect/SuccessFeedbackScreen'; +import { SignMessageRequestScreen } from './screens/Reown/SignMessageRequestScreen'; +import { SignOracleDataRequestScreen } from './screens/Reown/SignOracleDataRequestScreen'; +import { CreateTokenRequestScreen } from './screens/Reown/CreateTokenScreen'; +import { SuccessFeedbackScreen } from './screens/Reown/SuccessFeedbackScreen'; /** * This Stack Navigator is exhibited when there is no wallet initialized on the local storage. @@ -458,9 +458,9 @@ const AppStack = () => { - - - + + + @@ -817,7 +817,7 @@ const App = () => ( - + diff --git a/src/actions.js b/src/actions.js index 4f9835a8f..e61b6031c 100644 --- a/src/actions.js +++ b/src/actions.js @@ -12,8 +12,8 @@ import { } from '@hathor/wallet-lib'; import { METADATA_CONCURRENT_DOWNLOAD, - WALLETCONNECT_CREATE_TOKEN_STATUS, - WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS, + REOWN_CREATE_TOKEN_STATUS, + REOWN_NEW_NANOCONTRACT_TX_STATUS, } from './constants'; import { mapToTxHistory } from './utils'; @@ -114,16 +114,16 @@ export const types = { FEATURE_TOGGLE_UPDATED: 'FEATURE_TOGGLE_UPDATED', FEATURE_TOGGLE_READY: 'FEATURE_TOGGLE_READY', FEATURE_TOGGLE_ERROR: 'FEATURE_TOGGLE_ERROR', - SET_WALLET_CONNECT: 'SET_WALLET_CONNECT', - SET_WALLET_CONNECT_MODAL: 'SET_WALLET_CONNECT_MODAL', - SET_WALLET_CONNECT_SESSIONS: 'SET_WALLET_CONNECT_SESSIONS', - WALLET_CONNECT_ACCEPT: 'WALLET_CONNECT_ACCEPT', - WALLET_CONNECT_REJECT: 'WALLET_CONNECT_REJECT', + SET_REOWN: 'SET_REOWN', + SET_REOWN_MODAL: 'SET_REOWN_MODAL', + SET_REOWN_SESSIONS: 'SET_REOWN_SESSIONS', + REOWN_ACCEPT: 'REOWN_ACCEPT', + REOWN_REJECT: 'REOWN_REJECT', SET_NEW_NANO_CONTRACT_TRANSACTION: 'SET_NEW_NANO_CONTRACT_TRANSACTION', SET_UNLEASH_CLIENT: 'SET_UNLEASH_CLIENT', - WC_URI_INPUTTED: 'WC_URI_INPUTTED', - WC_CANCEL_SESSION: 'WC_CANCEL_SESSION', - WC_SET_CONNECTION_FAILED: 'WC_SET_CONNECTION_FAILED', + REOWN_URI_INPUTTED: 'REOWN_URI_INPUTTED', + REOWN_CANCEL_SESSION: 'REOWN_CANCEL_SESSION', + REOWN_SET_CONNECTION_FAILED: 'REOWN_SET_CONNECTION_FAILED', // Network Settings actions // NOTE: These actions follows a taxonomy that should be applied // to all other actions. @@ -189,18 +189,18 @@ export const types = { /* It signals a fetch failure due to an error. */ FIRSTADDRESS_FAILURE: 'FIRSTADDRESS_FAILURE', /* It updates the redux state of new nano contract transaction status on wallet connect register. */ - WALLETCONNECT_NEW_NANOCONTRACT_STATUS: 'WALLETCONNECT_NEW_NANOCONTRACT_STATUS', + REOWN_NEW_NANOCONTRACT_STATUS: 'REOWN_NEW_NANOCONTRACT_STATUS', UNREGISTEREDTOKENS_REQUEST: 'UNREGISTEREDTOKENS_REQUEST', UNREGISTEREDTOKENS_UPDATE: 'UNREGISTEREDTOKENS_UPDATE', - WALLETCONNECT_NEW_NANOCONTRACT_RETRY: 'WALLETCONNECT_NEW_NANOCONTRACT_RETRY', - WALLETCONNECT_NEW_NANOCONTRACT_RETRY_DISMISS: 'WALLETCONNECT_NEW_NANOCONTRACT_RETRY_DISMISS', + REOWN_NEW_NANOCONTRACT_RETRY: 'REOWN_NEW_NANOCONTRACT_RETRY', + REOWN_NEW_NANOCONTRACT_RETRY_DISMISS: 'REOWN_NEW_NANOCONTRACT_RETRY_DISMISS', SHOW_SIGN_MESSAGE_REQUEST_MODAL: 'SHOW_SIGN_MESSAGE_REQUEST_MODAL', SHOW_NANO_CONTRACT_SEND_TX_MODAL: 'SHOW_NANO_CONTRACT_SEND_TX_MODAL', SHOW_SIGN_ORACLE_DATA_REQUEST_MODAL: 'SHOW_SIGN_ORACLE_DATA_REQUEST_MODAL', SHOW_CREATE_TOKEN_REQUEST_MODAL: 'SHOW_CREATE_TOKEN_REQUEST_MODAL', - WALLETCONNECT_CREATE_TOKEN_STATUS: 'WALLETCONNECT_CREATE_TOKEN_STATUS', - WALLETCONNECT_CREATE_TOKEN_RETRY: 'WALLETCONNECT_CREATE_TOKEN_RETRY', - WALLETCONNECT_CREATE_TOKEN_RETRY_DISMISS: 'WALLETCONNECT_CREATE_TOKEN_RETRY_DISMISS', + REOWN_CREATE_TOKEN_STATUS: 'REOWN_CREATE_TOKEN_STATUS', + REOWN_CREATE_TOKEN_RETRY: 'REOWN_CREATE_TOKEN_RETRY', + REOWN_CREATE_TOKEN_RETRY_DISMISS: 'REOWN_CREATE_TOKEN_RETRY_DISMISS', NETWORK_CHANGED: 'NETWORK_CHANGED', APPSTATE_UPDATED: 'APPSTATE_UPDATED', }; @@ -233,46 +233,46 @@ export const setUnleashClient = (unleashClient) => ({ /** * sessions {Array} List of sessions to store */ -export const setWalletConnectSessions = (sessions) => ({ - type: types.SET_WALLET_CONNECT_SESSIONS, +export const setReownSessions = (sessions) => ({ + type: types.SET_REOWN_SESSIONS, payload: sessions, }); /** * modal {Object} Modal information to display * modal.show {boolean} Show or hide the modal - * modal.type {WalletConnectModalTypes} One of (CONNECT, SIGN_MESSAGE_REQUEST) + * modal.type {ReownModalTypes} One of (CONNECT, SIGN_MESSAGE_REQUEST) * modal.onAcceptAction {Object} Action to be dispatched on accept * modal.onRejectAction {Object} Action to be dispatched on reject */ -export const setWalletConnectModal = (modal) => ({ - type: types.SET_WALLET_CONNECT_MODAL, +export const setReownModal = (modal) => ({ + type: types.SET_REOWN_MODAL, payload: modal, }); -export const hideWalletConnectModal = () => ({ - type: types.SET_WALLET_CONNECT_MODAL, +export const hideReownModal = () => ({ + type: types.SET_REOWN_MODAL, payload: { show: false }, }); /* * sessionKey {string} The symKey of the connected Session */ -export const walletConnectCancelSession = (sessionKey) => ({ - type: types.WC_CANCEL_SESSION, +export const reownCancelSession = (sessionKey) => ({ + type: types.REOWN_CANCEL_SESSION, payload: sessionKey, }); /** * @param {Object} data Data that the user has accepted. */ -export const walletConnectAccept = (data) => ({ - type: types.WALLET_CONNECT_ACCEPT, +export const reownAccept = (data) => ({ + type: types.REOWN_ACCEPT, payload: data, }); -export const walletConnectReject = () => ({ - type: types.WALLET_CONNECT_REJECT, +export const reownReject = () => ({ + type: types.REOWN_REJECT, }); /** @@ -867,22 +867,22 @@ export const sharedAddressUpdate = (lastSharedAddress, lastSharedIndex) => ({ }); /** - * Stores the walletConnect instance on the redux store + * Stores the reown instance on the redux store * - * walletConnect {WalletConnect} The WalletConnect instance + * reown {Reown} The Reown instance */ -export const setWalletConnect = (walletConnect) => ({ - type: types.SET_WALLET_CONNECT, - payload: walletConnect, +export const setReown = (reown) => ({ + type: types.SET_REOWN, + payload: reown, }); /** - * Dispatched with data when a WalletConnect QRCode is read + * Dispatched with data when a Reown QRCode is read * - * data {string} The WalletConnect v2 URI + * data {string} The Reown URI */ -export const walletConnectUriInputted = (data) => ({ - type: types.WC_URI_INPUTTED, +export const reownUriInputted = (data) => ({ + type: types.REOWN_URI_INPUTTED, payload: data, }); @@ -962,7 +962,7 @@ export const pushDeviceRegistered = (isRegistered) => ({ * failed {Boolean} Flag indicating whether WC failed or not. */ export const setWCConnectionFailed = (failed) => ({ - type: types.WC_SET_CONNECTION_FAILED, + type: types.REOWN_SET_CONNECTION_FAILED, payload: failed, }); @@ -1270,92 +1270,92 @@ export const firstAddressFailure = (failurePayload) => ({ * Signals that the user wants to attempt to retry the nano contract tx send */ export const newNanoContractRetry = () => ({ - type: types.WALLETCONNECT_NEW_NANOCONTRACT_RETRY, + type: types.REOWN_NEW_NANOCONTRACT_RETRY, }); /** * Signals that the user doesn't want to retry the new nano contract tx send */ export const newNanoContractRetryDismiss = () => ({ - type: types.WALLETCONNECT_NEW_NANOCONTRACT_RETRY_DISMISS, + type: types.REOWN_NEW_NANOCONTRACT_RETRY_DISMISS, }); /** * Signals update on new nano contract status to ready. */ export const setNewNanoContractStatusReady = () => ({ - type: types.WALLETCONNECT_NEW_NANOCONTRACT_STATUS, - payload: WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.READY, + type: types.REOWN_NEW_NANOCONTRACT_STATUS, + payload: REOWN_NEW_NANOCONTRACT_TX_STATUS.READY, }); /** * Signals update on new nano contract status to loading. */ export const setNewNanoContractStatusLoading = () => ({ - type: types.WALLETCONNECT_NEW_NANOCONTRACT_STATUS, - payload: WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.LOADING, + type: types.REOWN_NEW_NANOCONTRACT_STATUS, + payload: REOWN_NEW_NANOCONTRACT_TX_STATUS.LOADING, }); /** * Signals update on new nano contract status to failed. */ export const setNewNanoContractStatusFailure = () => ({ - type: types.WALLETCONNECT_NEW_NANOCONTRACT_STATUS, - payload: WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.FAILED, + type: types.REOWN_NEW_NANOCONTRACT_STATUS, + payload: REOWN_NEW_NANOCONTRACT_TX_STATUS.FAILED, }); /** * Signals update on new nano contract status to successful. */ export const setNewNanoContractStatusSuccess = () => ({ - type: types.WALLETCONNECT_NEW_NANOCONTRACT_STATUS, - payload: WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.SUCCESSFUL, + type: types.REOWN_NEW_NANOCONTRACT_STATUS, + payload: REOWN_NEW_NANOCONTRACT_TX_STATUS.SUCCESSFUL, }); /** * Signals that the user wants to attempt to retry the create token request */ export const createTokenRetry = () => ({ - type: types.WALLETCONNECT_CREATE_TOKEN_RETRY, + type: types.REOWN_CREATE_TOKEN_RETRY, }); /** * Signals that the user doesn't want to retry the create token request */ export const createTokenRetryDismiss = () => ({ - type: types.WALLETCONNECT_CREATE_TOKEN_RETRY_DISMISS, + type: types.REOWN_CREATE_TOKEN_RETRY_DISMISS, }); /** * Signals update on create token status to ready. */ export const setCreateTokenStatusReady = () => ({ - type: types.WALLETCONNECT_CREATE_TOKEN_STATUS, - payload: WALLETCONNECT_CREATE_TOKEN_STATUS.READY, + type: types.REOWN_CREATE_TOKEN_STATUS, + payload: REOWN_CREATE_TOKEN_STATUS.READY, }); /** * Signals update on create token status to loading. */ export const setCreateTokenStatusLoading = () => ({ - type: types.WALLETCONNECT_CREATE_TOKEN_STATUS, - payload: WALLETCONNECT_CREATE_TOKEN_STATUS.LOADING, + type: types.REOWN_CREATE_TOKEN_STATUS, + payload: REOWN_CREATE_TOKEN_STATUS.LOADING, }); /** * Signals update on create token status to failed. */ export const setCreateTokenStatusFailed = () => ({ - type: types.WALLETCONNECT_CREATE_TOKEN_STATUS, - payload: WALLETCONNECT_CREATE_TOKEN_STATUS.FAILED, + type: types.REOWN_CREATE_TOKEN_STATUS, + payload: REOWN_CREATE_TOKEN_STATUS.FAILED, }); /** * Signals update on create token status to successful. */ export const setCreateTokenStatusSuccessful = () => ({ - type: types.WALLETCONNECT_CREATE_TOKEN_STATUS, - payload: WALLETCONNECT_CREATE_TOKEN_STATUS.SUCCESSFUL, + type: types.REOWN_CREATE_TOKEN_STATUS, + payload: REOWN_CREATE_TOKEN_STATUS.SUCCESSFUL, }); /** diff --git a/src/components/WalletConnect/ApproveRejectModal.js b/src/components/Reown/ApproveRejectModal.js similarity index 100% rename from src/components/WalletConnect/ApproveRejectModal.js rename to src/components/Reown/ApproveRejectModal.js diff --git a/src/components/WalletConnect/ConnectModal.js b/src/components/Reown/ConnectModal.js similarity index 100% rename from src/components/WalletConnect/ConnectModal.js rename to src/components/Reown/ConnectModal.js diff --git a/src/components/WalletConnect/CreateTokenModal.js b/src/components/Reown/CreateTokenModal.js similarity index 90% rename from src/components/WalletConnect/CreateTokenModal.js rename to src/components/Reown/CreateTokenModal.js index 98afb2ada..c4e7f0f0b 100644 --- a/src/components/WalletConnect/CreateTokenModal.js +++ b/src/components/Reown/CreateTokenModal.js @@ -12,7 +12,7 @@ import { t } from 'ttag'; import { Text } from 'react-native'; import { ModalBase } from '../ModalBase'; import { WarnDisclaimer } from './WarnDisclaimer'; -import { walletConnectReject } from '../../actions'; +import { reownReject } from '../../actions'; import { commonStyles } from './theme'; export default ({ @@ -21,11 +21,11 @@ export default ({ }) => { const navigation = useNavigation(); const dispatch = useDispatch(); - const isRetrying = useSelector((state) => state.walletConnect.createToken.retrying); + const isRetrying = useSelector((state) => state.reown.createToken.retrying); const onReject = () => { onDismiss(); - dispatch(walletConnectReject()); + dispatch(reownReject()); }; const navigateToCreateTokenRequestScreen = () => { diff --git a/src/components/WalletConnect/CreateTokenRequest.js b/src/components/Reown/CreateTokenRequest.js similarity index 91% rename from src/components/WalletConnect/CreateTokenRequest.js rename to src/components/Reown/CreateTokenRequest.js index 087610aed..41d0afb7b 100644 --- a/src/components/WalletConnect/CreateTokenRequest.js +++ b/src/components/Reown/CreateTokenRequest.js @@ -21,15 +21,15 @@ import { createTokenRetry, createTokenRetryDismiss, setCreateTokenStatusReady, - walletConnectAccept, - walletConnectReject + reownAccept, + reownReject } from '../../actions'; import { COLORS } from '../../styles/themes'; import NewHathorButton from '../NewHathorButton'; import { DappContainer } from './NanoContract/DappContainer'; import { commonStyles } from './theme'; import { FeedbackContent } from '../FeedbackContent'; -import { DEFAULT_TOKEN, WALLETCONNECT_CREATE_TOKEN_STATUS } from '../../constants'; +import { DEFAULT_TOKEN, REOWN_CREATE_TOKEN_STATUS } from '../../constants'; import FeedbackModal from '../FeedbackModal'; import Spinner from '../Spinner'; import errorIcon from '../../assets/images/icErrorBig.png'; @@ -107,7 +107,7 @@ export const CreateTokenRequestData = ({ data }) => ( export const CreateTokenRequest = ({ createTokenRequest }) => { const { dapp, data } = createTokenRequest; - const { status } = useSelector((state) => state.walletConnect.createToken); + const { status } = useSelector((state) => state.reown.createToken); const dispatch = useDispatch(); const navigation = useNavigation(); @@ -118,18 +118,18 @@ export const CreateTokenRequest = ({ createTokenRequest }) => { const onAcceptCreateTokenRequest = () => { const acceptedCreateToken = data; - dispatch(walletConnectAccept(acceptedCreateToken)); + dispatch(reownAccept(acceptedCreateToken)); }; const onDeclineTransaction = () => { - dispatch(walletConnectReject()); + dispatch(reownReject()); navigation.goBack(); }; - const isTxReady = status === WALLETCONNECT_CREATE_TOKEN_STATUS.READY; - const isTxProcessing = status === WALLETCONNECT_CREATE_TOKEN_STATUS.LOADING; - const isTxSuccessful = status === WALLETCONNECT_CREATE_TOKEN_STATUS.SUCCESSFUL; - const isTxFailed = status === WALLETCONNECT_CREATE_TOKEN_STATUS.FAILED; + const isTxReady = status === REOWN_CREATE_TOKEN_STATUS.READY; + const isTxProcessing = status === REOWN_CREATE_TOKEN_STATUS.LOADING; + const isTxSuccessful = status === REOWN_CREATE_TOKEN_STATUS.SUCCESSFUL; + const isTxFailed = status === REOWN_CREATE_TOKEN_STATUS.FAILED; const onFeedbackModalDismiss = () => { dispatch(createTokenRetryDismiss()); diff --git a/src/components/WalletConnect/ModalButton.js b/src/components/Reown/ModalButton.js similarity index 100% rename from src/components/WalletConnect/ModalButton.js rename to src/components/Reown/ModalButton.js diff --git a/src/components/WalletConnect/NanoContract/DappContainer.js b/src/components/Reown/NanoContract/DappContainer.js similarity index 100% rename from src/components/WalletConnect/NanoContract/DappContainer.js rename to src/components/Reown/NanoContract/DappContainer.js diff --git a/src/components/WalletConnect/NanoContract/DeclineModal.js b/src/components/Reown/NanoContract/DeclineModal.js similarity index 100% rename from src/components/WalletConnect/NanoContract/DeclineModal.js rename to src/components/Reown/NanoContract/DeclineModal.js diff --git a/src/components/WalletConnect/NanoContract/NanoContractActions.js b/src/components/Reown/NanoContract/NanoContractActions.js similarity index 100% rename from src/components/WalletConnect/NanoContract/NanoContractActions.js rename to src/components/Reown/NanoContract/NanoContractActions.js diff --git a/src/components/WalletConnect/NanoContract/NanoContractExecInfo.js b/src/components/Reown/NanoContract/NanoContractExecInfo.js similarity index 100% rename from src/components/WalletConnect/NanoContract/NanoContractExecInfo.js rename to src/components/Reown/NanoContract/NanoContractExecInfo.js diff --git a/src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js b/src/components/Reown/NanoContract/NanoContractMethodArgs.js similarity index 100% rename from src/components/WalletConnect/NanoContract/NanoContractMethodArgs.js rename to src/components/Reown/NanoContract/NanoContractMethodArgs.js diff --git a/src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js b/src/components/Reown/NanoContract/NewNanoContractTransactionModal.js similarity index 85% rename from src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js rename to src/components/Reown/NanoContract/NewNanoContractTransactionModal.js index bc987066c..6d78a8d17 100644 --- a/src/components/WalletConnect/NanoContract/NewNanoContractTransactionModal.js +++ b/src/components/Reown/NanoContract/NewNanoContractTransactionModal.js @@ -14,22 +14,22 @@ import { t } from 'ttag'; import { useNavigation } from '@react-navigation/native'; import { useDispatch, useSelector } from 'react-redux'; import { ModalBase } from '../../ModalBase'; -import { walletConnectReject } from '../../../actions'; +import { reownReject } from '../../../actions'; import { WarnDisclaimer } from '../WarnDisclaimer'; -import { WALLETCONNECT_SKIP_CONFIRMATION_MODAL } from '../../../config'; +import { REOWN_SKIP_CONFIRMATION_MODAL } from '../../../config'; export const NewNanoContractTransactionModal = ({ onDismiss, data, }) => { - const isRetrying = useSelector(({ walletConnect }) => ( - walletConnect.newNanoContractTransaction.retrying + const isRetrying = useSelector(({ reown }) => ( + reown.newNanoContractTransaction.retrying )); const navigation = useNavigation(); const dispatch = useDispatch(); const onModalDismiss = useCallback(() => { - dispatch(walletConnectReject()); + dispatch(reownReject()); onDismiss(); }, [onDismiss]); @@ -39,7 +39,7 @@ export const NewNanoContractTransactionModal = ({ }; useEffect(() => { - if (WALLETCONNECT_SKIP_CONFIRMATION_MODAL || isRetrying) { + if (REOWN_SKIP_CONFIRMATION_MODAL || isRetrying) { navigatesToNewNanoContractScreen(); } }, [isRetrying]); diff --git a/src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js b/src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js similarity index 94% rename from src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js rename to src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js index 22c814c65..85ab5d777 100644 --- a/src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js +++ b/src/components/Reown/NanoContract/NewNanoContractTransactionRequest.js @@ -25,8 +25,8 @@ import { newNanoContractRetry, newNanoContractRetryDismiss, setNewNanoContractStatusReady, - walletConnectAccept, - walletConnectReject, + reownAccept, + reownReject, unregisteredTokensRequest, nanoContractRegisterRequest, nanoContractRegisterReady, @@ -36,7 +36,7 @@ import { COLORS } from '../../../styles/themes'; import NewHathorButton from '../../NewHathorButton'; import { SelectAddressModal } from '../../NanoContract/SelectAddressModal'; import { FeedbackContent } from '../../FeedbackContent'; -import { DEFAULT_TOKEN, NANOCONTRACT_BLUEPRINTINFO_STATUS, NANOCONTRACT_REGISTER_STATUS, WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS } from '../../../constants'; +import { DEFAULT_TOKEN, NANOCONTRACT_BLUEPRINTINFO_STATUS, NANOCONTRACT_REGISTER_STATUS, REOWN_NEW_NANOCONTRACT_TX_STATUS } from '../../../constants'; import Spinner from '../../Spinner'; import FeedbackModal from '../../FeedbackModal'; import errorIcon from '../../../assets/images/icErrorBig.png'; @@ -65,7 +65,7 @@ export const NewNanoContractTransactionRequest = ({ ncTxRequest }) => { const { data: nc, dapp } = ncTxRequest; const dispatch = useDispatch(); const navigation = useNavigation(); - const newTxStatus = useSelector((state) => state.walletConnect.newNanoContractTransaction.status); + const newTxStatus = useSelector((state) => state.reown.newNanoContractTransaction.status); const firstAddress = useSelector((state) => state.firstAddress); // Nullable if the nano contract method is 'initialize' const registeredNc = useSelector((state) => state.nanoContract.registered[nc.ncId]); @@ -105,7 +105,7 @@ export const NewNanoContractTransactionRequest = ({ ncTxRequest }) => { // Update the caller with the address selected by the user. const acceptedNc = { ...nc, caller: ncAddress }; // Signal the user has accepted the current request and pass the accepted data. - dispatch(walletConnectAccept(acceptedNc)); + dispatch(reownAccept(acceptedNc)); }; const onRegisterNanoContract = () => { @@ -120,7 +120,7 @@ export const NewNanoContractTransactionRequest = ({ ncTxRequest }) => { }; const onDeclineConfirmation = () => { setShowDeclineModal(false); - dispatch(walletConnectReject()); + dispatch(reownReject()); navigation.goBack(); }; const onDismissDeclineModal = () => { @@ -198,7 +198,7 @@ export const NewNanoContractTransactionRequest = ({ ncTxRequest }) => { }, [firstAddress]); useEffect(() => { - if (newTxStatus === WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.SUCCESSFUL) { + if (newTxStatus === REOWN_NEW_NANOCONTRACT_TX_STATUS.SUCCESSFUL) { navigation.navigate( 'SuccessFeedbackScreen', { @@ -229,12 +229,12 @@ export const NewNanoContractTransactionRequest = ({ ncTxRequest }) => { || blueprintInfo.status === NANOCONTRACT_BLUEPRINTINFO_STATUS.LOADING ); const isTxInfoLoaded = () => ( - !isTxInfoLoading() && newTxStatus !== WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.LOADING + !isTxInfoLoading() && newTxStatus !== REOWN_NEW_NANOCONTRACT_TX_STATUS.LOADING ); const isTxProcessing = () => ( - !isTxInfoLoading() && newTxStatus === WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.LOADING + !isTxInfoLoading() && newTxStatus === REOWN_NEW_NANOCONTRACT_TX_STATUS.LOADING ); - const isTxFailed = () => newTxStatus === WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.FAILED; + const isTxFailed = () => newTxStatus === REOWN_NEW_NANOCONTRACT_TX_STATUS.FAILED; return ( <> @@ -254,7 +254,8 @@ export const NewNanoContractTransactionRequest = ({ ncTxRequest }) => { message={t`The Nano Contract requested is not registered. First register the Nano Contract to interact with it.`} action={( - {!firstAddress.error && ( /* Doesn't show up if an error happens in first address request */ + {/* Doesn't show up if an error happens in first address request */} + {!firstAddress.error && ( { onDismiss(); - dispatch(walletConnectReject()); + dispatch(reownReject()); }; const navigateToSignOracleDataScreen = () => { @@ -53,7 +53,7 @@ export default ({ }; useEffect(() => { - if (WALLETCONNECT_SKIP_CONFIRMATION_MODAL) { + if (REOWN_SKIP_CONFIRMATION_MODAL) { navigateToSignOracleDataScreen(); } }, []); diff --git a/src/components/WalletConnect/WalletConnectModal.js b/src/components/Reown/ReownModal.js similarity index 77% rename from src/components/WalletConnect/WalletConnectModal.js rename to src/components/Reown/ReownModal.js index 9e49995c8..cd29b16c6 100644 --- a/src/components/WalletConnect/WalletConnectModal.js +++ b/src/components/Reown/ReownModal.js @@ -8,7 +8,7 @@ import React from 'react'; import { useSelector, useDispatch } from 'react-redux'; import { StyleSheet } from 'react-native'; -import { hideWalletConnectModal } from '../../actions'; +import { hideReownModal } from '../../actions'; import SignMessageModal from './SignMessageModal'; import ConnectModal from './ConnectModal'; import { COLORS } from '../../styles/themes'; @@ -18,51 +18,51 @@ import CreateTokenModal from './CreateTokenModal'; export default () => { const dispatch = useDispatch(); - const walletConnectModal = useSelector((state) => state.walletConnect.modal); + const reownModal = useSelector((state) => state.reown.modal); - if (!walletConnectModal.show) { + if (!reownModal.show) { return null; } const onDismiss = () => { - dispatch(hideWalletConnectModal()); + dispatch(hideReownModal()); }; const getModal = (type) => { switch (type) { - case WalletConnectModalTypes.CONNECT: + case ReownModalTypes.CONNECT: return ( ); - case WalletConnectModalTypes.SIGN_MESSAGE: + case ReownModalTypes.SIGN_MESSAGE: return ( ); - case WalletConnectModalTypes.SIGN_ORACLE_DATA: + case ReownModalTypes.SIGN_ORACLE_DATA: return ( ); - case WalletConnectModalTypes.SEND_NANO_CONTRACT_TX: + case ReownModalTypes.SEND_NANO_CONTRACT_TX: return ( ); - case WalletConnectModalTypes.CREATE_TOKEN: + case ReownModalTypes.CREATE_TOKEN: return ( ); @@ -71,7 +71,7 @@ export default () => { } }; - return getModal(walletConnectModal.type); + return getModal(reownModal.type); }; const baseStyles = StyleSheet.create({ @@ -120,7 +120,7 @@ const baseStyles = StyleSheet.create({ }, }); -export const WalletConnectModalTypes = { +export const ReownModalTypes = { CONNECT: 'CONNECT', SIGN_MESSAGE: 'SIGN_MESSAGE', SEND_NANO_CONTRACT_TX: 'SEND_NANO_CONTRACT_TX', diff --git a/src/components/WalletConnect/SignMessageModal.js b/src/components/Reown/SignMessageModal.js similarity index 90% rename from src/components/WalletConnect/SignMessageModal.js rename to src/components/Reown/SignMessageModal.js index 18596163a..54bd97de8 100644 --- a/src/components/WalletConnect/SignMessageModal.js +++ b/src/components/Reown/SignMessageModal.js @@ -13,8 +13,8 @@ import { StyleSheet, Text } from 'react-native'; import { COLORS } from '../../styles/themes'; import { ModalBase } from '../ModalBase'; import { WarnDisclaimer } from './WarnDisclaimer'; -import { walletConnectReject } from '../../actions'; -import { WALLETCONNECT_SKIP_CONFIRMATION_MODAL } from '../../config'; +import { reownReject } from '../../actions'; +import { REOWN_SKIP_CONFIRMATION_MODAL } from '../../config'; const styles = StyleSheet.create({ body: { @@ -44,7 +44,7 @@ export default ({ const onReject = () => { onDismiss(); - dispatch(walletConnectReject()); + dispatch(reownReject()); }; const navigateToSignMessageRequestScreen = () => { @@ -53,7 +53,7 @@ export default ({ }; useEffect(() => { - if (WALLETCONNECT_SKIP_CONFIRMATION_MODAL) { + if (REOWN_SKIP_CONFIRMATION_MODAL) { navigateToSignMessageRequestScreen(); } }, []); diff --git a/src/components/WalletConnect/SignMessageRequest.js b/src/components/Reown/SignMessageRequest.js similarity index 96% rename from src/components/WalletConnect/SignMessageRequest.js rename to src/components/Reown/SignMessageRequest.js index cb140cf5c..fd9e46ad2 100644 --- a/src/components/WalletConnect/SignMessageRequest.js +++ b/src/components/Reown/SignMessageRequest.js @@ -16,8 +16,8 @@ import { useDispatch } from 'react-redux'; import { useNavigation } from '@react-navigation/native'; import { t } from 'ttag'; import { - walletConnectAccept, - walletConnectReject + reownAccept, + reownReject } from '../../actions'; import { COLORS } from '../../styles/themes'; import NewHathorButton from '../NewHathorButton'; @@ -59,12 +59,12 @@ export const SignMessageRequest = ({ signMessageRequest }) => { const acceptedReq = { address, message }; // Signal the user has accepted the current request and pass the accepted data. - dispatch(walletConnectAccept(acceptedReq)); + dispatch(reownAccept(acceptedReq)); navigation.goBack(); }; const onDeclineTransaction = () => { - dispatch(walletConnectReject()); + dispatch(reownReject()); navigation.goBack(); }; diff --git a/src/components/WalletConnect/SignOracleDataRequest.js b/src/components/Reown/SignOracleDataRequest.js similarity index 96% rename from src/components/WalletConnect/SignOracleDataRequest.js rename to src/components/Reown/SignOracleDataRequest.js index 9a608f2cc..f7894aecf 100644 --- a/src/components/WalletConnect/SignOracleDataRequest.js +++ b/src/components/Reown/SignOracleDataRequest.js @@ -16,8 +16,8 @@ import { useDispatch } from 'react-redux'; import { useNavigation } from '@react-navigation/native'; import { t } from 'ttag'; import { - walletConnectAccept, - walletConnectReject + reownAccept, + reownReject } from '../../actions'; import { COLORS } from '../../styles/themes'; import NewHathorButton from '../NewHathorButton'; @@ -54,12 +54,12 @@ export const SignOracleDataRequest = ({ signOracleData }) => { const acceptedData = { address, message }; // Signal the user has accepted the current request and pass the accepted data. - dispatch(walletConnectAccept(acceptedData)); + dispatch(reownAccept(acceptedData)); navigation.goBack(); }; const onDeclineTransaction = () => { - dispatch(walletConnectReject()); + dispatch(reownReject()); navigation.goBack(); }; diff --git a/src/components/WalletConnect/WarnDisclaimer.js b/src/components/Reown/WarnDisclaimer.js similarity index 100% rename from src/components/WalletConnect/WarnDisclaimer.js rename to src/components/Reown/WarnDisclaimer.js diff --git a/src/components/WalletConnect/theme.js b/src/components/Reown/theme.js similarity index 100% rename from src/components/WalletConnect/theme.js rename to src/components/Reown/theme.js diff --git a/src/components/TextValue.js b/src/components/TextValue.js index efcf00c71..a90914d6b 100644 --- a/src/components/TextValue.js +++ b/src/components/TextValue.js @@ -10,7 +10,7 @@ import { StyleSheet, Text, } from 'react-native'; -import { commonStyles } from './WalletConnect/theme'; +import { commonStyles } from './Reown/theme'; /** * @param {Object} props diff --git a/src/config.js b/src/config.js index 17da0e1e3..a4dacedb5 100644 --- a/src/config.js +++ b/src/config.js @@ -65,6 +65,6 @@ export const _PRIMARY_COLOR = '#8C46FF'; export const _SENTRY_DSN = 'https://c1ebae9159f741e8937abdbfbeba8e8a@o239606.ingest.sentry.io/5304101'; /** - * Whether we should skip the initial modal on wallet-connect requests + * Whether we should skip the initial modal on reown requests */ -export const WALLETCONNECT_SKIP_CONFIRMATION_MODAL = true; +export const REOWN_SKIP_CONFIRMATION_MODAL = true; diff --git a/src/constants.js b/src/constants.js index 3c8cc1c0a..f57e6e6e4 100644 --- a/src/constants.js +++ b/src/constants.js @@ -161,7 +161,7 @@ export const PUSH_ACTION = { export const WALLET_SERVICE_FEATURE_TOGGLE = 'wallet-service-mobile.rollout'; export const PUSH_NOTIFICATION_FEATURE_TOGGLE = 'push-notification.rollout'; -export const WALLET_CONNECT_FEATURE_TOGGLE = 'wallet-connect-mobile.rollout'; +export const REOWN_FEATURE_TOGGLE = 'reown.rollout'; export const NETWORK_SETTINGS_FEATURE_TOGGLE = 'network-settings.rollout'; export const NANO_CONTRACT_FEATURE_TOGGLE = 'nano-contract.rollout'; @@ -176,13 +176,13 @@ export const NANO_CONTRACT_FEATURE_TOGGLE = 'nano-contract.rollout'; export const FEATURE_TOGGLE_DEFAULTS = { [WALLET_SERVICE_FEATURE_TOGGLE]: false, [PUSH_NOTIFICATION_FEATURE_TOGGLE]: false, - [WALLET_CONNECT_FEATURE_TOGGLE]: false, + [REOWN_FEATURE_TOGGLE]: false, [NETWORK_SETTINGS_FEATURE_TOGGLE]: false, [NANO_CONTRACT_FEATURE_TOGGLE]: false, }; // Project id configured in https://walletconnect.com -export const WALLET_CONNECT_PROJECT_ID = '8264fff563181da658ce64ee80e80458'; +export const REOWN_PROJECT_ID = '8264fff563181da658ce64ee80e80458'; export const STAGE_DEV_PRIVNET = 'dev-privnet'; export const STAGE_TESTNET = 'testnet'; @@ -256,7 +256,7 @@ export const NETWORKSETTINGS_STATUS = { WAITING: 'waiting', }; -export const WALLETCONNECT_CREATE_TOKEN_STATUS = { +export const REOWN_CREATE_TOKEN_STATUS = { ...BASE_STATUS, }; @@ -264,7 +264,7 @@ export const NANOCONTRACT_REGISTER_STATUS = { ...BASE_STATUS, }; -export const WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS = { +export const REOWN_NEW_NANOCONTRACT_TX_STATUS = { ...BASE_STATUS, }; diff --git a/src/reducers/reducer.js b/src/reducers/reducer.js index de12d59ef..df6f7f4dd 100644 --- a/src/reducers/reducer.js +++ b/src/reducers/reducer.js @@ -14,10 +14,10 @@ import { FEATURE_TOGGLE_DEFAULTS, NETWORKSETTINGS_STATUS, NANOCONTRACT_REGISTER_STATUS, - WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS, + REOWN_NEW_NANOCONTRACT_TX_STATUS, NANOCONTRACT_BLUEPRINTINFO_STATUS, PRE_SETTINGS_NANO_TESTNET, - WALLETCONNECT_CREATE_TOKEN_STATUS + REOWN_CREATE_TOKEN_STATUS } from '../constants'; import { types } from '../actions'; import { TOKEN_DOWNLOAD_STATUS } from '../sagas/tokens'; @@ -249,7 +249,7 @@ const initialState = { walletStartState: WALLET_STATUS.NOT_STARTED, lastSharedAddress: null, lastSharedIndex: null, - walletConnect: { + reown: { client: null, modal: { show: false, @@ -283,13 +283,13 @@ const initialState = { * }} */ newNanoContractTransaction: { - status: WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.READY, + status: REOWN_NEW_NANOCONTRACT_TX_STATUS.READY, showModal: false, retrying: false, data: null, }, createToken: { - status: WALLETCONNECT_CREATE_TOKEN_STATUS.READY, + status: REOWN_CREATE_TOKEN_STATUS.READY, retrying: false, }, connectionFailed: false, @@ -633,14 +633,14 @@ export const reducer = (state = initialState, action) => { return onSetFeatureToggles(state, action); case types.FEATURE_TOGGLE_INITIALIZED: return onFeatureToggleInitialized(state); - case types.SET_WALLET_CONNECT: - return onSetWalletConnect(state, action); - case types.SET_WALLET_CONNECT_MODAL: - return onSetWalletConnectModal(state, action); - case types.SET_WALLET_CONNECT_SESSIONS: - return onSetWalletConnectSessions(state, action); - case types.WC_SET_CONNECTION_FAILED: - return onSetWCConnectionFailed(state, action); + case types.SET_REOWN: + return onSetReown(state, action); + case types.SET_REOWN_MODAL: + return onSetReownModal(state, action); + case types.SET_REOWN_SESSIONS: + return onSetReownSessions(state, action); + case types.REOWN_SET_CONNECTION_FAILED: + return onSetReownConnectionFailed(state, action); case types.NETWORKSETTINGS_UPDATE_REQUEST: return onNetworkSettingsUpdateRequest(state); case types.NETWORKSETTINGS_UPDATE_STATE: @@ -691,13 +691,13 @@ export const reducer = (state = initialState, action) => { return onFirstAddressSuccess(state, action); case types.SET_NEW_NANO_CONTRACT_TRANSACTION: return onSetNewNanoContractTransaction(state, action); - case types.WALLETCONNECT_NEW_NANOCONTRACT_STATUS: + case types.REOWN_NEW_NANOCONTRACT_STATUS: return onSetNewNanoContractTransactionStatus(state, action); - case types.WALLETCONNECT_CREATE_TOKEN_STATUS: + case types.REOWN_CREATE_TOKEN_STATUS: return onSetCreateTokenStatus(state, action); - case types.WALLETCONNECT_CREATE_TOKEN_RETRY: + case types.REOWN_CREATE_TOKEN_RETRY: return onSetCreateTokenRetry(state, action); - case types.WALLETCONNECT_CREATE_TOKEN_RETRY_DISMISS: + case types.REOWN_CREATE_TOKEN_RETRY_DISMISS: return onSetCreateTokenRetryDismiss(state, action); case types.NANOCONTRACT_BLUEPRINTINFO_REQUEST: return onNanoContractBlueprintInfoRequest(state, action); @@ -709,9 +709,9 @@ export const reducer = (state = initialState, action) => { return onUnregisteredTokensRequest(state); case types.UNREGISTEREDTOKENS_UPDATE: return onUnregisteredTokensUpdate(state, action); - case types.WALLETCONNECT_NEW_NANOCONTRACT_RETRY: + case types.REOWN_NEW_NANOCONTRACT_RETRY: return onNewNanoContractTransactionRetry(state); - case types.WALLETCONNECT_NEW_NANOCONTRACT_RETRY_DISMISS: + case types.REOWN_NEW_NANOCONTRACT_RETRY_DISMISS: return onNewNanoContractTransactionRetryDismiss(state); default: return state; @@ -826,7 +826,7 @@ const onNewInvoice = (state, action) => { /** * When the user leaves the invoice screen, clear the invoice information */ -const onClearInvoice = (state, action) => ({ +const onClearInvoice = (state) => ({ ...state, latestInvoice: null, invoicePayment: null, @@ -1146,7 +1146,7 @@ export const onStartWalletLock = (state) => ({ * @param {String} action.words - The wallet's words * @param {String} action.pin - The wallet's pinCode */ -export const onStartWalletRequested = (state, action) => ({ +export const onStartWalletRequested = (state) => ({ ...state, walletStartState: WALLET_STATUS.LOADING, }); @@ -1444,12 +1444,12 @@ const onSharedAddressUpdate = (state, action) => ({ }); /** - * @param {WalletConnect} action.payload The wallet connect instance + * @param {Reown} action.payload The wallet connect instance */ -export const onSetWalletConnect = (state, { payload }) => ({ +export const onSetReown = (state, { payload }) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, client: payload, } }); @@ -1457,10 +1457,10 @@ export const onSetWalletConnect = (state, { payload }) => ({ /** * @param {Object} action.payload The wallet connect modal options */ -export const onSetWalletConnectModal = (state, { payload }) => ({ +export const onSetReownModal = (state, { payload }) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, modal: payload, }, }); @@ -1468,18 +1468,18 @@ export const onSetWalletConnectModal = (state, { payload }) => ({ /** * @param {Object} action.payload The wallet connect sessions to store */ -export const onSetWalletConnectSessions = (state, { payload }) => ({ +export const onSetReownSessions = (state, { payload }) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, sessions: payload, }, }); -export const onSetWCConnectionFailed = (state, { payload }) => ({ +export const onSetReownConnectionFailed = (state, { payload }) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, connectionFailed: payload, }, }); @@ -1905,21 +1905,21 @@ export const onFirstAddressSuccess = (state, { payload }) => ({ */ export const onSetNewNanoContractTransaction = (state, { payload }) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, newNanoContractTransaction: { ...payload, - status: WALLETCONNECT_NEW_NANOCONTRACT_TX_STATUS.READY, + status: REOWN_NEW_NANOCONTRACT_TX_STATUS.READY, }, }, }); export const onNewNanoContractTransactionRetry = (state) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, newNanoContractTransaction: { - ...state.walletConnect.newNanoContractTransaction, + ...state.reown.newNanoContractTransaction, retrying: true, }, }, @@ -1927,10 +1927,10 @@ export const onNewNanoContractTransactionRetry = (state) => ({ export const onNewNanoContractTransactionRetryDismiss = (state) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, newNanoContractTransaction: { - ...state.walletConnect.newNanoContractTransaction, + ...state.reown.newNanoContractTransaction, retrying: false, }, }, @@ -1938,10 +1938,10 @@ export const onNewNanoContractTransactionRetryDismiss = (state) => ({ export const onSetNewNanoContractTransactionStatus = (state, { payload }) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, newNanoContractTransaction: { - ...state.walletConnect.newNanoContractTransaction, + ...state.reown.newNanoContractTransaction, status: payload, }, }, @@ -1949,10 +1949,10 @@ export const onSetNewNanoContractTransactionStatus = (state, { payload }) => ({ export const onSetCreateTokenRetry = (state) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, createToken: { - ...state.walletConnect.createToken, + ...state.reown.createToken, retrying: true, }, }, @@ -1960,10 +1960,10 @@ export const onSetCreateTokenRetry = (state) => ({ export const onSetCreateTokenRetryDismiss = (state) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, createToken: { - ...state.walletConnect.createToken, + ...state.reown.createToken, retrying: false, }, }, @@ -1971,10 +1971,10 @@ export const onSetCreateTokenRetryDismiss = (state) => ({ export const onSetCreateTokenStatus = (state, { payload }) => ({ ...state, - walletConnect: { - ...state.walletConnect, + reown: { + ...state.reown, createToken: { - ...state.walletConnect.createToken, + ...state.reown.createToken, status: payload, retrying: false, }, @@ -2077,7 +2077,7 @@ export const onUnregisteredTokensRequest = (state) => ({ }); /** - * Update walletConnect.tokens with some tokens data needed to feed UI components + * Update reown.tokens with some tokens data needed to feed UI components * without the need to register them, also update an error feedback message if present. * * @param {Object} state diff --git a/src/sagas/index.js b/src/sagas/index.js index ed340924b..80d4b61e5 100644 --- a/src/sagas/index.js +++ b/src/sagas/index.js @@ -12,7 +12,7 @@ import { saga as pushNotificationSaga } from './pushNotification'; import { saga as errorHandlerSagas } from './errorHandler'; import { saga as featureToggleSagas } from './featureToggle'; import { saga as permissionsSagas } from './permissions'; -import { saga as walletConnectSagas } from './walletConnect'; +import { saga as reownSagas } from './reown'; import { saga as networkSettingsSagas } from './networkSettings'; import { saga as nanoContractSagas } from './nanoContract'; import { onExceptionCaptured } from '../actions'; @@ -30,7 +30,7 @@ const sagas = { errorHandlerSagas: { saga: errorHandlerSagas, retryCount: 0, critical: true }, featureToggleSagas: { saga: featureToggleSagas, retryCount: 0, critical: true }, permissionsSagas: { saga: permissionsSagas, retryCount: 0, critical: true }, - walletConnectSagas: { saga: walletConnectSagas, retryCount: 0, critical: false }, + reownSagas: { saga: reownSagas, retryCount: 0, critical: false }, nanoContractSagas: { saga: nanoContractSagas, retryCount: 0, critical: true }, }; diff --git a/src/sagas/walletConnect.js b/src/sagas/reown.js similarity index 83% rename from src/sagas/walletConnect.js rename to src/sagas/reown.js index 269ff427d..0cbd5f8ce 100644 --- a/src/sagas/walletConnect.js +++ b/src/sagas/reown.js @@ -39,7 +39,7 @@ * SESSION_REQUEST: Handles new messages published on the cloud message queue * for the current session by the dApp. * SESSION_PROPOSAL: Handles a new dApp connection, initialized by the pair method - * on web3wallet + * on walletKit * RESET_WALLET: This action is dispatched when the user resets his wallet. * START_WALLET_SUCCESS: This action is dispatched when the wallet is successfully * loaded. @@ -63,7 +63,7 @@ import { import { eventChannel } from 'redux-saga'; import { get, values } from 'lodash'; import { Core } from '@walletconnect/core'; -import { Web3Wallet } from '@walletconnect/web3wallet'; +import { WalletKit } from '@reown/walletkit'; import { TriggerTypes, TriggerResponseTypes, @@ -71,18 +71,18 @@ import { handleRpcRequest, CreateTokenError, SendNanoContractTxError, -} from 'hathor-rpc-handler-test'; +} from '@hathor/hathor-rpc-handler'; import { isWalletServiceEnabled, WALLET_STATUS } from './wallet'; -import { WalletConnectModalTypes } from '../components/WalletConnect/WalletConnectModal'; +import { ReownModalTypes } from '../components/Reown/ReownModal'; import { - WALLET_CONNECT_PROJECT_ID, - WALLET_CONNECT_FEATURE_TOGGLE, + REOWN_PROJECT_ID, + REOWN_FEATURE_TOGGLE, } from '../constants'; import { types, - setWalletConnect, - setWalletConnectModal, - setWalletConnectSessions, + setReown, + setReownModal, + setReownSessions, onExceptionCaptured, setWCConnectionFailed, showSignMessageWithAddressModal, @@ -101,7 +101,7 @@ import { import { checkForFeatureFlag, getNetworkSettings, retryHandler, showPinScreenForResult } from './helpers'; import { logger } from '../logger'; -const log = logger('walletConnect'); +const log = logger('reown'); const AVAILABLE_METHODS = { HATHOR_SIGN_MESSAGE: 'htr_signWithAddress', @@ -123,10 +123,10 @@ const ERROR_CODES = { INVALID_PAYLOAD: 5003, }; -function* isWalletConnectEnabled() { - const walletConnectEnabled = yield call(checkForFeatureFlag, WALLET_CONNECT_FEATURE_TOGGLE); +function* isReownEnabled() { + const reownEnabled = yield call(checkForFeatureFlag, REOWN_FEATURE_TOGGLE); - return walletConnectEnabled; + return reownEnabled; } function* init() { @@ -135,24 +135,25 @@ function* init() { if (walletStartState !== WALLET_STATUS.READY) { log.debug('Wallet not ready yet, waiting for START_WALLET_SUCCESS.'); yield take(types.START_WALLET_SUCCESS); - log.debug('Starting wallet-connect.'); + log.debug('Starting reown.'); } try { const walletServiceEnabled = yield call(isWalletServiceEnabled); - const walletConnectEnabled = yield call(isWalletConnectEnabled); + const reownEnabled = yield call(isReownEnabled); if (walletServiceEnabled) { - log.debug('Wallet Service enabled, skipping wallet-connect init.'); + log.debug('Wallet Service enabled, skipping reown init.'); return; } - if (!walletConnectEnabled) { + if (!reownEnabled) { + log.debug('Reown is not enabled.'); return; } const core = new Core({ - projectId: WALLET_CONNECT_PROJECT_ID, + projectId: REOWN_PROJECT_ID, }); const metadata = { @@ -161,17 +162,17 @@ function* init() { url: 'https://hathor.network/', }; - const web3wallet = yield call(Web3Wallet.init, { + const walletKit = yield call(WalletKit.init, { core, metadata, }); - yield put(setWalletConnect({ - web3wallet, + yield put(setReown({ + walletKit, core, })); - yield fork(setupListeners, web3wallet); + yield fork(setupListeners, walletKit); // Refresh redux with the active sessions, loaded from storage // Pass extend = true so session expiration date get renewed @@ -217,18 +218,18 @@ export function* listenForAppStateChange() { } export function* checkForPendingRequests() { - const { web3wallet } = yield select((state) => state.walletConnect.client); + const { walletKit } = yield select((state) => state.reown.client); - yield call([web3wallet, web3wallet.getPendingAuthRequests]); - yield call([web3wallet, web3wallet.getPendingSessionRequests]); + yield call([walletKit, walletKit.getPendingAuthRequests]); + yield call([walletKit, walletKit.getPendingSessionRequests]); } export function* refreshActiveSessions(extend = false) { log.debug('Refreshing active sessions.'); - const { web3wallet } = yield select((state) => state.walletConnect.client); + const { walletKit } = yield select((state) => state.reown.client); - const activeSessions = yield call(() => web3wallet.getActiveSessions()); - yield put(setWalletConnectSessions(activeSessions)); + const activeSessions = yield call(() => walletKit.getActiveSessions()); + yield put(setReownSessions(activeSessions)); if (extend) { for (const key of Object.keys(activeSessions)) { @@ -236,7 +237,7 @@ export function* refreshActiveSessions(extend = false) { log.debug(activeSessions[key].topic); try { - yield call(() => web3wallet.extendSession({ + yield call(() => walletKit.extendSession({ topic: activeSessions[key].topic, })); } catch (extendError) { @@ -244,7 +245,7 @@ export function* refreshActiveSessions(extend = false) { // Extending session failed, remove it try { - yield call(() => web3wallet.disconnectSession({ + yield call(() => walletKit.disconnectSession({ topic: activeSessions[key].topic, reason: { code: ERROR_CODES.USER_DISCONNECTED, @@ -261,20 +262,20 @@ export function* refreshActiveSessions(extend = false) { } /** - * @param {Web3Wallet} web3wallet The WalletConnect web3wallet instance + * @param {WalletKit} walletKit The Reown walletKit instance */ -export function* setupListeners(web3wallet) { +export function* setupListeners(walletKit) { const channel = eventChannel((emitter) => { const listenerMap = new Map(); const addListener = (eventName) => { const listener = async (data) => { emitter({ - type: `WC_${eventName.toUpperCase()}`, + type: `REOWN_${eventName.toUpperCase()}`, data, }); }; - web3wallet.on(eventName, listener); + walletKit.on(eventName, listener); listenerMap.set(eventName, listener); }; @@ -286,7 +287,7 @@ export function* setupListeners(web3wallet) { return () => listenerMap.forEach(( listener, eventName, - ) => web3wallet.removeListener(eventName, listener)); + ) => walletKit.removeListener(eventName, listener)); }); try { @@ -311,11 +312,11 @@ export function* setupListeners(web3wallet) { * the current client. */ export function* clearSessions() { - const { web3wallet } = yield select((state) => state.walletConnect.client); - const activeSessions = yield call(() => web3wallet.getActiveSessions()); + const { walletKit } = yield select((state) => state.reown.client); + const activeSessions = yield call(() => walletKit.getActiveSessions()); for (const key of Object.keys(activeSessions)) { - yield call(() => web3wallet.disconnectSession({ + yield call(() => walletKit.disconnectSession({ topic: activeSessions[key].topic, reason: { code: ERROR_CODES.USER_DISCONNECTED, @@ -328,7 +329,7 @@ export function* clearSessions() { } function* requestsListener() { - const requestsChannel = yield actionChannel('WC_SESSION_REQUEST'); + const requestsChannel = yield actionChannel('REOWN_SESSION_REQUEST'); let action; while (true) { @@ -352,8 +353,8 @@ export function* processRequest(action) { const wallet = yield select((state) => state.wallet); - const { web3wallet } = yield select((state) => state.walletConnect.client); - const activeSessions = yield call(() => web3wallet.getActiveSessions()); + const { walletKit } = yield select((state) => state.reown.client); + const activeSessions = yield call(() => walletKit.getActiveSessions()); const requestSession = activeSessions[payload.topic]; if (!requestSession) { @@ -394,7 +395,7 @@ export function* processRequest(action) { break; } - yield call(() => web3wallet.respondSessionRequest({ + yield call(() => walletKit.respondSessionRequest({ topic: payload.topic, response: { id: payload.id, @@ -410,8 +411,8 @@ export function* processRequest(action) { const retry = yield call( retryHandler, - types.WALLETCONNECT_CREATE_TOKEN_RETRY, - types.WALLETCONNECT_CREATE_TOKEN_RETRY_DISMISS, + types.REOWN_CREATE_TOKEN_RETRY, + types.REOWN_CREATE_TOKEN_RETRY_DISMISS, ); if (retry) { @@ -426,8 +427,8 @@ export function* processRequest(action) { // User might try again, wait for it. const retry = yield call( retryHandler, - types.WALLETCONNECT_CREATE_TOKEN_RETRY, - types.WALLETCONNECT_CREATE_TOKEN_RETRY_DISMISS, + types.REOWN_CREATE_TOKEN_RETRY, + types.REOWN_CREATE_TOKEN_RETRY_DISMISS, ); if (retry) { @@ -442,7 +443,7 @@ export function* processRequest(action) { if (shouldAnswer) { try { - yield call(() => web3wallet.respondSessionRequest({ + yield call(() => walletKit.respondSessionRequest({ topic: payload.topic, response: { id: payload.id, @@ -614,9 +615,9 @@ export function* onSignMessageRequest({ payload }) { return; } - yield put(setWalletConnectModal({ + yield put(setReownModal({ show: true, - type: WalletConnectModalTypes.SIGN_MESSAGE, + type: ReownModalTypes.SIGN_MESSAGE, data: { data, dapp, @@ -624,8 +625,8 @@ export function* onSignMessageRequest({ payload }) { })); const { deny } = yield race({ - accept: take(types.WALLET_CONNECT_ACCEPT), - deny: take(types.WALLET_CONNECT_REJECT), + accept: take(types.REOWN_ACCEPT), + deny: take(types.REOWN_REJECT), }); if (deny) { @@ -647,9 +648,9 @@ export function* onSignOracleDataRequest({ payload }) { return; } - yield put(setWalletConnectModal({ + yield put(setReownModal({ show: true, - type: WalletConnectModalTypes.SIGN_ORACLE_DATA, + type: ReownModalTypes.SIGN_ORACLE_DATA, data: { data, dapp, @@ -657,8 +658,8 @@ export function* onSignOracleDataRequest({ payload }) { })); const { deny } = yield race({ - accept: take(types.WALLET_CONNECT_ACCEPT), - deny: take(types.WALLET_CONNECT_REJECT), + accept: take(types.REOWN_ACCEPT), + deny: take(types.REOWN_REJECT), }); if (deny) { @@ -696,9 +697,9 @@ export function* onSendNanoContractTxRequest({ payload }) { return; } - yield put(setWalletConnectModal({ + yield put(setReownModal({ show: true, - type: WalletConnectModalTypes.SEND_NANO_CONTRACT_TX, + type: ReownModalTypes.SEND_NANO_CONTRACT_TX, data: { dapp, data: nc, @@ -706,8 +707,8 @@ export function* onSendNanoContractTxRequest({ payload }) { })); const { deny, accept } = yield race({ - accept: take(types.WALLET_CONNECT_ACCEPT), - deny: take(types.WALLET_CONNECT_REJECT), + accept: take(types.REOWN_ACCEPT), + deny: take(types.REOWN_REJECT), }); if (deny) { @@ -729,9 +730,9 @@ export function* onCreateTokenRequest({ payload }) { return; } - yield put(setWalletConnectModal({ + yield put(setReownModal({ show: true, - type: WalletConnectModalTypes.CREATE_TOKEN, + type: ReownModalTypes.CREATE_TOKEN, data: { dapp, data, @@ -739,8 +740,8 @@ export function* onCreateTokenRequest({ payload }) { })); const { deny, accept } = yield race({ - accept: take(types.WALLET_CONNECT_ACCEPT), - deny: take(types.WALLET_CONNECT_REJECT), + accept: take(types.REOWN_ACCEPT), + deny: take(types.REOWN_REJECT), }); if (deny) { @@ -756,8 +757,8 @@ export function* onCreateTokenRequest({ payload }) { * can clear all current sessions. */ export function* onWalletReset() { - const walletConnect = yield select((state) => state.walletConnect); - if (!walletConnect || !walletConnect.client) { + const reown = yield select((state) => state.reown); + if (!reown || !reown.client) { // Do nothing, wallet connect might not have been initialized yet return; } @@ -772,7 +773,7 @@ export function* onWalletReset() { */ export function* onSessionProposal(action) { const { id, params } = action.payload; - const { web3wallet } = yield select((state) => state.walletConnect.client); + const { walletKit } = yield select((state) => state.reown.client); const wallet = yield select((state) => state.wallet); const firstAddress = yield call(() => wallet.getAddressAtIndex(0)); @@ -785,12 +786,12 @@ export function* onSessionProposal(action) { requiredNamespaces: get(params, 'requiredNamespaces', []), }; - const onAcceptAction = { type: 'WALLET_CONNECT_ACCEPT' }; - const onRejectAction = { type: 'WALLET_CONNECT_REJECT' }; + const onAcceptAction = { type: 'REOWN_ACCEPT' }; + const onRejectAction = { type: 'REOWN_REJECT' }; - yield put(setWalletConnectModal({ + yield put(setReownModal({ show: true, - type: WalletConnectModalTypes.CONNECT, + type: ReownModalTypes.CONNECT, data, onAcceptAction, onRejectAction, @@ -803,7 +804,7 @@ export function* onSessionProposal(action) { if (reject) { try { - yield call(() => web3wallet.rejectSession({ + yield call(() => walletKit.rejectSession({ id, reason: { code: ERROR_CODES.USER_REJECTED, @@ -819,7 +820,7 @@ export function* onSessionProposal(action) { const networkSettings = yield select(getNetworkSettings); try { - yield call(() => web3wallet.approveSession({ + yield call(() => walletKit.approveSession({ id, relayProtocol: params.relays[0].protocol, namespaces: { @@ -838,7 +839,7 @@ export function* onSessionProposal(action) { try { // Attempt once more to reject the session, so it doesn't linger in the // message queue - yield call(() => web3wallet.rejectSession({ + yield call(() => walletKit.rejectSession({ id, reason: { code: ERROR_CODES.USER_REJECTED, @@ -857,9 +858,9 @@ export function* onSessionProposal(action) { * a QR Code */ export function* onUriInputted(action) { - const { web3wallet, core } = yield select((state) => state.walletConnect.client); + const { walletKit, core } = yield select((state) => state.reown.client); - if (!web3wallet) { + if (!walletKit) { throw new Error('Wallet connect instance is new and QRCode was read'); } @@ -878,12 +879,12 @@ export function* onUriInputted(action) { */ export function* featureToggleUpdateListener() { while (true) { - const oldWalletConnectEnabled = yield call(isWalletConnectEnabled); + const oldReownEnabled = yield call(isReownEnabled); yield take('FEATURE_TOGGLE_UPDATED'); - const newWalletConnectEnabled = yield call(isWalletConnectEnabled); + const newReownEnabled = yield call(isReownEnabled); - if (oldWalletConnectEnabled && !newWalletConnectEnabled) { - yield put({ type: 'WC_SHUTDOWN' }); + if (oldReownEnabled && !newReownEnabled) { + yield put({ type: 'REOWN_SHUTDOWN' }); } } } @@ -892,12 +893,12 @@ export function* featureToggleUpdateListener() { * Sends a disconnect session RPC message to the connected cloud server */ export function* onCancelSession(action) { - const { web3wallet } = yield select((state) => state.walletConnect.client); + const { walletKit } = yield select((state) => state.reown.client); - const activeSessions = yield call(() => web3wallet.getActiveSessions()); + const activeSessions = yield call(() => walletKit.getActiveSessions()); if (activeSessions[action.payload.id]) { - yield call(() => web3wallet.disconnectSession({ + yield call(() => walletKit.disconnectSession({ topic: activeSessions[action.payload.id].topic, reason: { code: ERROR_CODES.USER_DISCONNECTED, @@ -926,11 +927,11 @@ export function* saga() { takeLatest(types.SHOW_SIGN_MESSAGE_REQUEST_MODAL, onSignMessageRequest), takeLatest(types.SHOW_SIGN_ORACLE_DATA_REQUEST_MODAL, onSignOracleDataRequest), takeLatest(types.SHOW_CREATE_TOKEN_REQUEST_MODAL, onCreateTokenRequest), - takeEvery('WC_SESSION_PROPOSAL', onSessionProposal), - takeEvery('WC_SESSION_DELETE', onSessionDelete), - takeEvery('WC_CANCEL_SESSION', onCancelSession), - takeEvery('WC_SHUTDOWN', clearSessions), + takeEvery('REOWN_SESSION_PROPOSAL', onSessionProposal), + takeEvery('REOWN_SESSION_DELETE', onSessionDelete), + takeEvery('REOWN_CANCEL_SESSION', onCancelSession), + takeEvery('REOWN_SHUTDOWN', clearSessions), takeEvery(types.RESET_WALLET, onWalletReset), - takeLatest(types.WC_URI_INPUTTED, onUriInputted), + takeLatest(types.REOWN_URI_INPUTTED, onUriInputted), ]); } diff --git a/src/sagas/tokens.js b/src/sagas/tokens.js index 55e6e2fdd..732bd612c 100644 --- a/src/sagas/tokens.js +++ b/src/sagas/tokens.js @@ -296,7 +296,7 @@ export function* fetchTokenData(tokenId, force = false) { } /** - * Request tokens data to feed walletConnect's tokens. + * Request tokens data to feed reown's tokens. * @param {Object} action * @param {Object} action.payload * @param {string[]} action.payload.uids diff --git a/src/screens/WalletConnect/CreateTokenScreen.js b/src/screens/Reown/CreateTokenScreen.js similarity index 92% rename from src/screens/WalletConnect/CreateTokenScreen.js rename to src/screens/Reown/CreateTokenScreen.js index cb1b4344a..605abbcd6 100644 --- a/src/screens/WalletConnect/CreateTokenScreen.js +++ b/src/screens/Reown/CreateTokenScreen.js @@ -13,7 +13,7 @@ import { import { t } from 'ttag'; import HathorHeader from '../../components/HathorHeader'; import OfflineBar from '../../components/OfflineBar'; -import { CreateTokenRequest } from '../../components/WalletConnect/CreateTokenRequest'; +import { CreateTokenRequest } from '../../components/Reown/CreateTokenRequest'; import { COLORS } from '../../styles/themes'; export function CreateTokenRequestScreen({ route }) { diff --git a/src/screens/WalletConnect/NewNanoContractTransactionScreen.js b/src/screens/Reown/NewNanoContractTransactionScreen.js similarity index 94% rename from src/screens/WalletConnect/NewNanoContractTransactionScreen.js rename to src/screens/Reown/NewNanoContractTransactionScreen.js index 666996548..58618ae98 100644 --- a/src/screens/WalletConnect/NewNanoContractTransactionScreen.js +++ b/src/screens/Reown/NewNanoContractTransactionScreen.js @@ -13,7 +13,7 @@ import { import { t } from 'ttag'; import HathorHeader from '../../components/HathorHeader'; import OfflineBar from '../../components/OfflineBar'; -import { NewNanoContractTransactionRequest } from '../../components/WalletConnect/NanoContract/NewNanoContractTransactionRequest'; +import { NewNanoContractTransactionRequest } from '../../components/Reown/NanoContract/NewNanoContractTransactionRequest'; import { COLORS } from '../../styles/themes'; export function NewNanoContractTransactionScreen({ route }) { diff --git a/src/screens/WalletConnect/WalletConnectList.js b/src/screens/Reown/ReownList.js similarity index 91% rename from src/screens/WalletConnect/WalletConnectList.js rename to src/screens/Reown/ReownList.js index 25a07c9fa..53f7a803e 100644 --- a/src/screens/WalletConnect/WalletConnectList.js +++ b/src/screens/Reown/ReownList.js @@ -25,7 +25,7 @@ import HathorHeader from '../../components/HathorHeader'; import SimpleButton from '../../components/SimpleButton'; import { HathorList } from '../../components/HathorList'; import { - walletConnectCancelSession, + reownCancelSession, setWCConnectionFailed, } from '../../actions'; import { COLORS } from '../../styles/themes'; @@ -87,10 +87,10 @@ const style = StyleSheet.create({ } }); -export default function WalletConnectList({ navigation }) { +export default function ReownList({ navigation }) { const dispatch = useDispatch(); - const connectionFailed = useSelector((state) => state.walletConnect.connectionFailed); - const connectedSessions = useSelector((state) => state.walletConnect.sessions); + const connectionFailed = useSelector((state) => state.reown.connectionFailed); + const connectedSessions = useSelector((state) => state.reown.sessions); const mappedSessions = Object.keys(connectedSessions).map((sessionKey) => { const session = connectedSessions[sessionKey]; @@ -109,7 +109,7 @@ export default function WalletConnectList({ navigation }) { // translator: Used when the QR Code Scanner is opened, and user will manually // enter the information. title={t`Add`} - onPress={() => navigation.navigate('WalletConnectScan')} + onPress={() => navigation.navigate('ReownScan')} /> ); @@ -118,7 +118,7 @@ export default function WalletConnectList({ navigation }) { { text: t`End`, onPress: () => { - dispatch(walletConnectCancelSession({ id: sessionKey })); + dispatch(reownCancelSession({ id: sessionKey })); }, }, { @@ -134,7 +134,7 @@ export default function WalletConnectList({ navigation }) { navigation.pop()} rightElement={renderHeaderRightElement()} /> diff --git a/src/screens/WalletConnect/WalletConnectManual.js b/src/screens/Reown/ReownManual.js similarity index 87% rename from src/screens/WalletConnect/WalletConnectManual.js rename to src/screens/Reown/ReownManual.js index 2e58e1f92..3a6a57041 100644 --- a/src/screens/WalletConnect/WalletConnectManual.js +++ b/src/screens/Reown/ReownManual.js @@ -18,17 +18,17 @@ import { t } from 'ttag'; import HathorHeader from '../../components/HathorHeader'; import SimpleInput from '../../components/SimpleInput'; import NewHathorButton from '../../components/NewHathorButton'; -import { walletConnectUriInputted } from '../../actions'; +import { reownUriInputted } from '../../actions'; import { getKeyboardAvoidingViewTopDistance } from '../../utils'; -export default function WalletConnectList({ navigation }) { +export default function ReownList({ navigation }) { const [configString, setConfigString] = useState(''); const dispatch = useDispatch(); const onButtonPress = () => { - dispatch(walletConnectUriInputted(configString)); - navigation.navigate('WalletConnectList'); + dispatch(reownUriInputted(configString)); + navigation.navigate('ReownList'); }; return ( @@ -42,7 +42,7 @@ export default function WalletConnectList({ navigation }) { { - dispatch(walletConnectUriInputted(e.data)); + dispatch(reownUriInputted(e.data)); - navigation.navigate('WalletConnectList'); + navigation.navigate('ReownList'); return null; }; @@ -39,7 +39,7 @@ export default function WalletConnectScan({ navigation }) { // translator: Used when the QR Code Scanner is opened, and user will manually // enter the information. title={t`Manual`} - onPress={() => navigation.navigate('WalletConnectManual')} + onPress={() => navigation.navigate('ReownManual')} /> )} /> diff --git a/src/screens/WalletConnect/SignMessageRequestScreen.js b/src/screens/Reown/SignMessageRequestScreen.js similarity index 92% rename from src/screens/WalletConnect/SignMessageRequestScreen.js rename to src/screens/Reown/SignMessageRequestScreen.js index 1336a3b4c..c0440eb83 100644 --- a/src/screens/WalletConnect/SignMessageRequestScreen.js +++ b/src/screens/Reown/SignMessageRequestScreen.js @@ -13,7 +13,7 @@ import { import { t } from 'ttag'; import HathorHeader from '../../components/HathorHeader'; import OfflineBar from '../../components/OfflineBar'; -import { SignMessageRequest } from '../../components/WalletConnect/SignMessageRequest'; +import { SignMessageRequest } from '../../components/Reown/SignMessageRequest'; import { COLORS } from '../../styles/themes'; export function SignMessageRequestScreen({ route }) { diff --git a/src/screens/WalletConnect/SignOracleDataRequestScreen.js b/src/screens/Reown/SignOracleDataRequestScreen.js similarity index 91% rename from src/screens/WalletConnect/SignOracleDataRequestScreen.js rename to src/screens/Reown/SignOracleDataRequestScreen.js index ae3a87d44..e8595dd5d 100644 --- a/src/screens/WalletConnect/SignOracleDataRequestScreen.js +++ b/src/screens/Reown/SignOracleDataRequestScreen.js @@ -13,7 +13,7 @@ import { import { t } from 'ttag'; import HathorHeader from '../../components/HathorHeader'; import OfflineBar from '../../components/OfflineBar'; -import { SignOracleDataRequest } from '../../components/WalletConnect/SignOracleDataRequest'; +import { SignOracleDataRequest } from '../../components/Reown/SignOracleDataRequest'; import { COLORS } from '../../styles/themes'; export function SignOracleDataRequestScreen({ route }) { diff --git a/src/screens/WalletConnect/SuccessFeedbackScreen.js b/src/screens/Reown/SuccessFeedbackScreen.js similarity index 100% rename from src/screens/WalletConnect/SuccessFeedbackScreen.js rename to src/screens/Reown/SuccessFeedbackScreen.js diff --git a/src/screens/Settings.js b/src/screens/Settings.js index 150364eda..8c8bfd99b 100644 --- a/src/screens/Settings.js +++ b/src/screens/Settings.js @@ -21,7 +21,7 @@ import { HathorList, ListItem, ListMenu } from '../components/HathorList'; import { IS_MULTI_TOKEN, NETWORK_SETTINGS_FEATURE_TOGGLE, - WALLET_CONNECT_FEATURE_TOGGLE, + REOWN_FEATURE_TOGGLE, } from '../constants'; import CopyClipboard from '../components/CopyClipboard'; import { COLORS } from '../styles/themes'; @@ -50,7 +50,7 @@ const mapStateToProps = (state) => { uniqueDeviceId: state.uniqueDeviceId, server, isPushNotificationAvailable: isPushNotificationAvailableForUser(state), - walletConnectEnabled: state.featureToggles[WALLET_CONNECT_FEATURE_TOGGLE], + reownEnabled: state.featureToggles[REOWN_FEATURE_TOGGLE], networkSettingsEnabled: state.featureToggles[NETWORK_SETTINGS_FEATURE_TOGGLE], }; }; @@ -150,11 +150,11 @@ export class Settings extends React.Component { onPress={() => this.props.navigation.navigate('RegisterToken')} /> )} - {this.props.walletConnectEnabled + {this.props.reownEnabled && ( this.props.navigation.navigate('WalletConnectList')} + title='Reown' + onPress={() => this.props.navigation.navigate('ReownList')} /> )}