Skip to content

Commit

Permalink
[FIX] - Particle icon import (#2153)
Browse files Browse the repository at this point in the history
* Bump versions for release and Remove console.log

* Update Optimism label to OP Mainnet

* Fix particle icons

* Fix particle icons

* Yarn it

* Dont update vite config yet

* Bump version in docs
  • Loading branch information
Adamj1232 authored Apr 12, 2024
1 parent 45ce92d commit 8efb181
Show file tree
Hide file tree
Showing 18 changed files with 33 additions and 26 deletions.
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.0",
"@web3-onboard/particle-network": "^2.0.1-alpha.1",
"animejs": "^3.2.1",
"bnc-sdk": "^4.6.6",
"ethers": "^5.7.0",
Expand Down
44 changes: 22 additions & 22 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3212,10 +3212,10 @@
resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-3.0.0.tgz#8c2b9073fe0722d48693143b0dc8448840daa3bd"
integrity sha512-j6Z47VOmVyGMlnKXZmL0fyvWfEYtKWCA9yGZkU3FCsGZUT5lHGmvaV9JA5F2Y+010y7+ROtR3WMXIkvl/nVzqQ==

"@metamask/[email protected].2":
version "0.18.2"
resolved "https://registry.yarnpkg.com/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.18.2.tgz#f7cf48a6938890397f39386bcfc82c8b967b7652"
integrity sha512-5Hf2K+v3PWjmk+yxl9C2UXc7bMp77tBu3nUvZrpETB+bJ5y5rsKSe8Tkz7EFTobP+Xp6zUmqkSGmw24kO+Qqag==
"@metamask/[email protected].4":
version "0.18.4"
resolved "https://registry.yarnpkg.com/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.18.4.tgz#8ddef419101de86149a8cdc442dcbb80686f002c"
integrity sha512-aBJu3l56h8nnToYF+KXVGXQ82m4MEl8x3q89GBjMyX8/+f7SnmgNkkB2ApqLI/1XMnJRBQw/s1/zUSI7TUyutA==
dependencies:
bufferutil "^4.0.8"
date-fns "^2.29.3"
Expand All @@ -3230,14 +3230,14 @@
dependencies:
qr-code-styling "^1.6.0-rc.1"

"@metamask/sdk@^0.18.2":
version "0.18.2"
resolved "https://registry.yarnpkg.com/@metamask/sdk/-/sdk-0.18.2.tgz#3ecbbe62530de0046fb885e70e3de9f6ce6b641a"
integrity sha512-iLiadHCDNxPKjOEjVxmhawLm6NdRW+2Cf1mnvQgHk/xueZysruZcwd1cpV63Eya5KfGl5T7fJNUwKur5zCY05g==
"@metamask/sdk@^0.18.3":
version "0.18.4"
resolved "https://registry.yarnpkg.com/@metamask/sdk/-/sdk-0.18.4.tgz#17164ce3cef2d1b9ab45e4bdb4087856a10aae6c"
integrity sha512-AW9R3lu0Z+bJKgEAnSEqo4OFjG+Q9PHQI5p2ZRQJWul08uvdlSFJsM424ZxKJtWBcN49YcZI+NuHZfKfAXrEvg==
dependencies:
"@metamask/onboarding" "^1.0.1"
"@metamask/providers" "^15.0.0"
"@metamask/sdk-communication-layer" "0.18.2"
"@metamask/sdk-communication-layer" "0.18.4"
"@metamask/sdk-install-modal-web" "0.17.0"
"@types/dom-screen-wake-lock" "^1.0.0"
bowser "^2.9.0"
Expand Down Expand Up @@ -5907,10 +5907,10 @@
ethers "5.5.4"
joi "17.9.1"

"@web3-onboard/core@^2.21.4":
version "2.21.4"
resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.21.4.tgz#0bf80a30c32f5fd8d5330cda4b6c6729c40ca316"
integrity sha512-+nOKj3hudHXfS5J8Ej5P5v/NWuG1b/863Ikaob/UHsCrulle5ILmBNrJqs2LESLdbHjZPFQBoJG+IxTPo7yIAA==
"@web3-onboard/core@^2.21.6-alpha.1":
version "2.21.5"
resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.21.5.tgz#aaddc12fc29e134f3ec44a84f863e0c2c490a249"
integrity sha512-e23bmWj0+dC9sbu/TvzPJm0mUikUB/0yAL+Gqh2mmWOpr2GKBpROnRNhevne3IyeDf16mdkUo8wVEO6eGsiANg==
dependencies:
"@web3-onboard/common" "^2.3.4"
bignumber.js "^9.0.0"
Expand Down Expand Up @@ -6003,10 +6003,10 @@
dependencies:
"@infinitywallet/infinity-connector" "^1.0.6"

"@web3-onboard/injected-wallets@^2.10.13":
version "2.10.14"
resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.14.tgz#ad4f7585927651050caec232a62774f422fb9c01"
integrity sha512-lU/YCCYNr7+Qgg1lJ1vQofmJhMPZrkRTYO0lgkGsmLFVWZZ4rJIU1dm31h5iHm4nVUbw3ItYDICKsI1NgX46AQ==
"@web3-onboard/injected-wallets@^2.10.16-alpha.1":
version "2.10.16-alpha.2"
resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.16-alpha.2.tgz#0a922d814cdf3b6c0f0a5586358278fbbb648df8"
integrity sha512-BA/vP2iJftDPn+qsNwahzmKPBV2+1q1gFj0kZ4bF8WVK28nXFo3Vw/r8NekbZuRVa0gVx2IzC9GjacXq/7NWow==
dependencies:
"@web3-onboard/common" "^2.3.3"
joi "17.9.1"
Expand Down Expand Up @@ -6058,12 +6058,12 @@
magic-sdk "^8.1.0"
rxjs "^7.5.2"

"@web3-onboard/metamask@^2.0.4-alpha.1":
version "2.0.4-alpha.1"
resolved "https://registry.yarnpkg.com/@web3-onboard/metamask/-/metamask-2.0.4-alpha.1.tgz#82a2c38642ceca806ef9e336cb3f14fce4815d56"
integrity sha512-CF/ue+zYSm3Qz4rJaBRrfk6jqrity/rG/H+JOcZ5ajZPeCUm9T4O7W3bFvZtwmaoIE0WQVxzOWqRCzpVSgP79A==
"@web3-onboard/metamask@^2.0.4":
version "2.0.4"
resolved "https://registry.yarnpkg.com/@web3-onboard/metamask/-/metamask-2.0.4.tgz#0eae0e8b63f514447d551e9c60d0c995689cc557"
integrity sha512-iE3+W7amSYAd91uVBq//Yzlsur+8XAO+1FtjMzu2SLF3BIOpYd4ZXyr/AvLzpOClYdbUXyv802LcnxEN5/7dmg==
dependencies:
"@metamask/sdk" "^0.18.2"
"@metamask/sdk" "^0.18.3"
"@web3-onboard/common" "^2.3.3"

"@web3-onboard/mew-wallet@^2.0.4":
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@web3-onboard/web3auth": "^2.2.2",
"@web3-onboard/xdefi": "^2.0.5",
"@web3-onboard/zeal": "^2.0.3",
"@web3-onboard/particle-network": "^2.0.0",
"@web3-onboard/particle-network": "^2.0.1-alpha.1",
"vconsole": "^3.15.1"
},
"license": "MIT",
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.0",
"version": "2.0.1-alpha.1",
"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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/particle-network/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const particleAuth = (options: ParticleAuthModuleOptions): WalletInit => {
label: displayLabel,
getIcon: async () => {
const iconName = authType && setAsDisplay ? authType : 'icon'
return (await import(`./${iconName}.svg`)).default
return (await import(`./${iconName}.js`)).default
},
getInterface: async ({ chains }) => {
const { createEIP1193Provider } = await import('@web3-onboard/common')
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6293,6 +6293,13 @@
ethers "5.5.4"
joi "17.9.1"

"@web3-onboard/gnosis@^2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@web3-onboard/gnosis/-/gnosis-2.2.1.tgz#77522571dd62e00770fc5ee1ffa9fb070dc1296f"
integrity sha512-O4nlsS9EKP4iJq92Pz9li+Ax9G9MK/haydI1aISnIe+hC9Lt7Ynnq6T2tpsIR1aF5GRwF+4LqN4RnfH/Rp4hYA==
dependencies:
"@web3-onboard/common" "^2.3.3"

"@web3-react/abstract-connector@^6.0.7":
version "6.0.7"
resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6"
Expand Down

0 comments on commit 8efb181

Please sign in to comment.