Skip to content

Commit fd40373

Browse files
authored
Merge branch 'develop' into dependabot/npm_and_yarn/express-4.19.2
2 parents 27739be + 1566599 commit fd40373

File tree

78 files changed

+1788
-1867
lines changed

Some content is hidden

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

78 files changed

+1788
-1867
lines changed

.circleci/config.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ jobs:
438438
- node-build-steps
439439
build-capsule:
440440
docker:
441-
- image: cimg/node:16.14.2
441+
- image: cimg/node:18.18.2
442442
working_directory: ~/web3-onboard-monorepo/packages/capsule
443443
steps:
444444
- node-build-steps
@@ -448,6 +448,12 @@ jobs:
448448
working_directory: ~/web3-onboard-monorepo/packages/particle-network
449449
steps:
450450
- node-build-steps
451+
build-passport:
452+
docker:
453+
- image: cimg/node:18.0.0
454+
working_directory: ~/web3-onboard-monorepo/packages/passport
455+
steps:
456+
- node-build-steps
451457

452458
# Build staging/Alpha releases
453459
build-staging-core:
@@ -722,7 +728,7 @@ jobs:
722728
- node-staging-build-steps
723729
build-staging-capsule:
724730
docker:
725-
- image: cimg/node:16.14.2
731+
- image: cimg/node:18.18.2
726732
working_directory: ~/web3-onboard-monorepo/packages/capsule
727733
steps:
728734
- node-staging-build-steps
@@ -732,6 +738,12 @@ jobs:
732738
working_directory: ~/web3-onboard-monorepo/packages/particle-network
733739
steps:
734740
- node-staging-build-steps
741+
build-staging-passport:
742+
docker:
743+
- image: cimg/node:18.0.0
744+
working_directory: ~/web3-onboard-monorepo/packages/passport
745+
steps:
746+
- node-staging-build-steps
735747

736748
workflows:
737749
version: 2
@@ -1018,3 +1030,9 @@ workflows:
10181030
<<: *deploy_production_filters
10191031
- build-staging-particle:
10201032
<<: *deploy_staging_filters
1033+
passport:
1034+
jobs:
1035+
- build-passport:
1036+
<<: *deploy_production_filters
1037+
- build-staging-passport:
1038+
<<: *deploy_staging_filters

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@web3-onboard/arcana-auth": "^2.0.0",
5656
"@web3-onboard/bitget": "^2.0.0",
5757
"@web3-onboard/blocto": "^2.0.0",
58-
"@web3-onboard/capsule": "^2.0.1",
58+
"@web3-onboard/capsule": "^2.0.3-alpha.2",
5959
"@web3-onboard/cede-store": "^2.2.0",
6060
"@web3-onboard/coinbase": "^2.2.7",
6161
"@web3-onboard/core": "^2.21.6",
@@ -67,12 +67,12 @@
6767
"@web3-onboard/gas": "^2.1.8",
6868
"@web3-onboard/gnosis": "^2.2.2",
6969
"@web3-onboard/infinity-wallet": "^2.0.4",
70-
"@web3-onboard/injected-wallets": "^2.10.16",
70+
"@web3-onboard/injected-wallets": "^2.10.17-alpha.1",
7171
"@web3-onboard/keepkey": "^2.3.7",
7272
"@web3-onboard/keystone": "^2.3.7",
7373
"@web3-onboard/ledger": "^2.6.0",
7474
"@web3-onboard/magic": "^2.1.7",
75-
"@web3-onboard/metamask": "^2.0.5",
75+
"@web3-onboard/metamask": "^2.0.7-alpha.1",
7676
"@web3-onboard/mew-wallet": "^2.0.4",
7777
"@web3-onboard/phantom": "^2.0.3",
7878
"@web3-onboard/portis": "^2.1.7",

docs/src/lib/components/FeaturesSection.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
/>
4949
<FeatureCard
5050
title={'Dynamic Imports'}
51-
text={"Supporting multiple wallets in your app requires a lot of dependencies. Onboard dynamically imports a wallet and it's dependencies only when the user selects it, so that minimal bandwidth is used."}
51+
text={"Supporting multiple wallets in your app requires a lot of dependencies. Web3 Onboard dynamically imports a wallet and it's dependencies only when the user selects it, so that minimal bandwidth is used."}
5252
/>
5353
<FeatureCard
5454
title={'Wallet Provider Standardization'}
55-
text={'All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085 and EIP-3326 specifications.'}
55+
text={'All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085, EIP-3326, and EIP-6963 specifications.'}
5656
/>
5757
<FeatureCard
5858
title={'Multiple Chain Support'}

