@depay/widgets 12.3.2 → 12.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.solana.js
CHANGED
|
@@ -35365,7 +35365,7 @@ let TokenImage = function(props){
|
|
|
35365
35365
|
if(storedImage && storedImage.length && storedImage != UNKNOWN_IMAGE) {
|
|
35366
35366
|
return setSource(storedImage, 'stored')
|
|
35367
35367
|
}
|
|
35368
|
-
const foundMajorToken = Blockchains[blockchain].tokens.find((token)=> token.address.toLowerCase() === address.toLowerCase());
|
|
35368
|
+
const foundMajorToken = Blockchains[blockchain].tokens.find((token)=> token.address.toLowerCase() === _optionalChain([address, 'optionalAccess', _ => _.toLowerCase, 'call', _2 => _2()]));
|
|
35369
35369
|
if(foundMajorToken) {
|
|
35370
35370
|
setSource(foundMajorToken.logo, 'web3-blockchains');
|
|
35371
35371
|
} else {
|
|
@@ -35404,7 +35404,7 @@ let TokenImage = function(props){
|
|
|
35404
35404
|
});
|
|
35405
35405
|
|
|
35406
35406
|
|
|
35407
|
-
if(_optionalChain([metaData, 'optionalAccess',
|
|
35407
|
+
if(_optionalChain([metaData, 'optionalAccess', _3 => _3.data, 'optionalAccess', _4 => _4.uri])) {
|
|
35408
35408
|
|
|
35409
35409
|
const uri = metaData.data.uri.replace(new RegExp('\u0000', 'g'), '');
|
|
35410
35410
|
if(uri && uri.length) {
|