Skip to content

Commit

Permalink
Bumping node version, turning off shimDisconnect (#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWoodard authored Apr 16, 2024
1 parent 54c22e0 commit 550200f
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 19 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-earn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-prime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions earn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions prime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.1.0",
"private": true,
"main": "./lib/index.js",
"engines": {
"node": ">=20"
},
"directories": {
"lib": "lib"
},
Expand Down
2 changes: 1 addition & 1 deletion shared/src/components/WagmiProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 550200f

Please sign in to comment.