Skip to content

Commit 0507a28

Browse files
committed
update capsule build node version
1 parent 6dda49f commit 0507a28

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ jobs:
438438
- node-build-steps
439439
build-capsule:
440440
docker:
441-
- image: cimg/node:16.14.2
441+
- image: cimg/node:18.18.2
442442
working_directory: ~/web3-onboard-monorepo/packages/capsule
443443
steps:
444444
- node-build-steps
@@ -722,7 +722,7 @@ jobs:
722722
- node-staging-build-steps
723723
build-staging-capsule:
724724
docker:
725-
- image: cimg/node:16.14.2
725+
- image: cimg/node:18.18.2
726726
working_directory: ~/web3-onboard-monorepo/packages/capsule
727727
steps:
728728
- node-staging-build-steps

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"./packages/*"
88
],
99
"nohoist": [
10-
"**/react",
11-
"**/react-dom",
1210
"**/csstype"
1311
]
1412
},
@@ -67,6 +65,10 @@
6765
"prettier-plugin-svelte": "^2.4.0",
6866
"typescript": "^4.5.5"
6967
},
68+
"peerDependencies": {
69+
"react": "*",
70+
"react-dom": "*"
71+
},
7072
"dependencies": {
7173
"wsrun": "^5.2.4"
7274
},

packages/demo/src/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@
752752
<button on:click={() => onboard.setChain({ chainId: '0x1' })}
753753
>Set Chain to Mainnet</button
754754
>
755-
<button on:click={() => onboard.setChain({ chainId: '0x5' })}
755+
<button on:click={() => onboard.setChain({ chainId: 11155111 })}
756756
>Set Chain to Sepolia</button
757757
>
758758
<button on:click={() => onboard.setChain({ chainId: '0x89' })}

0 commit comments

Comments
 (0)