Skip to content

Commit

Permalink
chore: update web3auth deps and fix build (#2228)
Browse files Browse the repository at this point in the history
* chore: update web3auth deps and fix build

* chore: update web3auth release version

* change version

* updated yarn

* remove todo, pass undefined to web3auth and let them fail

* add new package to demo, run yarn/yarn check-all
  • Loading branch information
bengobeil authored Jun 13, 2024
1 parent 5626431 commit 4d47a5c
Show file tree
Hide file tree
Showing 4 changed files with 329 additions and 713 deletions.
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@web3-onboard/uauth": "^2.2.1",
"@web3-onboard/venly": "^2.1.1",
"@web3-onboard/walletconnect": "^2.6.1",
"@web3-onboard/web3auth": "^2.3.1",
"@web3-onboard/web3auth": "^2.4.0-alpha.1",
"@web3-onboard/xdefi": "^2.1.1",
"@web3-onboard/zeal": "^2.1.1",
"@web3-onboard/passport": "^2.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/web3auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/web3auth",
"version": "2.3.1",
"version": "2.4.0-alpha.1",
"description": "Web3Auth SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -59,8 +59,8 @@
"dependencies": {
"@web3-onboard/common": "^2.4.1",
"@solana/web3.js": "^1.73.0",
"@web3auth/base": "^5.0.1",
"@web3auth/modal": "^5.0.1",
"@web3auth/base": "^8.6.2",
"@web3auth/modal": "^8.6.2",
"react-dom": "^18.2.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web3auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function web3auth(options: Web3AuthModuleOptions): WalletInit {
ticker: token,
tickerName: label,
chainId: id,
rpcTarget: rpcUrl,
rpcTarget: rpcUrl!,
chainNamespace:
namespace === 'evm'
? CHAIN_NAMESPACES.EIP155
Expand Down
Loading

0 comments on commit 4d47a5c

Please sign in to comment.