@depay/widgets 12.3.0 → 12.3.1

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.
@@ -23797,8 +23797,8 @@ var SignLoginDialog = (function (props) {
23797
23797
  if (typeof recoverSignature != 'function') {
23798
23798
  recoverSignature = function recoverSignature(_ref) {
23799
23799
  var message = _ref.message,
23800
- signature = _ref.signature;
23801
- _ref.wallet;
23800
+ signature = _ref.signature,
23801
+ wallet = _ref.wallet;
23802
23802
  return new Promise(function (resolve, reject) {
23803
23803
  fetch(endpoint, {
23804
23804
  method: 'POST',
@@ -23807,7 +23807,10 @@ var SignLoginDialog = (function (props) {
23807
23807
  },
23808
23808
  body: JSON.stringify({
23809
23809
  message: message,
23810
- signature: signature
23810
+ signature: signature,
23811
+ wallet: {
23812
+ name: wallet.name
23813
+ }
23811
23814
  })
23812
23815
  }).then(function (response) {
23813
23816
  if (response.status == 200) {
@@ -23834,7 +23837,8 @@ var SignLoginDialog = (function (props) {
23834
23837
  wallet.sign(messageToSign).then(function (signature) {
23835
23838
  recoverSignature({
23836
23839
  message: messageToSign,
23837
- signature: signature
23840
+ signature: signature,
23841
+ wallet: wallet
23838
23842
  }).then(function (account) {
23839
23843
  props.resolve({
23840
23844
  account: account,