diff --git a/.github/workflows/pr-status-checks.yml b/.github/workflows/pr-status-checks.yml index df82dec4..7f48e16c 100644 --- a/.github/workflows/pr-status-checks.yml +++ b/.github/workflows/pr-status-checks.yml @@ -1,7 +1,7 @@ name: PR Status Checks on: - # Allows it to be manually triggered, used primarily for debugging + # Allows it to be manually triggered, used primarily for debugging workflow_dispatch: pull_request: branches: @@ -10,7 +10,7 @@ on: jobs: checks: - name: "Checks" + name: 'Checks' runs-on: ubuntu-latest steps: @@ -20,15 +20,14 @@ jobs: - name: Setup Nodejs and yarn uses: actions/setup-node@v2 with: - node-version: "16" + node-version: '18' cache: yarn - name: Install dependencies run: yarn - + - name: Check that it builds run: yarn build env: - NODE_OPTIONS: "--max_old_space_size=8192" + NODE_OPTIONS: '--max_old_space_size=8192' CI: false - diff --git a/package.json b/package.json index 8207b11a..e1dd8288 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "onboard-notify-react", - "version": "0.35.13-0.0.1", + "version": "0.40.1", "dependencies": { "@safe-global/safe-apps-provider": "^0.18.0", "@safe-global/safe-apps-sdk": "^8.1.0", "@web3-onboard/arcana-auth": "^2.0.0", "@web3-onboard/bitget": "^2.0.1", "@web3-onboard/blocto": "^2.0.1", - "@web3-onboard/capsule": "^2.0.1", + "@web3-onboard/capsule": "^2.0.2", "@web3-onboard/cede-store": "^2.2.0", "@web3-onboard/coinbase": "^2.2.7", "@web3-onboard/dcent": "^2.2.8", @@ -23,7 +23,7 @@ "@web3-onboard/keystone": "^2.3.8", "@web3-onboard/ledger": "^2.6.0", "@web3-onboard/magic": "^2.1.7", - "@web3-onboard/metamask": "^2.0.3", + "@web3-onboard/metamask": "^2.0.6", "@web3-onboard/mew-wallet": "^2.0.4", "@web3-onboard/phantom": "^2.0.3", "@web3-onboard/portis": "^2.1.7", @@ -36,7 +36,7 @@ "@web3-onboard/trust": "^2.0.4", "@web3-onboard/uauth": "^2.1.2", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.5.4", + "@web3-onboard/walletconnect": "^2.5.5", "@web3-onboard/web3auth": "^2.2.3", "@web3-onboard/xdefi": "^2.0.5", "@web3-onboard/zeal": "^2.0.4", diff --git a/src/App.js b/src/App.js index 50da8b96..eb35110f 100644 --- a/src/App.js +++ b/src/App.js @@ -38,8 +38,8 @@ const App = () => { const [bnGasPrices, setBNGasPrices] = useState('') const [rpcInfuraGasPrices, setRPCInfuraGasPrices] = useState('') const [toAddress, setToAddress] = useState('') - // default test transaction to Goerli - const [toChain, setToChain] = useState('0x5') + // default test transaction to Sepolia + const [toChain, setToChain] = useState(11155111) const [accountCenterPosition, setAccountCenterPosition] = useState('topRight') const [notifyPosition, setNotifyPosition] = useState('topRight') const [locale, setLocale] = useState('en') @@ -84,7 +84,6 @@ const App = () => { provider = null } else { provider = new ethers.providers.Web3Provider(wallet.provider, 'any') - } }, [wallet]) @@ -573,7 +572,10 @@ const App = () => { value={toChain} > {chains.map(({ id, label }) => { - if (label === 'Goerli' || label === 'Polygon - Mumbai') { + if ( + label === 'Sepolia' || + label === 'Polygon - Mumbai' + ) { return (