Skip to content

Commit b2d3be0

Browse files
authored
Merge pull request #2303 from blocknative/release/2.28.1
Release 2.28.1 (docs)
2 parents d994544 + 53afd38 commit b2d3be0

Some content is hidden

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

43 files changed

+1423
-1119
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
- **Multiple Wallets and Accounts Connection**: Allow your users to connect multiple wallets and multiple accounts within each wallet at the same time to your app.
99
- **Multiple Chain Support**: Allow users to switch between chains/networks with ease.
1010
- **Account Center**: A persistent interface to manage wallet connections and networks, with a minimal version for mobile
11-
- **Notify**: Real-time transaction notifications for the connected wallet addresses for all transaction states
1211
- **Wallet Provider Standardization**: All wallet modules expose a provider that is patched to be compliant with the [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193), [EIP-1102](https://eips.ethereum.org/EIPS/eip-1102), [EIP-3085](https://eips.ethereum.org/EIPS/eip-3085) and [EIP-3326](https://ethereum-magicians.org/t/eip-3326-wallet-switchethereumchain/5471) specifications.
1312
- **Dynamic Imports**: Supporting multiple wallets in your app requires a lot of dependencies. Onboard dynamically imports a wallet and its dependencies only when the user selects it, so that minimal bandwidth is used.
1413

docs/package.json

Lines changed: 2 additions & 2 deletions
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.3-alpha.2",
60+
"@web3-onboard/core": "^2.23.0",
6161
"@web3-onboard/dcent": "^2.2.8",
6262
"@web3-onboard/enkrypt": "^2.1.1",
6363
"@web3-onboard/finoaconnect": "^2.0.0",
@@ -72,7 +72,7 @@
7272
"@web3-onboard/keystone": "^2.3.8",
7373
"@web3-onboard/ledger": "^2.7.1",
7474
"@web3-onboard/magic": "^2.2.1",
75-
"@web3-onboard/metamask": "^2.1.1",
75+
"@web3-onboard/metamask": "^2.2.0",
7676
"@web3-onboard/mew-wallet": "^2.1.1",
7777
"@web3-onboard/okx": "2.0.0",
7878
"@web3-onboard/particle-network": "^2.1.1",

docs/src/lib/components/FeaturesSection.svelte

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import FeatureCard from './FeatureCard.svelte'
88
99
import FrameworksGraphic from './svg/frameworks-group.svelte'
10-
import NotifyGraphic from './svg/notify-group.svelte'
1110
import NetworksGraphic from './svg/networks-graphic.svg'
1211
import AccountCenterGraphic from './svg/account-center-graphic.svg'
1312
import WalletsGraphic from './svg/wallet-row.svg'
@@ -89,52 +88,6 @@
8988
style="margin: 0 auto; max-width: none;"
9089
/>
9190
</ScrollContainer>
92-
<Container>
93-
<div class="flexbox">
94-
<div>
95-
<img
96-
src={TransactionPreviewGraphic}
97-
alt="Transaction Preview"
98-
style="margin: 0 auto; max-width: none;"
99-
/>
100-
</div>
101-
<div>
102-
<TextBlock
103-
title={'Transaction Preview'}
104-
subtitle={'Preview transactions to see net-balance changes and gas spent'}
105-
text={'Reduce transaction anxiety by allowing users to easily preview expected net-balance changes for their connected wallets before authorizing transactions.'}
106-
>
107-
<Flexbox --wrap="wrap">
108-
<Button href="/docs/modules/transaction-preview" buttonStyle={'link'}
109-
>{'Learn More'}</Button
110-
>
111-
<Button
112-
href="/docs/modules/transaction-preview#try-transaction-preview"
113-
buttonStyle={'link'}>{'View Demo'}</Button
114-
>
115-
</Flexbox>
116-
<div class="prose">
117-
<slot name="installTp" />
118-
</div>
119-
</TextBlock>
120-
</div>
121-
</div>
122-
</Container>
123-
<Container>
124-
<div class="flexbox">
125-
<TextBlock
126-
title={'Real-time transaction notifications'}
127-
subtitle={''}
128-
text={'Real-time transaction notifications for all connected wallet addresses and all transaction states.'}
129-
>
130-
<Flexbox --wrap="wrap">
131-
<Button href="/docs" buttonStyle={'link'}>{'Learn More'}</Button>
132-
<Button href="/examples/connect-wallet" buttonStyle={'link'}>{'View Demo'}</Button>
133-
</Flexbox>
134-
</TextBlock>
135-
<div><NotifyGraphic /></div>
136-
</div>
137-
</Container>
13891
<Container>
13992
<div class="flexbox">
14093
<div><img src={AccountCenterGraphic} alt="" /></div>

docs/src/lib/components/TransactionPreviewButton.svelte

Lines changed: 0 additions & 122 deletions
This file was deleted.

docs/src/lib/components/gas/Gas.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
onMount(() => {
2525
ethMainnetGasBlockPrices = gasModule.stream({
2626
chains: ['0x1'],
27-
apiKey: 'da1b962d-314d-4903-bfe1-426821d14a35',
2827
endpoint: 'blockPrices'
2928
})
3029
gasSub = ethMainnetGasBlockPrices.subscribe(() => {

docs/src/lib/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
export * from './examples'
22
export * from './gas'
3-
export { default as TransactionPreviewButton } from './TransactionPreviewButton.svelte'

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ Web3 Onboard is the quickest and easiest way to add multi-wallet and multi-chain
3030

3131
- **Framework Agnostic:** Avoid framework lock in -- Web3 Onboard works with any framework and includes helper packages for vue & react.
3232

33-
- **Notify:** Real-time transaction notifications for all transaction states for the connected wallet address(es). In-notification speedups & cancels for hardware wallet connections.
34-
3533
### Natively Supported EVM Chains
3634

3735
Web3 Onboard supports all EVM networks. Supporting a new network is simply a matter of adding its details in the Chains section upon initialization. For more information see [initialization options](../../modules/core.md#initialization).

docs/src/routes/docs/[...1]overview/[...3]onboard.js-migration-guide/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This change allows us to support many web3 wallets without affecting the overall
3030

3131
### Expansive Initialization Options
3232

33-
We’ve made initialization simpler while introducing more powerful options like [Account Center](https://www.blocknative.com/blog/multichain-and-multiwallet-account-management-on-your-dapp-with-account-center) and Notify in Web3 Onboard.
33+
We’ve made initialization simpler while introducing more powerful options like [Account Center](https://www.blocknative.com/blog/multichain-and-multiwallet-account-management-on-your-dapp-with-account-center) in Web3 Onboard.
3434
Web3 Onboard now requires two compulsory initial setup options: `wallets` (Wallet modules, as shown above, to be initialized and added to wallet selection modal) and `chains` (EVM networks your app should work with). You can also pass multiple wallets and chains.
3535

3636
```

0 commit comments

Comments
 (0)