Skip to content

Commit c6a48ad

Browse files
authored
[FIX] - Particle icons import default (#2157)
* Bump versions for release and Remove console.log * Fix default icon import * Bump v in docs
1 parent 6a726a6 commit c6a48ad

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"@web3-onboard/web3auth": "^2.2.3",
8989
"@web3-onboard/xdefi": "^2.0.4",
9090
"@web3-onboard/zeal": "^2.0.4",
91-
"@web3-onboard/particle-network": "^2.0.1-alpha.3",
91+
"@web3-onboard/particle-network": "^2.0.1-alpha.4",
9292
"animejs": "^3.2.1",
9393
"bnc-sdk": "^4.6.6",
9494
"ethers": "^5.7.0",

docs/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6074,10 +6074,10 @@
60746074
"@web3-onboard/common" "^2.3.3"
60756075
lodash.uniqby "^4.7.0"
60766076

6077-
"@web3-onboard/particle-network@^2.0.1-alpha.2":
6078-
version "2.0.1-alpha.2"
6079-
resolved "https://registry.yarnpkg.com/@web3-onboard/particle-network/-/particle-network-2.0.1-alpha.2.tgz#45e60de7033904c1d2304759dff3caf9f8d5db81"
6080-
integrity sha512-jc3YdIwQWS2aSV7aGt2Z965e9ulN7Kz6hBew2BVlIu1FLDOFsbca402Btk8SWc/tsURcNgVnfNpwPqLM2rnCEw==
6077+
"@web3-onboard/particle-network@^2.0.1-alpha.3":
6078+
version "2.0.1-alpha.3"
6079+
resolved "https://registry.yarnpkg.com/@web3-onboard/particle-network/-/particle-network-2.0.1-alpha.3.tgz#0a6b51272723676e1fb8804c9c9b70bec09666e2"
6080+
integrity sha512-Mad0p6pkexbQNGVOdDna2QTVQ/GVd4PluIE0zsNNIpR8gmzJAZY3K8XnDZdH6riZ5/I15DQE5Sgb3bmxygWPlA==
60816081
dependencies:
60826082
"@particle-network/auth" "^1.2.1"
60836083
"@particle-network/provider" "^1.2.0"

packages/particle-network/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/particle-network",
3-
"version": "2.0.1-alpha.3",
3+
"version": "2.0.1-alpha.4",
44
"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.",
55
"keywords": [
66
"Ethereum",

packages/particle-network/src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ const particleAuth = (options: ParticleAuthModuleOptions): WalletInit => {
7777
import('./linkedin.js'),
7878
import('./github.js'),
7979
import('./twitch.js'),
80-
import('./discord.js')
80+
import('./discord.js'),
81+
import('./icon.js')
8182
])
8283

8384
const iconMap = {
@@ -91,7 +92,8 @@ const particleAuth = (options: ParticleAuthModuleOptions): WalletInit => {
9192
linkedin: icons[7].default,
9293
github: icons[8].default,
9394
twitch: icons[9].default,
94-
discord: icons[10].default
95+
discord: icons[10].default,
96+
icon: icons[10].default
9597
}
9698
const iconName =
9799
authType && setAsDisplay ? authType : ('icon' as AuthTypes)

0 commit comments

Comments
 (0)