Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"type": "module",
"dependencies": {
"@web3-onboard/coinbase": "^2.1.4",
"@web3-onboard/core": "^2.12.0",
"@web3-onboard/core": "^2.13.1",
"@web3-onboard/dcent": "^2.2.2",
"@web3-onboard/enkrypt": "^2.0.0",
"@web3-onboard/fortmatic": "^2.0.14",
Expand All @@ -64,7 +64,7 @@
"@web3-onboard/injected-wallets": "^2.4.0",
"@web3-onboard/keepkey": "^2.3.2",
"@web3-onboard/keystone": "^2.3.2",
"@web3-onboard/ledger": "^2.3.2",
"@web3-onboard/ledger": "^2.4.1",
"@web3-onboard/magic": "^2.1.3",
"@web3-onboard/mew-wallet": "^2.0.0",
"@web3-onboard/portis": "^2.1.3",
Expand Down
3 changes: 3 additions & 0 deletions docs/src/routes/docs/[...3]modules/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,11 @@ type AppMetadata = {
name: string
// SVG icon string, with height or width (whichever is larger) set to 100% or a valid image URL
// note: if using an emoji make sure to send base64 string
// Note: `icon` is displayed on both mobile AND desktop. If `logo`
// below is provided then `icon` displays on mobile and `logo` on desktop
icon: string
// Optional wide format logo (ie icon and text) to be displayed in the sidebar of connect modal. Defaults to icon if not provided
// Note: This will ONLY display on desktop. It is best used with wide format logos. Use `icon` for standard 40x40 icons.
logo?: string
// description of app
description?: string
Expand Down
178 changes: 20 additions & 158 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1824,114 +1824,10 @@
rxjs "^6.6.3"
typescript "^4.6.2"

"@ledgerhq/cryptoassets@^6.37.0":
version "6.37.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/cryptoassets/-/cryptoassets-6.37.0.tgz#302833777bcd210809ca7820afb82cff8da5c296"
integrity sha512-xwrDKTS9koQBNNzc7CqgV6zfGHvNFWJjlIL0Kc4O4DVWYR2vUdztUHcvwHD1KPjxNYhVnsgIopmtq47fHt3nMg==
dependencies:
invariant "2"

"@ledgerhq/devices@^5.51.1":
version "5.51.1"
resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-5.51.1.tgz#d741a4a5d8f17c2f9d282fd27147e6fe1999edb7"
integrity sha512-4w+P0VkbjzEXC7kv8T1GJ/9AVaP9I6uasMZ/JcdwZBS3qwvKo5A5z9uGhP5c7TvItzcmPb44b5Mw2kT+WjUuAA==
dependencies:
"@ledgerhq/errors" "^5.50.0"
"@ledgerhq/logs" "^5.50.0"
rxjs "6"
semver "^7.3.5"

"@ledgerhq/devices@^7.0.4":
version "7.0.4"
resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-7.0.4.tgz#c348ca7d9225155c8fdd364206e14ecf409601c1"
integrity sha512-smN5/38w/a/TRBjFuqZTs3aSiADpRx6EF0yyFYBbwj/itkw/xfAnGeYzgrUdccEk26yZypcIzjjyCk+wr6gKhw==
dependencies:
"@ledgerhq/errors" "^6.12.0"
"@ledgerhq/logs" "^6.10.1"
rxjs "6"
semver "^7.3.5"

"@ledgerhq/errors@^5.34.0", "@ledgerhq/errors@^5.50.0":
version "5.50.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-5.50.0.tgz#e3a6834cb8c19346efca214c1af84ed28e69dad9"
integrity sha512-gu6aJ/BHuRlpU7kgVpy2vcYk6atjB4iauP2ymF7Gk0ez0Y/6VSMVSJvubeEQN+IV60+OBK0JgeIZG7OiHaw8ow==

"@ledgerhq/errors@^6.12.0":
version "6.12.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-6.12.0.tgz#96de365902bbafa2e6c2a5544bb8047b3a3fde84"
integrity sha512-gDUpXDz3Os4bK9tzqvwZtjXMCB8LQwNft1f3x6WrwIGuM4Wo5D6ccJDybw4rP9TOJ4qPbRcXFH4avzQGFvwWNA==

"@ledgerhq/hw-app-eth@^6.19.0":
version "6.30.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-app-eth/-/hw-app-eth-6.30.0.tgz#a8e5878b0eac725f0f4fa5e9222ab6e71b536063"
integrity sha512-Mr0apxn/oUXD4DZ2gw3fWJQ1rHDzLCzvoGV7Y1/CLoLy85A3w5nROTrFY0+SZNAIB/tqzWZJ9SQpBg5yXVzmmA==
dependencies:
"@ethersproject/abi" "^5.5.0"
"@ethersproject/rlp" "^5.5.0"
"@ledgerhq/cryptoassets" "^6.37.0"
"@ledgerhq/errors" "^6.12.0"
"@ledgerhq/hw-transport" "^6.27.7"
"@ledgerhq/hw-transport-mocker" "^6.27.7"
"@ledgerhq/logs" "^6.10.1"
axios "^0.26.1"
bignumber.js "^9.1.0"
crypto-js "^4.1.1"

"@ledgerhq/hw-transport-mocker@^6.27.7":
version "6.27.7"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-mocker/-/hw-transport-mocker-6.27.7.tgz#7f3e14f3db8b576c912f016aae24a479b2ffc887"
integrity sha512-naghEqtwbdpcBsfT4AvtGNI9ahIns2K55zO65dn08qUSj6LlfVzdN9vSbSiNHDcMoRmXttRFJdRQXeEDBMOd0w==
dependencies:
"@ledgerhq/hw-transport" "^6.27.7"
"@ledgerhq/logs" "^6.10.1"

"@ledgerhq/hw-transport-u2f@^5.36.0-deprecated":
version "5.36.0-deprecated"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-u2f/-/hw-transport-u2f-5.36.0-deprecated.tgz#66e3ed399a117a1c0110871a055dd54f5fe707fd"
integrity sha512-T/+mGHIiUK/ZQATad6DMDmobCMZ1mVST952009jKzhaE1Et2Uy2secU+QhRkx3BfEAkvwa0zSRSYCL9d20Iqjg==
dependencies:
"@ledgerhq/errors" "^5.34.0"
"@ledgerhq/hw-transport" "^5.34.0"
"@ledgerhq/logs" "^5.30.0"
u2f-api "0.2.7"

"@ledgerhq/hw-transport-webusb@^6.19.0":
version "6.27.7"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.27.7.tgz#392d8a87d26ddffb4f2c499b8753d38f09bed62f"
integrity sha512-Bjp2PWZAdj9Mp7yxJexcsLvpA2QmsPt1NlBYdN8vTgVajDg08TKcc0n8tD61fTaVJE0zNd4jccK1lN5rcaF17g==
dependencies:
"@ledgerhq/devices" "^7.0.4"
"@ledgerhq/errors" "^6.12.0"
"@ledgerhq/hw-transport" "^6.27.7"
"@ledgerhq/logs" "^6.10.1"

"@ledgerhq/hw-transport@^5.34.0":
version "5.51.1"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-5.51.1.tgz#8dd14a8e58cbee4df0c29eaeef983a79f5f22578"
integrity sha512-6wDYdbWrw9VwHIcoDnqWBaDFyviyjZWv6H9vz9Vyhe4Qd7TIFmbTl/eWs6hZvtZBza9K8y7zD8ChHwRI4s9tSw==
dependencies:
"@ledgerhq/devices" "^5.51.1"
"@ledgerhq/errors" "^5.50.0"
events "^3.3.0"

"@ledgerhq/hw-transport@^6.27.7":
version "6.27.7"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.27.7.tgz#ee46c456e012e2a78edbc69d12cc8d12d0a2c082"
integrity sha512-VLgqUaQo0PkvSUWJgltD89Q4uj9VGvgwR9i8OBYem+4j0NyDXee7tRxIfGp7SaavzNrnrUh5lXtXQfjfjkMZRg==
dependencies:
"@ledgerhq/devices" "^7.0.4"
"@ledgerhq/errors" "^6.12.0"
events "^3.3.0"

"@ledgerhq/logs@^5.30.0", "@ledgerhq/logs@^5.50.0":
version "5.50.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/logs/-/logs-5.50.0.tgz#29c6419e8379d496ab6d0426eadf3c4d100cd186"
integrity sha512-swKHYCOZUGyVt4ge0u8a7AwNcA//h4nx5wIi0sruGye1IJ5Cva0GyK9L2/WdX+kWVTKp92ZiEo1df31lrWGPgA==

"@ledgerhq/logs@^6.10.1":
version "6.10.1"
resolved "https://registry.yarnpkg.com/@ledgerhq/logs/-/logs-6.10.1.tgz#5bd16082261d7364eabb511c788f00937dac588d"
integrity sha512-z+ILK8Q3y+nfUl43ctCPuR4Y2bIxk/ooCQFwZxhtci1EhAtMDzMAx2W25qx8G1PPL9UUOdnUax19+F0OjXoj4w==
"@ledgerhq/connect-kit-loader@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@ledgerhq/connect-kit-loader/-/connect-kit-loader-1.0.2.tgz#8554e16943f86cc2a5f6348a14dfe6e5bd0c572a"
integrity sha512-TQ21IjcZOw/scqypaVFY3jHVqI7X7Hta3qN/us6FvTol3AY06UmrhhXGww0E9xHmAbdX241ddwXEiMBSQZFr9g==

"@magic-sdk/commons@^4.1.1":
version "4.1.1"
Expand Down Expand Up @@ -1972,17 +1868,6 @@
resolved "https://registry.yarnpkg.com/@metamask/detect-provider/-/detect-provider-2.0.0.tgz#4bc2795e5e6f7d8b84b2e845058d2f222c99917d"
integrity sha512-sFpN+TX13E9fdBDh9lvQeZdJn4qYoRb/6QF2oZZK/Pn559IhCFacPMU1rMuqyXoFQF3JSJfii2l98B87QDPeCQ==

"@metamask/eth-sig-util@^4.0.0":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-4.0.1.tgz#3ad61f6ea9ad73ba5b19db780d40d9aae5157088"
integrity sha512-tghyZKLHZjcdlDqCA3gNZmLeR0XvOE9U1qoQO9ohyAZT6Pya+H9vkBPcsyXytmYLNgVoin7CKCmweo/R43V+tQ==
dependencies:
ethereumjs-abi "^0.6.8"
ethereumjs-util "^6.2.1"
ethjs-util "^0.1.6"
tweetnacl "^1.0.3"
tweetnacl-util "^0.15.1"

"@metamask/eth-sig-util@^5.0.2":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-5.0.2.tgz#c518279a6e17a88135a13d53a0b970f145ff8bce"
Expand Down Expand Up @@ -3084,11 +2969,12 @@
ethers "5.5.4"
joi "^17.6.1"

"@web3-onboard/core@^2.12.0":
version "2.12.0"
resolved "https://registry.npmjs.org/@web3-onboard/core/-/core-2.12.0.tgz#6f2c775064ff9cd1fe6619c62f1b6c1fa71db679"
integrity sha512-c4ZPOXqrT8NCT7Sc/EbwGU4UIpULpgWoDpFaQi5gvSLjvcIEUDCrwicEYBxXZ+4UPgONOxcW+PDiSBBVNUqRzg==
"@web3-onboard/core@^2.13.1":
version "2.13.1"
resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.13.1.tgz#c9d953751b239798ba1792c480babbd5b03ba015"
integrity sha512-1NL7Eev7Pjy/KxE9LaeoAhaNT+/UVoezXiW/GGFCe7Qx2efb74doCRQjjCf82KInyQAvfr8a/0lOQie4xFZ6ig==
dependencies:
"@unstoppabledomains/resolution" "^8.0"
"@web3-onboard/common" "^2.2.3"
bignumber.js "^9.0.0"
bnc-sdk "^4.6.2"
Expand Down Expand Up @@ -3190,21 +3076,16 @@
"@web3-onboard/common" "^2.2.3"
"@web3-onboard/hw-common" "^2.0.4"

"@web3-onboard/ledger@^2.3.2":
version "2.3.2"
resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.3.2.tgz#aaa436393d8ffdc156fd318154df5e61361d54bb"
integrity sha512-0KLXmnXNs6iTZEhBdGDgg+L5t8rOTroZjYu8l3Qebd02hNBIeaNxgCXIOQ1Y97qvcQz/8rb6oZ1wMp7unmSA1g==
"@web3-onboard/ledger@^2.4.1":
version "2.4.1"
resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.4.1.tgz#d719a4f3315ead3fce938d7cace7ef6c3f365cc3"
integrity sha512-ENA/kmLn2qgqx3SKziMo/10OPxEtEPjBe1e5eyMz7k7XOmb81+Q4rSXoIgTl0uoTu18Yn/5POGCV77/emR40IA==
dependencies:
"@ethereumjs/tx" "^3.4.0"
"@ethersproject/providers" "^5.5.0"
"@ledgerhq/hw-app-eth" "^6.19.0"
"@ledgerhq/hw-transport-u2f" "^5.36.0-deprecated"
"@ledgerhq/hw-transport-webusb" "^6.19.0"
"@metamask/eth-sig-util" "^4.0.0"
"@ledgerhq/connect-kit-loader" "^1.0.2"
"@walletconnect/client" "^1.7.1"
"@web3-onboard/common" "^2.2.3"
"@web3-onboard/hw-common" "^2.0.4"
buffer "^6.0.3"
ethereumjs-util "^7.1.3"
rxjs "^7.5.2"

"@web3-onboard/magic@^2.1.3":
version "2.1.3"
Expand Down Expand Up @@ -3817,13 +3698,6 @@ axios@^0.21.2:
dependencies:
follow-redirects "^1.14.0"

axios@^0.26.1:
version "0.26.1"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9"
integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==
dependencies:
follow-redirects "^1.14.8"

b4a@^1.6.0:
version "1.6.1"
resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.1.tgz#9effac93a469a868d024e16fd77162c653544cbd"
Expand Down Expand Up @@ -5617,7 +5491,7 @@ ethereum-cryptography@^1.1.2:
"@scure/bip32" "1.1.0"
"@scure/bip39" "1.1.0"

ethereumjs-abi@^0.6.8, "ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git":
"ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git":
version "0.6.8"
resolved "git+https://github.com/ethereumjs/ethereumjs-abi.git#ee3994657fa7a427238e6ba92a84d0b529bbcde0"
dependencies:
Expand Down Expand Up @@ -5725,7 +5599,7 @@ ethereumjs-util@^5.0.0, ethereumjs-util@^5.1.1, ethereumjs-util@^5.1.2, ethereum
rlp "^2.0.0"
safe-buffer "^5.1.1"

ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1:
ethereumjs-util@^6.0.0:
version "6.2.1"
resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz#fcb4e4dd5ceacb9d2305426ab1a5cd93e3163b69"
integrity sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==
Expand Down Expand Up @@ -6075,7 +5949,7 @@ [email protected]:
dependencies:
debug "=3.1.0"

follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.8:
follow-redirects@^1.10.0, follow-redirects@^1.14.0:
version "1.15.2"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
Expand Down Expand Up @@ -6472,13 +6346,6 @@ intl-messageformat@^9.3.15:
"@formatjs/icu-messageformat-parser" "2.1.0"
tslib "^2.1.0"

invariant@2:
version "2.2.4"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==
dependencies:
loose-envify "^1.0.0"

is-arguments@^1.0.4:
version "1.1.1"
resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b"
Expand Down Expand Up @@ -8242,7 +8109,7 @@ rustbn.js@~0.2.0:
resolved "https://registry.yarnpkg.com/rustbn.js/-/rustbn.js-0.2.0.tgz#8082cb886e707155fd1cb6f23bd591ab8d55d0ca"
integrity sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA==

rxjs@6, rxjs@^6.4.0, rxjs@^6.6.3:
rxjs@^6.4.0, rxjs@^6.6.3:
version "6.6.7"
resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9"
integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==
Expand Down Expand Up @@ -8994,11 +8861,6 @@ typescript@^4.6.2:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db"
integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==

[email protected]:
version "0.2.7"
resolved "https://registry.yarnpkg.com/u2f-api/-/u2f-api-0.2.7.tgz#17bf196b242f6bf72353d9858e6a7566cc192720"
integrity sha512-fqLNg8vpvLOD5J/z4B6wpPg4Lvowz1nJ9xdHcCzdUPKcFE/qNCceV2gNZxSJd5vhAZemHr/K/hbzVA0zxB5mkg==

uc.micro@^1.0.1, uc.micro@^1.0.5:
version "1.0.6"
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"
Expand Down
15 changes: 11 additions & 4 deletions packages/common/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,17 @@ export interface AppMetadata {
/* App name */
name: string

/* SVG icon string or image url, with height set to 100% */
icon: string

/* SVG logo (icon and text) string or image url, with width set to 100% */
/* An SVG icon string or image url, with height set to 100%
Note: `icon` is displayed on both mobile AND desktop. If `logo`
below is provided then `icon` displays on mobile and `logo` on
desktop.
*/
icon?: string

/* SVG logo (icon and text) string or image url, with width set to 100%
Note: This will ONLY display on desktop. It is best used with wide
format logos. Use `icon` for standard 40x40 icons.
*/
logo?: string

/* Description of app*/
Expand Down
7 changes: 5 additions & 2 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,11 @@ type AppMetadata = {
name: string
// SVG icon string, with height or width (whichever is larger) set to 100% or a valid image URL
// note: if using an emoji make sure to send base64 string
// Note: `icon` is displayed on both mobile AND desktop. If `logo`
// below is provided then `icon` displays on mobile and `logo` on desktop
icon: string
// Optional wide format logo (ie icon and text) to be displayed in the sidebar of connect modal. Defaults to icon if not provided
// Note: This will ONLY display on desktop. It is best used with wide format logos. Use `icon` for standard 40x40 icons.
logo?: string
// description of app
description?: string
Expand Down Expand Up @@ -124,10 +127,10 @@ For an example please see containerElement usage [here](https://github.com/block

```typescript
type ContainerElements = {
// When attaching the Connect Modal to a container el be aware that the modal was styled to be
// When attaching the Connect Modal to a container el be aware that the modal was styled to be
// mounted through the app to the html body and will respond to screen width rather than container width
// This is specifically apparent on mobile so please test thoroughly
// Also consider that other DOM elements(specifically Notifications and Account Center) will also
// Also consider that other DOM elements(specifically Notifications and Account Center) will also
// append to this DOM el if enabled and their own containerEl are not defined
connectModal?: string
// when using the accountCenter with a container el the accountCenter position properties are ignored
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/core",
"version": "2.13.1",
"version": "2.13.2-alpha.1",
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized 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
25 changes: 25 additions & 0 deletions packages/core/src/icons/bn-icon.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
export default `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_545_236)">
<path d="M32 0H8C3.58172 0 0 3.58172 0 8V32C0 36.4183 3.58172 40 8 40H32C36.4183 40 40 36.4183 40 32V8C40 3.58172 36.4183 0 32 0Z" fill="#262A3D"/>
<path d="M14.7267 25.7L11.4385 19.9963H18.0154L21.3041 25.7H14.7267Z" fill="#262A3D"/>
<path d="M14.7267 25.7L11.4385 19.9963H18.0154L21.3041 25.7H14.7267Z" fill="white"/>
<path d="M18.0154 19.9964H11.4385L14.7267 14.2927H21.3041L18.0154 19.9964Z" fill="url(#paint0_linear_545_236)"/>
<path d="M24.5928 19.9965L21.3041 14.2928H14.7267L11.4385 8.58911H24.5928L31.1697 19.9965H24.5928Z" fill="#262A3D"/>
<path d="M24.5928 19.9965L21.3041 14.2928H14.7267L11.4385 8.58911H24.5928L31.1697 19.9965H24.5928Z" fill="white"/>
<path d="M24.5928 31.4037H11.4385L14.7267 25.7H21.3041L24.5928 19.9963H31.1697L24.5928 31.4037Z" fill="url(#paint1_linear_545_236)"/>
</g>
<defs>
<linearGradient id="paint0_linear_545_236" x1="11.4385" y1="17.1446" x2="21.3041" y2="17.1446" gradientUnits="userSpaceOnUse">
<stop stop-color="#55CCFE"/>
<stop offset="1" stop-color="#5E93EF"/>
</linearGradient>
<linearGradient id="paint1_linear_545_236" x1="54.6499" y1="3724.32" x2="7422.7" y2="3724.32" gradientUnits="userSpaceOnUse">
<stop stop-color="#55CCFE"/>
<stop offset="1" stop-color="#5E93EF"/>
</linearGradient>
<clipPath id="clip0_545_236">
<rect width="40" height="40" fill="white"/>
</clipPath>
</defs>
</svg>
`
6 changes: 4 additions & 2 deletions packages/core/src/icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// bn branding
export { default as defaultBnIcon } from './bn-icon.js'
export { default as poweredByBlocknativeIcon } from './poweredByBlocknative.js'
// other
export { default as hourglass } from './hourglass.js'
export { default as blocknative } from './blocknative.js'
export { default as ethereumIcon } from './ethereum.js'
export { default as polygonIcon } from './polygon.js'
export { default as questionIcon } from './question.js'
Expand All @@ -18,4 +21,3 @@ export { default as caretIcon } from './caret.js'
export { default as warningIcon } from './warning.js'
export { default as successIcon } from './success.js'
export { default as pendingIcon } from './pending.js'
export { default as poweredByBlocknativeIcon } from './poweredByBlocknative.js'
Loading