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