tek-wallet 0.0.409 → 0.0.410

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.
@@ -362,7 +362,7 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
362
362
  break;
363
363
  }
364
364
  };
365
- var handleGetEstimateFee = (0, react_1.useCallback)(function () { return __awaiter(void 0, void 0, void 0, function () {
365
+ var getEstimateFee = (0, react_1.useCallback)(function () { return __awaiter(void 0, void 0, void 0, function () {
366
366
  var response;
367
367
  return __generator(this, function (_a) {
368
368
  switch (_a.label) {
@@ -383,7 +383,7 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
383
383
  return [2 /*return*/];
384
384
  }
385
385
  });
386
- }); }, [amount, selectedToken === null || selectedToken === void 0 ? void 0 : selectedToken.slug]);
386
+ }); }, [amount, selectedToken, amountError]);
387
387
  var openScannerAddressQrCode = function () {
388
388
  var _a;
389
389
  (_a = scannerAddressQrCodeRef.current) === null || _a === void 0 ? void 0 : _a.open();
@@ -607,8 +607,8 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
607
607
  validateAmount();
608
608
  }, [validateAmount]);
609
609
  (0, react_1.useEffect)(function () {
610
- handleGetEstimateFee();
611
- }, [handleGetEstimateFee]);
610
+ getEstimateFee();
611
+ }, [getEstimateFee]);
612
612
  return ((0, jsx_runtime_1.jsx)(RequireConnect_1.default, { children: (0, jsx_runtime_1.jsx)(DrawerComponent_1.default, { ref: drawerRef, trigger: props.children, onOpen: props.onOpen, onClose: handleOnClose, children: (0, jsx_runtime_1.jsxs)(ModalLayout_1.default, { overrideHeader: (0, jsx_runtime_1.jsx)(BackHeader_1.default, { sx: {
613
613
  width: "100%",
614
614
  display: "flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.409",
3
+ "version": "0.0.410",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",