docs/src/lib/components/SEO/Twitter.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</script>
77

88
<svelte:head>
9-
<meta property="twitter:card" content="summary_large_image" />
10-
<meta property="twitter:title" content={pageTitle} />
11-
<meta property="twitter:description" content={metadescription} />
12-
<meta property="twitter:url" content={url} />
9+
<meta name="twitter:card" content="summary_large_image" />
10+
<meta name="twitter:title" content={pageTitle} />
11+
<meta name="twitter:description" content={metadescription} />
12+
<meta name="twitter:url" content={url} />
1313
{#if image}
1414
<meta name="twitter:image" content={image.url} />
1515
<meta name="twitter:image:alt" content={image.alt} />

docs/src/lib/components/SEO/index.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<script>
22
import OpenGraph from './OpenGraph.svelte'
33
import Twitter from './Twitter.svelte'
4-
import MetaImage from '$lib/assets/blocknative-onboard-og-image.png'
54
65
export let metadescription
76
export let title
87
export let url
98
109
export let image = {
11-
url: MetaImage,
10+
url: 'https://onboard.blocknative.com/blocknative-onboard-og-image.png',
1211
alt: 'Web3-Onboard Connect Wallet Button'
1312
}
1413

docs/src/lib/services/onboard.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ const intiOnboard = async (theme) => {
142142
appId: 'b1f0239a-edb0-41f9-b0f5-ab780bb02a9e'
143143
})
144144

