Skip to content

Commit

Permalink
Merge pull request #2302 from blocknative/release/2.28.1
Browse files Browse the repository at this point in the history
Release 2.28.1
  • Loading branch information
Adamj1232 authored Oct 18, 2024
2 parents 1c6f8de + 53afd38 commit 43a70f2
Show file tree
Hide file tree
Showing 43 changed files with 1,423 additions and 1,119 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
- **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.
- **Multiple Chain Support**: Allow users to switch between chains/networks with ease.
- **Account Center**: A persistent interface to manage wallet connections and networks, with a minimal version for mobile
- **Notify**: Real-time transaction notifications for the connected wallet addresses for all transaction states
- **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.
- **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.

Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@web3-onboard/capsule": "^2.3.0",
"@web3-onboard/cede-store": "^2.3.1",
"@web3-onboard/coinbase": "^2.3.1",
"@web3-onboard/core": "^2.22.3-alpha.2",
"@web3-onboard/core": "^2.23.0",
"@web3-onboard/dcent": "^2.2.8",
"@web3-onboard/enkrypt": "^2.1.1",
"@web3-onboard/finoaconnect": "^2.0.0",
Expand All @@ -72,7 +72,7 @@
"@web3-onboard/keystone": "^2.3.8",
"@web3-onboard/ledger": "^2.7.1",
"@web3-onboard/magic": "^2.2.1",
"@web3-onboard/metamask": "^2.1.1",
"@web3-onboard/metamask": "^2.2.0",
"@web3-onboard/mew-wallet": "^2.1.1",
"@web3-onboard/okx": "2.0.0",
"@web3-onboard/particle-network": "^2.1.1",
Expand Down
47 changes: 0 additions & 47 deletions docs/src/lib/components/FeaturesSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import FeatureCard from './FeatureCard.svelte'
import FrameworksGraphic from './svg/frameworks-group.svelte'
import NotifyGraphic from './svg/notify-group.svelte'
import NetworksGraphic from './svg/networks-graphic.svg'
import AccountCenterGraphic from './svg/account-center-graphic.svg'
import WalletsGraphic from './svg/wallet-row.svg'
Expand Down Expand Up @@ -89,52 +88,6 @@
style="margin: 0 auto; max-width: none;"
/>
</ScrollContainer>
<Container>
<div class="flexbox">
<div>
<img
src={TransactionPreviewGraphic}
alt="Transaction Preview"
style="margin: 0 auto; max-width: none;"
/>
</div>
<div>
<TextBlock
title={'Transaction Preview'}
subtitle={'Preview transactions to see net-balance changes and gas spent'}
text={'Reduce transaction anxiety by allowing users to easily preview expected net-balance changes for their connected wallets before authorizing transactions.'}
>
<Flexbox --wrap="wrap">
<Button href="/docs/modules/transaction-preview" buttonStyle={'link'}
>{'Learn More'}</Button
>
<Button
href="/docs/modules/transaction-preview#try-transaction-preview"
buttonStyle={'link'}>{'View Demo'}</Button
>
</Flexbox>
<div class="prose">
<slot name="installTp" />
</div>
</TextBlock>
</div>
</div>
</Container>
<Container>
<div class="flexbox">
<TextBlock
title={'Real-time transaction notifications'}
subtitle={''}
text={'Real-time transaction notifications for all connected wallet addresses and all transaction states.'}
>
<Flexbox --wrap="wrap">
<Button href="/docs" buttonStyle={'link'}>{'Learn More'}</Button>
<Button href="/examples/connect-wallet" buttonStyle={'link'}>{'View Demo'}</Button>
</Flexbox>
</TextBlock>
<div><NotifyGraphic /></div>
</div>
</Container>
<Container>
<div class="flexbox">
<div><img src={AccountCenterGraphic} alt="" /></div>
Expand Down
122 changes: 0 additions & 122 deletions docs/src/lib/components/TransactionPreviewButton.svelte

This file was deleted.

1 change: 0 additions & 1 deletion docs/src/lib/components/gas/Gas.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
onMount(() => {
ethMainnetGasBlockPrices = gasModule.stream({
chains: ['0x1'],
apiKey: 'da1b962d-314d-4903-bfe1-426821d14a35',
endpoint: 'blockPrices'
})
gasSub = ethMainnetGasBlockPrices.subscribe(() => {
Expand Down
1 change: 0 additions & 1 deletion docs/src/lib/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './examples'
export * from './gas'
export { default as TransactionPreviewButton } from './TransactionPreviewButton.svelte'
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ Web3 Onboard is the quickest and easiest way to add multi-wallet and multi-chain

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

- **Notify:** Real-time transaction notifications for all transaction states for the connected wallet address(es). In-notification speedups & cancels for hardware wallet connections.

### Natively Supported EVM Chains

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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This change allows us to support many web3 wallets without affecting the overall

### Expansive Initialization Options

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.
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.
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.

```
Expand Down
Loading

0 comments on commit 43a70f2

Please sign in to comment.