blocknative / web3-onboard

Client library to onboard users to web3 apps
https://onboard.blocknative.com/
MIT License
850 stars 504 forks source link

feat: rabby support mobile #2079

Closed dmy147 closed 7 months ago

dmy147 commented 7 months ago

Description

Rabby Wallet support mobile

PLEASE NOTE- Checklist must be complete prior to review.

Checklist

Docs Checklist

If this PR includes changes to add an injected wallet or SDK wallet module:

Please complete the following using the internal demo package. To run this demo use the command yarn && yarn dev to get the project running at http://localhost:8080/

Tests with demo app (injected)

Tests with demo app (SDK)

socket-security[bot] commented 7 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/runtime@7.23.2 None +1 275 kB nicolo-ribaudo
npm/@bitget-wallet/web3-sdk@0.0.8 Transitive: environment, eval, network +24 22.5 MB phoenix-bitget
npm/@blocto/dappauth@2.1.0 None +11 7.32 MB scottphc
npm/@coinbase/wallet-sdk@3.9.2 network +5 606 kB jungho.bang
npm/@cosmjs/amino@0.31.0 None +8 1.18 MB webmaster128
npm/@cosmjs/math@0.31.3 None 0 36.8 kB webmaster128
npm/@cosmjs/proto-signing@0.31.0 None +10 24.1 MB webmaster128
npm/@cosmjs/utils@0.31.3 None 0 14.4 kB webmaster128
npm/@motionone/animation@10.17.0 None +4 107 kB popmotion
npm/@motionone/easing@10.17.0 None +3 70.2 kB popmotion
npm/@motionone/generators@10.17.0 None +3 98.8 kB popmotion
npm/@motionone/types@10.17.0 None 0 15.4 kB popmotion
npm/@motionone/utils@10.17.0 None +2 56.1 kB popmotion
npm/@noble/curves@1.2.0 None +1 2.1 MB paulmillr
npm/@noble/hashes@1.3.2 None 0 747 kB paulmillr
npm/@safe-global/safe-apps-provider@0.18.0 Transitive: environment, network +14 42.9 MB dasanra
npm/@safe-global/safe-apps-sdk@8.1.0 Transitive: environment, network +12 42.8 MB dasanra
npm/@scure/base@1.1.3 None 0 77.8 kB paulmillr
npm/@solana/web3.js@1.87.1 environment, eval, network +22 22 MB buffalojoec
npm/@types/bn.js@5.1.2 None +1 646 kB types
npm/@types/lodash@4.14.202 None 0 862 kB types
npm/@types/node@10.17.60 None 0 632 kB types
npm/@types/ws@8.5.10 None +1 654 kB types
npm/@walletconnect/ethereum-provider@2.11.0 None +3 4.34 MB gancho_walletconnect
npm/@walletconnect/utils@2.11.0 None 0 901 kB gancho_walletconnect
npm/@web3-onboard/arcana-auth@2.0.0 Transitive: environment, network +11 14.8 MB cmeisl
npm/@web3-onboard/bitget@2.0.1 Transitive: environment, eval, network +28 34.7 MB cmeisl
npm/@web3-onboard/blocto@2.0.0 Transitive: environment, eval, network +28 35.2 MB cmeisl
npm/@web3-onboard/capsule@2.0.1 Transitive: environment, eval, filesystem, network +204 127 MB cmeisl
npm/@web3-onboard/cede-store@2.2.0 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/coinbase@2.2.6 Transitive: environment, network +12 14.3 MB cmeisl
npm/@web3-onboard/dcent@2.2.7 network Transitive: environment +6 13.7 MB cmeisl
npm/@web3-onboard/enkrypt@2.0.4 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/fortmatic@2.0.19 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/frame@2.0.2 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/frontier@2.0.4 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/gas@2.1.8 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/gnosis@2.2.1 Transitive: environment, network +18 55.3 MB cmeisl
npm/@web3-onboard/infinity-wallet@2.0.4 None 0 16.5 kB cmeisl
npm/@web3-onboard/injected-wallets@2.10.12-alpha.1 Transitive: environment, network +6 14.2 MB cmeisl
npm/@web3-onboard/keepkey@2.3.7 Transitive: environment, network +11 14.7 MB cmeisl
npm/@web3-onboard/keystone@2.3.7 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/ledger@2.6.0-alpha.1 Transitive: environment, network +10 18.1 MB cmeisl
npm/@web3-onboard/magic@2.1.7 Transitive: environment, network +6 13.8 MB cmeisl
npm/@web3-onboard/metamask@2.0.2 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/mew-wallet@2.0.4 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/phantom@2.0.3 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/portis@2.1.7 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/sequence@2.0.8 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/taho@2.0.5 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/torus@2.2.6 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/transaction-preview@2.0.8 Transitive: environment, network +6 13.8 MB cmeisl
npm/@web3-onboard/trust@2.0.4 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/uauth@2.1.2 Transitive: environment, network +10 18.1 MB cmeisl
npm/@web3-onboard/venly@2.0.0 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/walletconnect@2.5.3 Transitive: environment, network +10 18.1 MB cmeisl
npm/@web3-onboard/web3auth@2.2.3 Transitive: environment, eval, network +30 39.1 MB cmeisl
npm/@web3-onboard/xdefi@2.0.5 Transitive: environment, network +6 13.7 MB cmeisl
npm/@web3-onboard/zeal@2.0.4 Transitive: environment, network +6 13.7 MB cmeisl
npm/assert@2.1.0 Transitive: environment +1 116 kB ljharb
npm/browserify-zlib@0.2.0 None 0 192 kB dignifiedquire
npm/copy-to-clipboard@3.3.1 None 0 85 kB sudodoki
npm/cross-env@7.0.3 environment 0 29.1 kB kentcdodds
npm/css-loader@5.2.7 Transitive: environment, filesystem, network, unsafe +2 4.94 MB evilebottnawi
npm/eth-block-tracker@7.1.0 None 0 58.1 kB gudahtt
npm/follow-redirects@1.15.3 network 0 28.6 kB rubenverborgh
npm/http@0.0.1-security None 0 464 B andreeleuterio
npm/https-browserify@1.0.0 network 0 2.79 kB feross
npm/loose-envify@1.4.0 environment 0 5.81 kB zertosh
npm/mini-css-extract-plugin@1.6.2 unsafe Transitive: environment, filesystem, network +2 4.93 MB evilebottnawi
npm/node-forge@1.3.1 None 0 1.66 MB davidlehn
npm/os-browserify@0.3.0 None 0 2.74 kB coderpuppy
npm/path-browserify@1.0.1 None 0 54.3 kB goto-bus-stop
npm/process@0.11.10 None 0 15.3 kB cwmma
npm/prop-types@15.8.1 environment +1 100 kB ljharb
npm/rlp@2.2.7 None 0 62.9 kB ralxz
npm/safe-buffer@5.2.1 None 0 32.1 kB feross
npm/stream-browserify@3.0.0 None 0 11.6 kB goto-bus-stop
npm/stream-http@3.2.0 None 0 26.8 kB jhiesey
npm/svelte-loader@3.1.9 environment, filesystem 0 21.7 kB dummdidumm
npm/util@0.12.5 environment 0 33.7 kB goto-bus-stop
npm/vconsole@3.15.1 network +2 666 kB maiz
npm/webpack-cli@4.10.0 environment, filesystem Transitive: network, unsafe +2 4.95 MB evilebottnawi
npm/webpack-dev-server@4.7.4 environment, network Transitive: filesystem, unsafe +5 6.26 MB evilebottnawi
npm/webpack@5.89.0 environment, filesystem, network, unsafe +1 4.84 MB thelarkinn
npm/ws@8.12.0 environment, network 0 136 kB lpinca

