@depay/widgets 9.4.2 → 10.0.0
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.
- package/README.md +2 -2
- package/dist/esm/index.bundle.js +1 -1
- package/dist/esm/index.js +13 -3
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +13 -3
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -24000,7 +24000,12 @@ var SignLoginDialog = (function (props) {
|
|
|
24000
24000
|
recoverSignature({
|
|
24001
24001
|
message: messageToSign,
|
|
24002
24002
|
signature: signature
|
|
24003
|
-
}).then(
|
|
24003
|
+
}).then(function (account) {
|
|
24004
|
+
props.resolve({
|
|
24005
|
+
account: account,
|
|
24006
|
+
wallet: wallet
|
|
24007
|
+
});
|
|
24008
|
+
})["catch"](setError);
|
|
24004
24009
|
})["catch"](function (error) {
|
|
24005
24010
|
if (error && error.code && error.code == 4001) ; else {
|
|
24006
24011
|
setError(error);
|
|
@@ -24093,9 +24098,14 @@ var Login = function Login(options) {
|
|
|
24093
24098
|
}, /*#__PURE__*/React.createElement(LoginStack, {
|
|
24094
24099
|
document: document,
|
|
24095
24100
|
container: container,
|
|
24096
|
-
resolve: function resolve(
|
|
24101
|
+
resolve: function resolve(_ref2) {
|
|
24102
|
+
var account = _ref2.account,
|
|
24103
|
+
wallet = _ref2.wallet;
|
|
24097
24104
|
unmount();
|
|
24098
|
-
_resolve(
|
|
24105
|
+
_resolve({
|
|
24106
|
+
account: account,
|
|
24107
|
+
wallet: wallet
|
|
24108
|
+
});
|
|
24099
24109
|
}
|
|
24100
24110
|
}), /*#__PURE__*/React.createElement(PoweredBy, null))))));
|
|
24101
24111
|
};
|