@kimafinance/kima-transaction-widget 1.2.13-beta.1 → 1.2.15-beta.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/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2532,7 +2532,6 @@ function useBalance() {
|
|
|
2532
2532
|
var tokenOptions = reactRedux.useSelector(selectTokenOptions);
|
|
2533
2533
|
var tokenAddress = React.useMemo(function () {
|
|
2534
2534
|
if (isEmptyObject(tokenOptions) || sourceChain === exports.SupportNetworks.FIAT) return '';
|
|
2535
|
-
console.log(tokenOptions);
|
|
2536
2535
|
if (tokenOptions && typeof tokenOptions === 'object') {
|
|
2537
2536
|
var coinOptions = tokenOptions[selectedCoin];
|
|
2538
2537
|
if (coinOptions && typeof coinOptions === 'object') {
|
|
@@ -7813,9 +7812,9 @@ var TransferWidget = function TransferWidget(_ref) {
|
|
|
7813
7812
|
address: walletAddress
|
|
7814
7813
|
}))).then(function (res) {
|
|
7815
7814
|
dispatch(setSourceCompliant(res));
|
|
7816
|
-
toast.toast.error('xplorisk check failed');
|
|
7817
7815
|
});
|
|
7818
7816
|
}, function (e) {
|
|
7817
|
+
toast.toast.error('xplorisk check failed');
|
|
7819
7818
|
console.log('xplorisk check failed', e);
|
|
7820
7819
|
});
|
|
7821
7820
|
return _temp && _temp.then ? _temp.then(function () {}) : void 0;
|
|
@@ -7833,9 +7832,9 @@ var TransferWidget = function TransferWidget(_ref) {
|
|
|
7833
7832
|
address: targetAddress
|
|
7834
7833
|
}))).then(function (res) {
|
|
7835
7834
|
dispatch(setTargetCompliant(res));
|
|
7836
|
-
toast.toast.error('xplorisk check failed');
|
|
7837
7835
|
});
|
|
7838
7836
|
}, function (e) {
|
|
7837
|
+
toast.toast.error('xplorisk check failed');
|
|
7839
7838
|
console.log('xplorisk check failed', e);
|
|
7840
7839
|
});
|
|
7841
7840
|
return _temp2 && _temp2.then ? _temp2.then(function () {}) : void 0;
|
|
@@ -8313,12 +8312,12 @@ var KimaTransactionWidget = function KimaTransactionWidget(_ref) {
|
|
|
8313
8312
|
address: transactionOption === null || transactionOption === void 0 ? void 0 : transactionOption.targetAddress
|
|
8314
8313
|
}))).then(function (compliantRes) {
|
|
8315
8314
|
dispatch(setTargetCompliant(compliantRes));
|
|
8316
|
-
toast__default.error('xplorisk check failed');
|
|
8317
8315
|
});
|
|
8318
8316
|
}
|
|
8319
8317
|
}();
|
|
8320
8318
|
if (_temp2 && _temp2.then) return _temp2.then(function () {});
|
|
8321
8319
|
}, function (e) {
|
|
8320
|
+
toast__default.error('xplorisk check failed');
|
|
8322
8321
|
console.log('xplorisk check failed', e);
|
|
8323
8322
|
});
|
|
8324
8323
|
};
|