Skip to content

Commit 307c3b8

Browse files
authored
Merge pull request #1726 from blocknative/release/2.23.0
Release 2.23.0
2 parents fe375d3 + 08d058a commit 307c3b8

Some content is hidden

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

80 files changed

+1056
-660
lines changed

docs/package.json

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"format": "prettier --plugin-search-dir . --write .",
1313
"prepare": "svelte-kit sync",
1414
"test": "playwright test",
15-
"w3o-latest-prod": "yarn add '@web3-onboard/coinbase' '@web3-onboard/core' '@web3-onboard/dcent' '@web3-onboard/enkrypt' '@web3-onboard/fortmatic' '@web3-onboard/gas' '@web3-onboard/gnosis' '@web3-onboard/infinity-wallet' '@web3-onboard/injected-wallets' '@web3-onboard/keepkey' '@web3-onboard/keystone' '@web3-onboard/ledger' '@web3-onboard/magic' '@web3-onboard/mew-wallet' '@web3-onboard/portis' '@web3-onboard/sequence' '@web3-onboard/taho' '@web3-onboard/torus' '@web3-onboard/transaction-preview' '@web3-onboard/trezor' '@web3-onboard/trust' '@web3-onboard/uauth' '@web3-onboard/walletconnect' '@web3-onboard/web3auth' '@web3-onboard/xdefi' '@web3-onboard/frame'",
16-
"w3o-latest-alpha": "yarn add '@web3-onboard/coinbase@next' '@web3-onboard/core@next' '@web3-onboard/dcent@next' '@web3-onboard/enkrypt@next' '@web3-onboard/fortmatic@next' '@web3-onboard/gas@next' '@web3-onboard/gnosis@next' '@web3-onboard/infinity-wallet@next' '@web3-onboard/injected-wallets@next' '@web3-onboard/keepkey@next' '@web3-onboard/keystone@next' '@web3-onboard/ledger@next' '@web3-onboard/magic@next' '@web3-onboard/mew-wallet@next' '@web3-onboard/portis@next' '@web3-onboard/sequence@next' '@web3-onboard/taho@next' '@web3-onboard/torus@next' '@web3-onboard/transaction-preview@next' '@web3-onboard/trezor@next' '@web3-onboard/trust@next' '@web3-onboard/uauth@next' '@web3-onboard/walletconnect@next' '@web3-onboard/web3auth@next' '@web3-onboard/xdefi@next' '@web3-onboard/frame'"
15+
"w3o-latest-prod": "yarn add '@web3-onboard/core' '@web3-onboard/coinbase' '@web3-onboard/transaction-preview' '@web3-onboard/dcent' '@web3-onboard/frontier' '@web3-onboard/fortmatic' '@web3-onboard/frame' '@web3-onboard/gas' '@web3-onboard/gnosis' '@web3-onboard/keepkey' '@web3-onboard/keystone' '@web3-onboard/ledger' '@web3-onboard/infinity-wallet' '@web3-onboard/injected-wallets' '@web3-onboard/magic' '@web3-onboard/phantom' '@web3-onboard/portis' '@web3-onboard/sequence' '@web3-onboard/trezor' '@web3-onboard/trust' '@web3-onboard/torus' '@web3-onboard/taho' '@web3-onboard/web3auth' '@web3-onboard/walletconnect' '@web3-onboard/enkrypt' '@web3-onboard/mew-wallet' '@web3-onboard/xdefi' '@web3-onboard/uauth' '@web3-onboard/zeal' '@web3-onboard/cede-store'",
16+
"w3o-latest-alpha": "yarn add '@web3-onboard/core@next' '@web3-onboard/coinbase@next' '@web3-onboard/transaction-preview@next' '@web3-onboard/dcent@next' '@web3-onboard/frontier@next' '@web3-onboard/fortmatic@next' '@web3-onboard/frame@next' '@web3-onboard/gas@next' '@web3-onboard/gnosis@next' '@web3-onboard/keepkey@next' '@web3-onboard/keystone@next' '@web3-onboard/ledger@next' '@web3-onboard/infinity-wallet@next' '@web3-onboard/injected-wallets@next' '@web3-onboard/magic@next' '@web3-onboard/phantom@next' '@web3-onboard/portis@next' '@web3-onboard/sequence@next' '@web3-onboard/trezor@next' '@web3-onboard/trust@next' '@web3-onboard/torus@next' '@web3-onboard/taho@next' '@web3-onboard/web3auth@next' '@web3-onboard/walletconnect@next' '@web3-onboard/enkrypt@next' '@web3-onboard/mew-wallet@next' '@web3-onboard/xdefi@next' '@web3-onboard/uauth@next' '@web3-onboard/zeal@next' '@web3-onboard/cede-store@next'"
1717
},
1818
"devDependencies": {
1919
"@algolia/client-search": "^4.17.0",
@@ -47,33 +47,36 @@
4747
},
4848
"type": "module",
4949
"dependencies": {
50-
"@web3-onboard/cede-store": "^2.0.1",
51-
"@web3-onboard/coinbase": "^2.2.3",
52-
"@web3-onboard/core": "^2.18.0",
53-
"@web3-onboard/dcent": "^2.2.6",
54-
"@web3-onboard/enkrypt": "^2.0.3",
55-
"@web3-onboard/fortmatic": "^2.0.18",
56-
"@web3-onboard/frame": "^2.0.0",
57-
"@web3-onboard/gas": "^2.1.7",
58-
"@web3-onboard/gnosis": "^2.1.9",
59-
"@web3-onboard/infinity-wallet": "^2.0.3",
60-
"@web3-onboard/injected-wallets": "^2.8.6",
61-
"@web3-onboard/keepkey": "^2.3.6",
62-
"@web3-onboard/keystone": "^2.3.6",
63-
"@web3-onboard/ledger": "^2.4.5",
64-
"@web3-onboard/magic": "^2.1.6",
65-
"@web3-onboard/mew-wallet": "^2.0.3",
66-
"@web3-onboard/portis": "^2.1.6",
67-
"@web3-onboard/sequence": "^2.0.7",
68-
"@web3-onboard/taho": "^2.0.3",
69-
"@web3-onboard/torus": "^2.2.4",
70-
"@web3-onboard/transaction-preview": "^2.0.7",
71-
"@web3-onboard/trezor": "^2.4.1",
72-
"@web3-onboard/trust": "^2.0.3",
73-
"@web3-onboard/uauth": "^2.0.4",
74-
"@web3-onboard/walletconnect": "^2.3.7",
75-
"@web3-onboard/web3auth": "^2.2.1",
76-
"@web3-onboard/xdefi": "^2.0.3",
50+
"@web3-onboard/cede-store": "^2.0.2-alpha.2",
51+
"@web3-onboard/coinbase": "^2.2.4-alpha.1",
52+
"@web3-onboard/core": "^2.19.1-alpha.1",
53+
"@web3-onboard/dcent": "^2.2.7-alpha.2",
54+
"@web3-onboard/enkrypt": "^2.0.4-alpha.1",
55+
"@web3-onboard/fortmatic": "^2.0.19-alpha.1",
56+
"@web3-onboard/frame": "^2.0.1-alpha.1",
57+
"@web3-onboard/frontier": "^2.0.4-alpha.1",
58+
"@web3-onboard/gas": "^2.1.8-alpha.1",
59+
"@web3-onboard/gnosis": "^2.1.10-alpha.1",
60+
"@web3-onboard/infinity-wallet": "^2.0.4-alpha.1",
61+
"@web3-onboard/injected-wallets": "^2.9.0-alpha.2",
62+
"@web3-onboard/keepkey": "^2.3.7-alpha.2",
63+
"@web3-onboard/keystone": "^2.3.7-alpha.2",
64+
"@web3-onboard/ledger": "^2.4.6-alpha.1",
65+
"@web3-onboard/magic": "^2.1.7-alpha.1",
66+
"@web3-onboard/mew-wallet": "^2.0.4-alpha.1",
67+
"@web3-onboard/phantom": "^2.0.2-alpha.1",
68+
"@web3-onboard/portis": "^2.1.7-alpha.1",
69+
"@web3-onboard/sequence": "^2.0.8-alpha.1",
70+
"@web3-onboard/taho": "^2.0.4-alpha.1",
71+
"@web3-onboard/torus": "^2.2.5-alpha.1",
72+
"@web3-onboard/transaction-preview": "^2.0.8-alpha.1",
73+
"@web3-onboard/trezor": "^2.4.2-alpha.3",
74+
"@web3-onboard/trust": "^2.0.4-alpha.1",
75+
"@web3-onboard/uauth": "^2.0.5-alpha.1",
76+
"@web3-onboard/walletconnect": "^2.3.8-alpha.2",
77+
"@web3-onboard/web3auth": "^2.2.3-alpha.1",
78+
"@web3-onboard/xdefi": "^2.0.4-alpha.1",
79+
"@web3-onboard/zeal": "^2.0.4-alpha.1",
7780
"animejs": "^3.2.1",
7881
"bnc-sdk": "^4.6.6",
7982
"ethers": "^5.7.0",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ web3-onboard supports all EVM networks. Supporting a new network is simply a mat
5151
- Moonriver
5252
- All other EVM network
5353

54-
### [Optional] Use an API key to fetch real time transaction data, balances & gas
54+
### Optional - Use an API key to fetch real time transaction data, balances & gas
5555

5656
Using a Blocknative API key with web3-onboard on the free plan will allow you to gain the benefits of Blocknative balance & transaction services. Blocknative has a free forever plan you can always use.
5757

docs/src/routes/docs/[...1]overview/[...2]contribution-guide/+page.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If an issue does not already exist, follow the template instructions to create a
1919

2020
Once an issue is created, a Web3 Onboard maintainer will review and respond typically within a few days to share next steps.
2121

22-
## [Pull Requests 🗂️]
22+
## Pull Requests 🗂️
2323

2424
To create a new feature or change in Web3 Onboard, fork the repo and make a pull request on the [develop branch](https://github.com/blocknative/web3-onboard/tree/develop) to have your changes merged in and released as part of the official packages.
2525

@@ -39,7 +39,7 @@ Example : Adding a new injected wallet to the `injected` package -
3939
Example 2 : Bug fix within the `core` package -
4040
[Core package.json](https://github.com/blocknative/web3-onboard/blob/8531a73d69365f7d584320f1c4b97a5d90f1c34e/packages/core/package.json#L3) changes: `"version": "2.9.1-alpha.1",` --> `"version": "2.9.1-alpha.2",`
4141

42-
## [How can I add a new wallet? 💳]
42+
## How can I add a new wallet? 💳
4343

4444
To add a new wallet to the official Web3 Onboard packages and repo, create a [pull request](#pull-requests-🗂️). Web3 Onboard does not require a wallet to be a part of the main code, so a separate wallet module can be created without any changes to the Web3Onboard codebase. Your PR must include a detailed README for the package, keeping in mind that this README is the the first point of contact for dapp devs looking to implement your wallet.
4545

@@ -57,7 +57,7 @@ Otherwise, if the wallet you are adding requires dependencies and initialization
5757

5858
If you cannot write the code yourself to add a new wallet, create a new feature request issue to be considered by the maintainers and other contributors in the community.
5959

60-
## [Documentation Contributions 📄]
60+
## Documentation Contributions 📄
6161

6262
If you contribute to the code, you should definitely document appropriately.
6363

@@ -71,11 +71,11 @@ PRs for adding/updating a wallet should include a README (new or updated) for th
7171

7272
We highly encourage the community to help us improve the web3-onboard docs! If you have any questions don't hesitate to reach out.
7373

74-
## [Feedback 💬]
74+
## Feedback 💬
7575

7676
Did you have trouble integrating? Could the docs be improved? Have a new Feature request?
7777
Jump in our [Discord](https://discord.com/invite/KZaBVME) and share your feedback.
7878

79-
## [Support 🤓]
79+
## Support 🤓
8080

8181
For general questions about how to use Web3 Onboard please first check out our [docs](../../overview/introduction.md#features), then head to our [Discord](https://discord.com/invite/KZaBVME) for support from the Blocknative team.

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

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ type Chain = {
145145
icon?: string // the icon to represent the chain
146146
publicRpcUrl?: string // an optional public RPC used when adding a new chain config to the wallet
147147
blockExplorerUrl?: string // also used when adding a new config to the wallet
148-
secondaryTokens?: SecondaryTokens[] // An optional array of tokens (max of 5) to be available to the dapp in the app state object per wallet within the wallet account and displayed in Account Center (if enabled)
148+
secondaryTokens?: SecondaryTokens[] // An optional array of tokens (max of 5) to be available to the dapp in the app state object per wallet within the wallet account and displayed in Account Center (if enabled)
149149
}
150150

151151
interface SecondaryTokens {
@@ -368,7 +368,13 @@ type AccountCenter = {
368368
position?: AccountCenterPosition // default: 'bottomRight'
369369
expanded?: boolean // default: true
370370
minimal?: boolean // enabled by default for mobile
371-
371+
/**
372+
* false by default - This allows removal of the
373+
* Enable Transaction Protection' button within the Account Center
374+
* expanded when set to true
375+
* Can be set as a global for Account Center or per interface (desktop/mobile)
376+
*/
377+
hideTransactionProtectionBtn?: boolean
372378
/**
373379
* @deprecated Use top level containerElements property
374380
* with the accountCenter prop set to the desired container El. See documentation below
@@ -379,6 +385,13 @@ type AccountCenter = {
379385
type AccountCenterOptions = {
380386
desktop: Omit<AccountCenter, 'expanded'>
381387
mobile: Omit<AccountCenter, 'expanded'>
388+
/**
389+
* false by default - This allows removal of the
390+
* Enable Transaction Protection' button within the Account Center
391+
* expanded when set to true
392+
* Can be set as a global for Account Center or per interface (desktop/mobile)
393+
*/
394+
hideTransactionProtectionBtn?: boolean
382395
}
383396

384397
type AccountCenterPosition = 'topRight' | 'bottomRight' | 'bottomLeft' | 'topLeft'

docs/src/routes/docs/[...4]wallets/[...9]injected/+page.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ const injected = injectedModule({
318318
- ApexWallet - _Desktop_
319319
- BifrostWallet - _Desktop & Mobile_
320320
- Safeheron - _Desktop_
321+
- Talisman - _Desktop_
321322

322323
## Build Environments
323324

0 commit comments

Comments
 (0)