Skip to content

Commit

Permalink
add particle to config.yml, reorder docs tabs, add particle to docs o…
Browse files Browse the repository at this point in the history
…nboard (blocknative#2069)
  • Loading branch information
leightkt authored Feb 20, 2024
1 parent 2e51cfe commit 5342079
Show file tree
Hide file tree
Showing 19 changed files with 177 additions and 56 deletions.
18 changes: 18 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +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



Expand Down Expand Up @@ -723,6 +729,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 +1014,10 @@ workflows:
- build-capsule:
<<: *deploy_production_filters
- build-staging-capsule:
<<: *deploy_staging_filters
particle:
jobs:
- build-particle:
<<: *deploy_production_filters
- build-staging-particle:
<<: *deploy_staging_filters
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@web3-onboard/web3auth": "^2.2.3",
"@web3-onboard/xdefi": "^2.0.4",
"@web3-onboard/zeal": "^2.0.4",
"@web3-onboard/particle-network": "^2.2.3",
"@web3-onboard/particle-network": "^2.0.0-alpha.1",
"animejs": "^3.2.1",
"bnc-sdk": "^4.6.6",
"ethers": "^5.7.0",
Expand Down
18 changes: 14 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,6 +172,7 @@ const intiOnboard = async (theme) => {
frame,
infinityWallet,
blocto,
particle
// capsule
// venly
],
Expand Down
106 changes: 60 additions & 46 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4892,10 +4892,10 @@
lodash.isequal "4.5.0"
uint8arrays "^3.1.0"

"@walletconnect/core@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.10.6.tgz#786b0d2e2045c210c917e29bfa0498bbc210be20"
integrity sha512-Z4vh4ZdfcoQjgPEOxeuF9HUZCVLtV3MgRbS/awLIj/omDrFnOwlBhxi5Syr4Y8muVGC0ocRetQYHae0/gX5crQ==
"@walletconnect/core@2.11.1":
version "2.11.1"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.11.1.tgz#da2be26b8b6514c74f06dc9a5ffb450bdec3456d"
integrity sha512-T57Vd7YdbHPsy3tthBuwrhaZNafN0+PqjISFRNeJy/bsKdXxpJg2hGSARuOTpCO7V6VcaatqlaSMuG3DrnG5rA==
dependencies:
"@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-provider" "1.0.13"
Expand All @@ -4908,9 +4908,10 @@
"@walletconnect/relay-auth" "^1.0.4"
"@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.10.6"
"@walletconnect/utils" "2.10.6"
"@walletconnect/types" "2.11.1"
"@walletconnect/utils" "2.11.1"
events "^3.3.0"
isomorphic-unfetch "3.1.0"
lodash.isequal "4.5.0"
uint8arrays "^3.1.0"

Expand Down Expand Up @@ -5003,20 +5004,20 @@
"@walletconnect/utils" "2.9.0"
events "^3.3.0"

"@walletconnect/ethereum-provider@^2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.10.6.tgz#53720771cc2d6accd452916a853ac927f26acbaa"
integrity sha512-bBQ+yUfxLv8VxNttgNKY7nED35gSVayO/BnLHbNKvyV1gpvSCla5mWB9MsXuQs70MK0g+/qtgRVSrOtdSubaNQ==
"@walletconnect/ethereum-provider@^2.11.0":
version "2.11.1"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.11.1.tgz#6e0174ec9026940eaadeedc53417e222eb45f5aa"
integrity sha512-UfQH0ho24aa2M1xYmanbJv2ggQPebKmQytp2j20QEvURJ2R0v7YKWZ+0PfwOs6o6cuGw6gGxy/0WQXQRZSAsfg==
dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "^1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.3"
"@walletconnect/jsonrpc-utils" "^1.0.8"
"@walletconnect/modal" "^2.4.3"
"@walletconnect/sign-client" "2.10.6"
"@walletconnect/types" "2.10.6"
"@walletconnect/universal-provider" "2.10.6"
"@walletconnect/utils" "2.10.6"
"@walletconnect/modal" "^2.6.2"
"@walletconnect/sign-client" "2.11.1"
"@walletconnect/types" "2.11.1"
"@walletconnect/universal-provider" "2.11.1"
"@walletconnect/utils" "2.11.1"
events "^3.3.0"

"@walletconnect/events@^1.0.1":
Expand Down Expand Up @@ -5263,7 +5264,7 @@
"@walletconnect/modal-core" "2.5.9"
"@walletconnect/modal-ui" "2.5.9"

"@walletconnect/[email protected]", "@walletconnect/modal@^2.4.3":
"@walletconnect/[email protected]", "@walletconnect/modal@^2.6.2":
version "2.6.2"
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.6.2.tgz#4b534a836f5039eeb3268b80be7217a94dd12651"
integrity sha512-eFopgKi8AjKf/0U4SemvcYw9zlLpx9njVN8sf6DAkowC2Md0gPU/UNEbH1Wwj407pEKnEds98pKWib1NN1ACoA==
Expand Down Expand Up @@ -5340,19 +5341,19 @@
"@walletconnect/utils" "2.10.2"
events "^3.3.0"

"@walletconnect/sign-client@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.10.6.tgz#722d2c2844565e2826dce6a6d3a36c9b3ca1ea91"
integrity sha512-EvUWjaZBQu2yKnH5/5F2qzbuiIuUN9ZgrNKgvXkw5z1Dq5RJCks0S9/MFlKH/ZSGqXnLl7uAzBXtoX4sMgbCMA==
"@walletconnect/sign-client@2.11.1":
version "2.11.1"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.11.1.tgz#c073b8d2d594e792bb783d36c8b021bd37a9d4f6"
integrity sha512-s3oKSx6/F5X2WmkV1jfJImBFACf9Km5HpTb+n5q+mobJVpUQw/clvoVyIrNNppLhm1V1S/ylHXh0qCrDppDpCA==
dependencies:
"@walletconnect/core" "2.10.6"
"@walletconnect/core" "2.11.1"
"@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.10.6"
"@walletconnect/utils" "2.10.6"
"@walletconnect/types" "2.11.1"
"@walletconnect/utils" "2.11.1"
events "^3.3.0"

"@walletconnect/[email protected]":
Expand Down Expand Up @@ -5398,10 +5399,10 @@
"@walletconnect/logger" "^2.0.1"
events "^3.3.0"

"@walletconnect/types@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.10.6.tgz#d9920ed4fd0113e0addbda8e7e73a5176a3163fd"
integrity sha512-WgHfiTG1yakmxheaBRiXhUdEmgxwrvsAdOIWaMf/spvrzVKYh6sHI3oyEEky5qj5jjiMiyQBeB57QamzCotbcQ==
"@walletconnect/types@2.11.1":
version "2.11.1"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.11.1.tgz#4f705b43ddc286b69eb9bf91bb6e9496d20de0e3"
integrity sha512-UbdbX+d6MOK0AXKxt5imV3KvAcLVpZUHylaRDIP5ffwVylM/p4DHnKppil1Qq5N+IGDr3RsUwLGFkKjqsQYRKw==
dependencies:
"@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1"
Expand Down Expand Up @@ -5454,19 +5455,19 @@
"@walletconnect/utils" "2.10.2"
events "^3.3.0"

"@walletconnect/universal-provider@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.10.6.tgz#1a6c42517581f11ce275474bc70d0eb4f1044525"
integrity sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA==
"@walletconnect/universal-provider@2.11.1":
version "2.11.1"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.11.1.tgz#988f2a78325eb52ef7481a220851a56efb209d64"
integrity sha512-BJvPYByIfbBYF4x8mqDV79ebQX0tD54pp8itsqrHWn0qKZeJyIH8sQ69yY0GnbJrzoFS3ZLULdC0yDxWDeuRGw==
dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.2"
"@walletconnect/jsonrpc-utils" "^1.0.7"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/sign-client" "2.10.6"
"@walletconnect/types" "2.10.6"
"@walletconnect/utils" "2.10.6"
"@walletconnect/sign-client" "2.11.1"
"@walletconnect/types" "2.11.1"
"@walletconnect/utils" "2.11.1"
events "^3.3.0"

"@walletconnect/[email protected]":
Expand Down Expand Up @@ -5504,10 +5505,10 @@
query-string "7.1.3"
uint8arrays "^3.1.0"

"@walletconnect/utils@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.10.6.tgz#749b37d14e291e346862e7027ec7548463350226"
integrity sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==
"@walletconnect/utils@2.11.1":
version "2.11.1"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.11.1.tgz#56116d9c410c6f2ae8d562017cf6876cccb366f1"
integrity sha512-wRFDHN86dZ05mCET1H3912odIeQa8j7cZKxl1FlWRpV2YsILj9HCYSX6Uq2brwO02Kv2vryke44G1r8XI/LViA==
dependencies:
"@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1"
Expand All @@ -5517,7 +5518,7 @@
"@walletconnect/relay-api" "^1.0.9"
"@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.10.6"
"@walletconnect/types" "2.11.1"
"@walletconnect/window-getters" "^1.0.1"
"@walletconnect/window-metadata" "^1.0.1"
detect-browser "5.3.0"
Expand Down Expand Up @@ -5630,9 +5631,9 @@
"@web3-onboard/common" "^2.3.1"

"@web3-onboard/capsule@^2.0.1":
version "2.0.1-alpha.3"
resolved "https://registry.yarnpkg.com/@web3-onboard/capsule/-/capsule-2.0.1-alpha.3.tgz#a2586a1522b3a9662becd6c1f304dcd05126980e"
integrity sha512-FqWFTnoHasthmCvM59KYIzNa0etpyiLCMM63F2K/V9r50CLF8quqlgr36zCRl8fP6flvG3ytupykAyRxTot4XA==
version "2.0.1"
resolved "https://registry.yarnpkg.com/@web3-onboard/capsule/-/capsule-2.0.1.tgz#e1bd7382f70b1d23f8f67ac2826883ce06a23686"
integrity sha512-R6cg9sGJXJMPMJ7gvOkvev4ZzkNMYomxmwYBuYreqiFH1gqmQxX6zn6vQMSxKF/S16JkLA3S4/wbZ9C6fGNN5w==
dependencies:
"@usecapsule/web-sdk" "0.29.4"
"@wagmi/chains" "^1.8.0"
Expand Down Expand Up @@ -5930,11 +5931,11 @@
"@web3-onboard/common" "^2.3.1"

"@web3-onboard/walletconnect@^2.5.2":
version "2.5.2-alpha.1"
resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.5.2-alpha.1.tgz#70d7a4abcc8a1eef85d04621788d86ee32e16eb9"
integrity sha512-h1yYsB/W/ZfcgsPY8Tit1G1EjcdhZlR34dBnx0boEnz+jTQKk/AIj/v/d3FZfmtZymDfOt6nBz7hEyET3CxkNw==
version "2.5.3"
resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.5.3.tgz#b8f71ee93de8cf151dd31732715bff250fcda293"
integrity sha512-ENrUwXBbja6gXWfF4G2pxhwOodT9MAMPum0E1KPyphzcs+QxjrC+aaXnYUpLLhZsjlAcIWcGrgpmtLP2NDhRXg==
dependencies:
"@walletconnect/ethereum-provider" "^2.10.6"
"@walletconnect/ethereum-provider" "^2.11.0"
"@web3-onboard/common" "^2.3.3"
joi "17.9.1"
rxjs "^7.5.2"
Expand Down Expand Up @@ -9443,6 +9444,14 @@ isexe@^2.0.0:
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==

[email protected]:
version "3.1.0"
resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f"
integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==
dependencies:
node-fetch "^2.6.1"
unfetch "^4.2.0"

[email protected]:
version "5.0.0"
resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf"
Expand Down Expand Up @@ -12696,6 +12705,11 @@ unenv@^1.7.4:
node-fetch-native "^1.4.1"
pathe "^1.1.1"

unfetch@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be"
integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==

unload@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/unload/-/unload-2.4.1.tgz#b0c5b7fb44e17fcbf50dcb8fb53929c59dd226a5"
Expand Down
Loading

0 comments on commit 5342079

Please sign in to comment.