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