@depay/react-token-image
Advanced tools
Comparing version 4.14.2 to 4.15.0
@@ -6,4 +6,4 @@ import { request } from '@depay/web3-client-evm'; | ||
let supported = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism']; | ||
supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism']; | ||
let supported = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base']; | ||
supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base']; | ||
supported.solana = []; | ||
@@ -135,2 +135,4 @@ | ||
return 'optimism' | ||
case 'base': | ||
return 'base' | ||
default: | ||
@@ -192,3 +194,3 @@ throw('DePayReactTokenImage: Unknown blockchain') | ||
return( | ||
React.createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 197}} ) | ||
React.createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 200}} ) | ||
) | ||
@@ -201,3 +203,3 @@ } | ||
src: src , | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 202}} | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 205}} | ||
) | ||
@@ -204,0 +206,0 @@ ) |
@@ -7,4 +7,4 @@ import { PublicKey, Buffer } from '@depay/solana-web3.js'; | ||
let supported = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism']; | ||
supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism']; | ||
let supported = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base']; | ||
supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base']; | ||
supported.solana = ['solana']; | ||
@@ -136,2 +136,4 @@ | ||
return 'optimism' | ||
case 'base': | ||
return 'base' | ||
default: | ||
@@ -193,3 +195,3 @@ throw('DePayReactTokenImage: Unknown blockchain') | ||
return( | ||
React.createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 198}} ) | ||
React.createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 201}} ) | ||
) | ||
@@ -202,3 +204,3 @@ } | ||
src: src , | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 203}} | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 206}} | ||
) | ||
@@ -205,0 +207,0 @@ ) |
@@ -135,2 +135,4 @@ import { PublicKey, Buffer } from '@depay/solana-web3.js'; | ||
return 'optimism' | ||
case 'base': | ||
return 'base' | ||
default: | ||
@@ -192,3 +194,3 @@ throw('DePayReactTokenImage: Unknown blockchain') | ||
return( | ||
React.createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 198}} ) | ||
React.createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 201}} ) | ||
) | ||
@@ -201,3 +203,3 @@ } | ||
src: src , | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 203}} | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 206}} | ||
) | ||
@@ -204,0 +206,0 @@ ) |
@@ -13,4 +13,4 @@ (function (global, factory) { | ||
let supported = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism']; | ||
supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism']; | ||
let supported = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base']; | ||
supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base']; | ||
supported.solana = []; | ||
@@ -142,2 +142,4 @@ | ||
return 'optimism' | ||
case 'base': | ||
return 'base' | ||
default: | ||
@@ -199,3 +201,3 @@ throw('DePayReactTokenImage: Unknown blockchain') | ||
return( | ||
React__default['default'].createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 197}} ) | ||
React__default['default'].createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 200}} ) | ||
) | ||
@@ -208,3 +210,3 @@ } | ||
src: src , | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 202}} | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 205}} | ||
) | ||
@@ -211,0 +213,0 @@ ) |
@@ -13,4 +13,4 @@ (function (global, factory) { | ||
let supported = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism']; | ||
supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism']; | ||
let supported = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base']; | ||
supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base']; | ||
supported.solana = ['solana']; | ||
@@ -142,2 +142,4 @@ | ||
return 'optimism' | ||
case 'base': | ||
return 'base' | ||
default: | ||
@@ -199,3 +201,3 @@ throw('DePayReactTokenImage: Unknown blockchain') | ||
return( | ||
React__default['default'].createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 198}} ) | ||
React__default['default'].createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 201}} ) | ||
) | ||
@@ -208,3 +210,3 @@ } | ||
src: src , | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 203}} | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 206}} | ||
) | ||
@@ -211,0 +213,0 @@ ) |
@@ -141,2 +141,4 @@ (function (global, factory) { | ||
return 'optimism' | ||
case 'base': | ||
return 'base' | ||
default: | ||
@@ -198,3 +200,3 @@ throw('DePayReactTokenImage: Unknown blockchain') | ||
return( | ||
React__default['default'].createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 198}} ) | ||
React__default['default'].createElement('div', { className: props.className , __self: this, __source: {fileName: _jsxFileName, lineNumber: 201}} ) | ||
) | ||
@@ -207,3 +209,3 @@ } | ||
src: src , | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 203}} | ||
onError: handleLoadError , __self: this, __source: {fileName: _jsxFileName, lineNumber: 206}} | ||
) | ||
@@ -210,0 +212,0 @@ ) |
{ | ||
"name": "@depay/react-token-image", | ||
"moduleName": "ReactTokenImage", | ||
"version": "4.14.2", | ||
"version": "4.15.0", | ||
"description": "React component to display token images with fallbacks and unknown state.", | ||
@@ -39,5 +39,5 @@ "main": "./dist/umd/index.js", | ||
"@depay/solana-web3.js": "^1.25.1", | ||
"@depay/web3-blockchains": "^9.0.0", | ||
"@depay/web3-client": "^10.17.0", | ||
"@depay/web3-tokens": "^10.2.0", | ||
"@depay/web3-blockchains": "^9.1.4", | ||
"@depay/web3-client": "^10.18.0", | ||
"@depay/web3-tokens": "^10.3.0", | ||
"ethers": "^5.7.1", | ||
@@ -55,5 +55,5 @@ "react": "^18", | ||
"@depay/solana-web3.js": "^1.25.1", | ||
"@depay/web3-blockchains": "^9.0.0", | ||
"@depay/web3-client": "^10.17.0", | ||
"@depay/web3-tokens": "^10.2.0", | ||
"@depay/web3-blockchains": "^9.1.4", | ||
"@depay/web3-client": "^10.18.0", | ||
"@depay/web3-tokens": "^10.3.0", | ||
"@rollup/plugin-commonjs": "^18.0.0", | ||
@@ -60,0 +60,0 @@ "@rollup/plugin-node-resolve": "^11.2.1", |
@@ -40,2 +40,3 @@ ## Quickstart | ||
- [Optimism](https://www.optimism.io) | ||
- [Base](https://base.org) | ||
@@ -42,0 +43,0 @@ ## Platform specific packaging |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63089
1139
100