@depay/widgets 12.3.1 → 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.
@@ -23798,8 +23798,7 @@ var SignLoginDialog = (function (props) {
23798
23798
  if (typeof recoverSignature != 'function') {
23799
23799
  recoverSignature = function recoverSignature(_ref) {
23800
23800
  var message = _ref.message,
23801
- signature = _ref.signature,
23802
- wallet = _ref.wallet;
23801
+ signature = _ref.signature;
23803
23802
  return new Promise(function (resolve, reject) {
23804
23803
  fetch(endpoint, {
23805
23804
  method: 'POST',
@@ -23808,10 +23807,7 @@ var SignLoginDialog = (function (props) {
23808
23807
  },
23809
23808
  body: JSON.stringify({
23810
23809
  message: message,
23811
- signature: signature,
23812
- wallet: {
23813
- name: wallet.name
23814
- }
23810
+ signature: signature
23815
23811
  })
23816
23812
  }).then(function (response) {
23817
23813
  if (response.status == 200) {
@@ -35369,7 +35365,7 @@ let TokenImage = function(props){
35369
35365
  if(storedImage && storedImage.length && storedImage != UNKNOWN_IMAGE) {
35370
35366
  return setSource(storedImage, 'stored')
35371
35367
  }
35372
- 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()]));
35373
35369
  if(foundMajorToken) {
35374
35370
  setSource(foundMajorToken.logo, 'web3-blockchains');
35375
35371
  } else {
@@ -35408,7 +35404,7 @@ let TokenImage = function(props){
35408
35404
  });
35409
35405
 
35410
35406
 
35411
- if(_optionalChain([metaData, 'optionalAccess', _ => _.data, 'optionalAccess', _2 => _2.uri])) {
35407
+ if(_optionalChain([metaData, 'optionalAccess', _3 => _3.data, 'optionalAccess', _4 => _4.uri])) {
35412
35408
 
35413
35409
  const uri = metaData.data.uri.replace(new RegExp('\u0000', 'g'), '');
35414
35410
  if(uri && uri.length) {