@depay/widgets 9.4.2 → 10.0.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.
- package/README.md +2 -2
- package/dist/esm/index.bundle.js +1 -1
- package/dist/esm/index.js +16 -4
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +16 -4
- package/package.json +1 -1
package/dist/umd/index.js
CHANGED
|
@@ -23684,7 +23684,9 @@
|
|
|
23684
23684
|
wallet = _ref.wallet;
|
|
23685
23685
|
setAccount(account);
|
|
23686
23686
|
setWallet(wallet);
|
|
23687
|
-
|
|
23687
|
+
setTimeout(function () {
|
|
23688
|
+
return setWalletState('connected');
|
|
23689
|
+
}, 200); // wait for animation to finish
|
|
23688
23690
|
if (props.connected) {
|
|
23689
23691
|
props.connected(account);
|
|
23690
23692
|
}
|
|
@@ -23994,7 +23996,12 @@
|
|
|
23994
23996
|
recoverSignature({
|
|
23995
23997
|
message: messageToSign,
|
|
23996
23998
|
signature: signature
|
|
23997
|
-
}).then(
|
|
23999
|
+
}).then(function (account) {
|
|
24000
|
+
props.resolve({
|
|
24001
|
+
account: account,
|
|
24002
|
+
wallet: wallet
|
|
24003
|
+
});
|
|
24004
|
+
})["catch"](setError);
|
|
23998
24005
|
})["catch"](function (error) {
|
|
23999
24006
|
if (error && error.code && error.code == 4001) ; else {
|
|
24000
24007
|
setError(error);
|
|
@@ -24087,9 +24094,14 @@
|
|
|
24087
24094
|
}, /*#__PURE__*/React__default["default"].createElement(LoginStack, {
|
|
24088
24095
|
document: document,
|
|
24089
24096
|
container: container,
|
|
24090
|
-
resolve: function resolve(
|
|
24097
|
+
resolve: function resolve(_ref2) {
|
|
24098
|
+
var account = _ref2.account,
|
|
24099
|
+
wallet = _ref2.wallet;
|
|
24091
24100
|
unmount();
|
|
24092
|
-
_resolve(
|
|
24101
|
+
_resolve({
|
|
24102
|
+
account: account,
|
|
24103
|
+
wallet: wallet
|
|
24104
|
+
});
|
|
24093
24105
|
}
|
|
24094
24106
|
}), /*#__PURE__*/React__default["default"].createElement(PoweredBy, null))))));
|
|
24095
24107
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/widgets",
|
|
3
3
|
"moduleName": "DePayWidgets",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "10.0.1",
|
|
5
5
|
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
|
|
6
6
|
"main": "./dist/umd/index.js",
|
|
7
7
|
"module": "./dist/esm/index.js",
|