Skip to content

Commit d994544

Browse files
authored
Merge pull request #2284 from blocknative/release/2.28.0
Release 2.28.0 (docs)
2 parents 24543dd + a411a35 commit d994544

File tree

21 files changed

+390
-357
lines changed

21 files changed

+390
-357
lines changed

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -106,38 +106,38 @@ For full documentation, check out the README.md for each package or the [docs pa
106106
**SDK Wallets**
107107

108108
- [Arcana](packages/arcana-auth/README.md)
109+
- [Bitget](packages/bitget/README.md)
110+
- [Blocto](packages/blocto/README.md)
111+
- [Capsule](packages/capsule/README.md)
109112
- [Coinbase](packages/coinbase/README.md)
110-
- [Trust](packages/trust/README.md)
111-
- [OKX](packages/okx/README.md)
112-
- [WalletConnect](packages/walletconnect/README.md)
113-
- [Safe](packages/gnosis/README.md)
114-
- [Magic](packages/magic/README.md)
113+
- [Enkrypt](packages/enkrypt/README.md)
114+
- [FinoaConnect](packages/finoaconnect/README.md)
115115
- [Fortmatic](packages/fortmatic/README.md)
116-
- [Portis](packages/portis/README.md)
116+
- [Frame](packages/frame/README.md)
117+
- [Frontier](packages/frontier/README.md)
118+
- [Infinity Wallet](packages/infinity-wallet/README.md)
119+
- [Magic](packages/magic/README.md)
120+
- [MetaMask](packages/metamask/README.md)
117121
- [MEW-Wallet](packages/mew-wallet/README.md)
118-
- [Web3Auth](packages/web3auth/README.md)
119-
- [Capsule](packages/capsule/README.md)
122+
- [OKX](packages/okx/README.md)
123+
- [Particle Network](packages/particle-network/README.md)
124+
- [Portis](packages/portis/README.md)
125+
- [Safe](packages/gnosis/README.md)
120126
- [Sequence](packages/sequence/README.md)
121127
- [Taho (previously Tally Ho)](packages/tallyho/README.md)
122-
- [Enkrypt](packages/enkrypt/README.md)
128+
- [Trust](packages/trust/README.md)
123129
- [Unstoppable Domains](packages/uauth/README.md)
124-
- [Frontier](packages/frontier/README.md)
130+
- [WalletConnect](packages/walletconnect/README.md)
131+
- [Web3Auth](packages/web3auth/README.md)
125132
- [XDEFI](packages/xdefi/README.md)
126-
- [Infinity Wallet](packages/infinity-wallet/README.md)
127-
- [Frame](packages/frame/README.md)
128-
- [Blocto](packages/blocto/README.md)
129-
- [Particle Network](packages/particle-network/README.md)
130-
- [MetaMask](packages/metamask/README.md)
131-
- [Bitget](packages/bitget/README.md)
132-
- [FinoaConnect](packages/finoaconnect/README.md)
133133

134134
**Hardware Wallets**
135135

136+
- [D'CENT](packages/dcent/README.md)
137+
- [KeepKey](packages/keepkey/README.md)
138+
- [Keystone](packages/keystone/README.md)
136139
- [Ledger](packages/ledger/README.md)
137140
- [Trezor](packages/trezor/README.md)
138-
- [Keystone](packages/keystone/README.md)
139-
- [KeepKey](packages/keepkey/README.md)
140-
- [D'CENT](packages/dcent/README.md)
141141

142142
**Frameworks**
143143

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@web3-onboard/capsule": "^2.3.0",
5858
"@web3-onboard/cede-store": "^2.3.1",
5959
"@web3-onboard/coinbase": "^2.3.1",
60-
"@web3-onboard/core": "^2.22.1",
60+
"@web3-onboard/core": "^2.22.3-alpha.2",
6161
"@web3-onboard/dcent": "^2.2.8",
6262
"@web3-onboard/enkrypt": "^2.1.1",
6363
"@web3-onboard/finoaconnect": "^2.0.0",

docs/src/lib/services/onboard.js

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import blocknativeIcon from '../components/icons/blocknative-icon'
22

33
let onboard
4-
const getOnboard = async (passedTheme) => {
4+
const getOnboard = async passedTheme => {
55
const key = 'svelteness::color-scheme'
66
const scheme = localStorage[key]
77
let theme = passedTheme || scheme
@@ -10,8 +10,8 @@ const getOnboard = async (passedTheme) => {
1010
return onboard
1111
}
1212

13-
const classMutationsCheck = (mutationsList) => {
14-
mutationsList.forEach((mutation) => {
13+
const classMutationsCheck = mutationsList => {
14+
mutationsList.forEach(mutation => {
1515
if (onboard && mutation.attributeName === 'class') {
1616
if (mutation.target.className.includes('dark')) {
1717
onboard.state.actions.updateTheme('dark')
@@ -28,7 +28,7 @@ const classMutationListener = () => {
2828
mutationObserver.observe(document.querySelector('html'), { attributes: true })
2929
}
3030

31-
const intiOnboard = async (theme) => {
31+
const intiOnboard = async theme => {
3232
const { default: Onboard } = await import('@web3-onboard/core')
3333
const { default: injectedModule } = await import('@web3-onboard/injected-wallets')
3434
const { default: trezorModule } = await import('@web3-onboard/trezor')
@@ -114,8 +114,8 @@ const intiOnboard = async (theme) => {
114114
}
115115
const trezor = trezorModule(trezorOptions)
116116

117-
const finoaConnectOptions = {};
118-
const finoaconnect = finoaConnectModule(finoaConnectOptions);
117+
const finoaConnectOptions = {}
118+
const finoaconnect = finoaConnectModule(finoaConnectOptions)
119119

120120
const uauthOptions = {
121121
clientID: 'a25c3a65-a1f2-46cc-a515-a46fe7acb78c',
@@ -139,7 +139,7 @@ const intiOnboard = async (theme) => {
139139

140140
const capsule = capsuleModule({
141141
environment: Environment.DEVELOPMENT,
142-
apiKey: '992bbd9146d5de8ad0419f141d9a7ca7'
142+
apiKey: '992bbd9146d5de8ad0419f141d9a7ca7'
143143
})
144144

145145
const particle = particleAuthModule({
@@ -253,6 +253,12 @@ const intiOnboard = async (theme) => {
253253
token: 'DEGEN',
254254
label: 'Degen',
255255
rpcUrl: 'https://rpc.degen.tips'
256+
},
257+
{
258+
id: 2192,
259+
token: 'SNAXETH',
260+
label: 'SNAX Chain',
261+
rpcUrl: 'https://mainnet.snaxchain.io'
256262
}
257263
],
258264
appMetadata: {

docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Web3 Onboard supports all EVM networks. Supporting a new network is simply a mat
4646
- BNB Chain
4747
- Celo
4848
- Degen
49+
- SNAX
4950
- Fantom
5051
- Gnosis Chain
5152
- Harmony One
@@ -140,6 +141,12 @@ const onboard = Onboard({
140141
token: 'DEGEN',
141142
label: 'Degen',
142143
rpcUrl: 'https://rpc.degen.tips'
144+
},
145+
{
146+
id: 2192,
147+
token: 'SNAXETH',
148+
label: 'SNAX Chain',
149+
rpcUrl: 'https://mainnet.snaxchain.io'
143150
}
144151
]
145152
})

docs/src/routes/docs/[...3]modules/[...1]core/+page.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,12 @@ const onboard = Onboard({
735735
token: 'DEGEN',
736736
label: 'Degen',
737737
rpcUrl: 'https://rpc.degen.tips'
738+
},
739+
{
740+
id: 2192,
741+
token: 'SNAXETH',
742+
label: 'SNAX Chain',
743+
rpcUrl: 'https://mainnet.snaxchain.io'
738744
}
739745
],
740746
appMetadata: {

docs/src/routes/examples/[...1]connect-wallet/+page.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ const chains = [
170170
token: 'DEGEN',
171171
label: 'Degen',
172172
rpcUrl: 'https://rpc.degen.tips'
173+
},
174+
{
175+
id: 2192,
176+
token: 'SNAX',
177+
label: 'SNAX Chain',
178+
rpcUrl: 'https://mainnet.snaxchain.io'
173179
}
174180
]
175181

@@ -441,6 +447,12 @@ const chains = [
441447
token: 'DEGEN',
442448
label: 'Degen',
443449
rpcUrl: 'https://rpc.degen.tips'
450+
},
451+
{
452+
id: 2192,
453+
token: 'SNAXETH',
454+
label: 'SNAX Chain',
455+
rpcUrl: 'https://mainnet.snaxchain.io'
444456
}
445457
]
446458

examples/with-sveltekit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
3636
"@fontsource/fira-mono": "^4.5.10",
3737
"@rollup/plugin-commonjs": "^25.0.7",
38-
"@web3-onboard/core": "^2.21.4",
38+
"@web3-onboard/core": "^2.22.3",
3939
"@web3-onboard/injected-wallets": "^2.8.5",
4040
"@web3-onboard/walletconnect": "^2.3.6",
4141
"assert": "^2.1.0",

examples/with-vanilla-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"dependencies": {
3030
"@web3-onboard/coinbase": "^2.2.2",
31-
"@web3-onboard/core": "^2.21.0",
31+
"@web3-onboard/core": "^2.22.3",
3232
"@web3-onboard/injected-wallets": "^2.8.4",
3333
"@web3-onboard/walletconnect": "^2.3.5"
3434
}

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.27.0",
3+
"version": "2.28.0",
44
"private": true,
55
"workspaces": {
66
"packages": [

packages/core/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/core",
3-
"version": "2.22.2",
3+
"version": "2.22.3",
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",

0 commit comments

Comments
 (0)