@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/umd/index.solana.js
CHANGED
|
@@ -35363,7 +35363,7 @@
|
|
|
35363
35363
|
if(storedImage && storedImage.length && storedImage != UNKNOWN_IMAGE) {
|
|
35364
35364
|
return setSource(storedImage, 'stored')
|
|
35365
35365
|
}
|
|
35366
|
-
const foundMajorToken = Blockchains__default["default"][blockchain].tokens.find((token)=> token.address.toLowerCase() === address.toLowerCase());
|
|
35366
|
+
const foundMajorToken = Blockchains__default["default"][blockchain].tokens.find((token)=> token.address.toLowerCase() === _optionalChain([address, 'optionalAccess', _ => _.toLowerCase, 'call', _2 => _2()]));
|
|
35367
35367
|
if(foundMajorToken) {
|
|
35368
35368
|
setSource(foundMajorToken.logo, 'web3-blockchains');
|
|
35369
35369
|
} else {
|
|
@@ -35402,7 +35402,7 @@
|
|
|
35402
35402
|
});
|
|
35403
35403
|
|
|
35404
35404
|
|
|
35405
|
-
if(_optionalChain([metaData, 'optionalAccess',
|
|
35405
|
+
if(_optionalChain([metaData, 'optionalAccess', _3 => _3.data, 'optionalAccess', _4 => _4.uri])) {
|
|
35406
35406
|
|
|
35407
35407
|
const uri = metaData.data.uri.replace(new RegExp('\u0000', 'g'), '');
|
|
35408
35408
|
if(uri && uri.length) {
|