Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.19.1 (docs) #1498

Merged
merged 18 commits into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ jobs:
working_directory: ~/web3-onboard-monorepo/packages/trezor
steps:
- node-build-steps
build-trust:
docker:
- image: cimg/node:16.13.1
working_directory: ~/web3-onboard-monorepo/packages/trust
steps:
- node-build-steps
build-frontier:
docker:
- image: cimg/node:16.13.1
Expand Down Expand Up @@ -431,6 +437,12 @@ jobs:
working_directory: ~/web3-onboard-monorepo/packages/trezor
steps:
- node-staging-build-steps
build-staging-trust:
docker:
- image: cimg/node:16.13.1
working_directory: ~/web3-onboard-monorepo/packages/trust
steps:
- node-staging-build-steps
build-staging-frontier:
docker:
- image: cimg/node:16.13.1
Expand Down Expand Up @@ -621,6 +633,12 @@ workflows:
<<: *deploy_production_filters
- build-staging-trezor:
<<: *deploy_staging_filters
trust:
jobs:
- build-trust:
<<: *deploy_production_filters
- build-staging-trust:
<<: *deploy_staging_filters
frontier:
jobs:
- build-frontier:
Expand Down
45 changes: 23 additions & 22 deletions .github/ISSUE_TEMPLATE/BUG.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
title: '[Bug]: '
labels: [bug]
assignees:
- taylorjdawson
Expand Down Expand Up @@ -40,27 +40,28 @@ body:
attributes:
label: What package is effected by this issue?
options:
- "@web3-onboard/core"
- "@web3-onboard/common"
- "@web3-onboard/coinbase"
- "@web3-onboard/decent"
- "@web3-onboard/formatic"
- "@web3-onboard/gnosis"
- "@web3-onboard/injected"
- "@web3-onboard/keepkey"
- "@web3-onboard/keystone"
- "@web3-onboard/ledger"
- "@web3-onboard/magic"
- "@web3-onboard/mew"
- "@web3-onboard/portis"
- "@web3-onboard/react"
- "@web3-onboard/torus"
- "@web3-onboard/trezor"
- "@web3-onboard/frontier"
- "@web3-onboard/vue"
- "@web3-onboard/walletconnect"
- "@web3-onboard/walletlink"
- "@web3-onboard/web3auth"
- '@web3-onboard/core'
- '@web3-onboard/common'
- '@web3-onboard/coinbase'
- '@web3-onboard/decent'
- '@web3-onboard/formatic'
- '@web3-onboard/gnosis'
- '@web3-onboard/injected'
- '@web3-onboard/keepkey'
- '@web3-onboard/keystone'
- '@web3-onboard/ledger'
- '@web3-onboard/magic'
- '@web3-onboard/mew'
- '@web3-onboard/portis'
- '@web3-onboard/react'
- '@web3-onboard/torus'
- '@web3-onboard/trezor'
- '@web3-onboard/trust'
- '@web3-onboard/frontier'
- '@web3-onboard/vue'
- '@web3-onboard/walletconnect'
- '@web3-onboard/walletlink'
- '@web3-onboard/web3auth'
- bnc-onboard (v1)
validations:
required: true
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ For full documentation, check out the README.md for each package or the [docs pa
**SDK Wallets**

- [Coinbase](packages/coinbase/README.md)
- [Trust](packages/trust/README.md)
- [WalletConnect](packages/walletconnect/README.md)
- [Gnosis](packages/gnosis/README.md)
- [Magic](packages/magic/README.md)
Expand Down
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@web3-onboard/fortmatic": "^2.0.14",
"@web3-onboard/gas": "^2.1.4",
"@web3-onboard/gnosis": "^2.1.6",
"@web3-onboard/injected-wallets": "^2.6.1",
"@web3-onboard/injected-wallets": "^2.6.2",
"@web3-onboard/keepkey": "^2.3.3",
"@web3-onboard/keystone": "^2.3.3",
"@web3-onboard/ledger": "^2.4.2",
Expand All @@ -72,6 +72,7 @@
"@web3-onboard/tallyho": "^2.0.1",
"@web3-onboard/torus": "^2.2.0",
"@web3-onboard/trezor": "^2.3.3",
"@web3-onboard/trust": "^2.0.0",
"@web3-onboard/uauth": "^2.0.1",
"@web3-onboard/walletconnect": "^2.2.1",
"@web3-onboard/web3auth": "^2.1.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

## Step 1: Import + Configure

Import the libraries and any wallets you would like to use. For this example, we are going to use the injected wallets module. You can easily add more wallet support to your dapp via our other wallet modules. Additionally, we'll setup web3-onboard to support 2 chains: Ethereum mainnet and Polygon mainnet.
Expand All @@ -22,6 +21,7 @@ import web3authModule from '@web3-onboard/web3auth'
import dcentModule from '@web3-onboard/dcent'
import sequenceModule from '@web3-onboard/sequence'
import tallyHoModule from '@web3-onboard/tallyho'
import trustModule from '@web3-onboard/trust'
import frontierModule from '@web3-onboard/frontier'

const INFURA_KEY = ''
Expand All @@ -45,6 +45,7 @@ const keepkey = keepkeyModule()
const gnosis = gnosisModule()
const sequence = sequenceModule()
const tally = tallyModule()
const trust = trustModule()
const frontier = frontierModule()

const trezorOptions = {
Expand All @@ -65,6 +66,7 @@ const wallets = [
keepkey,
sequence,
injected,
trust,
frontier,
tally,
ledger,
Expand Down Expand Up @@ -233,4 +235,3 @@ export default function ConnectWallet() {
)
}
```

Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import web3authModule from '@web3-onboard/web3auth'
import dcentModule from '@web3-onboard/dcent'
import sequenceModule from '@web3-onboard/sequence'
import tallyHoModule from '@web3-onboard/tallyho'
import trustModule from '@web3-onboard/trust'
import frontierModule from '@web3-onboard/frontier'

const INFURA_KEY = ''
Expand All @@ -44,6 +45,7 @@ const keepkey = keepkeyModule()
const gnosis = gnosisModule()
const sequence = sequenceModule()
const tally = tallyModule()
const trust = trustModule()
const frontier = frontierModule()

const trezorOptions = {
Expand All @@ -68,6 +70,7 @@ const wallets = [
ledger,
coinbase,
dcent,
trust,
frontier,
trezor,
walletConnect,
Expand Down
4 changes: 4 additions & 0 deletions docs/src/lib/services/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const intiOnboard = async (theme) => {
const { default: torusModule } = await import('@web3-onboard/torus')
const { default: web3authModule } = await import('@web3-onboard/web3auth')
const { default: uauthModule } = await import('@web3-onboard/uauth')
const { default: trustModule } = await import('@web3-onboard/trust')
const INFURA_ID = '8b60d52405694345a99bcb82e722e0af'

const injected = injectedModule()
Expand All @@ -65,6 +66,7 @@ const intiOnboard = async (theme) => {
const mewWallet = mewWalletModule()
const tally = tallyModule()
const torus = torusModule()
const trust = trustModule()

const portis = portisModule({
apiKey: 'b2b7586f-2b1e-4c30-a7fb-c2d1533b153b'
Expand All @@ -91,6 +93,7 @@ const intiOnboard = async (theme) => {
scope: 'openid wallet email:optional humanity_check:optional profile:optional social:optional'
}
const uauth = uauthModule(uauthOptions)

const magic = magicModule({
apiKey: 'pk_live_02207D744E81C2BA'
})
Expand All @@ -102,6 +105,7 @@ const intiOnboard = async (theme) => {
coinbase,
ledger,
trezor,
trust,
gnosis,
uauth,
tally,
Expand Down
3 changes: 3 additions & 0 deletions docs/src/routes/docs/[...4]wallets/injected.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@ const injected = injectedModule({
- Binance - _Desktop_
- Coinbase - _Desktop & Mobile_
- Phantom - _Desktop & Mobile_
- SafePal - _Desktop & Mobile_
- Zerion - _Desktop & Mobile_
- OKX Wallet - _Desktop_
- Tally - _Desktop_
- Trust - _Mobile_
- Opera - _Desktop & Mobile_
Expand Down Expand Up @@ -307,6 +309,7 @@ const injected = injectedModule({
- Zeal - _Desktop_
- Exodus - _Desktop & Mobile_
- Frontier - _Desktop & Mobile_
- Rainbow - _Desktop & Mobile_

## Build Environments

Expand Down
6 changes: 3 additions & 3 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4328,9 +4328,9 @@ console-control-strings@^1.0.0, console-control-strings@^1.1.0:
integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==

cookiejar@^2.1.1:
version "2.1.3"
resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.3.tgz#fc7a6216e408e74414b90230050842dacda75acc"
integrity sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==
version "2.1.4"
resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.4.tgz#ee669c1fea2cf42dc31585469d193fef0d65771b"
integrity sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==

copy-to-clipboard@^3.3.1:
version "3.3.3"
Expand Down
48 changes: 30 additions & 18 deletions examples/with-nextjs-13/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@
"@ethersproject/properties" "^5.5.0"
"@ethersproject/strings" "^5.5.0"

"@ethersproject/[email protected]", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0":
"@ethersproject/[email protected]", "@ethersproject/abi@^5.0.1", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449"
integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==
Expand Down Expand Up @@ -1907,6 +1907,17 @@
dependencies:
"@types/node" "*"

"@unstoppabledomains/resolution@^8.0":
version "8.4.0"
resolved "https://registry.yarnpkg.com/@unstoppabledomains/resolution/-/resolution-8.4.0.tgz#bcfba87898c5acd65bf15556a9737728daad7a89"
integrity sha512-bjJPF5YGwyd3p3pJuWOiz5YegVsmKDiwjJNWxhibnVYgzIWhaTt8dv6runxLTs761Rlwz37TLQvvBqJ8/KnzvA==
dependencies:
"@ethersproject/abi" "^5.0.1"
bn.js "^4.4.0"
cross-fetch "^3.1.4"
crypto-js "^4.1.1"
elliptic "^6.5.4"

"@walletconnect/browser-utils@^1.8.0":
version "1.8.0"
resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951"
Expand Down Expand Up @@ -2086,11 +2097,12 @@
ethers "5.5.4"
joi "^17.6.1"

"@web3-onboard/core@^2.10.1":
version "2.11.0"
resolved "https://registry.npmjs.org/@web3-onboard/core/-/core-2.11.0.tgz#267db444fa39cc9059850bc462286646f4531ed0"
integrity sha512-bNQEVgZKiKiddI/+wDS4KzmNUsqAiNL9xpPyBWSjtGC7/S/N9602quqDQzQxle8ZC/BnrQhaIpNexHvydaVaEQ==
"@web3-onboard/core@^2.14.0":
version "2.14.0"
resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.14.0.tgz#0c52fa9dfb126f26107ba9b71fc4eb5c24522b46"
integrity sha512-/n/l7L163gzGc8+OrjO3uy5RKG7jmrapSO1a/k8qT7uIIsYsYl+BsMXinQezZwlWqv2aaB8WIQHOy/pfepFj3Q==
dependencies:
"@unstoppabledomains/resolution" "^8.0"
"@web3-onboard/common" "^2.2.3"
bignumber.js "^9.0.0"
bnc-sdk "^4.6.2"
Expand Down Expand Up @@ -2144,10 +2156,10 @@
joi "^17.6.1"
rxjs "^7.5.2"

"@web3-onboard/injected-wallets@^2.2.4":
version "2.4.0"
resolved "https://registry.npmjs.org/@web3-onboard/injected-wallets/-/injected-wallets-2.4.0.tgz#84e48830605f899601aadc3bc7c79d1ed5787534"
integrity sha512-v27NdfD5vemPTNhqk+7gpMYXuTDsHTSPWWdJt6ybJoks6GlRSgF1fnCkmERNzo3+9S97fEKrzHrlSkpsFgn2Mw==
"@web3-onboard/injected-wallets@^2.6.1":
version "2.6.1"
resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.6.1.tgz#ca926e669593d32a68385c4e77ca3534b1d632e3"
integrity sha512-GuK0nr7eS3VIJNCOkdZrmhnoH0YiUrIopRFPFJENBH3HwRa6Wscl2ZkPdgq1kv9f1/4fKpXSmrAYqjteZGhHWg==
dependencies:
"@web3-onboard/common" "^2.2.3"
joi "^17.6.1"
Expand Down Expand Up @@ -2218,13 +2230,13 @@
"@portis/web3" "^4.0.6"
"@web3-onboard/common" "^2.2.3"

"@web3-onboard/react@^2.3.5":
version "2.4.1"
resolved "https://registry.npmjs.org/@web3-onboard/react/-/react-2.4.1.tgz#6580c208ee4dec30238867607dbf604495091846"
integrity sha512-Qvpb5ezvwBVPhwIHVhW65jG+WIlNHM6O1jgLdNWvP9a0kSkmdfHyNP+gb4yjZ9w23xc+keIK21UVfQk2tBw0MA==
"@web3-onboard/react@^2.6.0":
version "2.6.0"
resolved "https://registry.yarnpkg.com/@web3-onboard/react/-/react-2.6.0.tgz#0587cc0e6a5e312bdcaed260714014f25c8ae4e4"
integrity sha512-wlWzJoKrYCX0kFIN9/v4HZqhb4neTnOIY69ZMdgnZiGAVe2Z7vJPMpGegRJZ8u52/NnvhvIBpI2pOqwB8T7aIw==
dependencies:
"@web3-onboard/common" "^2.2.3"
"@web3-onboard/core" "^2.10.1"
"@web3-onboard/core" "^2.14.0"
use-sync-external-store "1.0.0"

"@web3-onboard/sequence@^2.0.3":
Expand Down Expand Up @@ -2613,7 +2625,7 @@ [email protected]:
resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==

bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.6, bn.js@^4.11.8, bn.js@^4.11.9:
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.6, bn.js@^4.11.8, bn.js@^4.11.9, bn.js@^4.4.0:
version "4.12.0"
resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"
integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==
Expand Down Expand Up @@ -2947,9 +2959,9 @@ commander@^2.20.3:
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==

cookiejar@^2.1.1:
version "2.1.3"
resolved "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz#fc7a6216e408e74414b90230050842dacda75acc"
integrity sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==
version "2.1.4"
resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.4.tgz#ee669c1fea2cf42dc31585469d193fef0d65771b"
integrity sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==

copy-to-clipboard@^3.3.1:
version "3.3.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@web3-onboard/dcent": "^2.2.1",
"@web3-onboard/fortmatic": "^2.0.14",
"@web3-onboard/gnosis": "^2.1.5",
"@web3-onboard/injected-wallets": "^2.6.1-alpha.1",
"@web3-onboard/injected-wallets": "^2.6.2",
"@web3-onboard/keepkey": "^2.3.1",
"@web3-onboard/keystone": "^2.3.1",
"@web3-onboard/ledger": "^2.3.1",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-vite-react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4040,9 +4040,9 @@ [email protected]:
integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==

cookiejar@^2.1.1:
version "2.1.3"
resolved "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz#fc7a6216e408e74414b90230050842dacda75acc"
integrity sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==
version "2.1.4"
resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.4.tgz#ee669c1fea2cf42dc31585469d193fef0d65771b"
integrity sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==

copy-to-clipboard@^3.3.1:
version "3.3.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vuejs-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"serve": "vite preview"
},
"dependencies": {
"@web3-onboard/injected-wallets": "^2.6.1-alpha.1",
"@web3-onboard/injected-wallets": "^2.6.2",
"@web3-onboard/vue": "^2.3.1",
"vue": "^2.6.12",
"vue-template-compiler": "^2.7.10"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vuejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
},
"dependencies": {
"@web3-onboard/injected-wallets": "^2.6.1-alpha.1",
"@web3-onboard/injected-wallets": "^2.6.2",
"@web3-onboard/vue": "^2.3.1",
"pinia": "^2.0.16",
"vue": "^3.2.37",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-onboard-monorepo",
"version": "2.19.0",
"version": "2.19.1",
"private": true,
"workspaces": {
"packages": [
Expand Down
Loading