Skip to content

Commit bc2a0ff

Browse files
committed
Merge in latest develop changes
2 parents ed00198 + 1b409a8 commit bc2a0ff

File tree

56 files changed

+189
-332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+189
-332
lines changed

docs/package.json

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -52,41 +52,41 @@
5252
"dependencies": {
5353
"@safe-global/safe-apps-provider": "^0.18.0",
5454
"@safe-global/safe-apps-sdk": "^8.1.0",
55-
"@web3-onboard/bitget": "^2.1.0-alpha.2",
56-
"@web3-onboard/blocto": "^2.1.0-alpha.2",
57-
"@web3-onboard/cede-store": "^2.3.0-alpha.2",
58-
"@web3-onboard/coinbase": "^2.3.0-alpha.2",
59-
"@web3-onboard/core": "^2.22.0-alpha.7",
60-
"@web3-onboard/dcent": "^2.2.8-alpha.1",
61-
"@web3-onboard/enkrypt": "^2.1.0-alpha.2",
62-
"@web3-onboard/fortmatic": "^2.1.0-alpha.2",
63-
"@web3-onboard/frame": "^2.1.0-alpha.2",
64-
"@web3-onboard/frontier": "^2.1.0-alpha.2",
65-
"@web3-onboard/gas": "^2.2.0-alpha.2",
66-
"@web3-onboard/gnosis": "^2.3.0-alpha.2",
67-
"@web3-onboard/infinity-wallet": "^2.1.0-alpha.2",
68-
"@web3-onboard/injected-wallets": "^2.11.0-alpha.2",
69-
"@web3-onboard/keepkey": "^2.3.8-alpha.1",
70-
"@web3-onboard/keystone": "^2.3.8-alpha.1",
71-
"@web3-onboard/ledger": "^2.7.0-alpha.2",
72-
"@web3-onboard/magic": "^2.2.0-alpha.2",
73-
"@web3-onboard/metamask": "^2.1.0-alpha.2",
74-
"@web3-onboard/mew-wallet": "^2.1.0-alpha.2",
75-
"@web3-onboard/particle-network": "^2.1.0-alpha.2",
76-
"@web3-onboard/phantom": "^2.1.0-alpha.2",
77-
"@web3-onboard/portis": "^2.2.0-alpha.2",
78-
"@web3-onboard/sequence": "^2.1.0-alpha.2",
79-
"@web3-onboard/taho": "^2.1.0-alpha.2",
80-
"@web3-onboard/torus": "^2.3.0-alpha.2",
81-
"@web3-onboard/transaction-preview": "^2.1.0-alpha.3",
82-
"@web3-onboard/trezor": "^2.4.4-alpha.1",
83-
"@web3-onboard/trust": "^2.1.0-alpha.2",
84-
"@web3-onboard/uauth": "^2.2.0-alpha.2",
85-
"@web3-onboard/venly": "^2.1.0-alpha.2",
86-
"@web3-onboard/walletconnect": "^2.6.0-alpha.2",
87-
"@web3-onboard/web3auth": "^2.3.0-alpha.2",
88-
"@web3-onboard/xdefi": "^2.1.0-alpha.2",
89-
"@web3-onboard/zeal": "^2.1.0-alpha.2",
55+
"@web3-onboard/bitget": "^2.1.0",
56+
"@web3-onboard/blocto": "^2.1.0",
57+
"@web3-onboard/cede-store": "^2.3.0",
58+
"@web3-onboard/coinbase": "^2.3.0",
59+
"@web3-onboard/core": "^2.22.0",
60+
"@web3-onboard/dcent": "^2.2.8",
61+
"@web3-onboard/enkrypt": "^2.1.0",
62+
"@web3-onboard/fortmatic": "^2.1.0",
63+
"@web3-onboard/frame": "^2.1.0",
64+
"@web3-onboard/frontier": "^2.1.0",
65+
"@web3-onboard/gas": "^2.2.0",
66+
"@web3-onboard/gnosis": "^2.3.0",
67+
"@web3-onboard/infinity-wallet": "^2.1.0",
68+
"@web3-onboard/injected-wallets": "^2.11.0",
69+
"@web3-onboard/keepkey": "^2.3.8",
70+
"@web3-onboard/keystone": "^2.3.8",
71+
"@web3-onboard/ledger": "^2.7.0",
72+
"@web3-onboard/magic": "^2.2.0",
73+
"@web3-onboard/metamask": "^2.1.0",
74+
"@web3-onboard/mew-wallet": "^2.1.0",
75+
"@web3-onboard/particle-network": "^2.1.0",
76+
"@web3-onboard/phantom": "^2.1.0",
77+
"@web3-onboard/portis": "^2.2.0",
78+
"@web3-onboard/sequence": "^2.1.0",
79+
"@web3-onboard/taho": "^2.1.0",
80+
"@web3-onboard/torus": "^2.3.0",
81+
"@web3-onboard/transaction-preview": "^2.1.0",
82+
"@web3-onboard/trezor": "^2.4.4",
83+
"@web3-onboard/trust": "^2.1.0",
84+
"@web3-onboard/uauth": "^2.2.0",
85+
"@web3-onboard/venly": "^2.1.0",
86+
"@web3-onboard/walletconnect": "^2.6.0",
87+
"@web3-onboard/web3auth": "^2.3.0",
88+
"@web3-onboard/xdefi": "^2.1.0",
89+
"@web3-onboard/zeal": "^2.1.0",
9090
"animejs": "^3.2.1",
9191
"bnc-sdk": "^4.6.6",
9292
"ethers": "^5.7.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-onboard-monorepo",
3-
"version": "2.25.6",
3+
"version": "2.26.0",
44
"private": true,
55
"workspaces": {
66
"packages": [

packages/arcana-auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/arcana-auth",
3-
"version": "2.1.0-alpha.2",
3+
"version": "2.1.0",
44
"license": "MIT",
55
"description": "Arcana wallet is a built-in, secure Web3 wallet that users can access instantly when logging into an app integrated with the Arcana Auth SDK. It offers a customizable interface that can be branded to match the app's style. Users don't need to generate or manage cryptographic keys or remember passphrases. The wallet uses advanced distributed key generation, giving users full control over their wallets while onboarding Web3 apps using familiar Web2 authentication methods. It is user-friendly, secure, and puts users in control of their Web3 experience.",
66
"private": false,
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@arcana/auth": "^1.0.10",
17-
"@web3-onboard/common": "2.4.0-alpha.2"
17+
"@web3-onboard/common": "2.4.0"
1818
},
1919
"devDependencies": {
2020
"typescript": "^5.4.5"

packages/bitget/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/bitget",
3-
"version": "2.1.0-alpha.2",
3+
"version": "2.1.0",
44
"description": "bitget-wallet SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized 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",
@@ -62,6 +62,6 @@
6262
},
6363
"dependencies": {
6464
"@bitget-wallet/web3-sdk": "^0.0.8",
65-
"@web3-onboard/common": "^2.4.0-alpha.2"
65+
"@web3-onboard/common": "^2.4.0"
6666
}
6767
}

packages/bitkeep/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/bitkeep",
3-
"version": "2.1.0-alpha.2",
3+
"version": "2.1.0",
44
"description": "Bitkeep Wallet SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized 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",
@@ -62,6 +62,6 @@
6262
},
6363
"dependencies": {
6464
"@bitget-wallet/web3-sdk": "^0.0.8",
65-
"@web3-onboard/common": "^2.4.0-alpha.2"
65+
"@web3-onboard/common": "^2.4.0"
6666
}
6767
}

