You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkout a boilerplate example (here)[https://github.com/blocknative/web3-onboard/tree/develop/examples/with-sveltekit]
1347
1346
1348
-
1349
1347
Add the following dev dependencies:
1350
1348
1351
1349
`yarn add rollup-plugin-polyfill-node -D`
@@ -1442,19 +1440,22 @@ export default config
1442
1440
1443
1441
If an error presents around `window` being undefined remove the `define.global` block.
1444
1442
Add this to your `app.html`
1443
+
1445
1444
```html
1446
1445
<script>
1447
-
varglobal=global||window
1446
+
varglobal=global||window
1448
1447
</script>
1449
1448
```
1450
1449
1451
1450
##### Buffer polyfill
1451
+
1452
1452
It seems some component or dependency requires Node's Buffer. To polyfill this, the simplest way I could find was to install the buffer package and include the following in web3-onboard.ts:
1453
1453
1454
1454
```javascript
1455
1455
import { Buffer } from'buffer'
1456
1456
globalThis.Buffer= Buffer
1457
1457
```
1458
+
1458
1459
See [this github issue](https://github.com/blocknative/web3-onboard/issues/1568#issuecomment-1463963462) for further troubleshooting
1459
1460
1460
1461
### Vite
@@ -1546,13 +1547,13 @@ Checkout a boilerplate example for NextJS v13 (here)[https://github.com/blocknat
1546
1547
1547
1548
Checkout a boilerplate example for NextJS (here)[https://github.com/blocknative/web3-onboard/tree/develop/examples/with-nextjs]
1548
1549
1549
-
1550
1550
## Package Managers
1551
1551
1552
1552
### npm and yarn
1553
1553
1554
1554
Web3-Onboard will work out of the box with `npm` and `yarn` support.
1555
1555
1556
1556
### pnpm
1557
+
1557
1558
We have had issues reported when using `pnpm` as the package manager when working with web3-onboard.
1558
-
As we work to understand this new manager more and the issues around it we recommend using `npm` or `yarn` for now.
1559
+
As we work to understand this new manager more and the issues around it we recommend using `npm` or `yarn` for now.
Copy file name to clipboardExpand all lines: packages/core/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@web3-onboard/core",
3
-
"version": "2.15.6-alpha.3",
3
+
"version": "2.15.6-alpha.4",
4
4
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
Copy file name to clipboardExpand all lines: packages/react/package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@web3-onboard/react",
3
-
"version": "2.6.7-alpha.3",
3
+
"version": "2.6.7-alpha.4",
4
4
"description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
Copy file name to clipboardExpand all lines: packages/vue/package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@web3-onboard/vue",
3
-
"version": "2.5.7-alpha.3",
3
+
"version": "2.5.7-alpha.4",
4
4
"description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
0 commit comments