Skip to content

Commit d2116a9

Browse files
committed
Merge branch 'v2-web3-onboard-develop' into release/2.19.0
2 parents 2ffeb74 + fbf529c commit d2116a9

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Web3-Onboard is the quickest and easiest way to add multi-wallet and multi-chain
2323
- **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.
2424

2525
- **Dynamic Imports:** Supporting multiple wallets in your app requires a lot of dependencies. Onboard dynamically imports a wallet
26-
and it's dependencies only when the user selects it, so that minimal bandwidth is used.
26+
and its dependencies only when the user selects it, so that minimal bandwidth is used.
2727

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ We've also added more expansive custom CSS properties so you can style every par
7171

7272
```
7373
:root {
74-
/* CUSTOMIZE THE COLOR PALLETTE */
74+
/* CUSTOMIZE THE COLOR PALETTE */
7575
--onboard-success-100: #d1fae3;
7676
/* CUSTOMIZE ACCOUNT CENTER*/
7777
--account-center-z-index: 30
@@ -89,7 +89,7 @@ We've also added more expansive custom CSS properties so you can style every par
8989
}
9090
```
9191

92-
The full list of CSS variables for web3-onboard are available [here](/docs/modules/core#custom-styling).
92+
The full list of CSS variables for web3-onboard is available [here](/docs/modules/core#custom-styling).
9393

9494
### Other Important Changes
9595

docs/src/routes/docs/[...2]getting-started/[...2]customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The Onboard styles can customized via [CSS custom properties](https://developer.
1616

1717
```css
1818
:root {
19-
/* CUSTOMIZE THE COLOR PALLETTE */
19+
/* CUSTOMIZE THE COLOR PALETTE */
2020
--onboard-white: white;
2121
--onboard-black: black;
2222
--onboard-primary-1: #2f80ed;

docs/src/routes/docs/[...3]modules/core.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ type AppMetadata = {
141141
}
142142

143143
type TermsOfServiceAgreementOptions = {
144-
// user aggrees with exact version of terms and privacy policy
144+
// user agrees with exact version of terms and privacy policy
145145
version: string
146146
// url that points to the Terms & Conditions of the dapp
147147
termsUrl?: string
@@ -171,7 +171,7 @@ type ConnectModalOptions = {
171171
```
172172
173173
**`i18n`**
174-
An object that defines the display text for different locales. Can also be used to override the default text. To override the default text, pass in a object for the `en` locale.
174+
An object that defines the display text for different locales. Can also be used to override the default text. To override the default text, pass in an object for the `en` locale.
175175
176176
```typescript
177177
type Locale = string // eg 'en', 'es'
@@ -212,7 +212,7 @@ It will allow you to customize the look and feel of web3-onboard, try different
212212
:::
213213
214214
**`accountCenter`**
215-
An object that defines whether the account center UI (default and minimal) is enabled and it's position on the screen. Currently the account center is enabled for both desktop and mobile devices.
215+
An object that defines whether the account center UI (default and minimal) is enabled and its position on the screen. Currently the account center is enabled for both desktop and mobile devices.
216216
217217
```ts
218218
export type AccountCenter = {
@@ -251,7 +251,7 @@ type ContainerElements = {
251251
```
252252
253253
**`notify`**
254-
Notify provides by default transaction notifications for all connected wallets on the current blockchain. When switching chains the previous chain listeners remain active for 60 seconds to allow capture and report of an remaining transactions that may be in flight.
254+
Notify provides by default transaction notifications for all connected wallets on the current blockchain. When switching chains the previous chain listeners remain active for 60 seconds to allow capture and report of remaining transactions that may be in flight.
255255
By default transaction notifications are captured if a DAppID is provided in the Onboard config along with the Account Center being enabled.
256256
An object that defines whether transaction notifications will display (defaults to true if an API key is provided). This object contains an `enabled` flag prop and an optional `transactionHandler` which is a callback that can disable or allow customizations of notifications.
257257
Currently notifications are positioned in the same location as the account center (either below, if the Account Center is positioned along the top, or above if positioned on the bottom of the view).
@@ -754,7 +754,7 @@ setTimeout(
754754
```
755755

756756
**`preflightNotifications`**
757-
Notify can be used to deliver standard notifications along with preflight information by passing a `PreflightNotificationsOptions` object to the `preflightNotifications` action. This will return a a promise that resolves to the transaction hash (if `sendTransaction` resolves the transaction hash and is successful), the internal notification id (if no `sendTransaction` function is provided) or return nothing if an error occurs or `sendTransaction` is not provided or doesn't resolve to a string.
757+
Notify can be used to deliver standard notifications along with preflight information by passing a `PreflightNotificationsOptions` object to the `preflightNotifications` action. This will return a promise that resolves to the transaction hash (if `sendTransaction` resolves the transaction hash and is successful), the internal notification id (if no `sendTransaction` function is provided) or return nothing if an error occurs or `sendTransaction` is not provided or doesn't resolve to a string.
758758

759759
Preflight event types include
760760

@@ -852,11 +852,11 @@ The `setChain` methods takes an options object with a `chainId` property hex enc
852852

853853
## Custom Styling
854854

855-
The Onboard styles can customized via [CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties). The following properties and their default properties can be customized by adding these variables to the `:root` in your CSS file:
855+
The Onboard styles can be customized via [CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties). The following properties and their default properties can be customized by adding these variables to the `:root` in your CSS file:
856856

857857
```css
858858
:root {
859-
/* CUSTOMIZE THE COLOR PALLETTE */
859+
/* CUSTOMIZE THE COLOR PALETTE */
860860
--onboard-white: white;
861861
--onboard-black: black;
862862
--onboard-primary-1: #2f80ed;
@@ -1057,7 +1057,7 @@ The Onboard styles can customized via [CSS variables](https://developer.mozilla.
10571057

10581058
## Build Environments
10591059

1060-
Many of the wallet modules require dependencies that are not normally included in browser builds (namely the node builtin modules such as `crypto`, `buffer`, `util` etc). If you are having build issues you can try the following bundler configs to resolve these dependency issues:
1060+
Many of the wallet modules require dependencies that are not normally included in browser builds (namely the node built-in modules such as `crypto`, `buffer`, `util` etc). If you are having build issues you can try the following bundler configs to resolve these dependency issues:
10611061

10621062
### Webpack 4
10631063

@@ -1138,7 +1138,7 @@ module.exports = {
11381138

11391139
#### If using create-react-app
11401140

1141-
[CRACO](https://www.npmjs.com/package/@craco/craco) provides an similar way to override webpack config which is obfuscated in Create React App built applications.
1141+
[CRACO](https://www.npmjs.com/package/@craco/craco) provides a similar way to override webpack config which is obfuscated in Create React App built applications.
11421142

11431143
The above webpack 5 example can be used in the `craco.config.js` file at the root level in this case.
11441144

docs/src/routes/docs/[...3]modules/react.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# React
22

3-
A collection of React hooks for implementing web3-onboard in to a React project
3+
A collection of React hooks for implementing web3-onboard into a React project
44

55
## Quickstart with Injected Wallets and Ethers Provider
66

@@ -395,7 +395,7 @@ updateLocale('es')
395395

396396
## Build Environments
397397

398-
Many of the wallet modules require dependencies that are not normally included in browser builds (namely the node builtin modules such as `crypto`, `buffer`, `util` etc). If you are having build issues you can try the following bundler configs to resolve these dependency issues:
398+
Many of the wallet modules require dependencies that are not normally included in browser builds (namely the node built-in modules such as `crypto`, `buffer`, `util` etc). If you are having build issues you can try the following bundler configs to resolve these dependency issues:
399399

400400
### Webpack 4
401401

@@ -476,7 +476,7 @@ module.exports = {
476476

477477
#### If using create-react-app
478478

479-
[CRACO](https://www.npmjs.com/package/@craco/craco) provides an similar way to override webpack config which is obfuscated in Create React App built applications.
479+
[CRACO](https://www.npmjs.com/package/@craco/craco) provides a similar way to override webpack config which is obfuscated in Create React App built applications.
480480

481481
The above webpack 5 example can be used in the `craco.config.js` file at the root level in this case.
482482

@@ -582,4 +582,4 @@ export default {
582582
}
583583
}
584584
}
585-
```
585+
```

0 commit comments

Comments
 (0)