Skip to content

Commit 4d47a5c

Browse files
authored
chore: update web3auth deps and fix build (#2228)
* 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
1 parent 5626431 commit 4d47a5c

File tree

4 files changed

+329
-713
lines changed

4 files changed

+329
-713
lines changed

packages/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@web3-onboard/uauth": "^2.2.1",
6464
"@web3-onboard/venly": "^2.1.1",
6565
"@web3-onboard/walletconnect": "^2.6.1",
66-
"@web3-onboard/web3auth": "^2.3.1",
66+
"@web3-onboard/web3auth": "^2.4.0-alpha.1",
6767
"@web3-onboard/xdefi": "^2.1.1",
6868
"@web3-onboard/zeal": "^2.1.1",
6969
"@web3-onboard/passport": "^2.1.1",

packages/web3auth/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/web3auth",
3-
"version": "2.3.1",
3+
"version": "2.4.0-alpha.1",
44
"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.",
55
"keywords": [
66
"Ethereum",
@@ -59,8 +59,8 @@
5959
"dependencies": {
6060
"@web3-onboard/common": "^2.4.1",
6161
"@solana/web3.js": "^1.73.0",
62-
"@web3auth/base": "^5.0.1",
63-
"@web3auth/modal": "^5.0.1",
62+
"@web3auth/base": "^8.6.2",
63+
"@web3auth/modal": "^8.6.2",
6464
"react-dom": "^18.2.0"
6565
},
6666
"peerDependencies": {

packages/web3auth/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function web3auth(options: Web3AuthModuleOptions): WalletInit {
4848
ticker: token,
4949
tickerName: label,
5050
chainId: id,
51-
rpcTarget: rpcUrl,
51+
rpcTarget: rpcUrl!,
5252
chainNamespace:
5353
namespace === 'evm'
5454
? CHAIN_NAMESPACES.EIP155

0 commit comments

Comments
 (0)