packages/blocto/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/blocto",
3-
"version": "2.1.0-alpha.2",
3+
"version": "2.1.0",
44
"description": "Blocto 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",
@@ -64,7 +64,7 @@
6464
"window": "^4.2.7"
6565
},
6666
"dependencies": {
67-
"@web3-onboard/common": "^2.4.0-alpha.2",
67+
"@web3-onboard/common": "^2.4.0",
6868
"@blocto/sdk": "^0.9.1"
6969
}
7070
}

packages/capsule/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/capsule",
3-
"version": "2.1.0-alpha.2",
3+
"version": "2.1.0",
44
"description": "Capsule 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
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -60,7 +60,7 @@
6060
"@usecapsule/react-sdk": "^2.3.1",
6161
"@usecapsule/wagmi-v2-integration": "^1.7.1",
6262
"@wagmi/chains": "^1.8.0",
63-
"@web3-onboard/common": "^2.4.0-alpha.2",
63+
"@web3-onboard/common": "^2.4.0",
6464
"react-dom": "^18.2.0",
6565
"viem": "2.9.15",
6666
"wagmi": "2.5.19"

packages/cede-store/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/cede-store",
3-
"version": "2.3.0-alpha.2",
3+
"version": "2.3.0",
44
"description": "cede.store 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",
@@ -70,6 +70,6 @@
7070
},
7171
"dependencies": {
7272
"@cedelabs/providers": "^1.5.0",
73-
"@web3-onboard/common": "^2.4.0-alpha.2"
73+
"@web3-onboard/common": "^2.4.0"
7474
}
7575
}