🚮 Removed packages: npm/@babel/compat-data@7.23.5, npm/@babel/helper-compilation-targets@7.23.6, npm/@babel/helper-plugin-utils@7.20.2, npm/@babel/helper-validator-option@7.23.5, npm/@babel/runtime@7.20.6, npm/@babel/types@7.24.0, npm/@cosmjs/encoding@0.28.13, npm/@cosmjs/proto-signing@0.28.13, npm/@cosmjs/tendermint-rpc@0.28.13, npm/@ethereumjs/common@2.6.5, npm/@ethereumjs/tx@3.5.2, npm/@ethersproject/bytes@5.7.0, npm/@ethersproject/sha2@5.7.0, npm/@gnosis.pm/safe-react-gateway-sdk@2.10.3, npm/@lit-labs/ssr-dom-shim@1.1.0, npm/@lit/reactive-element@1.6.1, npm/@ngraveio/bc-ur@1.1.6, npm/@noble/hashes@1.1.4, npm/@protobufjs/aspromise@1.1.2, npm/@shapeshiftoss/hdwallet-core@1.41.0, npm/@stablelib/random@1.0.2, npm/@types/bn.js@5.1.1, npm/@types/node@18.11.11, npm/@types/react-dom@18.0.9, npm/@types/react@18.0.26, npm/@types/ws@7.4.7, npm/@walletconnect/client@1.8.0, npm/@walletconnect/encoding@1.0.2, npm/@walletconnect/jsonrpc-provider@1.0.13, npm/@walletconnect/window-getters@1.0.0, npm/@web3-onboard/coinbase@2.2.2, npm/@web3-onboard/dcent@2.2.5, npm/@web3-onboard/fortmatic@2.0.17, npm/@web3-onboard/gnosis@2.1.8, npm/@web3-onboard/hw-common@2.2.1, npm/@web3-onboard/injected-wallets@2.10.6, npm/@web3-onboard/keepkey@2.3.5, npm/@web3-onboard/keystone@2.3.5, npm/@web3-onboard/ledger@2.4.4, npm/@web3-onboard/magic@2.1.5, npm/@web3-onboard/mew-wallet@2.0.2, npm/@web3-onboard/portis@2.1.5, npm/@web3-onboard/react@2.8.12, npm/@web3-onboard/sequence@2.0.6, npm/@web3-onboard/taho@2.0.2, npm/@web3-onboard/torus@2.2.3, npm/@web3-onboard/trust@2.0.2, npm/@web3-onboard/walletconnect@2.4.6, npm/agent-base@6.0.2, npm/assert-plus@1.0.0, npm/async@2.6.4, npm/big-integer@1.6.51, npm/bignumber.js@9.1.1, npm/bindings@1.5.0, npm/bip32@2.0.6, npm/bip66@1.1.5, npm/bitcoin-ops@1.4.1, npm/blakejs@1.2.1, npm/browserify-aes@1.2.0, npm/browserify-rsa@4.1.0, npm/browserslist@4.23.0, npm/bs58check@2.1.2, npm/bytebuffer@5.0.1, npm/call-bind@1.0.2, npm/camelcase@5.3.1, npm/caniuse-lite@1.0.30001596, npm/cipher-base@1.0.4, npm/clone@2.1.2, npm/combined-stream@1.0.8, npm/create-hmac@1.1.7, npm/cross-fetch@3.1.5, npm/decode-uri-component@0.2.2, npm/duplexify@4.1.2, npm/electron-to-chromium@1.4.699, npm/end-of-stream@1.4.4, npm/es6-promise@4.2.8, npm/eth-block-tracker@4.4.3, npm/eth-json-rpc-filters@4.2.2, npm/eth-query@2.1.2, npm/eth-rpc-errors@4.0.2, npm/ethereumjs-common@1.5.2, npm/ethereumjs-tx@1.3.7, npm/ethers@5.7.2

View full report↗︎

socket-security[bot] commented 7 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/web3@1.10.2

View full report↗︎

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

Adamj1232 commented 7 months ago

@SocketSecurity ignore npm/web3@1.10.2