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