From 24570d9a262df11767a241a3a7e7f8656c77166c Mon Sep 17 00:00:00 2001 From: richardo2016x <104543757+richardo2016x@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:07:59 +0800 Subject: [PATCH] build: migrate patches from `patch-package` to `yarn patch` (#497) --- # app/mobiles yarn @debank/common@npm:0.3.58 yarn @metamask/eth-sig-util@npm:5.1.0 yarn @onekeyfe/hd-transport-react-native@npm:1.0.10 yarn @rabby-wallet/rabby-api@npm:0.8.5 yarn @react-native-menu/menu@npm:1.1.3 yarn eth-rpc-errors@npm:4.0.3 yarn nativewind@npm:2.0.11 yarn react-native-fs@npm:2.20.0 yarn react-native-keychain@npm:8.0.0 yarn react-native-mmkv@npm:2.12.2 yarn react-native-webview@npm:13.10.5 yarn react-use@npm:17.4.2 yarn zeego@npm:1.10.0 # root yarn @keystonehq/bc-ur-registry@npm:0.6.4 yarn @ledgerhq/hw-app-eth@npm:6.40.2 yarn @ledgerhq/hw-transport@npm:6.31.4 --- ...@debank-common-npm-0.3.58-0aa25cb07b.patch | 8 +- ...-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch | 8 +- ...rhq-hw-app-eth-npm-6.40.2-ffdc4add8c.patch | 16 +- ...q-hw-transport-npm-6.31.4-b439e9a1f8.patch | 16 +- ...sk-eth-sig-util-npm-5.1.0-fb33750b27.patch | 16 +- ...t-react-native-npm-1.0.10-09c8057879.patch | 56 +-- ...allet-rabby-api-npm-0.8.5-b09d6e3f2f.patch | 8 +- ...ative-menu-menu-npm-1.1.3-6b0ecb2e6c.patch | 8 +- .../eth-rpc-errors-npm-4.0.3-d154190eb6.patch | 8 +- .../nativewind-npm-2.0.11-dc2ccf9fb5.patch | 16 +- ...eact-native-fs-npm-2.20.0-a38fe24051.patch | 8 +- ...native-keychain-npm-8.0.0-22c1f5c020.patch | 48 +-- ...ct-native-mmkv-npm-2.12.2-9efa7abf70.patch | 56 +-- ...ative-webview-npm-13.10.5-714eb41569.patch | 163 ++++---- .../react-use-npm-17.4.2-d0e8220eaa.patch | 16 +- .../patches/zeego-npm-1.10.0-1958a3ea63.patch | 16 +- apps/mobile/package.json | 3 - apps/mobile/scripts/postinstall.sh | 16 +- package.json | 27 +- yarn.lock | 367 +++++++++++------- 20 files changed, 484 insertions(+), 396 deletions(-) rename apps/mobile/patches/@debank+common+0.3.58.patch => .yarn/patches/@debank-common-npm-0.3.58-0aa25cb07b.patch (55%) rename patches/@keystonehq+bc-ur-registry+0.6.4.patch => .yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch (51%) rename patches/@ledgerhq+hw-app-eth+6.40.2.patch => .yarn/patches/@ledgerhq-hw-app-eth-npm-6.40.2-ffdc4add8c.patch (60%) rename patches/@ledgerhq+hw-transport+6.31.4.patch => .yarn/patches/@ledgerhq-hw-transport-npm-6.31.4-b439e9a1f8.patch (57%) rename apps/mobile/patches/@metamask+eth-sig-util+5.1.0.patch => .yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch (59%) rename apps/mobile/patches/@onekeyfe+hd-transport-react-native+1.0.10.patch => .yarn/patches/@onekeyfe-hd-transport-react-native-npm-1.0.10-09c8057879.patch (54%) rename apps/mobile/patches/@rabby-wallet+rabby-api+0.8.5.patch => .yarn/patches/@rabby-wallet-rabby-api-npm-0.8.5-b09d6e3f2f.patch (62%) rename apps/mobile/patches/@react-native-menu+menu+1.1.3.patch => .yarn/patches/@react-native-menu-menu-npm-1.1.3-6b0ecb2e6c.patch (54%) rename apps/mobile/patches/eth-rpc-errors+4.0.3.patch => .yarn/patches/eth-rpc-errors-npm-4.0.3-d154190eb6.patch (65%) rename apps/mobile/patches/nativewind+2.0.11.patch => .yarn/patches/nativewind-npm-2.0.11-dc2ccf9fb5.patch (62%) rename apps/mobile/patches/react-native-fs+2.20.0.patch => .yarn/patches/react-native-fs-npm-2.20.0-a38fe24051.patch (50%) rename apps/mobile/patches/react-native-keychain+8.0.0.patch => .yarn/patches/react-native-keychain-npm-8.0.0-22c1f5c020.patch (88%) rename apps/mobile/patches/react-native-mmkv+2.12.2.patch => .yarn/patches/react-native-mmkv-npm-2.12.2-9efa7abf70.patch (72%) rename apps/mobile/patches/react-native-webview+13.10.5.patch => .yarn/patches/react-native-webview-npm-13.10.5-714eb41569.patch (87%) rename apps/mobile/patches/react-use+17.4.2.patch => .yarn/patches/react-use-npm-17.4.2-d0e8220eaa.patch (79%) rename apps/mobile/patches/zeego+1.10.0.patch => .yarn/patches/zeego-npm-1.10.0-1958a3ea63.patch (86%) diff --git a/apps/mobile/patches/@debank+common+0.3.58.patch b/.yarn/patches/@debank-common-npm-0.3.58-0aa25cb07b.patch similarity index 55% rename from apps/mobile/patches/@debank+common+0.3.58.patch rename to .yarn/patches/@debank-common-npm-0.3.58-0aa25cb07b.patch index 800b57af7..c8677ac9c 100644 --- a/apps/mobile/patches/@debank+common+0.3.58.patch +++ b/.yarn/patches/@debank-common-npm-0.3.58-0aa25cb07b.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/@debank/common/dist/chain.d.ts b/node_modules/@debank/common/dist/chain.d.ts -index ae0b2d4..70873af 100644 ---- a/node_modules/@debank/common/dist/chain.d.ts -+++ b/node_modules/@debank/common/dist/chain.d.ts +diff --git a/dist/chain.d.ts b/dist/chain.d.ts +index ae0b2d4bae688b199a3ff375d7bfc89bab20362e..70873af56664bae8cba3f13a95e90b802294290e 100644 +--- a/dist/chain.d.ts ++++ b/dist/chain.d.ts @@ -2,6 +2,7 @@ import { CHAINS_ENUM, ChainRaw } from "./chain-data"; export declare type Chain = ChainRaw & { logo: string; diff --git a/patches/@keystonehq+bc-ur-registry+0.6.4.patch b/.yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch similarity index 51% rename from patches/@keystonehq+bc-ur-registry+0.6.4.patch rename to .yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch index a6f901e43..9d055f262 100644 --- a/patches/@keystonehq+bc-ur-registry+0.6.4.patch +++ b/.yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/@keystonehq/bc-ur-registry/dist/CryptoAccount.js b/node_modules/@keystonehq/bc-ur-registry/dist/CryptoAccount.js -index 8e7bd5d..c14f90f 100644 ---- a/node_modules/@keystonehq/bc-ur-registry/dist/CryptoAccount.js -+++ b/node_modules/@keystonehq/bc-ur-registry/dist/CryptoAccount.js +diff --git a/dist/CryptoAccount.js b/dist/CryptoAccount.js +index 8e7bd5de863a0554bdef5339a0e94f19093ed588..c14f90f70a3da8b85f2db005233fff2b51f10a67 100644 +--- a/dist/CryptoAccount.js ++++ b/dist/CryptoAccount.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/patches/@ledgerhq+hw-app-eth+6.40.2.patch b/.yarn/patches/@ledgerhq-hw-app-eth-npm-6.40.2-ffdc4add8c.patch similarity index 60% rename from patches/@ledgerhq+hw-app-eth+6.40.2.patch rename to .yarn/patches/@ledgerhq-hw-app-eth-npm-6.40.2-ffdc4add8c.patch index cdb80d88c..5121b7217 100644 --- a/patches/@ledgerhq+hw-app-eth+6.40.2.patch +++ b/.yarn/patches/@ledgerhq-hw-app-eth-npm-6.40.2-ffdc4add8c.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/@ledgerhq/hw-app-eth/lib/services/ledger/contracts.js b/node_modules/@ledgerhq/hw-app-eth/lib/services/ledger/contracts.js -index 713d3a3..79f8f75 100644 ---- a/node_modules/@ledgerhq/hw-app-eth/lib/services/ledger/contracts.js -+++ b/node_modules/@ledgerhq/hw-app-eth/lib/services/ledger/contracts.js +diff --git a/lib/services/ledger/contracts.js b/lib/services/ledger/contracts.js +index 713d3a32c9aad00dfdf2ffa8a24a57230af2a3e0..79f8f75f3c1677dd1e9f857829ad15cce05b7dae 100644 +--- a/lib/services/ledger/contracts.js ++++ b/lib/services/ledger/contracts.js @@ -25,7 +25,7 @@ const loadInfosForContractMethod = (contractAddress, selector, chainId, userLoad if (pluginBaseURL) { const url = `${pluginBaseURL}/plugins/ethereum.json`; @@ -11,10 +11,10 @@ index 713d3a3..79f8f75 100644 .then(r => r.data) .catch(e => { (0, logs_1.log)("error", "could not fetch from " + url + ": " + String(e)); -diff --git a/node_modules/@ledgerhq/hw-app-eth/lib/services/ledger/erc20.js b/node_modules/@ledgerhq/hw-app-eth/lib/services/ledger/erc20.js -index 8fdedf8..201f1ae 100644 ---- a/node_modules/@ledgerhq/hw-app-eth/lib/services/ledger/erc20.js -+++ b/node_modules/@ledgerhq/hw-app-eth/lib/services/ledger/erc20.js +diff --git a/lib/services/ledger/erc20.js b/lib/services/ledger/erc20.js +index 8fdedf8037b2684ab6d48fd279a0c014b074b676..201f1ae2d9a2f28ec63e27c839b3c7158fc0320d 100644 +--- a/lib/services/ledger/erc20.js ++++ b/lib/services/ledger/erc20.js @@ -27,7 +27,7 @@ const findERC20SignaturesInfo = (userLoadConfig, chainId) => __awaiter(void 0, v return null; const url = `${cryptoassetsBaseURL}/evm/${chainId}/erc20-signatures.json`; diff --git a/patches/@ledgerhq+hw-transport+6.31.4.patch b/.yarn/patches/@ledgerhq-hw-transport-npm-6.31.4-b439e9a1f8.patch similarity index 57% rename from patches/@ledgerhq+hw-transport+6.31.4.patch rename to .yarn/patches/@ledgerhq-hw-transport-npm-6.31.4-b439e9a1f8.patch index 82ab7741f..f557bbbbe 100644 --- a/patches/@ledgerhq+hw-transport+6.31.4.patch +++ b/.yarn/patches/@ledgerhq-hw-transport-npm-6.31.4-b439e9a1f8.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/@ledgerhq/hw-transport/lib-es/Transport.d.ts b/node_modules/@ledgerhq/hw-transport/lib-es/Transport.d.ts -index 9099450..e890e2c 100644 ---- a/node_modules/@ledgerhq/hw-transport/lib-es/Transport.d.ts -+++ b/node_modules/@ledgerhq/hw-transport/lib-es/Transport.d.ts +diff --git a/lib/Transport.d.ts b/lib/Transport.d.ts +index 909945008c3cf8b7047b5b14ff105b012b795ee7..dc951adc04bc287b87e04c08c6e55fab0f20d773 100644 +--- a/lib/Transport.d.ts ++++ b/lib/Transport.d.ts @@ -132,7 +132,7 @@ export default class Transport { * @returns {Promise} A promise that resolves when the transport is closed. */ @@ -11,10 +11,10 @@ index 9099450..e890e2c 100644 /** * Listen for an event on the transport instance. * Transport implementations may have specific events. Common events include: -diff --git a/node_modules/@ledgerhq/hw-transport/lib/Transport.d.ts b/node_modules/@ledgerhq/hw-transport/lib/Transport.d.ts -index 9099450..dc951ad 100644 ---- a/node_modules/@ledgerhq/hw-transport/lib/Transport.d.ts -+++ b/node_modules/@ledgerhq/hw-transport/lib/Transport.d.ts +diff --git a/lib-es/Transport.d.ts b/lib-es/Transport.d.ts +index 909945008c3cf8b7047b5b14ff105b012b795ee7..dc951adc04bc287b87e04c08c6e55fab0f20d773 100644 +--- a/lib-es/Transport.d.ts ++++ b/lib-es/Transport.d.ts @@ -132,7 +132,7 @@ export default class Transport { * @returns {Promise} A promise that resolves when the transport is closed. */ diff --git a/apps/mobile/patches/@metamask+eth-sig-util+5.1.0.patch b/.yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch similarity index 59% rename from apps/mobile/patches/@metamask+eth-sig-util+5.1.0.patch rename to .yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch index 6e24543cc..1c886f952 100644 --- a/apps/mobile/patches/@metamask+eth-sig-util+5.1.0.patch +++ b/.yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch @@ -1,17 +1,17 @@ -diff --git a/node_modules/@metamask/eth-sig-util/dist/index.d.ts b/node_modules/@metamask/eth-sig-util/dist/index.d.ts -index 48ddf59..58c9ae7 100644 ---- a/node_modules/@metamask/eth-sig-util/dist/index.d.ts -+++ b/node_modules/@metamask/eth-sig-util/dist/index.d.ts +diff --git a/dist/index.d.ts b/dist/index.d.ts +index 48ddf59be50e021b2c2187ef80dd4d5ca10c5a56..58c9ae7faddc84afe016e98b2ce789076d666545 100644 +--- a/dist/index.d.ts ++++ b/dist/index.d.ts @@ -1,4 +1,5 @@ export * from './personal-sign'; export * from './sign-typed-data'; export * from './encryption'; +export * from './ethereumjs-abi-utils'; export { concatSig, normalize } from './utils'; -diff --git a/node_modules/@metamask/eth-sig-util/dist/index.js b/node_modules/@metamask/eth-sig-util/dist/index.js -index 2eaf99f..e395c18 100644 ---- a/node_modules/@metamask/eth-sig-util/dist/index.js -+++ b/node_modules/@metamask/eth-sig-util/dist/index.js +diff --git a/dist/index.js b/dist/index.js +index 2eaf99fe658277646309a1df55920dc10db80e39..e395c18b2996331e413f1dc11a7cb23fecaf7421 100644 +--- a/dist/index.js ++++ b/dist/index.js @@ -18,6 +18,7 @@ exports.normalize = exports.concatSig = void 0; __exportStar(require("./personal-sign"), exports); __exportStar(require("./sign-typed-data"), exports); diff --git a/apps/mobile/patches/@onekeyfe+hd-transport-react-native+1.0.10.patch b/.yarn/patches/@onekeyfe-hd-transport-react-native-npm-1.0.10-09c8057879.patch similarity index 54% rename from apps/mobile/patches/@onekeyfe+hd-transport-react-native+1.0.10.patch rename to .yarn/patches/@onekeyfe-hd-transport-react-native-npm-1.0.10-09c8057879.patch index ffe1697b6..8fb0af286 100644 --- a/apps/mobile/patches/@onekeyfe+hd-transport-react-native+1.0.10.patch +++ b/.yarn/patches/@onekeyfe-hd-transport-react-native-npm-1.0.10-09c8057879.patch @@ -1,17 +1,17 @@ -diff --git a/node_modules/@onekeyfe/hd-transport-react-native/dist/BleTransport.d.ts b/node_modules/@onekeyfe/hd-transport-react-native/dist/BleTransport.d.ts -index 4bec2f7..c122b7d 100644 ---- a/node_modules/@onekeyfe/hd-transport-react-native/dist/BleTransport.d.ts -+++ b/node_modules/@onekeyfe/hd-transport-react-native/dist/BleTransport.d.ts +diff --git a/dist/BleTransport.d.ts b/dist/BleTransport.d.ts +index 4bec2f7dad1418b7230e6dcd2a5e82d90278867e..c122b7d4bee421537b0312a6e5a7d27f1a42940b 100644 +--- a/dist/BleTransport.d.ts ++++ b/dist/BleTransport.d.ts @@ -1,4 +1,4 @@ -import { Device, Characteristic } from '@onekeyfe/react-native-ble-plx'; +import { Device, Characteristic } from 'react-native-ble-plx'; export default class BleTransport { id: string; device: Device; -diff --git a/node_modules/@onekeyfe/hd-transport-react-native/dist/index.d.ts b/node_modules/@onekeyfe/hd-transport-react-native/dist/index.d.ts -index b144d68..12a535d 100644 ---- a/node_modules/@onekeyfe/hd-transport-react-native/dist/index.d.ts -+++ b/node_modules/@onekeyfe/hd-transport-react-native/dist/index.d.ts +diff --git a/dist/index.d.ts b/dist/index.d.ts +index b144d68479c852a884a38ca474e7ff12d787f708..12a535d3114ac956ba53a06a47b2c669eff378a0 100644 +--- a/dist/index.d.ts ++++ b/dist/index.d.ts @@ -1,6 +1,6 @@ import * as transport from '@onekeyfe/hd-transport'; import transport__default from '@onekeyfe/hd-transport'; @@ -20,10 +20,10 @@ index b144d68..12a535d 100644 import { Deferred } from '@onekeyfe/hd-shared'; import EventEmitter from 'events'; -diff --git a/node_modules/@onekeyfe/hd-transport-react-native/dist/index.js b/node_modules/@onekeyfe/hd-transport-react-native/dist/index.js -index 84a93ec..db32699 100644 ---- a/node_modules/@onekeyfe/hd-transport-react-native/dist/index.js -+++ b/node_modules/@onekeyfe/hd-transport-react-native/dist/index.js +diff --git a/dist/index.js b/dist/index.js +index 84a93ec7a479c56b4bf69ed96d07646da7032e2a..64341f1f0f19660ccbec602dc9e74b7f79f3bff1 100644 +--- a/dist/index.js ++++ b/dist/index.js @@ -2,7 +2,7 @@ var reactNative = require('react-native'); @@ -44,30 +44,30 @@ index 84a93ec..db32699 100644 refreshGatt: 'OnConnected', }; const tryToGetConfiguration = (device) => { -diff --git a/node_modules/@onekeyfe/hd-transport-react-native/dist/types.d.ts b/node_modules/@onekeyfe/hd-transport-react-native/dist/types.d.ts -index 3dfc80d..cadf426 100644 ---- a/node_modules/@onekeyfe/hd-transport-react-native/dist/types.d.ts -+++ b/node_modules/@onekeyfe/hd-transport-react-native/dist/types.d.ts +diff --git a/dist/types.d.ts b/dist/types.d.ts +index 3dfc80d054bde5cf7cbf92260ef8f43dc26453ce..cadf4265aab7532ad06b8b777ae8851e2070b4f9 100644 +--- a/dist/types.d.ts ++++ b/dist/types.d.ts @@ -1,4 +1,4 @@ -export type { BleManager as BlePlxManager } from '@onekeyfe/react-native-ble-plx'; +export type { BleManager as BlePlxManager } from 'react-native-ble-plx'; export type TransportOptions = { scanTimeout?: number; }; -diff --git a/node_modules/@onekeyfe/hd-transport-react-native/src/BleTransport.ts b/node_modules/@onekeyfe/hd-transport-react-native/src/BleTransport.ts -index 110fcc0..954d5ec 100644 ---- a/node_modules/@onekeyfe/hd-transport-react-native/src/BleTransport.ts -+++ b/node_modules/@onekeyfe/hd-transport-react-native/src/BleTransport.ts +diff --git a/src/BleTransport.ts b/src/BleTransport.ts +index 110fcc0fde726802e7b71c8c88109c595a68d309..954d5ec64da5788215ef23225f90633ee3475018 100644 +--- a/src/BleTransport.ts ++++ b/src/BleTransport.ts @@ -1,4 +1,4 @@ -import { Device, Characteristic } from '@onekeyfe/react-native-ble-plx'; +import { Device, Characteristic } from 'react-native-ble-plx'; export default class BleTransport { id: string; -diff --git a/node_modules/@onekeyfe/hd-transport-react-native/src/index.ts b/node_modules/@onekeyfe/hd-transport-react-native/src/index.ts -index 39a288c..f96b606 100644 ---- a/node_modules/@onekeyfe/hd-transport-react-native/src/index.ts -+++ b/node_modules/@onekeyfe/hd-transport-react-native/src/index.ts +diff --git a/src/index.ts b/src/index.ts +index 39a288c3d644f7df12d94544cbed0561c48a2091..f96b606de282f9a41cc12de62d92680390112810 100644 +--- a/src/index.ts ++++ b/src/index.ts @@ -6,7 +6,7 @@ import { BleErrorCode, Characteristic, @@ -88,10 +88,10 @@ index 39a288c..f96b606 100644 refreshGatt: 'OnConnected', }; -diff --git a/node_modules/@onekeyfe/hd-transport-react-native/src/types.ts b/node_modules/@onekeyfe/hd-transport-react-native/src/types.ts -index a9c4d8b..b5a933b 100644 ---- a/node_modules/@onekeyfe/hd-transport-react-native/src/types.ts -+++ b/node_modules/@onekeyfe/hd-transport-react-native/src/types.ts +diff --git a/src/types.ts b/src/types.ts +index a9c4d8bfd839401103924bd29736560657702328..b5a933b14ed607678b7d908cab372a8b1018c785 100644 +--- a/src/types.ts ++++ b/src/types.ts @@ -1,4 +1,4 @@ -export type { BleManager as BlePlxManager } from '@onekeyfe/react-native-ble-plx'; +export type { BleManager as BlePlxManager } from 'react-native-ble-plx'; diff --git a/apps/mobile/patches/@rabby-wallet+rabby-api+0.8.5.patch b/.yarn/patches/@rabby-wallet-rabby-api-npm-0.8.5-b09d6e3f2f.patch similarity index 62% rename from apps/mobile/patches/@rabby-wallet+rabby-api+0.8.5.patch rename to .yarn/patches/@rabby-wallet-rabby-api-npm-0.8.5-b09d6e3f2f.patch index c2da2874e..b0123869b 100644 --- a/apps/mobile/patches/@rabby-wallet+rabby-api+0.8.5.patch +++ b/.yarn/patches/@rabby-wallet-rabby-api-npm-0.8.5-b09d6e3f2f.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/@rabby-wallet/rabby-api/dist/types.d.ts b/node_modules/@rabby-wallet/rabby-api/dist/types.d.ts -index d3b20d0..595005f 100644 ---- a/node_modules/@rabby-wallet/rabby-api/dist/types.d.ts -+++ b/node_modules/@rabby-wallet/rabby-api/dist/types.d.ts +diff --git a/dist/types.d.ts b/dist/types.d.ts +index d3b20d052e86809557641d0a43537be3ba249029..595005fdae4c165d9a0ea8dce436393a48bd8023 100644 +--- a/dist/types.d.ts ++++ b/dist/types.d.ts @@ -258,14 +258,14 @@ export interface NFTItem { id: string; contract_id: string; diff --git a/apps/mobile/patches/@react-native-menu+menu+1.1.3.patch b/.yarn/patches/@react-native-menu-menu-npm-1.1.3-6b0ecb2e6c.patch similarity index 54% rename from apps/mobile/patches/@react-native-menu+menu+1.1.3.patch rename to .yarn/patches/@react-native-menu-menu-npm-1.1.3-6b0ecb2e6c.patch index d2b6ea927..93dd1f436 100644 --- a/apps/mobile/patches/@react-native-menu+menu+1.1.3.patch +++ b/.yarn/patches/@react-native-menu-menu-npm-1.1.3-6b0ecb2e6c.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/@react-native-menu/menu/android/build.gradle b/node_modules/@react-native-menu/menu/android/build.gradle -index 90facf0..30dfdbc 100644 ---- a/node_modules/@react-native-menu/menu/android/build.gradle -+++ b/node_modules/@react-native-menu/menu/android/build.gradle +diff --git a/android/build.gradle b/android/build.gradle +index 90facf02ac2e5588c135307d120b8777ad463ed3..30dfdbca568112c51e589b6a94194a4336069a25 100644 +--- a/android/build.gradle ++++ b/android/build.gradle @@ -56,7 +56,7 @@ android { compileSdkVersion getExtOrIntegerDefault("compileSdkVersion") diff --git a/apps/mobile/patches/eth-rpc-errors+4.0.3.patch b/.yarn/patches/eth-rpc-errors-npm-4.0.3-d154190eb6.patch similarity index 65% rename from apps/mobile/patches/eth-rpc-errors+4.0.3.patch rename to .yarn/patches/eth-rpc-errors-npm-4.0.3-d154190eb6.patch index 336afc759..565872efa 100644 --- a/apps/mobile/patches/eth-rpc-errors+4.0.3.patch +++ b/.yarn/patches/eth-rpc-errors-npm-4.0.3-d154190eb6.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/eth-rpc-errors/dist/classes.js b/node_modules/eth-rpc-errors/dist/classes.js -index f71061a..1cdf38d 100644 ---- a/node_modules/eth-rpc-errors/dist/classes.js -+++ b/node_modules/eth-rpc-errors/dist/classes.js +diff --git a/dist/classes.js b/dist/classes.js +index f71061a82419ec9db9c08c847a85f55ce1f98274..107485363c1ee29218bb5fde75b40b27ebcab6fc 100644 +--- a/dist/classes.js ++++ b/dist/classes.js @@ -32,9 +32,10 @@ class EthereumRpcError extends Error { if (this.data !== undefined) { serialized.data = this.data; diff --git a/apps/mobile/patches/nativewind+2.0.11.patch b/.yarn/patches/nativewind-npm-2.0.11-dc2ccf9fb5.patch similarity index 62% rename from apps/mobile/patches/nativewind+2.0.11.patch rename to .yarn/patches/nativewind-npm-2.0.11-dc2ccf9fb5.patch index 58a55922a..52b585a5c 100644 --- a/apps/mobile/patches/nativewind+2.0.11.patch +++ b/.yarn/patches/nativewind-npm-2.0.11-dc2ccf9fb5.patch @@ -1,17 +1,17 @@ -diff --git a/node_modules/nativewind/dist/expo-snack.d.ts b/node_modules/nativewind/dist/expo-snack.d.ts -index 998a7f5..d1cd658 100644 ---- a/node_modules/nativewind/dist/expo-snack.d.ts -+++ b/node_modules/nativewind/dist/expo-snack.d.ts +diff --git a/dist/expo-snack.d.ts b/dist/expo-snack.d.ts +index 998a7f5d35b546d6bf3f8adfb402a23e09778ec6..d1cd65868facf094e46d689966322ea2091c12ed 100644 +--- a/dist/expo-snack.d.ts ++++ b/dist/expo-snack.d.ts @@ -1,3 +1,3 @@ -import { ComponentType } from "react"; +import { ComponentType, ComponentProps } from "react"; import { Config } from "tailwindcss"; -export declare function withExpoSnack(Component: ComponentType, theme?: Config["theme"]): () => JSX.Element; +export declare function withExpoSnack(Component: ComponentType, theme?: Config["theme"]): (props: T) => JSX.Element; -diff --git a/node_modules/nativewind/dist/expo-snack.js b/node_modules/nativewind/dist/expo-snack.js -index 928c4e7..06ddec2 100644 ---- a/node_modules/nativewind/dist/expo-snack.js -+++ b/node_modules/nativewind/dist/expo-snack.js +diff --git a/dist/expo-snack.js b/dist/expo-snack.js +index 928c4e7988a660129a8f9279a12134cd64e57da8..06ddec2b66a7da16c2499885bb8a598d2865e124 100644 +--- a/dist/expo-snack.js ++++ b/dist/expo-snack.js @@ -49,6 +49,6 @@ function withExpoSnack(Component, theme = {}) { default: "native", }); diff --git a/apps/mobile/patches/react-native-fs+2.20.0.patch b/.yarn/patches/react-native-fs-npm-2.20.0-a38fe24051.patch similarity index 50% rename from apps/mobile/patches/react-native-fs+2.20.0.patch rename to .yarn/patches/react-native-fs-npm-2.20.0-a38fe24051.patch index 342db11f0..07fa8addd 100644 --- a/apps/mobile/patches/react-native-fs+2.20.0.patch +++ b/.yarn/patches/react-native-fs-npm-2.20.0-a38fe24051.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/react-native-fs/android/src/main/AndroidManifest.xml b/node_modules/react-native-fs/android/src/main/AndroidManifest.xml -index 6e54f65..71b43e0 100644 ---- a/node_modules/react-native-fs/android/src/main/AndroidManifest.xml -+++ b/node_modules/react-native-fs/android/src/main/AndroidManifest.xml +diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml +index 6e54f6595b282c8a1169790b785f03e83c9a2077..71b43e0abb8eee6305b113fa84732e1120cb5295 100644 +--- a/android/src/main/AndroidManifest.xml ++++ b/android/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ MmkvHostObject::getPropertyNames(jsi::Runtime& rt) result.push_back(jsi::PropNameID::forUtf8(rt, std::string("getAllKeys"))); result.push_back(jsi::PropNameID::forUtf8(rt, std::string("deleteAll"))); @@ -29,10 +29,10 @@ index 1ffbdc2..ce8da60 100644 + return jsi::Value::undefined(); } -diff --git a/node_modules/react-native-mmkv/ios/MmkvHostObject.mm b/node_modules/react-native-mmkv/ios/MmkvHostObject.mm -index 16045fd..580e95b 100644 ---- a/node_modules/react-native-mmkv/ios/MmkvHostObject.mm -+++ b/node_modules/react-native-mmkv/ios/MmkvHostObject.mm +diff --git a/ios/MmkvHostObject.mm b/ios/MmkvHostObject.mm +index 16045fd7d4b020e9fcb10d0550d5668501b385fb..580e95b35596a460b10ee9d3aad5dfa571a9949f 100644 +--- a/ios/MmkvHostObject.mm ++++ b/ios/MmkvHostObject.mm @@ -291,5 +291,17 @@ }); } @@ -51,10 +51,10 @@ index 16045fd..580e95b 100644 + return jsi::Value::undefined(); } -diff --git a/node_modules/react-native-mmkv/lib/module/MMKV.js b/node_modules/react-native-mmkv/lib/module/MMKV.js -index c7b6cdd..e6f28ce 100644 ---- a/node_modules/react-native-mmkv/lib/module/MMKV.js -+++ b/node_modules/react-native-mmkv/lib/module/MMKV.js +diff --git a/lib/module/MMKV.js b/lib/module/MMKV.js +index c7b6cddc2287ea71841eac6fced4a0f02bc527e4..e6f28cedc4476859347b9b4df9c98ac72a026edf 100644 +--- a/lib/module/MMKV.js ++++ b/lib/module/MMKV.js @@ -83,6 +83,10 @@ export class MMKV { const func = this.getFunctionFromCache('recrypt'); return func(key); @@ -66,10 +66,10 @@ index c7b6cdd..e6f28ce 100644 toString() { return `MMKV (${this.id}): [${this.getAllKeys().join(', ')}]`; } -diff --git a/node_modules/react-native-mmkv/lib/typescript/MMKV.d.ts b/node_modules/react-native-mmkv/lib/typescript/MMKV.d.ts -index 98de6b8..f2d0b4f 100644 ---- a/node_modules/react-native-mmkv/lib/typescript/MMKV.d.ts -+++ b/node_modules/react-native-mmkv/lib/typescript/MMKV.d.ts +diff --git a/lib/typescript/MMKV.d.ts b/lib/typescript/MMKV.d.ts +index 98de6b8fefec0ffcc46de4544d8c3cfb002d342c..f2d0b4f2c9f1db500a431fe64472847dcd68ea83 100644 +--- a/lib/typescript/MMKV.d.ts ++++ b/lib/typescript/MMKV.d.ts @@ -100,6 +100,16 @@ interface MMKVInterface { * Encryption keys can have a maximum length of 16 bytes. */ @@ -104,10 +104,10 @@ index 98de6b8..f2d0b4f 100644 toString(): string; toJSON(): object; addOnValueChangedListener(onValueChanged: (key: string) => void): Listener; -diff --git a/node_modules/react-native-mmkv/react-native-mmkv.podspec b/node_modules/react-native-mmkv/react-native-mmkv.podspec -index 599f39e..34c5f84 100644 ---- a/node_modules/react-native-mmkv/react-native-mmkv.podspec -+++ b/node_modules/react-native-mmkv/react-native-mmkv.podspec +diff --git a/react-native-mmkv.podspec b/react-native-mmkv.podspec +index 599f39e20baad5a1db037a80560f5105a0ad7d20..34c5f847d787e44f53f7ed7da632a3ed39edf061 100644 +--- a/react-native-mmkv.podspec ++++ b/react-native-mmkv.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| 'ios/**/*.h' ] @@ -117,10 +117,10 @@ index 599f39e..34c5f84 100644 if respond_to?(:install_modules_dependencies, true) install_modules_dependencies(s) else -diff --git a/node_modules/react-native-mmkv/src/MMKV.ts b/node_modules/react-native-mmkv/src/MMKV.ts -index 973a5e7..5b32d70 100644 ---- a/node_modules/react-native-mmkv/src/MMKV.ts -+++ b/node_modules/react-native-mmkv/src/MMKV.ts +diff --git a/src/MMKV.ts b/src/MMKV.ts +index 973a5e74244c28ab22c47b2bffba078e20b84fe1..5b32d703ff898c2ad732f011c54d259e1027fde0 100644 +--- a/src/MMKV.ts ++++ b/src/MMKV.ts @@ -106,6 +106,16 @@ interface MMKVInterface { * Encryption keys can have a maximum length of 16 bytes. */ @@ -157,10 +157,10 @@ index 973a5e7..5b32d70 100644 toString(): string { return `MMKV (${this.id}): [${this.getAllKeys().join(', ')}]`; -diff --git a/node_modules/react-native-mmkv/src/createMMKV.mock.ts b/node_modules/react-native-mmkv/src/createMMKV.mock.ts -index c81bb57..29ebc91 100644 ---- a/node_modules/react-native-mmkv/src/createMMKV.mock.ts -+++ b/node_modules/react-native-mmkv/src/createMMKV.mock.ts +diff --git a/src/createMMKV.mock.ts b/src/createMMKV.mock.ts +index c81bb57129a2934e4647a5f3dfc06a4bb15be198..29ebc9168ef7a58dc11abeb4f3992e2b5c66d6f9 100644 +--- a/src/createMMKV.mock.ts ++++ b/src/createMMKV.mock.ts @@ -29,5 +29,8 @@ export const createMockMMKV = (): NativeMMKV => { recrypt: () => { console.warn('Encryption is not supported in mocked MMKV instances!'); diff --git a/apps/mobile/patches/react-native-webview+13.10.5.patch b/.yarn/patches/react-native-webview-npm-13.10.5-714eb41569.patch similarity index 87% rename from apps/mobile/patches/react-native-webview+13.10.5.patch rename to .yarn/patches/react-native-webview-npm-13.10.5-714eb41569.patch index 8d515b8ea..c4adcbd66 100644 --- a/apps/mobile/patches/react-native-webview+13.10.5.patch +++ b/.yarn/patches/react-native-webview-npm-13.10.5-714eb41569.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java b/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java -index 07f73fd..7a410d7 100644 ---- a/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java -+++ b/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java +diff --git a/android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java b/android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java +index 07f73fd00a083ebf5a03bffaa7bbadbd1f648505..688cd4d930e717ffbcd1527a72e22f2f0a8a14e8 100644 +--- a/android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java ++++ b/android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java @@ -7,6 +7,8 @@ import android.content.pm.PackageManager; import android.net.Uri; import android.os.Build; @@ -19,11 +19,11 @@ index 07f73fd..7a410d7 100644 +import android.webkit.JsPromptResult; import android.widget.FrameLayout; +import android.widget.Button; - + +import androidx.annotation.Nullable; import androidx.annotation.RequiresApi; import androidx.core.content.ContextCompat; - + @@ -28,6 +34,7 @@ import com.facebook.react.bridge.WritableMap; import com.facebook.react.common.build.ReactBuildConfig; import com.facebook.react.modules.core.PermissionAwareActivity; @@ -35,7 +35,7 @@ index 07f73fd..7a410d7 100644 @@ -36,6 +43,24 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; - + +import okhttp3.MediaType; +import okhttp3.OkHttpClient; +import okhttp3.Request; @@ -58,25 +58,25 @@ index 07f73fd..7a410d7 100644 protected static final FrameLayout.LayoutParams FULLSCREEN_LAYOUT_PARAMS = new FrameLayout.LayoutParams( ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT, Gravity.CENTER); @@ -54,6 +79,7 @@ public class RNCWebChromeClient extends WebChromeClient implements LifecycleEven - + protected View mVideoView; protected WebChromeClient.CustomViewCallback mCustomViewCallback; + protected boolean blockJsDuringLoading = true; - + /* * - Permissions - @@ -144,30 +170,33 @@ public class RNCWebChromeClient extends WebChromeClient implements LifecycleEven - + @Override public void onPermissionRequest(final PermissionRequest request) { - grantedPermissions = new ArrayList<>(); - + + ArrayList requestPermissionIdentifiers = new ArrayList<>(); ArrayList requestedAndroidPermissions = new ArrayList<>(); for (String requestedResource : request.getResources()) { String androidPermission = null; - + if (requestedResource.equals(PermissionRequest.RESOURCE_AUDIO_CAPTURE)) { androidPermission = Manifest.permission.RECORD_AUDIO; + requestPermissionIdentifiers.add("microphone"); @@ -114,7 +114,7 @@ index 07f73fd..7a410d7 100644 @@ -178,40 +207,125 @@ public class RNCWebChromeClient extends WebChromeClient implements LifecycleEven } } - + - // If all the permissions are already granted, send the response to the WebView synchronously - if (requestedAndroidPermissions.isEmpty()) { - request.grant(grantedPermissions.toArray(new String[0])); @@ -153,7 +153,7 @@ index 07f73fd..7a410d7 100644 + ); } + } - + - // Otherwise, ask to Android System for native permissions asynchronously - - this.permissionRequest = request; @@ -161,7 +161,7 @@ index 07f73fd..7a410d7 100644 + Handler handler = new Handler(); + handler.postDelayed(function, delayMillis); + } - + - requestPermissions(requestedAndroidPermissions); + private void showPermissionPrompt( + @Nullable CharSequence message, @@ -188,8 +188,8 @@ index 07f73fd..7a410d7 100644 + posButton.setEnabled(false); + this.runDelayed(() -> posButton.setEnabled(true), 500); } - - + + @Override public void onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) { - @@ -204,7 +204,7 @@ index 07f73fd..7a410d7 100644 + */ geolocationPermissionCallback = callback; geolocationPermissionOrigin = origin; - + requestPermissions(Collections.singletonList(Manifest.permission.ACCESS_FINE_LOCATION)); - } else { @@ -222,7 +222,7 @@ index 07f73fd..7a410d7 100644 + ); } } - + + @Override + public boolean onJsAlert(WebView view, String url, String message, JsResult result) { + if (blockJsDuringLoading || mWebView.disableJsPromptLike) { @@ -253,22 +253,22 @@ index 07f73fd..7a410d7 100644 private PermissionAwareActivity getPermissionAwareActivity() { Activity activity = this.mWebView.getThemedReactContext().getCurrentActivity(); if (activity == null) { -diff --git a/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java b/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java -index 6664b6f..0435296 100644 ---- a/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java -+++ b/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java +diff --git a/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java b/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java +index 6664b6f6eacb37743d049556dc55f613c0244517..7d639e3c139cb506fc8ef23044e3e121aabb16a5 100644 +--- a/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java ++++ b/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java @@ -68,6 +68,7 @@ public class RNCWebView extends WebView implements LifecycleEventListener { private OnScrollDispatchHelper mOnScrollDispatchHelper; protected boolean hasScrollEvent = false; protected boolean nestedScrollEnabled = false; + protected boolean disableJsPromptLike = false; protected ProgressChangedFilter progressChangedFilter; - + /** @@ -102,6 +103,10 @@ public class RNCWebView extends WebView implements LifecycleEventListener { this.nestedScrollEnabled = nestedScrollEnabled; } - + + public void setDisableJsPromptLike(boolean val) { + this.disableJsPromptLike = val; + } @@ -276,13 +276,13 @@ index 6664b6f..0435296 100644 @Override public void onHostResume() { // do nothing -diff --git a/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewClient.java b/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewClient.java -index d59e19c..ebbeaa2 100644 ---- a/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewClient.java -+++ b/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewClient.java +diff --git a/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewClient.java b/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewClient.java +index d59e19ce82a5a03a60c558b35171af713719af4a..10fbd508bc2ac715d2fcedb9a999ef4a401106d5 100644 +--- a/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewClient.java ++++ b/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewClient.java @@ -1,7 +1,9 @@ package com.reactnativecommunity.webview; - + import android.annotation.TargetApi; +import android.content.Intent; import android.graphics.Bitmap; @@ -293,11 +293,11 @@ index d59e19c..ebbeaa2 100644 @@ -32,6 +34,8 @@ import com.reactnativecommunity.webview.events.TopLoadingStartEvent; import com.reactnativecommunity.webview.events.TopRenderProcessGoneEvent; import com.reactnativecommunity.webview.events.TopShouldStartLoadWithRequestEvent; - + +import java.util.Arrays; +import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; - + public class RNCWebViewClient extends WebViewClient { @@ -41,6 +45,8 @@ public class RNCWebViewClient extends WebViewClient { protected boolean mLastLoadFailed = false; @@ -306,12 +306,12 @@ index d59e19c..ebbeaa2 100644 + // Allow list is used to support specific deeplinks in the webview. + private final String[] DEEPLINK_ALLOW_LIST = new String[] {"https://twitter.com/i/wallet/verify"}; protected @Nullable RNCBasicAuthCredential basicAuthCredential = null; - + public void setIgnoreErrFailedForThisURL(@Nullable String url) { @@ -51,12 +57,28 @@ public class RNCWebViewClient extends WebViewClient { basicAuthCredential = credential; } - + + private Boolean SetBlockJsDuringLoading(Boolean val, RNCWebView reactWebView) { + RNCWebChromeClient chromeClient = (RNCWebChromeClient) reactWebView.mWebChromeClient; + @@ -330,17 +330,17 @@ index d59e19c..ebbeaa2 100644 + // Only return the URL that the web view is currently showing. + String visibleUrl = webView.getUrl(); + Boolean isFinishedLoading = url.equals(visibleUrl); - + - if (!mLastLoadFailed) { + if (!mLastLoadFailed && isFinishedLoading) { RNCWebView reactWebView = (RNCWebView) webView; + this.SetBlockJsDuringLoading(false, reactWebView); - + reactWebView.callInjectedJavaScript(); - + @@ -121,7 +143,18 @@ public class RNCWebViewClient extends WebViewClient { RNCWebViewModuleImpl.shouldOverrideUrlLoadingLock.removeLock(lockIdentifier); - + return shouldOverride; - } else { + } else if (url != null && Arrays.asList(DEEPLINK_ALLOW_LIST).contains(url)) { @@ -357,7 +357,7 @@ index d59e19c..ebbeaa2 100644 + } else { FLog.w(TAG, "Couldn't use blocking synchronous call for onShouldStartLoadWithRequest due to debugging or missing Catalyst instance, falling back to old event-and-load."); progressChangedFilter.setWaitingForCommandLoadUrl(true); - + @@ -136,6 +169,21 @@ public class RNCWebViewClient extends WebViewClient { @TargetApi(Build.VERSION_CODES.N) @Override @@ -387,12 +387,12 @@ index d59e19c..ebbeaa2 100644 - ); + ); } - + @Override -diff --git a/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManagerImpl.kt b/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManagerImpl.kt -index 4600a8d..a0af496 100644 ---- a/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManagerImpl.kt -+++ b/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManagerImpl.kt +diff --git a/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManagerImpl.kt b/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManagerImpl.kt +index 4600a8dc5c448a2236d25e40172453f93ae92c45..4550481079f5b59e9a11029082958bf6cbac43fd 100644 +--- a/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManagerImpl.kt ++++ b/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManagerImpl.kt @@ -705,4 +705,10 @@ class RNCWebViewManagerImpl { fun setWebviewDebuggingEnabled(viewWrapper: RNCWebViewWrapper, enabled: Boolean) { RNCWebView.setWebContentsDebuggingEnabled(enabled) @@ -404,14 +404,15 @@ index 4600a8d..a0af496 100644 +// RNCWebView.setDisableJsPromptLike(enabled) + } } -diff --git a/node_modules/react-native-webview/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java b/node_modules/react-native-webview/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java -index 5bae4aa..47caeb2 100644 ---- a/node_modules/react-native-webview/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java -+++ b/node_modules/react-native-webview/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java +\ No newline at end of file +diff --git a/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java b/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java +index 5bae4aa9e66897473a9083a2c9320c99d72e80d7..456547621a60911296e878fe45d9aa55ae6ebf80 100644 +--- a/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java ++++ b/android/src/newarch/com/reactnativecommunity/webview/RNCWebViewManager.java @@ -331,6 +331,12 @@ public class RNCWebViewManager extends ViewGroupManager mRNCWebViewManagerImpl.setWebviewDebuggingEnabled(view, value); } - + + @Override + @ReactProp(name = "disableJsPromptLike") + public void setDisableJsPromptLike(RNCWebViewWrapper view, boolean value) { @@ -421,14 +422,14 @@ index 5bae4aa..47caeb2 100644 /* iOS PROPS - no implemented here */ @Override public void setAllowingReadAccessToURL(RNCWebViewWrapper view, @Nullable String value) {} -diff --git a/node_modules/react-native-webview/android/src/oldarch/com/reactnativecommunity/webview/RNCWebViewManager.java b/node_modules/react-native-webview/android/src/oldarch/com/reactnativecommunity/webview/RNCWebViewManager.java -index 709117a..9ffbae5 100644 ---- a/node_modules/react-native-webview/android/src/oldarch/com/reactnativecommunity/webview/RNCWebViewManager.java -+++ b/node_modules/react-native-webview/android/src/oldarch/com/reactnativecommunity/webview/RNCWebViewManager.java +diff --git a/android/src/oldarch/com/reactnativecommunity/webview/RNCWebViewManager.java b/android/src/oldarch/com/reactnativecommunity/webview/RNCWebViewManager.java +index 709117a91e44c2e32a263c638b0c092185d76e94..4e0713dd00704b5ca42a9868acc89f560ec7cb30 100644 +--- a/android/src/oldarch/com/reactnativecommunity/webview/RNCWebViewManager.java ++++ b/android/src/oldarch/com/reactnativecommunity/webview/RNCWebViewManager.java @@ -268,6 +268,11 @@ public class RNCWebViewManager extends ViewGroupManager { mRNCWebViewManagerImpl.setWebviewDebuggingEnabled(view, value); } - + + @ReactProp(name = "disableJsPromptLike") + public void setDisableJsPromptLike(RNCWebViewWrapper view, boolean value) { + mRNCWebViewManagerImpl.setDisableJsPromptLike(view, value); @@ -437,10 +438,10 @@ index 709117a..9ffbae5 100644 @ReactProp(name = "userAgent") public void setUserAgent(RNCWebViewWrapper view, @Nullable String value) { mRNCWebViewManagerImpl.setUserAgent(view, value); -diff --git a/node_modules/react-native-webview/apple/RNCWebView.mm b/node_modules/react-native-webview/apple/RNCWebView.mm -index 1ae84c8..229c4b0 100644 ---- a/node_modules/react-native-webview/apple/RNCWebView.mm -+++ b/node_modules/react-native-webview/apple/RNCWebView.mm +diff --git a/apple/RNCWebView.mm b/apple/RNCWebView.mm +index 1ae84c89237f2133378b35a75f6b48a538a1502f..c5026ad22a57a4215edbf53d3705048b39e89cf3 100644 +--- a/apple/RNCWebView.mm ++++ b/apple/RNCWebView.mm @@ -275,6 +275,7 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const & REMAP_WEBVIEW_PROP(allowUniversalAccessFromFileURLs) REMAP_WEBVIEW_PROP(allowsInlineMediaPlayback) @@ -449,10 +450,10 @@ index 1ae84c8..229c4b0 100644 REMAP_WEBVIEW_PROP(allowsAirPlayForMediaPlayback) REMAP_WEBVIEW_PROP(mediaPlaybackRequiresUserAction) REMAP_WEBVIEW_PROP(automaticallyAdjustContentInsets) -diff --git a/node_modules/react-native-webview/apple/RNCWebViewImpl.h b/node_modules/react-native-webview/apple/RNCWebViewImpl.h -index ba9adf7..1a2d15a 100644 ---- a/node_modules/react-native-webview/apple/RNCWebViewImpl.h -+++ b/node_modules/react-native-webview/apple/RNCWebViewImpl.h +diff --git a/apple/RNCWebViewImpl.h b/apple/RNCWebViewImpl.h +index ba9adf749d3874b74952a8f7d7044d939672a6b3..1a2d15a61e1a1e4715fa63bcacd9989deb636774 100644 +--- a/apple/RNCWebViewImpl.h ++++ b/apple/RNCWebViewImpl.h @@ -81,6 +81,7 @@ shouldStartLoadForRequest:(NSMutableDictionary *)request @property (nonatomic, assign) CGFloat decelerationRate; @property (nonatomic, assign) BOOL allowsInlineMediaPlayback; @@ -461,17 +462,17 @@ index ba9adf7..1a2d15a 100644 @property (nonatomic, assign) BOOL allowsAirPlayForMediaPlayback; @property (nonatomic, assign) BOOL bounces; @property (nonatomic, assign) BOOL mediaPlaybackRequiresUserAction; -diff --git a/node_modules/react-native-webview/apple/RNCWebViewImpl.m b/node_modules/react-native-webview/apple/RNCWebViewImpl.m -index 77abeaf..e5363e8 100644 ---- a/node_modules/react-native-webview/apple/RNCWebViewImpl.m -+++ b/node_modules/react-native-webview/apple/RNCWebViewImpl.m +diff --git a/apple/RNCWebViewImpl.m b/apple/RNCWebViewImpl.m +index 77abeafb502f717550434a286d2611380949157b..a6733f9f431bea733665cc7e8432d832cdcce88a 100644 +--- a/apple/RNCWebViewImpl.m ++++ b/apple/RNCWebViewImpl.m @@ -145,6 +145,8 @@ @implementation RNCWebViewImpl UIStatusBarStyle _savedStatusBarStyle; #endif // !TARGET_OS_OSX BOOL _savedStatusBarHidden; + BOOL _disablePromptDuringLoading; + BOOL _disableJsPromptLike; - + #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 /* __IPHONE_11_0 */ UIScrollViewContentInsetAdjustmentBehavior _savedContentInsetAdjustmentBehavior; @@ -179,6 +181,8 @@ - (instancetype)initWithFrame:(CGRect)frame @@ -480,7 +481,7 @@ index 77abeaf..e5363e8 100644 _injectedJavaScriptBeforeContentLoadedForMainFrameOnly = YES; + _disablePromptDuringLoading = YES; + _disableJsPromptLike = NO; - + #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 /* __IPHONE_11_0 */ _savedContentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; @@ -588,6 +592,9 @@ - (void)setWebviewDebuggingEnabled:(BOOL)webviewDebuggingEnabled { @@ -490,7 +491,7 @@ index 77abeaf..e5363e8 100644 +- (void)setDisableJsPromptLike:(BOOL)disableJsPromptLike { + _disableJsPromptLike = disableJsPromptLike; +} - + #ifdef RCT_NEW_ARCH_ENABLED - (void)destroyWebView @@ -685,6 +692,7 @@ -(void)keyboardDisplacementFix @@ -510,9 +511,9 @@ index 77abeaf..e5363e8 100644 } else if ([message.name isEqualToString:MessageHandlerName]) { if (_onMessage) { @@ -1156,17 +1165,45 @@ - (void) webView:(WKWebView *)webView - + #pragma mark - WKNavigationDelegate methods - + +/** + * one method to construct dialog title information based on the frame, + * if get host, show it as title, otherwise show a default title @@ -646,19 +647,19 @@ index 77abeaf..e5363e8 100644 + } } #endif - + @@ -1535,6 +1585,7 @@ - (void)webView:(WKWebView *)webView } - + if (_onLoadingFinish) { + _disablePromptDuringLoading = NO; _onLoadingFinish([self baseEvent]); } } -diff --git a/node_modules/react-native-webview/apple/RNCWebViewManager.mm b/node_modules/react-native-webview/apple/RNCWebViewManager.mm -index 1d22028..2960b92 100644 ---- a/node_modules/react-native-webview/apple/RNCWebViewManager.mm -+++ b/node_modules/react-native-webview/apple/RNCWebViewManager.mm +diff --git a/apple/RNCWebViewManager.mm b/apple/RNCWebViewManager.mm +index 1d22028a1c44d18f8bf333265dd6781ff3df4250..2960b926cf1fca31eab5b114afc8236be6ca744c 100644 +--- a/apple/RNCWebViewManager.mm ++++ b/apple/RNCWebViewManager.mm @@ -63,6 +63,7 @@ - (RNCView *)view RCT_EXPORT_VIEW_PROPERTY(allowUniversalAccessFromFileURLs, BOOL) RCT_EXPORT_VIEW_PROPERTY(allowsInlineMediaPlayback, BOOL) @@ -667,10 +668,10 @@ index 1d22028..2960b92 100644 RCT_EXPORT_VIEW_PROPERTY(allowsAirPlayForMediaPlayback, BOOL) RCT_EXPORT_VIEW_PROPERTY(mediaPlaybackRequiresUserAction, BOOL) RCT_EXPORT_VIEW_PROPERTY(dataDetectorTypes, WKDataDetectorTypes) -diff --git a/node_modules/react-native-webview/lib/WebViewTypes.d.ts b/node_modules/react-native-webview/lib/WebViewTypes.d.ts -index 7cbd835..882321f 100644 ---- a/node_modules/react-native-webview/lib/WebViewTypes.d.ts -+++ b/node_modules/react-native-webview/lib/WebViewTypes.d.ts +diff --git a/lib/WebViewTypes.d.ts b/lib/WebViewTypes.d.ts +index 7cbd83521257c1a730cca632a712737253dcddab..882321f8ce1b6099513cecd042f0d4ea64f7548d 100644 +--- a/lib/WebViewTypes.d.ts ++++ b/lib/WebViewTypes.d.ts @@ -1066,5 +1066,9 @@ export interface WebViewSharedProps extends ViewProps { * Enables WebView remote debugging using Chrome (Android) or Safari (iOS). */ diff --git a/apps/mobile/patches/react-use+17.4.2.patch b/.yarn/patches/react-use-npm-17.4.2-d0e8220eaa.patch similarity index 79% rename from apps/mobile/patches/react-use+17.4.2.patch rename to .yarn/patches/react-use-npm-17.4.2-d0e8220eaa.patch index b9515483e..ad84b1575 100644 --- a/apps/mobile/patches/react-use+17.4.2.patch +++ b/.yarn/patches/react-use-npm-17.4.2-d0e8220eaa.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/react-use/esm/index.js b/node_modules/react-use/esm/index.js -index 62b6935..a412b8e 100644 ---- a/node_modules/react-use/esm/index.js -+++ b/node_modules/react-use/esm/index.js +diff --git a/esm/index.js b/esm/index.js +index 62b69356b712d7d5ecc94c197e1519c58fdb8167..a412b8e6164b9e464ada4a2391a7590186fdec7d 100644 +--- a/esm/index.js ++++ b/esm/index.js @@ -13,7 +13,7 @@ export { default as useClickAway } from './useClickAway'; export { default as useCookie } from './useCookie'; export { default as useCopyToClipboard } from './useCopyToClipboard'; @@ -11,10 +11,10 @@ index 62b6935..a412b8e 100644 export { default as useCustomCompareEffect } from './useCustomCompareEffect'; export { default as useDebounce } from './useDebounce'; export { default as useDeepCompareEffect } from './useDeepCompareEffect'; -diff --git a/node_modules/react-use/lib/index.js b/node_modules/react-use/lib/index.js -index 3559705..d37501b 100644 ---- a/node_modules/react-use/lib/index.js -+++ b/node_modules/react-use/lib/index.js +diff --git a/lib/index.js b/lib/index.js +index 355970590ad052a0d988ce08aac22fd274ad216d..d37501ba55380b1a2460c18beed01a88e48be5cf 100644 +--- a/lib/index.js ++++ b/lib/index.js @@ -36,8 +36,8 @@ var useCopyToClipboard_1 = require("./useCopyToClipboard"); Object.defineProperty(exports, "useCopyToClipboard", { enumerable: true, get: function () { return __importDefault(useCopyToClipboard_1).default; } }); var useCounter_1 = require("./useCounter"); diff --git a/apps/mobile/patches/zeego+1.10.0.patch b/.yarn/patches/zeego-npm-1.10.0-1958a3ea63.patch similarity index 86% rename from apps/mobile/patches/zeego+1.10.0.patch rename to .yarn/patches/zeego-npm-1.10.0-1958a3ea63.patch index d94929e2f..f602fe58e 100644 --- a/apps/mobile/patches/zeego+1.10.0.patch +++ b/.yarn/patches/zeego-npm-1.10.0-1958a3ea63.patch @@ -1,7 +1,7 @@ -diff --git a/node_modules/zeego/lib/module/menu/create-android-menu/index.android.js b/node_modules/zeego/lib/module/menu/create-android-menu/index.android.js -index 59d62eb..b0504fa 100644 ---- a/node_modules/zeego/lib/module/menu/create-android-menu/index.android.js -+++ b/node_modules/zeego/lib/module/menu/create-android-menu/index.android.js +diff --git a/lib/module/menu/create-android-menu/index.android.js b/lib/module/menu/create-android-menu/index.android.js +index 59d62eb2c278ce9ea5e47ed4c736062459ee2d2b..b0504fab0744632faf8df281704e6966be5beca2 100644 +--- a/lib/module/menu/create-android-menu/index.android.js ++++ b/lib/module/menu/create-android-menu/index.android.js @@ -176,7 +176,12 @@ If you want to use a custom component as your , you can use the creat menuAttributes.hidden = true; } @@ -87,10 +87,10 @@ index 59d62eb..b0504fa 100644 }, triggerItem); }, 'Root'); const Separator = create(_ => { -diff --git a/node_modules/zeego/lib/typescript/menu/types.d.ts b/node_modules/zeego/lib/typescript/menu/types.d.ts -index 4ecd414..ea890fa 100644 ---- a/node_modules/zeego/lib/typescript/menu/types.d.ts -+++ b/node_modules/zeego/lib/typescript/menu/types.d.ts +diff --git a/lib/typescript/menu/types.d.ts b/lib/typescript/menu/types.d.ts +index 4ecd41495309a5cde5f12f5357072073173890cf..ea890fa93f8c840427c55cf57ee7c7241cdd5125 100644 +--- a/lib/typescript/menu/types.d.ts ++++ b/lib/typescript/menu/types.d.ts @@ -39,6 +39,7 @@ export type MenuTriggerProps = { * Only applies for `ios` and `android`. */ diff --git a/apps/mobile/package.json b/apps/mobile/package.json index d9ddbcdbb..34f42bdc9 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -8,10 +8,8 @@ }, "scripts": { "android": "react-native run-android", - "apply-patch": "./node_modules/.bin/patch-package --use-yarn", "build-inpage": "sh ./scripts/postinstall.sh", "build:deps": "yarn ../../ build", - "create-patch": "sh ./scripts/create-patch.sh", "devtools": "react-devtools", "doctor": "react-native doctor", "ensure-git-hooks": "yarn ../../ install-husky", @@ -213,7 +211,6 @@ "jest": "^27.5.1", "lint-staged": "^15.2.0", "metro-react-native-babel-preset": "0.76.8", - "patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0", "prettier": "^2.7.1", "qrcode": "^1.5.3", diff --git a/apps/mobile/scripts/postinstall.sh b/apps/mobile/scripts/postinstall.sh index ffb421587..d389d4a47 100755 --- a/apps/mobile/scripts/postinstall.sh +++ b/apps/mobile/scripts/postinstall.sh @@ -21,12 +21,12 @@ echo "2. Link & Copy Assets..." cd $repo_dir/apps/mobile; yarn link-assets -cd $repo_dir/apps/mobile; -echo "3. Patch npm packages" -if [ -z "${CI:-}" ]; then - yarn apply-patch -else - # allow failed - yarn apply-patch || true -fi +# cd $repo_dir/apps/mobile; +# echo "3. Patch npm packages" +# if [ -z "${CI:-}" ]; then +# yarn apply-patch +# else +# # allow failed +# yarn apply-patch || true +# fi diff --git a/package.json b/package.json index 24d962d95..a9a4abcf6 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "build:watch": "yarn run build --watch", "changelog:validate": "yarn workspaces foreach --parallel --interlaced --verbose run changelog:validate", "child-workspace-package-names-as-json": "ts-node scripts/child-workspace-package-names-as-json.ts", - "postinstall": "./node_modules/.bin/patch-package && yarn build && yarn apps/mobile postinstall", + "postinstall": "yarn build && yarn apps/mobile postinstall", "install-husky": "husky install", "lint": "yarn lint:eslint && yarn lint:misc --check && yarn constraints", "lint:eslint": "eslint . --cache --ext js,ts", @@ -86,7 +86,6 @@ "jest-silent-reporter": "^0.5.0", "lint-staged": "^15.2.0", "nock": "^13.3.1", - "patch-package": "^8.0.0", "prettier": "^2.7.1", "prettier-plugin-packagejson": "^2.4.5", "rimraf": "^3.0.2", @@ -111,5 +110,29 @@ "ethereumjs-util>ethereum-cryptography>secp256k1": true, "simple-git-hooks": false } + }, + "resolutions": { + "@debank/common@^0.3.54": "patch:@debank/common@npm%3A0.3.58#./.yarn/patches/@debank-common-npm-0.3.58-0aa25cb07b.patch", + "@debank/common@0.3.58": "patch:@debank/common@npm%3A0.3.58#./.yarn/patches/@debank-common-npm-0.3.58-0aa25cb07b.patch", + "@metamask/eth-sig-util@5.1.0": "patch:@metamask/eth-sig-util@npm%3A5.1.0#./.yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch", + "@metamask/eth-sig-util@^4.0.0": "patch:@metamask/eth-sig-util@npm%3A5.1.0#./.yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch", + "@metamask/eth-sig-util@^5.0.0": "patch:@metamask/eth-sig-util@npm%3A5.1.0#./.yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch", + "@onekeyfe/hd-transport-react-native@^1.0.10": "patch:@onekeyfe/hd-transport-react-native@npm%3A1.0.10#./.yarn/patches/@onekeyfe-hd-transport-react-native-npm-1.0.10-09c8057879.patch", + "@rabby-wallet/rabby-api@0.7.25": "patch:@rabby-wallet/rabby-api@npm%3A0.8.5#./.yarn/patches/@rabby-wallet-rabby-api-npm-0.8.5-b09d6e3f2f.patch", + "@rabby-wallet/rabby-api@0.8.5": "patch:@rabby-wallet/rabby-api@npm%3A0.8.5#./.yarn/patches/@rabby-wallet-rabby-api-npm-0.8.5-b09d6e3f2f.patch", + "@react-native-menu/menu@1.1.3": "patch:@react-native-menu/menu@npm%3A1.1.3#./.yarn/patches/@react-native-menu-menu-npm-1.1.3-6b0ecb2e6c.patch", + "eth-rpc-errors@^4.0.3": "patch:eth-rpc-errors@npm%3A4.0.3#./.yarn/patches/eth-rpc-errors-npm-4.0.3-d154190eb6.patch", + "eth-rpc-errors@^4.0.2": "patch:eth-rpc-errors@npm%3A4.0.3#./.yarn/patches/eth-rpc-errors-npm-4.0.3-d154190eb6.patch", + "nativewind@^2.0.11": "patch:nativewind@npm%3A2.0.11#./.yarn/patches/nativewind-npm-2.0.11-dc2ccf9fb5.patch", + "react-native-fs@^2.20.0": "patch:react-native-fs@npm%3A2.20.0#./.yarn/patches/react-native-fs-npm-2.20.0-a38fe24051.patch", + "react-native-keychain@8.0.0": "patch:react-native-keychain@npm%3A8.0.0#./.yarn/patches/react-native-keychain-npm-8.0.0-22c1f5c020.patch", + "react-native-mmkv@^2.12.2": "patch:react-native-mmkv@npm%3A2.12.2#./.yarn/patches/react-native-mmkv-npm-2.12.2-9efa7abf70.patch", + "react-native-webview@13.10.5": "patch:react-native-webview@npm%3A13.10.5#./.yarn/patches/react-native-webview-npm-13.10.5-714eb41569.patch", + "react-use@17.4.2": "patch:react-use@npm%3A17.4.2#./.yarn/patches/react-use-npm-17.4.2-d0e8220eaa.patch", + "zeego@1.10.0": "patch:zeego@npm%3A1.10.0#./.yarn/patches/zeego-npm-1.10.0-1958a3ea63.patch", + "@keystonehq/bc-ur-registry@^0.6.0": "patch:@keystonehq/bc-ur-registry@npm%3A0.6.4#./.yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch", + "@keystonehq/bc-ur-registry@^0.5.0-alpha.4": "patch:@keystonehq/bc-ur-registry@npm%3A0.6.4#./.yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch", + "@ledgerhq/hw-app-eth@^6.40.0": "patch:@ledgerhq/hw-app-eth@npm%3A6.40.2#./.yarn/patches/@ledgerhq-hw-app-eth-npm-6.40.2-ffdc4add8c.patch", + "@ledgerhq/hw-transport@^6.31.4": "patch:@ledgerhq/hw-transport@npm%3A6.31.4#./.yarn/patches/@ledgerhq-hw-transport-npm-6.31.4-b439e9a1f8.patch" } } diff --git a/yarn.lock b/yarn.lock index 4670e002e..95ebee6ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2208,15 +2208,15 @@ __metadata: "@debank/common@npm:0.3.58": version: 0.3.58 - resolution: "@debank/common@npm:0.3.58::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2F%40debank%2Fcommon%2F-%2Fcommon-0.3.58.tgz" + resolution: "@debank/common@npm:0.3.58" checksum: ea17e4262b6efd6a3febd0596e6eea9d23b72b7c725e9fbff80bd68dfa90dfe8ec91bb84a16d288ffec182a6545514d01f85108d7752104a66234394d5ab9fb7 languageName: node linkType: hard -"@debank/common@npm:^0.3.54": - version: 0.3.54 - resolution: "@debank/common@npm:0.3.54" - checksum: 2da91bb870b33a18785b4f83c2f3020543317a7a946a60162b362b7dc94bea3e0884909a6a0f38b78fbb1faca08f9dd4a190813a5059acba237852bbab748dec +"@debank/common@patch:@debank/common@npm%3A0.3.58#./.yarn/patches/@debank-common-npm-0.3.58-0aa25cb07b.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 0.3.58 + resolution: "@debank/common@patch:@debank/common@npm%3A0.3.58#./.yarn/patches/@debank-common-npm-0.3.58-0aa25cb07b.patch::version=0.3.58&hash=b28a09&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + checksum: 8cc0f5695d7fff7d28251a4868c4a39349731f28c76c1c380e115047a68c6ca6ad71ecbd82277aba78606f0250d089c9ab1eba76edc853e6f508fe091d5b267b languageName: node linkType: hard @@ -4913,25 +4913,25 @@ __metadata: languageName: node linkType: hard -"@keystonehq/bc-ur-registry@npm:^0.5.0-alpha.4": - version: 0.5.5 - resolution: "@keystonehq/bc-ur-registry@npm:0.5.5" +"@keystonehq/bc-ur-registry@npm:0.6.4": + version: 0.6.4 + resolution: "@keystonehq/bc-ur-registry@npm:0.6.4" dependencies: "@ngraveio/bc-ur": ^1.1.5 bs58check: ^2.1.2 tslib: ^2.3.0 - checksum: 0b2dc1dde95caa5f46f2a75bb0062dd7f3fea0a3015a3dde0a8b228e0f5d03d886ca340605911ddfeee5952b50b4186128fd3031a1cc33cc489c0ab134cc65bc + checksum: 8b73edd304fc2c6a7faa3fae320348e9fc58493c2d75276b792ef37560534e18117c114bfb9edddd90639e81710dd660fb1a405d7c5de05e17d44613c691fdb3 languageName: node linkType: hard -"@keystonehq/bc-ur-registry@npm:^0.6.0": +"@keystonehq/bc-ur-registry@patch:@keystonehq/bc-ur-registry@npm%3A0.6.4#./.yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": version: 0.6.4 - resolution: "@keystonehq/bc-ur-registry@npm:0.6.4" + resolution: "@keystonehq/bc-ur-registry@patch:@keystonehq/bc-ur-registry@npm%3A0.6.4#./.yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch::version=0.6.4&hash=b5e1db&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." dependencies: "@ngraveio/bc-ur": ^1.1.5 bs58check: ^2.1.2 tslib: ^2.3.0 - checksum: 8b73edd304fc2c6a7faa3fae320348e9fc58493c2d75276b792ef37560534e18117c114bfb9edddd90639e81710dd660fb1a405d7c5de05e17d44613c691fdb3 + checksum: 13ca37bbe354c61465db21a0ed255f0fd62a17b1313f14b60ea2ce429266d9f2efc30b331df994d99b4461f75937980befd2844065006155f9e435c49d44b64a languageName: node linkType: hard @@ -5104,7 +5104,7 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/hw-app-eth@npm:^6.40.0": +"@ledgerhq/hw-app-eth@npm:6.40.2": version: 6.40.2 resolution: "@ledgerhq/hw-app-eth@npm:6.40.2" dependencies: @@ -5125,6 +5125,27 @@ __metadata: languageName: node linkType: hard +"@ledgerhq/hw-app-eth@patch:@ledgerhq/hw-app-eth@npm%3A6.40.2#./.yarn/patches/@ledgerhq-hw-app-eth-npm-6.40.2-ffdc4add8c.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 6.40.2 + resolution: "@ledgerhq/hw-app-eth@patch:@ledgerhq/hw-app-eth@npm%3A6.40.2#./.yarn/patches/@ledgerhq-hw-app-eth-npm-6.40.2-ffdc4add8c.patch::version=6.40.2&hash=9bde91&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + "@ethersproject/abi": ^5.5.0 + "@ethersproject/rlp": ^5.5.0 + "@ledgerhq/cryptoassets-evm-signatures": ^13.5.1 + "@ledgerhq/domain-service": ^1.2.9 + "@ledgerhq/errors": ^6.19.1 + "@ledgerhq/evm-tools": ^1.2.4 + "@ledgerhq/hw-transport": ^6.31.4 + "@ledgerhq/hw-transport-mocker": ^6.29.4 + "@ledgerhq/logs": ^6.12.0 + "@ledgerhq/types-live": ^6.52.3 + axios: 1.7.7 + bignumber.js: ^9.1.2 + semver: ^7.3.5 + checksum: 42fb56e0e64668e85916314209a0d038c39db88a1e55b11dc2989ef48596ad89ade14c7fe780ebd17d4027b15230ebf71c3e9ada8221fb6809d32a350c847696 + languageName: node + linkType: hard + "@ledgerhq/hw-transport-mocker@npm:^6.29.4": version: 6.29.4 resolution: "@ledgerhq/hw-transport-mocker@npm:6.29.4" @@ -5136,7 +5157,7 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/hw-transport@npm:^6.31.4": +"@ledgerhq/hw-transport@npm:6.31.4": version: 6.31.4 resolution: "@ledgerhq/hw-transport@npm:6.31.4" dependencies: @@ -5148,6 +5169,18 @@ __metadata: languageName: node linkType: hard +"@ledgerhq/hw-transport@patch:@ledgerhq/hw-transport@npm%3A6.31.4#./.yarn/patches/@ledgerhq-hw-transport-npm-6.31.4-b439e9a1f8.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 6.31.4 + resolution: "@ledgerhq/hw-transport@patch:@ledgerhq/hw-transport@npm%3A6.31.4#./.yarn/patches/@ledgerhq-hw-transport-npm-6.31.4-b439e9a1f8.patch::version=6.31.4&hash=5e3d38&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + "@ledgerhq/devices": ^8.4.4 + "@ledgerhq/errors": ^6.19.1 + "@ledgerhq/logs": ^6.12.0 + events: ^3.3.0 + checksum: 891fbf7f7043d2d2aa25b6245b4f78b98d2fb2d587a9ec6df218a04496352883cfe993df3f428a1d720706f88a28acb35f456235c19f960252af27af7e4b78b2 + languageName: node + linkType: hard + "@ledgerhq/live-env@npm:^2.4.0": version: 2.4.0 resolution: "@ledgerhq/live-env@npm:2.4.0" @@ -5450,9 +5483,9 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-sig-util@npm:5.1.0, @metamask/eth-sig-util@npm:^5.0.0": +"@metamask/eth-sig-util@npm:5.1.0": version: 5.1.0 - resolution: "@metamask/eth-sig-util@npm:5.1.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2F%40metamask%2Feth-sig-util%2F-%2Feth-sig-util-5.1.0.tgz" + resolution: "@metamask/eth-sig-util@npm:5.1.0" dependencies: "@ethereumjs/util": ^8.0.6 bn.js: ^4.12.0 @@ -5464,16 +5497,17 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-sig-util@npm:^4.0.0": - version: 4.0.1 - resolution: "@metamask/eth-sig-util@npm:4.0.1" +"@metamask/eth-sig-util@patch:@metamask/eth-sig-util@npm%3A5.1.0#./.yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 5.1.0 + resolution: "@metamask/eth-sig-util@patch:@metamask/eth-sig-util@npm%3A5.1.0#./.yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch::version=5.1.0&hash=86ef30&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." dependencies: - ethereumjs-abi: ^0.6.8 - ethereumjs-util: ^6.2.1 + "@ethereumjs/util": ^8.0.6 + bn.js: ^4.12.0 + ethereum-cryptography: ^2.0.0 ethjs-util: ^0.1.6 tweetnacl: ^1.0.3 tweetnacl-util: ^0.15.1 - checksum: 740df4c92a1282e6be4c00c86c1a8ccfb93e767596e43f6da895aa5bab4a28fc3c2209f0327db34924a4a1e9db72bc4d3dddfcfc45cca0b218c9ccbf7d1b1445 + checksum: 6cdcd1f7efdf0452629dc363630b801de8ffe04b9ece23b2f89342e7e6e884a4e89f78968160e927c3286fbf29091f292cbe035f5d291952a38a58aa9223d2f1 languageName: node linkType: hard @@ -5893,7 +5927,7 @@ __metadata: languageName: node linkType: hard -"@onekeyfe/hd-transport-react-native@npm:^1.0.10": +"@onekeyfe/hd-transport-react-native@npm:1.0.10": version: 1.0.10 resolution: "@onekeyfe/hd-transport-react-native@npm:1.0.10" dependencies: @@ -5905,6 +5939,18 @@ __metadata: languageName: node linkType: hard +"@onekeyfe/hd-transport-react-native@patch:@onekeyfe/hd-transport-react-native@npm%3A1.0.10#./.yarn/patches/@onekeyfe-hd-transport-react-native-npm-1.0.10-09c8057879.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 1.0.10 + resolution: "@onekeyfe/hd-transport-react-native@patch:@onekeyfe/hd-transport-react-native@npm%3A1.0.10#./.yarn/patches/@onekeyfe-hd-transport-react-native-npm-1.0.10-09c8057879.patch::version=1.0.10&hash=92c632&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + "@onekeyfe/hd-shared": ^1.0.10 + "@onekeyfe/hd-transport": ^1.0.10 + "@onekeyfe/react-native-ble-plx": 3.0.1 + react-native-ble-manager: ^8.1.0 + checksum: 5bc1ce712f519e1e55d0cf2cd33149095b58f70752b710f1dd34da7cc27d7bab74c0db6aee7bf31b308fb86fe82ac1eb4e2fe5643747a8298b3fea8caf72f125 + languageName: node + linkType: hard + "@onekeyfe/hd-transport@npm:^1.0.0-alpha.2": version: 1.0.0-alpha.2 resolution: "@onekeyfe/hd-transport@npm:1.0.0-alpha.2" @@ -6495,7 +6541,6 @@ __metadata: jest-silent-reporter: ^0.5.0 lint-staged: ^15.2.0 nock: ^13.3.1 - patch-package: ^8.0.0 prettier: ^2.7.1 prettier-plugin-packagejson: ^2.4.5 rimraf: ^3.0.2 @@ -6601,11 +6646,11 @@ __metadata: languageName: node linkType: hard -"@rabby-wallet/rabby-api@npm:0.7.25": - version: 0.7.25 - resolution: "@rabby-wallet/rabby-api@npm:0.7.25" +"@rabby-wallet/rabby-api@npm:0.8.5": + version: 0.8.5 + resolution: "@rabby-wallet/rabby-api@npm:0.8.5" dependencies: - "@rabby-wallet/rabby-sign": ^0.3.3 + "@rabby-wallet/rabby-sign": 0.4.0 axios: ^0.27.2 axios-rate-limit: ^1.3.0 eth-rpc-errors: ^4.0.3 @@ -6614,13 +6659,13 @@ __metadata: peerDependencies: "@debank/common": ^0.3.9 "@rabby-wallet/rabby-sign": ">= 0.3" - checksum: 2424b804ba9c7f32bc7ff51a3f6a10b1094373a52fee78aab1237b643fe714bb261f5b6d5ded51dca6237b0206eac66e6cf52a6ad0fa955940b450b7302e2c98 + checksum: 6c3c602761b289c9fccc50953059f6ec004e828529529527d7a13bc76a29aa19089497e12a45ce88e3e36a259b48fc2ce8770b18ceca089cefac748a29b0314a languageName: node linkType: hard -"@rabby-wallet/rabby-api@npm:0.8.5": +"@rabby-wallet/rabby-api@patch:@rabby-wallet/rabby-api@npm%3A0.8.5#./.yarn/patches/@rabby-wallet-rabby-api-npm-0.8.5-b09d6e3f2f.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": version: 0.8.5 - resolution: "@rabby-wallet/rabby-api@npm:0.8.5" + resolution: "@rabby-wallet/rabby-api@patch:@rabby-wallet/rabby-api@npm%3A0.8.5#./.yarn/patches/@rabby-wallet-rabby-api-npm-0.8.5-b09d6e3f2f.patch::version=0.8.5&hash=51205e&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." dependencies: "@rabby-wallet/rabby-sign": 0.4.0 axios: ^0.27.2 @@ -6631,7 +6676,7 @@ __metadata: peerDependencies: "@debank/common": ^0.3.9 "@rabby-wallet/rabby-sign": ">= 0.3" - checksum: 6c3c602761b289c9fccc50953059f6ec004e828529529527d7a13bc76a29aa19089497e12a45ce88e3e36a259b48fc2ce8770b18ceca089cefac748a29b0314a + checksum: 015842a023761fdb4a99977a0d9ecd018ace94b65ab0bee92f5f4253f9fa54e2fcd80d8f955e3e52f31625f4287908d9b335aaff37b08da89f2db291c3a3faf4 languageName: node linkType: hard @@ -6664,18 +6709,6 @@ __metadata: languageName: node linkType: hard -"@rabby-wallet/rabby-sign@npm:^0.3.3": - version: 0.3.3 - resolution: "@rabby-wallet/rabby-sign@npm:0.3.3::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2F%40rabby-wallet%2Frabby-sign%2F-%2Frabby-sign-0.3.3.tgz" - dependencies: - fast-deep-equal: ^3.1.3 - lodash.clonedeep: ^4.5.0 - sha256-uint8array: ^0.10.3 - url-parse: ^1.5.1 - checksum: 7dfe1ad40762e33ca785e44e6f80a3de1f894ce784a45514ff3c764c32e3f71f8caf539932aca88e3849d367667ac50e40197ea9ac079e9a14823e9c62b17e7b - languageName: node - linkType: hard - "@rabby-wallet/rabby-swap@npm:0.0.42": version: 0.0.42 resolution: "@rabby-wallet/rabby-swap@npm:0.0.42" @@ -7744,6 +7777,16 @@ __metadata: languageName: node linkType: hard +"@react-native-menu/menu@patch:@react-native-menu/menu@npm%3A1.1.3#./.yarn/patches/@react-native-menu-menu-npm-1.1.3-6b0ecb2e6c.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 1.1.3 + resolution: "@react-native-menu/menu@patch:@react-native-menu/menu@npm%3A1.1.3#./.yarn/patches/@react-native-menu-menu-npm-1.1.3-6b0ecb2e6c.patch::version=1.1.3&hash=34087b&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + peerDependencies: + react: "*" + react-native: "*" + checksum: 050ef7b829886c9d4f5ff6d39130718fccb70b9e23e999e9c384619b8d2c8dad04373d9cbc494443e4a20742602f03b093cd0123c7d960af957c5b516eff64e0 + languageName: node + linkType: hard + "@react-native/assets-registry@npm:^0.72.0": version: 0.72.0 resolution: "@react-native/assets-registry@npm:0.72.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2F%40react-native%2Fassets-registry%2F-%2Fassets-registry-0.72.0.tgz" @@ -11390,13 +11433,6 @@ __metadata: languageName: node linkType: hard -"@yarnpkg/lockfile@npm:^1.1.0": - version: 1.1.0 - resolution: "@yarnpkg/lockfile@npm:1.1.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2F%40yarnpkg%2Flockfile%2F-%2Flockfile-1.1.0.tgz" - checksum: 05b881b4866a3546861fee756e6d3812776ea47fa6eb7098f983d6d0eefa02e12b66c3fff931574120f196286a7ad4879ce02743c8bb2be36c6a576c7852083a - languageName: node - linkType: hard - "JSONStream@npm:^1.0.3": version: 1.3.5 resolution: "JSONStream@npm:1.3.5::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2FJSONStream%2F-%2FJSONStream-1.3.5.tgz" @@ -14000,7 +14036,7 @@ __metadata: languageName: node linkType: hard -"ci-info@npm:^3.2.0, ci-info@npm:^3.7.0": +"ci-info@npm:^3.2.0": version: 3.9.0 resolution: "ci-info@npm:3.9.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fci-info%2F-%2Fci-info-3.9.0.tgz" checksum: 6b19dc9b2966d1f8c2041a838217299718f15d6c4b63ae36e4674edd2bee48f780e94761286a56aa59eb305a85fbea4ddffb7630ec063e7ec7e7e5ad42549a87 @@ -17837,15 +17873,24 @@ __metadata: languageName: node linkType: hard -"eth-rpc-errors@npm:^4.0.2, eth-rpc-errors@npm:^4.0.3": +"eth-rpc-errors@npm:4.0.3": version: 4.0.3 - resolution: "eth-rpc-errors@npm:4.0.3::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Feth-rpc-errors%2F-%2Feth-rpc-errors-4.0.3.tgz" + resolution: "eth-rpc-errors@npm:4.0.3" dependencies: fast-safe-stringify: ^2.0.6 checksum: 5fa31d1a10fdb340733b9a55e38e7687222c501052ca20743cef4d0c911a9bbcc0cad54aa6bf3e4b428604c071ff519803060e1cbc79ddb7c9257c11d407d32a languageName: node linkType: hard +"eth-rpc-errors@patch:eth-rpc-errors@npm%3A4.0.3#./.yarn/patches/eth-rpc-errors-npm-4.0.3-d154190eb6.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 4.0.3 + resolution: "eth-rpc-errors@patch:eth-rpc-errors@npm%3A4.0.3#./.yarn/patches/eth-rpc-errors-npm-4.0.3-d154190eb6.patch::version=4.0.3&hash=7d89ee&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + fast-safe-stringify: ^2.0.6 + checksum: 81ee4f34af7c647542cca336af145e34e6bb31861e03ee5a306011d27508a1b31824c799fcf11ee0d4167f0df8798950a0098712c13edde1082ae0ddb412bdea + languageName: node + linkType: hard + "eth-sig-util@npm:^3.0.1": version: 3.0.1 resolution: "eth-sig-util@npm:3.0.1" @@ -17956,7 +18001,7 @@ __metadata: languageName: node linkType: hard -"ethereumjs-util@npm:^6.0.0, ethereumjs-util@npm:^6.2.1": +"ethereumjs-util@npm:^6.0.0": version: 6.2.1 resolution: "ethereumjs-util@npm:6.2.1" dependencies: @@ -18820,15 +18865,6 @@ __metadata: languageName: node linkType: hard -"find-yarn-workspace-root@npm:^2.0.0": - version: 2.0.0 - resolution: "find-yarn-workspace-root@npm:2.0.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Ffind-yarn-workspace-root%2F-%2Ffind-yarn-workspace-root-2.0.0.tgz" - dependencies: - micromatch: ^4.0.2 - checksum: fa5ca8f9d08fe7a54ce7c0a5931ff9b7e36f9ee7b9475fb13752bcea80ec6b5f180fa5102d60b376d5526ce924ea3fc6b19301262efa0a5d248dd710f3644242 - languageName: node - linkType: hard - "findup-sync@npm:^5.0.0": version: 5.0.0 resolution: "findup-sync@npm:5.0.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Ffindup-sync%2F-%2Ffindup-sync-5.0.0.tgz" @@ -21403,7 +21439,7 @@ __metadata: languageName: node linkType: hard -"is-wsl@npm:^2.1.1, is-wsl@npm:^2.2.0": +"is-wsl@npm:^2.2.0": version: 2.2.0 resolution: "is-wsl@npm:2.2.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fis-wsl%2F-%2Fis-wsl-2.2.0.tgz" dependencies: @@ -23484,7 +23520,7 @@ __metadata: languageName: node linkType: hard -"json-stable-stringify@npm:^1.0.1, json-stable-stringify@npm:^1.0.2": +"json-stable-stringify@npm:^1.0.1": version: 1.1.0 resolution: "json-stable-stringify@npm:1.1.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fjson-stable-stringify%2F-%2Fjson-stable-stringify-1.1.0.tgz" dependencies: @@ -23713,15 +23749,6 @@ __metadata: languageName: node linkType: hard -"klaw-sync@npm:^6.0.0": - version: 6.0.0 - resolution: "klaw-sync@npm:6.0.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fklaw-sync%2F-%2Fklaw-sync-6.0.0.tgz" - dependencies: - graceful-fs: ^4.1.11 - checksum: 0da397f8961313c3ef8f79fb63af9002cde5a8fb2aeb1a37351feff0dd6006129c790400c3f5c3b4e757bedcabb13d21ec0a5eaef5a593d59515d4f2c291e475 - languageName: node - linkType: hard - "kleur@npm:^3.0.3": version: 3.0.3 resolution: "kleur@npm:3.0.3::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fkleur%2F-%2Fkleur-3.0.3.tgz" @@ -25680,9 +25707,9 @@ __metadata: languageName: node linkType: hard -"nativewind@npm:^2.0.11": +"nativewind@npm:2.0.11": version: 2.0.11 - resolution: "nativewind@npm:2.0.11::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fnativewind%2F-%2Fnativewind-2.0.11.tgz" + resolution: "nativewind@npm:2.0.11" dependencies: "@babel/generator": ^7.18.7 "@babel/helper-module-imports": 7.18.6 @@ -25703,6 +25730,29 @@ __metadata: languageName: node linkType: hard +"nativewind@patch:nativewind@npm%3A2.0.11#./.yarn/patches/nativewind-npm-2.0.11-dc2ccf9fb5.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 2.0.11 + resolution: "nativewind@patch:nativewind@npm%3A2.0.11#./.yarn/patches/nativewind-npm-2.0.11-dc2ccf9fb5.patch::version=2.0.11&hash=3c3893&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + "@babel/generator": ^7.18.7 + "@babel/helper-module-imports": 7.18.6 + "@babel/types": 7.19.0 + css-mediaquery: ^0.1.2 + css-to-react-native: ^3.0.0 + micromatch: ^4.0.5 + postcss: ^8.4.12 + postcss-calc: ^8.2.4 + postcss-color-functional-notation: ^4.2.2 + postcss-css-variables: ^0.18.0 + postcss-nested: ^5.0.6 + react-is: ^18.1.0 + use-sync-external-store: ^1.1.0 + peerDependencies: + tailwindcss: ~3 + checksum: f0709e4e4353c3d7fdcbdbb7dc39dec8136dbcbaa2333ba44e63d1175790f6566b8b3a3d1d630e69e7c038328d769c05ac0c129eea13ea964dcafea18fb3127d + languageName: node + linkType: hard + "natural-compare-lite@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare-lite@npm:1.4.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fnatural-compare-lite%2F-%2Fnatural-compare-lite-1.4.0.tgz" @@ -26471,16 +26521,6 @@ __metadata: languageName: node linkType: hard -"open@npm:^7.4.2": - version: 7.4.2 - resolution: "open@npm:7.4.2::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fopen%2F-%2Fopen-7.4.2.tgz" - dependencies: - is-docker: ^2.0.0 - is-wsl: ^2.1.1 - checksum: 3333900ec0e420d64c23b831bc3467e57031461d843c801f569b2204a1acc3cd7b3ec3c7897afc9dde86491dfa289708eb92bba164093d8bd88fb2c231843c91 - languageName: node - linkType: hard - "open@npm:^8.0.9, open@npm:^8.4.0": version: 8.4.2 resolution: "open@npm:8.4.2::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fopen%2F-%2Fopen-8.4.2.tgz" @@ -26553,13 +26593,6 @@ __metadata: languageName: node linkType: hard -"os-tmpdir@npm:~1.0.2": - version: 1.0.2 - resolution: "os-tmpdir@npm:1.0.2::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fos-tmpdir%2F-%2Fos-tmpdir-1.0.2.tgz" - checksum: 5666560f7b9f10182548bf7013883265be33620b1c1b4a4d405c25be2636f970c5488ff3e6c48de75b55d02bde037249fe5dbfbb4c0fb7714953d56aed062e6d - languageName: node - linkType: hard - "p-cancelable@npm:^2.0.0": version: 2.1.1 resolution: "p-cancelable@npm:2.1.1::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fp-cancelable%2F-%2Fp-cancelable-2.1.1.tgz" @@ -26886,31 +26919,6 @@ __metadata: languageName: node linkType: hard -"patch-package@npm:^8.0.0": - version: 8.0.0 - resolution: "patch-package@npm:8.0.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fpatch-package%2F-%2Fpatch-package-8.0.0.tgz" - dependencies: - "@yarnpkg/lockfile": ^1.1.0 - chalk: ^4.1.2 - ci-info: ^3.7.0 - cross-spawn: ^7.0.3 - find-yarn-workspace-root: ^2.0.0 - fs-extra: ^9.0.0 - json-stable-stringify: ^1.0.2 - klaw-sync: ^6.0.0 - minimist: ^1.2.6 - open: ^7.4.2 - rimraf: ^2.6.3 - semver: ^7.5.3 - slash: ^2.0.0 - tmp: ^0.0.33 - yaml: ^2.2.2 - bin: - patch-package: index.js - checksum: d23cddc4d1622e2d8c7ca31b145c6eddb24bd271f69905e766de5e1f199f0b9a5479a6a6939ea857288399d4ed249285639d539a2c00fbddb7daa39934b007a2 - languageName: node - linkType: hard - "path-browserify@npm:0.0.0": version: 0.0.0 resolution: "path-browserify@npm:0.0.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fpath-browserify%2F-%2Fpath-browserify-0.0.0.tgz" @@ -28833,7 +28841,6 @@ __metadata: node-libs-react-native: ^1.2.1 p-queue: 7.3 p-retry: ^6.2.0 - patch-package: ^8.0.0 postinstall-postinstall: ^2.1.0 prettier: ^2.7.1 pump: ^3.0.0 @@ -29437,9 +29444,9 @@ __metadata: languageName: node linkType: hard -"react-native-fs@npm:^2.20.0": +"react-native-fs@npm:2.20.0": version: 2.20.0 - resolution: "react-native-fs@npm:2.20.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Freact-native-fs%2F-%2Freact-native-fs-2.20.0.tgz" + resolution: "react-native-fs@npm:2.20.0" dependencies: base-64: ^0.1.0 utf8: ^3.0.0 @@ -29453,6 +29460,22 @@ __metadata: languageName: node linkType: hard +"react-native-fs@patch:react-native-fs@npm%3A2.20.0#./.yarn/patches/react-native-fs-npm-2.20.0-a38fe24051.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 2.20.0 + resolution: "react-native-fs@patch:react-native-fs@npm%3A2.20.0#./.yarn/patches/react-native-fs-npm-2.20.0-a38fe24051.patch::version=2.20.0&hash=1db9cd&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + base-64: ^0.1.0 + utf8: ^3.0.0 + peerDependencies: + react-native: "*" + react-native-windows: "*" + peerDependenciesMeta: + react-native-windows: + optional: true + checksum: 8174e07fbaa6b1c319b2517f4ab2501306d231520fdde563e7a8dbd07a2d5c37fa8ff06aec3302c1253ba7f0426b0d8e4a0980d7fa29b8aa7fe80a185a0f391f + languageName: node + linkType: hard + "react-native-gesture-handler@npm:^2.14.0": version: 2.14.0 resolution: "react-native-gesture-handler@npm:2.14.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Freact-native-gesture-handler%2F-%2Freact-native-gesture-handler-2.14.0.tgz" @@ -29553,6 +29576,13 @@ __metadata: languageName: node linkType: hard +"react-native-keychain@patch:react-native-keychain@npm%3A8.0.0#./.yarn/patches/react-native-keychain-npm-8.0.0-22c1f5c020.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 8.0.0 + resolution: "react-native-keychain@patch:react-native-keychain@npm%3A8.0.0#./.yarn/patches/react-native-keychain-npm-8.0.0-22c1f5c020.patch::version=8.0.0&hash=5fe6b6&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + checksum: 5e52b8abdb1b41726af832623985492d370acb1c0eb68b413cae10d199c0bdb9cae3cfe49cadc1a25bc506a8f0c7d24dbd635ca53b4749e5bf70ba9bcc700105 + languageName: node + linkType: hard + "react-native-linear-gradient@npm:^2.8.3": version: 2.8.3 resolution: "react-native-linear-gradient@npm:2.8.3::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Freact-native-linear-gradient%2F-%2Freact-native-linear-gradient-2.8.3.tgz" @@ -29563,7 +29593,7 @@ __metadata: languageName: node linkType: hard -"react-native-mmkv@npm:^2.12.2": +"react-native-mmkv@npm:2.12.2": version: 2.12.2 resolution: "react-native-mmkv@npm:2.12.2" peerDependencies: @@ -29573,6 +29603,16 @@ __metadata: languageName: node linkType: hard +"react-native-mmkv@patch:react-native-mmkv@npm%3A2.12.2#./.yarn/patches/react-native-mmkv-npm-2.12.2-9efa7abf70.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 2.12.2 + resolution: "react-native-mmkv@patch:react-native-mmkv@npm%3A2.12.2#./.yarn/patches/react-native-mmkv-npm-2.12.2-9efa7abf70.patch::version=2.12.2&hash=b123dc&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + peerDependencies: + react: "*" + react-native: ">=0.71.0" + checksum: f0c47bd8bb7418e7a176b86d72d48b59874775e1743a10ed8e59f0ad98523218c8db6bd2b7b8a0f137b041a6c637e00ed3e8251a4c79bcd8e1d8c2c57c7a5ded + languageName: node + linkType: hard + "react-native-pager-view@npm:^6.2.3": version: 6.2.3 resolution: "react-native-pager-view@npm:6.2.3::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Freact-native-pager-view%2F-%2Freact-native-pager-view-6.2.3.tgz" @@ -29913,6 +29953,19 @@ __metadata: languageName: node linkType: hard +"react-native-webview@patch:react-native-webview@npm%3A13.10.5#./.yarn/patches/react-native-webview-npm-13.10.5-714eb41569.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 13.10.5 + resolution: "react-native-webview@patch:react-native-webview@npm%3A13.10.5#./.yarn/patches/react-native-webview-npm-13.10.5-714eb41569.patch::version=13.10.5&hash=7c58c0&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + escape-string-regexp: 2.0.0 + invariant: 2.2.4 + peerDependencies: + react: "*" + react-native: "*" + checksum: d6d297695c676aecd9c72c0ddd4db37361a8b0925cc2317944f1e65ce294886d798d6ee24aad97ed94bda035b953dc8ef023d59490cf258c1c7826f62778cd2e + languageName: node + linkType: hard + "react-native@npm:0.72.7": version: 0.72.7 resolution: "react-native@npm:0.72.7::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Freact-native%2F-%2Freact-native-0.72.7.tgz" @@ -30154,6 +30207,31 @@ __metadata: languageName: node linkType: hard +"react-use@patch:react-use@npm%3A17.4.2#./.yarn/patches/react-use-npm-17.4.2-d0e8220eaa.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 17.4.2 + resolution: "react-use@patch:react-use@npm%3A17.4.2#./.yarn/patches/react-use-npm-17.4.2-d0e8220eaa.patch::version=17.4.2&hash=f8026f&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + "@types/js-cookie": ^2.2.6 + "@xobotyi/scrollbar-width": ^1.9.5 + copy-to-clipboard: ^3.3.1 + fast-deep-equal: ^3.1.3 + fast-shallow-equal: ^1.0.0 + js-cookie: ^2.2.1 + nano-css: ^5.6.1 + react-universal-interface: ^0.6.2 + resize-observer-polyfill: ^1.5.1 + screenfull: ^5.1.0 + set-harmonic-interval: ^1.0.1 + throttle-debounce: ^3.0.1 + ts-easing: ^0.2.0 + tslib: ^2.1.0 + peerDependencies: + react: "*" + react-dom: "*" + checksum: 40459aa768a9a024b4373a2783719b80a7989e0cb3ede24f66acc2dc7f0b53f701c5521887cc18a51db55a13f64a63ca3fb51c188a053f12afe1a4d2f3efa726 + languageName: node + linkType: hard + "react@npm:18.2.0, react@npm:^18.2.0": version: 18.2.0 resolution: "react@npm:18.2.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Freact%2F-%2Freact-18.2.0.tgz" @@ -30828,17 +30906,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^2.6.3": - version: 2.7.1 - resolution: "rimraf@npm:2.7.1::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Frimraf%2F-%2Frimraf-2.7.1.tgz" - dependencies: - glob: ^7.1.3 - bin: - rimraf: ./bin.js - checksum: cdc7f6eacb17927f2a075117a823e1c5951792c6498ebcce81ca8203454a811d4cf8900314154d3259bb8f0b42ab17f67396a8694a54cae3283326e57ad250cd - languageName: node - linkType: hard - "rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Frimraf%2F-%2Frimraf-3.0.2.tgz" @@ -31781,13 +31848,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^2.0.0": - version: 2.0.0 - resolution: "slash@npm:2.0.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fslash%2F-%2Fslash-2.0.0.tgz" - checksum: 512d4350735375bd11647233cb0e2f93beca6f53441015eea241fe784d8068281c3987fbaa93e7ef1c38df68d9c60013045c92837423c69115297d6169aa85e6 - languageName: node - linkType: hard - "slash@npm:^3.0.0": version: 3.0.0 resolution: "slash@npm:3.0.0::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fslash%2F-%2Fslash-3.0.0.tgz" @@ -33501,15 +33561,6 @@ __metadata: languageName: node linkType: hard -"tmp@npm:^0.0.33": - version: 0.0.33 - resolution: "tmp@npm:0.0.33::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Ftmp%2F-%2Ftmp-0.0.33.tgz" - dependencies: - os-tmpdir: ~1.0.2 - checksum: 902d7aceb74453ea02abbf58c203f4a8fc1cead89b60b31e354f74ed5b3fb09ea817f94fb310f884a5d16987dd9fa5a735412a7c2dd088dd3d415aa819ae3a28 - languageName: node - linkType: hard - "tmpl@npm:1.0.5": version: 1.0.5 resolution: "tmpl@npm:1.0.5::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Ftmpl%2F-%2Ftmpl-1.0.5.tgz" @@ -36745,6 +36796,22 @@ __metadata: languageName: node linkType: hard +"zeego@patch:zeego@npm%3A1.10.0#./.yarn/patches/zeego-npm-1.10.0-1958a3ea63.patch::locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A.": + version: 1.10.0 + resolution: "zeego@patch:zeego@npm%3A1.10.0#./.yarn/patches/zeego-npm-1.10.0-1958a3ea63.patch::version=1.10.0&hash=8640f8&locator=%40rabby-wallet%2Fmobile-monorepo%40workspace%3A." + dependencies: + "@radix-ui/react-context-menu": ^2.0.1 + "@radix-ui/react-dropdown-menu": ^2.0.1 + sf-symbols-typescript: ^2.0.0 + peerDependencies: + "@react-native-menu/menu": "*" + react: "*" + react-native: "*" + react-native-ios-context-menu: ^2.3.2 + checksum: e835122875529dc6118adc48abfa8c84034a61782f7a764b38667e6c2fe052a96e6ae1d1347db9113263b00b5b58f68e2ada6971dddaa365e33a8d6c9d227c2a + languageName: node + linkType: hard + "zod@npm:^3.21.4": version: 3.22.4 resolution: "zod@npm:3.22.4::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fzod%2F-%2Fzod-3.22.4.tgz"