145+
145146
return Onboard({
146147
connect: { autoConnectAllPreviousWallet: true },
147148
wallets: [
@@ -173,7 +174,7 @@ const intiOnboard = async (theme) => {
173174
infinityWallet,
174175
blocto,
175176
capsule,
176-
particle
177+
particle,
177178
// capsule
178179

179180
// venly

docs/src/routes/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ yarn add @web3-onboard/core @web3-onboard/injected-wallets @web3-onboard/transac
9090

9191
## Installation
9292

93-
Install the core Onboard library and the injected wallets module to support browser extension and mobile wallets:
93+
Install the core Web3 Onboard library and the injected wallets module to support browser extension and mobile wallets:
9494

9595
```bash copy
9696
npm i @web3-onboard/core @web3-onboard/injected-wallets

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

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The best way to connect a wallet 🚀
1212

1313
<img src="{walletModal}" alt="Web3-Onboard connect wallet modal"/>
1414

15-
Web3-Onboard is the quickest and easiest way to add multi-wallet and multi-chain support to your project. With built-in modules for more than 35 unique hardware and software wallets, Web3-Onboard saves you time and headaches.
15+
Web3 Onboard is the quickest and easiest way to add multi-wallet and multi-chain support to your project. With built-in modules for more than 80 unique hardware and software wallets, Web3 Onboard saves you time and headaches.
1616

1717
## Features
1818

@@ -24,17 +24,17 @@ Web3-Onboard is the quickest and easiest way to add multi-wallet and multi-chain
2424

2525
- **Themable:** Powerful customization options for all your needs. Style Web3 Onboard to fit into your existing designs, or pick from our pre-made themes.
2626

27-
- **Unified Provider Interface:** All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085 and EIP-3326 specifications. Whether your user is using Ledger or Metamask the provider will operate identically.
27+
- **Unified Provider Interface:** All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085, EIP-3326, and EIP-6963 specifications. Whether your user is using Ledger or Metamask, the provider will operate identically.
2828

29-
- **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.
29+
- **Dynamic Imports:** Supporting multiple wallets in your app requires a lot of dependencies. Web3 Onboard dynamically imports a wallet and its dependencies only when the user selects it, so that minimal bandwidth is used.
3030

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

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

3535
### Natively Supported EVM Chains
3636

37-
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).
37+
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).
3838

3939
- Ethereum
4040
- Arbitrum One
@@ -52,13 +52,14 @@ web3-onboard supports ALL EVM networks. Supporting a new network is simply a mat
5252
- Moonriver
5353
- Sepolia
5454
- Base Goerli
55+
- Degen
5556
- All other EVM networks
5657

57-
### Optional - Use an API key to fetch real time transaction data, balances & gas
58+
### Optional - Use an API key to fetch real-time transaction data, balances & gas
5859

59-
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.
60+
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.
6061

61-
This step is not required to use web3-onboard. You can skip to the [**Quickstart**](/docs/overview/introduction#quickstart) step below if you want to use web3-onboard without API services or if you already have a Blocknative account & API key.
62+
This step is not required to use Web3 Onboard. You can skip to the [**Quickstart**](/docs/overview/introduction#quickstart) step below if you want to use Web3 Onboard without API services or if you already have a Blocknative account & API key.
6263

6364
**Setup your Account**
6465
Go to the Account Dashboard at [https://explorer.blocknative.com/account](https://explorer.blocknative.com/account) and setup an account with an email address. You will receive an email to confirm your account.
@@ -68,7 +69,7 @@ On the Account Dashboard at [https://explorer.blocknative.com/account](https://e
6869

6970
## Quickstart
7071

71-
Install the core Onboard library, the injected wallets module and optionally ethers.js to support browser extension and mobile wallets:
72+
Install the core web3-onboard library, the injected wallets module, and optionally ethers.js to support browser extension and mobile wallets:
7273

7374
<Tabs values={['npm', 'yarn']}>
7475
<TabPanel value="yarn">
@@ -87,7 +88,7 @@ npm i @web3-onboard/core @web3-onboard/injected-wallets ethers
8788
</TabPanel>
8889
</Tabs>
8990

90-
You can find a link to web3-onboard's official NPM Documentation here: [@web3-onboard/core Official NPM Documentation](https://www.npmjs.com/package/@web3-onboard/core)
91+
You can find a link to Web3 Onboard's official NPM Documentation here: [@web3-onboard/core Official NPM Documentation](https://www.npmjs.com/package/@web3-onboard/core)
9192

9293
Then initialize in your app:
9394

@@ -171,9 +172,9 @@ if (wallets[0]) {
171172

172173
## Wallet Modules
173174

174-
Add other wallet modules such as Wallet Connect or Ledger to increase the support and functionality of your web3-onboard implementation. All modules can be accessed through the subpages of web3-onboard docs on the left.
175+
Add other wallet modules such as Wallet Connect or Ledger to increase the support and functionality of your Web3 Onboard implementation. All modules can be accessed through the subpages of Web3 Onboard docs on the left.
175176

176-
We recommend you add the [Core Repo](../../modules/core.md#install) and consider adding the [Injected Wallets](../../wallets/injected.md#install) module to get connected with wallets like Metamask, Trust, Coinbase Wallet & more right away.
177+
We recommend you add the [Core Repo](../../modules/core.md#install) and consider adding the [Injected Wallets](../../wallets/injected.md#install) module to get connected with wallets like Metamask, Trust, Coinbase Wallet, and more right away.
177178

178179
[**Core Repo**](../../modules/core.md#install)
179180

@@ -211,7 +212,7 @@ We recommend you add the [Core Repo](../../modules/core.md#install) and consider
211212

212213
## Test out the demo app
213214

214-
Test out the current functionality of web3-onboard in a small browser demo:
215+
Test out the current functionality of Web3 Onboard in a small browser demo:
215216

216217
- Clone the repo: `git clone git@github.com:blocknative/web3-onboard.git`
217218
- Change it to the onboard directory: `cd web3-onboard`
@@ -224,10 +225,10 @@ Test out the current functionality of web3-onboard in a small browser demo:
224225

225226
Checkout our live demo using React at [https://reactdemo.blocknative.com/](https://reactdemo.blocknative.com/)
226227

227-
The demo is open source so you can see a sample implementation of web3-onboard: [https://github.com/blocknative/react-demo](https://github.com/blocknative/react-demo)
228+
The demo is open source so you can see a sample implementation of Web3 Onboard: [https://github.com/blocknative/react-demo](https://github.com/blocknative/react-demo)
228229

229230
## More Examples
230231

231-
You can find starter examples from the web3 community here using web3-onboard:
232+
You can find starter examples from the web3 community here using Web3 Onboard:
232233

233234
- [eth-scaffold](https://github.com/scaffold-eth/scaffold-eth-examples/tree/bnc-onboard)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Example 2 : Bug fix within the `core` package -
4141

4242
## How can I add a new wallet? 💳
4343

44-
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.
44+
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 Web3 Onboard 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 developers looking to implement your wallet.
4545

4646
Please also include updates to documentation in your PR. Refer to the [docs contributions section](#documentation-contributions-📄) and the PR template docs checklist.
4747

@@ -69,7 +69,7 @@ PRs for adding/updating a wallet should include a README (new or updated) for th
6969

7070
[See here for an example of a docs pull request.](https://github.com/blocknative/web3-onboard/pull/1544/files)
7171

72-
We highly encourage the community to help us improve the web3-onboard docs! If you have any questions don't hesitate to reach out.
72+
We highly encourage the community to help us improve the Web3 Onboard docs! If you have any questions don't hesitate to [reach out](https://discord.com/invite/KZaBVME).
7373

7474
## Feedback 💬
7575

0 commit comments

Comments
 (0)