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.25.0 (docs) #2103

Merged
merged 55 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
80569eb
Merge pull request #2031 from blocknative/release/2.24.18
Adamj1232 Dec 19, 2023
b8463b2
Merge pull request #2030 from blocknative/release/2.24.18
Adamj1232 Dec 19, 2023
360b2c8
Remove gamestop wallet support as wallet has been deprecated (#2037)
Adamj1232 Jan 3, 2024
e48b4d7
Update WC imports, bump WC package version, bump WC dep version (#2036)
Adamj1232 Jan 3, 2024
844616b
Fix the Safe connector options and add Blockscout to the list of allo…
maxaleks Jan 10, 2024
ba7e8e3
Release 2.24.19 (#2043)
Adamj1232 Jan 11, 2024
836d4b1
[FIX] - Update node version required for Walletconnect package (#2045)
Adamj1232 Jan 11, 2024
7920ac8
Updated config.yml
Adamj1232 Jan 11, 2024
2cb0bd5
Updated config.yml
Adamj1232 Jan 11, 2024
3f391ce
Release 2.24.19 (develop) (#2042)
Adamj1232 Jan 11, 2024
9c874ee
load ledger connect kit via package instead of loader (#2061)
Wozacosta Feb 2, 2024
e71f3ee
Bump ledger module node version for build to 16.14.2 (#2062)
Adamj1232 Feb 2, 2024
424a338
Ledger - [FIX] : Bump ledger module node version for build to 18.0.0 …
Adamj1232 Feb 2, 2024
df16fc4
Add Lif3 Wallet Support (#2058)
keanlaurens Feb 5, 2024
2e51cfe
Adds Particle Network (Wallet-as-a-Service) (#1962)
TABASCOatw Feb 20, 2024
5342079
add particle to config.yml, reorder docs tabs, add particle to docs o…
leightkt Feb 20, 2024
5b52b93
Add capsule to docs wallet options (#2070)
Adamj1232 Feb 21, 2024
ca2b510
Fix the connect modal getting covered by the bottom bar (#2057)
mhughdo Mar 4, 2024
3a128a4
feat: rabby support mobile (#2079)
dmy147 Mar 11, 2024
4c3ddd1
FEAT - Add 6963 support to injected wallets module (#2076)
Adamj1232 Mar 11, 2024
93269d7
feat: update blocto version (#2082)
sanyu1225 Mar 11, 2024
8a5dbc8
fix: use css vars for font size (wallet button) (#2072)
ryanpwaldon Mar 12, 2024
3234d99
Update: WalletConnet deps to latest (#2083)
Adamj1232 Mar 14, 2024
c696edd
Fix the demo (#2086)
Adamj1232 Mar 14, 2024
e0d63e7
Update coinbase wallet dependencies, add new init props to contructor…
Adamj1232 Mar 19, 2024
7045b26
Bump packages that require common, fix inter url (#2092)
Adamj1232 Mar 20, 2024
4cb2bb8
Update Trezor & Keepkey build node v to 18 (#2098)
Adamj1232 Mar 20, 2024
1c019b5
[FIX] - Keepkey build Node version to 16.20.2 (#2099)
Adamj1232 Mar 20, 2024
66459ea
Bump MetaMask module sdk deps (#2087)
Adamj1232 Mar 20, 2024
b1485df
Update node version for metamask within CCI to 18.19.1 (#2100)
Adamj1232 Mar 20, 2024
9dd3a56
Bump versions for release and Remove console.log
Adamj1232 Mar 20, 2024
43c4403
Bump versions for release and Remove console.log
Adamj1232 Mar 20, 2024
74d9259
Merge in main
Adamj1232 Mar 20, 2024
fde1277
Merge in docs and handle conflicts
Adamj1232 Mar 20, 2024
18ce15e
node engine
Adamj1232 Mar 20, 2024
4e2ad08
node engine
Adamj1232 Mar 20, 2024
b376ddd
Release 2.25.0 (#2102)
Adamj1232 Mar 21, 2024
2be8afa
Change node verison for MM and trezor
Adamj1232 Mar 21, 2024
630ad07
Merge in main
Adamj1232 Mar 21, 2024
2fb9721
Release 2.25.0 (#2104)
Adamj1232 Mar 21, 2024
a9acfd9
Merge branch 'main' into release/2.25.0
Adamj1232 Mar 22, 2024
4f41b52
Decrement node version for metamask module
Adamj1232 Mar 22, 2024
2ddd3f7
Update MetaMask CCI node version to 18.18.1 (#2105)
Adamj1232 Mar 22, 2024
c1e485b
Bump resource class for MM build
Adamj1232 Mar 22, 2024
41b0089
Merge branch 'main' into release/2.25.0
Adamj1232 Mar 22, 2024
fed5d1f
Reset node version
Adamj1232 Mar 22, 2024
72437d9
Bump CCI resource class for MetaMask module (#2106)
Adamj1232 Mar 22, 2024
4069a52
Update node v to 18.9.1
Adamj1232 Mar 22, 2024
52bfbbc
handle conflicts
Adamj1232 Mar 22, 2024
4827858
Update CCI node v for MetaMask and Trezor to 18.9.1 (#2107)
Adamj1232 Mar 22, 2024
e5a5162
Update node min verison on MM module
Adamj1232 Mar 22, 2024
930be33
Merge branch 'main' into release/2.25.0
Adamj1232 Mar 22, 2024
d246b3d
Update npm publish script
Adamj1232 Mar 22, 2024
36e4442
Refine node v for metamask and trezor
Adamj1232 Mar 22, 2024
c264199
bump docs to latest w3o verisons
Adamj1232 Mar 22, 2024
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
38 changes: 27 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
- node-build-steps
build-keepkey:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:16.20.2
working_directory: ~/web3-onboard-monorepo/packages/keepkey
steps:
- node-build-steps
Expand All @@ -217,7 +217,7 @@ jobs:
- node-build-steps
build-ledger:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:18.0.0
working_directory: ~/web3-onboard-monorepo/packages/ledger
steps:
- node-build-steps
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
- node-build-steps
build-trezor:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:18.19.1
working_directory: ~/web3-onboard-monorepo/packages/trezor
steps:
- node-build-steps
Expand Down Expand Up @@ -427,7 +427,7 @@ jobs:
- node-build-steps
build-metamask:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:18.19.1
working_directory: ~/web3-onboard-monorepo/packages/metamask
steps:
- node-build-steps
Expand All @@ -443,8 +443,12 @@ jobs:
working_directory: ~/web3-onboard-monorepo/packages/capsule
steps:
- node-build-steps


build-particle:
docker:
- image: cimg/node:18.0.0
working_directory: ~/web3-onboard-monorepo/packages/particle-network
steps:
- node-build-steps

# Build staging/Alpha releases
build-staging-core:
Expand Down Expand Up @@ -485,7 +489,7 @@ jobs:
- node-staging-build-steps
build-staging-keepkey:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:16.20.2
working_directory: ~/web3-onboard-monorepo/packages/keepkey
steps:
- node-staging-build-steps
Expand All @@ -497,7 +501,7 @@ jobs:
- node-staging-build-steps
build-staging-ledger:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:18.0.0
working_directory: ~/web3-onboard-monorepo/packages/ledger
steps:
- node-staging-build-steps
Expand Down Expand Up @@ -527,7 +531,7 @@ jobs:
- node-staging-build-steps
build-staging-trezor:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:18.19.1
working_directory: ~/web3-onboard-monorepo/packages/trezor
steps:
- node-staging-build-steps
Expand Down Expand Up @@ -707,7 +711,7 @@ jobs:
- node-staging-build-steps
build-staging-metamask:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:18.19.1
working_directory: ~/web3-onboard-monorepo/packages/metamask
steps:
- node-staging-build-steps
Expand All @@ -723,6 +727,12 @@ jobs:
working_directory: ~/web3-onboard-monorepo/packages/capsule
steps:
- node-staging-build-steps
build-staging-particle:
docker:
- image: cimg/node:18.0.0
working_directory: ~/web3-onboard-monorepo/packages/particle-network
steps:
- node-build-steps

workflows:
version: 2
Expand Down Expand Up @@ -1002,4 +1012,10 @@ workflows:
- build-capsule:
<<: *deploy_production_filters
- build-staging-capsule:
<<: *deploy_staging_filters
<<: *deploy_staging_filters
particle:
jobs:
- build-particle:
<<: *deploy_production_filters
- build-staging-particle:
<<: *deploy_staging_filters
2 changes: 1 addition & 1 deletion .github/workflows/pr-status-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Nodejs and yarn
uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18.19.1"
cache: yarn

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ For full documentation, check out the README.md for each package or the [docs pa
- [Infinity Wallet](packages/infinity-wallet/README.md)
- [Frame](packages/frame/README.md)
- [Blocto](packages/blocto/README.md)
- [Particle Network](packages/particle-network/README.md)

**Hardware Wallets**

Expand Down
13 changes: 7 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"@web3-onboard/blocto": "^2.0.0",
"@web3-onboard/capsule": "^2.0.1",
"@web3-onboard/cede-store": "^2.2.0",
"@web3-onboard/coinbase": "^2.2.5",
"@web3-onboard/core": "^2.21.2",
"@web3-onboard/coinbase": "^2.2.7",
"@web3-onboard/core": "^2.21.3",
"@web3-onboard/dcent": "^2.2.7",
"@web3-onboard/enkrypt": "^2.0.4",
"@web3-onboard/fortmatic": "^2.0.19",
Expand All @@ -67,12 +67,12 @@
"@web3-onboard/gas": "^2.1.8",
"@web3-onboard/gnosis": "^2.1.10",
"@web3-onboard/infinity-wallet": "^2.0.4",
"@web3-onboard/injected-wallets": "^2.10.9",
"@web3-onboard/injected-wallets": "^2.10.12",
"@web3-onboard/keepkey": "^2.3.7",
"@web3-onboard/keystone": "^2.3.7",
"@web3-onboard/ledger": "^2.5.1",
"@web3-onboard/ledger": "^2.6.0",
"@web3-onboard/magic": "^2.1.7",
"@web3-onboard/metamask": "^2.0.2",
"@web3-onboard/metamask": "^2.0.3",
"@web3-onboard/mew-wallet": "^2.0.4",
"@web3-onboard/phantom": "^2.0.3",
"@web3-onboard/portis": "^2.1.7",
Expand All @@ -84,10 +84,11 @@
"@web3-onboard/trust": "^2.0.4",
"@web3-onboard/uauth": "^2.1.1",
"@web3-onboard/venly": "^2.0.0",
"@web3-onboard/walletconnect": "^2.5.2",
"@web3-onboard/walletconnect": "^2.5.4",
"@web3-onboard/web3auth": "^2.2.3",
"@web3-onboard/xdefi": "^2.0.4",
"@web3-onboard/zeal": "^2.0.4",
"@web3-onboard/particle-network": "^2.0.0",
"animejs": "^3.2.1",
"bnc-sdk": "^4.6.6",
"ethers": "^5.7.0",
Expand Down
20 changes: 16 additions & 4 deletions docs/src/lib/services/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const intiOnboard = async (theme) => {
const { default: venlyModule } = await import('@web3-onboard/venly')
const { default: bitgetModule } = await import('@web3-onboard/bitget')
const { default: capsuleModule, Environment } = await import('@web3-onboard/capsule')
const { default: particleAuthModule } = await import('@web3-onboard/particle-network')
const INFURA_ID = '8b60d52405694345a99bcb82e722e0af'

const injected = injectedModule()
Expand All @@ -67,11 +68,13 @@ const intiOnboard = async (theme) => {
clientID: 'xar_test_c9c3bc702eb13255c58dab0e74cfa859711c13cb'
})
const coinbase = coinbaseModule()
const metamask = metamaskModule({options: {
dappMetadata: {
name: 'Web3Onboard',
const metamask = metamaskModule({
options: {
dappMetadata: {
name: 'Web3Onboard'
}
}
}})
})
const dcent = dcentModule()
const walletConnect = walletConnectModule({
projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5',
Expand Down Expand Up @@ -133,6 +136,12 @@ const intiOnboard = async (theme) => {
apiKey: '992bbd9146d5de8ad0419f141d9a7ca7'
})

const particle = particleAuthModule({
projectId: 'b385ccf0-73c3-485a-9941-159b7855b806',
clientKey: 'cSTLqhvONB5j588Wz6E5WJLMPrHeUlGbymf1DFhO',
appId: 'b1f0239a-edb0-41f9-b0f5-ab780bb02a9e'
})

return Onboard({
connect: { autoConnectAllPreviousWallet: true },
wallets: [
Expand Down Expand Up @@ -163,7 +172,10 @@ const intiOnboard = async (theme) => {
frame,
infinityWallet,
blocto,
capsule,
particle
// capsule

// venly
],
chains: [
Expand Down
18 changes: 16 additions & 2 deletions docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Injected Wallets

# {$frontmatter.title}

This module lets web3-onboard automatically detect Browser Injected Wallets such as Metamask or Coinbase Wallet. We recommend you install this module to get the most out of your w3o implementation. This module supports [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) and [recognizes many injected wallets natively](#injected-wallets-supported-natively).
This module lets web3-onboard automatically detect Browser Injected Wallets such as Metamask or Coinbase Wallet. We recommend you install this module to get the most out of your w3o implementation. This module supports [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) and [recognizes many injected wallets natively](#injected-wallets-supported-natively) as well as supports [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) and recognizes any wallet that has implemented 6963 support.

Note: Make sure to install the core module before installing other modules to w3o.

Expand Down Expand Up @@ -189,6 +189,19 @@ const onboard = Onboard({
})
```

### This module supports any injected wallet that has implemented support for [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963)

This can be disabled by passing in `disable6963Support` as true within the injected module init object.

```ts
const injected = injectedModule({ disable6963Support: true })

const onboard = Onboard({
wallets: [injected],
...
})
```

## Display Unavailable Wallets

You may want to display injected wallets that are not currently available to the user and you can use the `displayUnavailable` option to do that:
Expand Down Expand Up @@ -334,7 +347,7 @@ const injected = injectedModule({
- TP - _Mobile_
- 1inch - _Mobile_
- Tokenary - _Mobile_
- Rabby - _Desktop_
- Rabby - _Desktop & Mobile_
- MathWallet - _Desktop & Mobile_
- Bitkeep - _Desktop & Mobile_
- BitGet Wallet - _Desktop & Mobile_
Expand All @@ -357,6 +370,7 @@ const injected = injectedModule({
- Coin98 Wallet - _Desktop & Mobile_
- SubWallet - _Desktop & Mobile_
- Kayros - _Desktop_
- Lif3Wallet - _Mobile_

## Build Environments

Expand Down
94 changes: 94 additions & 0 deletions docs/src/routes/docs/[...4]wallets/[...22]particlenetwork/+page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
title: Particle Network
---

# {$frontmatter.title}

Wallet module for connecting Particle Network to web3-onboard

## Install

<Tabs values={['yarn', 'npm']}>
<TabPanel value="yarn">

```sh copy
yarn add @web3-onboard/particle-network
```

</TabPanel>
<TabPanel value="npm">

```sh copy
npm install @web3-onboard/particle-network
```

</TabPanel>
</Tabs>

## Options

See the [Particle Network Docs](https://docs.particle.network/developers/auth-service/sdks/web) for the extensive list of options.

## Usage

```typescript
import Onboard from '@web3-onboard/core'
import particleModule from '@web3-onboard/particle-network'

const particle = particleModule({
projectId: 'YOUR PROJECT ID',
clientKey: 'YOUR CLIENT KEY',
appId: 'YOUR APP ID'
// Can also add wallet object + preferredAuthType for further customization
})

const onboard = Onboard({
// ... other Onboard options
wallets: [
particle
//... other wallets
]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
```

## Types

```typescript
/**
* Enumerates the supported authentication types.
*/
type AuthTypes = 'email' | 'phone' | 'google' | 'apple' | 'twitter' | 'facebook' | 'microsoft' | 'linkedin' | 'github' | 'twitch' | 'discord';

/**
* Interface that describes the preferred authentication type.
* @property {AuthTypes} type - The preferred type of authentication.
* @property {boolean} setAsDisplay - Indicates whether the type should be displayed within the UI.
*/
interface PreferredAuthType {
type: AuthTypes;
setAsDisplay: boolean;
}

/**
* Options for initializing the Particle Auth module.
* @property {string} projectId - Particle Network project ID.
* @property {string} clientKey - Particle Network client key.
* @property {string} appId - Particle Network application ID.
* @property {string} [chainName] - (Optional) Specifies the name of the blockchain. Handled automatically if left blank.
* @property {number} [chainId] - (Optional) Specifies the blockchain's numeric ID. Handled automatically if left blank.
* @property {object} [wallet] - (Optional) Configuration for the wallet.
* @property {AuthTypes | PreferredAuthType} [preferredAuthType] - (Optional) Specifies the preferred type of authentication.
*/
interface ParticleAuthModuleOptions {
projectId: string;
clientKey: string;
appId: string;
chainName?: string;
chainId?: number;
wallet?: object;
preferredAuthType?: AuthTypes | PreferredAuthType;
}
```
7 changes: 6 additions & 1 deletion docs/src/routes/docs/[...4]wallets/[...6]coinbase/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ npm install @web3-onboard/coinbase

```typescript
type CoinbaseWalletOptions = {
darkMode: boolean // default = false
/** @optional Use dark theme */
darkMode?: boolean
/** @optional whether to connect mobile web app via WalletLink, defaults to false */
enableMobileWalletLink?: boolean
/** @optional whether or not to reload dapp automatically after disconnect, defaults to true */
reloadOnDisconnect?: boolean
}
```

Expand Down
Loading
Loading