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