packages/coinbase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
},
6161
"dependencies": {
6262
"@coinbase/wallet-sdk": "4.0.3",
63-
"@web3-onboard/common": "^2.4.0-alpha.3"
63+
"@web3-onboard/common": "^2.4.0"
6464
}
6565
}

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/common",
3-
"version": "2.4.0-alpha.3",
3+
"version": "2.4.0",
44
"description": "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",

packages/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/core",
3-
"version": "2.22.0-alpha.7",
3+
"version": "2.22.0",
44
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized 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",
@@ -71,9 +71,9 @@
7171
"@typescript-eslint/eslint-plugin": "^4.31.1",
7272
"@typescript-eslint/parser": "^4.31.1",
7373
"@web3-onboard/gas": "^2.1.5",
74-
"@web3-onboard/wagmi": "2.0.0-alpha.6",
74+
"@web3-onboard/wagmi": "2.0.0",
7575
"@web3-onboard/transaction-preview": "^2.0.5",
76-
"@web3-onboard/unstoppable-resolution": "^2.0.0-alpha.1",
76+
"@web3-onboard/unstoppable-resolution": "^2.0.0",
7777
"eslint": "^7.32.0",
7878
"eslint-config-prettier": "^8.3.0",
7979
"eslint-plugin-svelte3": "^3.2.1",
@@ -87,7 +87,7 @@
8787
"typescript": "^5.4.5"
8888
},
8989
"dependencies": {
90-
"@web3-onboard/common": "2.4.0-alpha.3",
90+
"@web3-onboard/common": "2.4.0",
9191
"bnc-sdk": "^4.6.7",
9292
"bowser": "^2.11.0",
9393
"eventemitter3": "^4.0.7",

packages/core/src/provider.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ import { configuration } from './configuration.js'
1212
import { updateSecondaryTokens } from './update-balances'
1313

1414
import type { Uns } from '@web3-onboard/unstoppable-resolution'
15-
import type { PublicClient, GetEnsTextReturnType } from 'viem'
15+
import {
16+
type PublicClient,
17+
type GetEnsTextReturnType,
18+
isHex,
19+
toHex
20+
} from 'viem'
1621
import type {
1722
Address,
1823
ChainId,
@@ -260,7 +265,9 @@ export function trackWallet(
260265
if (!wallet) return // Add null check for wallet
261266
const { chains, accounts } = wallet
262267
const [connectedWalletChain] = chains
263-
268+
if (!isHex(chainId)) {
269+
chainId = toHex(chainId)
270+
}
264271
if (chainId === connectedWalletChain.id) return
265272

266273
if (state.get().notify.enabled) {
@@ -321,7 +328,9 @@ export function trackWallet(
321328
const { wallets, chains } = state.get()
322329
const primaryWallet = wallets.find(wallet => wallet.label === label)
323330
const accounts = primaryWallet?.accounts || []
324-
331+
if (!isHex(chainId)) {
332+
chainId = toHex(chainId)
333+
}
325334
const chain = chains.find(
326335
({ namespace, id }) => namespace === 'evm' && id === chainId
327336
)

packages/dcent/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/dcent",
3-
"version": "2.2.8-alpha.1",
3+
"version": "2.2.9",
44
"description": "D'CENT 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",
@@ -56,8 +56,8 @@
5656
"typescript": "^5.4.5"
5757
},
5858
"dependencies": {
59-
"@web3-onboard/common": "^2.4.0-alpha.1",
60-
"@web3-onboard/hw-common": "^2.3.2-alpha.1",
59+
"@web3-onboard/common": "^2.4.0",
60+
"@web3-onboard/hw-common": "^2.3.2",
6161
"@ethereumjs/tx": "^3.4.0",
6262
"@ethersproject/providers": "^5.5.0",
6363
"eth-dcent-keyring": "^0.2.2"

packages/demo/package.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -27,45 +27,45 @@
2727
"@blocto/dappauth": "^2.1.0",
2828
"@safe-global/safe-apps-provider": "^0.18.0",
2929
"@safe-global/safe-apps-sdk": "^8.1.0",
30-
"@web3-onboard/arcana-auth": "^2.1.0-alpha.2",
31-
"@web3-onboard/bitget": "2.1.0-alpha.2",
32-
"@web3-onboard/blocto": "^2.1.0-alpha.2",
33-
"@web3-onboard/capsule": "2.1.0-alpha.2",
34-
"@web3-onboard/cede-store": "^2.3.0-alpha.2",
35-
"@web3-onboard/core": "2.22.0-alpha.7",
30+
"@web3-onboard/arcana-auth": "^2.1.0",
31+
"@web3-onboard/bitget": "2.1.0",
32+
"@web3-onboard/blocto": "^2.1.0",
33+
"@web3-onboard/capsule": "2.1.0",
34+
"@web3-onboard/cede-store": "^2.3.0",
35+
"@web3-onboard/core": "2.22.0",
3636
"@web3-onboard/coinbase": "^2.4.0-alpha.1",
3737
"@web3-onboard/dcent": "^2.2.7",
38-
"@web3-onboard/enkrypt": "^2.1.0-alpha.2",
39-
"@web3-onboard/fortmatic": "^2.1.0-alpha.2",
40-
"@web3-onboard/frame": "^2.1.0-alpha.2",
41-
"@web3-onboard/frontier": "^2.1.0-alpha.2",
42-
"@web3-onboard/gas": "^2.2.0-alpha.2",
43-
"@web3-onboard/wagmi": "^2.0.0-alpha.6",
44-
"@web3-onboard/gnosis": "^2.3.0-alpha.2",
45-
"@web3-onboard/infinity-wallet": "^2.1.0-alpha.2",
46-
"@web3-onboard/injected-wallets": "^2.11.0-alpha.2",
38+
"@web3-onboard/enkrypt": "^2.1.0",
39+
"@web3-onboard/fortmatic": "^2.1.0",
40+
"@web3-onboard/frame": "^2.1.0",
41+
"@web3-onboard/frontier": "^2.1.0",
42+
"@web3-onboard/gas": "^2.2.0",
43+
"@web3-onboard/wagmi": "^2.0.0",
44+
"@web3-onboard/gnosis": "^2.3.0",
45+
"@web3-onboard/infinity-wallet": "^2.1.0",
46+
"@web3-onboard/injected-wallets": "^2.11.0",
4747
"@web3-onboard/keepkey": "^2.3.8",
4848
"@web3-onboard/keystone": "^2.3.8",
49-
"@web3-onboard/ledger": "^2.7.0-alpha.2",
50-
"@web3-onboard/magic": "^2.2.0-alpha.2",
51-
"@web3-onboard/metamask": "^2.1.0-alpha.2",
52-
"@web3-onboard/mew-wallet": "^2.1.0-alpha.2",
53-
"@web3-onboard/particle-network": "^2.1.0-alpha.2",
54-
"@web3-onboard/phantom": "^2.1.0-alpha.2",
55-
"@web3-onboard/portis": "^2.2.0-alpha.2",
56-
"@web3-onboard/sequence": "^2.1.0-alpha.2",
57-
"@web3-onboard/taho": "^2.1.0-alpha.2",
58-
"@web3-onboard/torus": "^2.3.0-alpha.2",
59-
"@web3-onboard/transaction-preview": "^2.1.0-alpha.2",
49+
"@web3-onboard/ledger": "^2.7.0",
50+
"@web3-onboard/magic": "^2.2.0",
51+
"@web3-onboard/metamask": "^2.1.0",
52+
"@web3-onboard/mew-wallet": "^2.1.0",
53+
"@web3-onboard/particle-network": "^2.1.0",
54+
"@web3-onboard/phantom": "^2.1.0",
55+
"@web3-onboard/portis": "^2.2.0",
56+
"@web3-onboard/sequence": "^2.1.0",
57+
"@web3-onboard/taho": "^2.1.0",
58+
"@web3-onboard/torus": "^2.3.0",
59+
"@web3-onboard/transaction-preview": "^2.1.0",
6060
"@web3-onboard/trezor": "^2.4.4",
61-
"@web3-onboard/trust": "^2.1.0-alpha.2",
62-
"@web3-onboard/uauth": "^2.2.0-alpha.2",
63-
"@web3-onboard/venly": "^2.1.0-alpha.2",
64-
"@web3-onboard/walletconnect": "^2.6.0-alpha.2",
65-
"@web3-onboard/web3auth": "^2.3.0-alpha.2",
66-
"@web3-onboard/xdefi": "^2.1.0-alpha.2",
67-
"@web3-onboard/zeal": "^2.1.0-alpha.2",
68-
"@web3-onboard/passport": "^2.1.0-alpha.2",
61+
"@web3-onboard/trust": "^2.1.0",
62+
"@web3-onboard/uauth": "^2.2.0",
63+
"@web3-onboard/venly": "^2.1.0",
64+
"@web3-onboard/walletconnect": "^2.6.0",
65+
"@web3-onboard/web3auth": "^2.3.0",
66+
"@web3-onboard/xdefi": "^2.1.0",
67+
"@web3-onboard/zeal": "^2.1.0",
68+
"@web3-onboard/passport": "^2.1.0",
6969
"@0xpass/webauthn-signer": "2.0.0",
7070
"vconsole": "^3.15.1"
7171
},

packages/demo/src/App.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@
260260
261261
const onboard = Onboard({
262262
wallets: [
263-
metamaskSDKWallet,
264-
coinbaseWallet,
263+
// metamaskSDKWallet,
264+
// coinbaseWallet,
265265
injected,
266266
ledger,
267267
trezor,

packages/enkrypt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/enkrypt",
3-
"version": "2.1.0-alpha.2",
3+
"version": "2.1.0",
44
"description": "Enkrypt 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",
@@ -63,6 +63,6 @@
6363
"window": "^4.2.7"
6464
},
6565
"dependencies": {
66-
"@web3-onboard/common": "^2.4.0-alpha.2"
66+
"@web3-onboard/common": "^2.4.0"
6767
}
6868
}

0 commit comments

Comments
 (0)