From b849e55e627d4ede828bea68d9cfa2d10d414ec5 Mon Sep 17 00:00:00 2001 From: ianwoodard <17186604+IanWoodard@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:34:31 -0700 Subject: [PATCH] Bumping node version, turning off shimDisconnect --- .github/workflows/test-earn.yml | 12 ++++++------ .github/workflows/test-prime.yml | 12 ++++++------ .github/workflows/test-shared.yml | 12 ++++++------ earn/package.json | 3 +++ prime/package.json | 3 +++ shared/package.json | 3 +++ shared/src/components/WagmiProvider.tsx | 2 +- 7 files changed, 28 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test-earn.yml b/.github/workflows/test-earn.yml index 518506392..97a61dd4a 100644 --- a/.github/workflows/test-earn.yml +++ b/.github/workflows/test-earn.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' cache: 'yarn' - run: | yarn global add node-gyp @@ -30,11 +30,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' cache: 'yarn' - run: | yarn global add node-gyp diff --git a/.github/workflows/test-prime.yml b/.github/workflows/test-prime.yml index 433a5434c..61b593266 100644 --- a/.github/workflows/test-prime.yml +++ b/.github/workflows/test-prime.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' cache: 'yarn' - run: | yarn global add node-gyp @@ -30,11 +30,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' cache: 'yarn' - run: | yarn global add node-gyp diff --git a/.github/workflows/test-shared.yml b/.github/workflows/test-shared.yml index 8c67c7d65..fe2e7331a 100644 --- a/.github/workflows/test-shared.yml +++ b/.github/workflows/test-shared.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' cache: 'yarn' - run: | yarn global add node-gyp @@ -27,11 +27,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' cache: 'yarn' - run: | yarn global add node-gyp diff --git a/earn/package.json b/earn/package.json index 3e881455a..374662a76 100644 --- a/earn/package.json +++ b/earn/package.json @@ -2,6 +2,9 @@ "name": "earn", "version": "0.1.0", "private": true, + "engines": { + "node": ">=20" + }, "dependencies": { "@apollo/react-hooks": "^4.0.0", "@craco/craco": "^7.0.0", diff --git a/prime/package.json b/prime/package.json index 70be336ff..ff90ad315 100644 --- a/prime/package.json +++ b/prime/package.json @@ -2,6 +2,9 @@ "name": "prime", "version": "0.1.0", "private": true, + "engines": { + "node": ">=20" + }, "dependencies": { "@apollo/react-hooks": "^4.0.0", "@craco/craco": "^7.0.0", diff --git a/shared/package.json b/shared/package.json index 8e262a2df..b0ff8c730 100644 --- a/shared/package.json +++ b/shared/package.json @@ -3,6 +3,9 @@ "version": "0.1.0", "private": true, "main": "./lib/index.js", + "engines": { + "node": ">=20" + }, "directories": { "lib": "lib" }, diff --git a/shared/src/components/WagmiProvider.tsx b/shared/src/components/WagmiProvider.tsx index 171502aa8..847739a8d 100644 --- a/shared/src/components/WagmiProvider.tsx +++ b/shared/src/components/WagmiProvider.tsx @@ -110,7 +110,7 @@ const { chains, provider, webSocketProvider } = configureChains(ALL_CHAINS, prov const connectors: Connector[] = [ new InjectedConnector({ chains, - options: { shimDisconnect: true }, + options: { shimDisconnect: false }, }), new CoinbaseWalletConnector({ chains,