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

[FIX] - Particle icons import default #2157

Merged
merged 16 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
9dd3a56
Bump versions for release and Remove console.log
Adamj1232 Mar 20, 2024
50c6dd5
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Mar 25, 2024
6407e04
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Mar 26, 2024
781e792
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 1, 2024
6f09e2c
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 4, 2024
5a34b64
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 5, 2024
cd21151
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 5, 2024
7bcedf0
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 9, 2024
1df7db3
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 12, 2024
14bc7bf
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 12, 2024
6923d85
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 12, 2024
6f303ca
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 12, 2024
6193944
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 12, 2024
e35c6d8
Merge branch 'develop' of github.com:blocknative/web3-onboard into de…
Adamj1232 Apr 12, 2024
7a48817
Fix default icon import
Adamj1232 Apr 12, 2024
79e538f
Bump v in docs
Adamj1232 Apr 12, 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
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.0.1-alpha.3",
"@web3-onboard/particle-network": "^2.0.1-alpha.4",
"animejs": "^3.2.1",
"bnc-sdk": "^4.6.6",
"ethers": "^5.7.0",
Expand Down
8 changes: 4 additions & 4 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6074,10 +6074,10 @@
"@web3-onboard/common" "^2.3.3"
lodash.uniqby "^4.7.0"

"@web3-onboard/particle-network@^2.0.1-alpha.2":
version "2.0.1-alpha.2"
resolved "https://registry.yarnpkg.com/@web3-onboard/particle-network/-/particle-network-2.0.1-alpha.2.tgz#45e60de7033904c1d2304759dff3caf9f8d5db81"
integrity sha512-jc3YdIwQWS2aSV7aGt2Z965e9ulN7Kz6hBew2BVlIu1FLDOFsbca402Btk8SWc/tsURcNgVnfNpwPqLM2rnCEw==
"@web3-onboard/particle-network@^2.0.1-alpha.3":
version "2.0.1-alpha.3"
resolved "https://registry.yarnpkg.com/@web3-onboard/particle-network/-/particle-network-2.0.1-alpha.3.tgz#0a6b51272723676e1fb8804c9c9b70bec09666e2"
integrity sha512-Mad0p6pkexbQNGVOdDna2QTVQ/GVd4PluIE0zsNNIpR8gmzJAZY3K8XnDZdH6riZ5/I15DQE5Sgb3bmxygWPlA==
dependencies:
"@particle-network/auth" "^1.2.1"
"@particle-network/provider" "^1.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/particle-network/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/particle-network",
"version": "2.0.1-alpha.3",
"version": "2.0.1-alpha.4",
"description": "Particle Network SDK wallet module for connecting to Web3-Onboard. 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, 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.",
"keywords": [
"Ethereum",
Expand Down
6 changes: 4 additions & 2 deletions packages/particle-network/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ const particleAuth = (options: ParticleAuthModuleOptions): WalletInit => {
import('./linkedin.js'),
import('./github.js'),
import('./twitch.js'),
import('./discord.js')
import('./discord.js'),
import('./icon.js')
])

const iconMap = {
Expand All @@ -91,7 +92,8 @@ const particleAuth = (options: ParticleAuthModuleOptions): WalletInit => {
linkedin: icons[7].default,
github: icons[8].default,
twitch: icons[9].default,
discord: icons[10].default
discord: icons[10].default,
icon: icons[10].default
}
const iconName =
authType && setAsDisplay ? authType : ('icon' as AuthTypes)
Expand Down
Loading