tek-wallet 0.0.350 → 0.0.351

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.
@@ -351,14 +351,6 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
351
351
  setSelectedNetwork(network);
352
352
  gotoStep(WithdrawStep.CONFIRM);
353
353
  };
354
- // const handleValidateWalletAddress = async (
355
- // data: ValidateWalletAddressBody
356
- // ) => {
357
- // const validateWalletAddress = await validateWalletAddressService({
358
- // address: data?.address,
359
- // network: data?.network,
360
- // });
361
- // };
362
354
  var handleValidateWalletAddress = function (address, network) { return __awaiter(void 0, void 0, void 0, function () {
363
355
  var validateWalletAddress;
364
356
  var _a;
@@ -501,11 +493,10 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
501
493
  placeholder: "Enter memo",
502
494
  value: memo,
503
495
  onChange: handleChangeMemo,
504
- } })] })), (0, jsx_runtime_1.jsx)(Button_1.default.Primary, { sx: { width: "100%" }, status: amountError ||
496
+ } })] })), (0, jsx_runtime_1.jsx)(Button_1.default.Primary, { sx: { width: "100%" }, status: !!amountError ||
505
497
  !recipientAddress ||
506
498
  !amount ||
507
499
  !selectedToken ||
508
- !selectedNetwork ||
509
500
  !!recipientAddressError
510
501
  ? Button_1.BUTTON_STATUS.DISABLED
511
502
  : Button_1.BUTTON_STATUS.ENABLED, children: "Confirm" })] }) }, WithdrawStep.CONFIRM)] }, withdrawTokens === null || withdrawTokens === void 0 ? void 0 : withdrawTokens.length), (0, jsx_runtime_1.jsx)(QrCodeReader_1.default, { ref: scannerAllQrCodeRef, onResult: handleScanAllQrCode }), (0, jsx_runtime_1.jsx)(QrCodeReader_1.default, { ref: scannerAddressQrCodeRef, onResult: handleScanAddressQrCode }), (0, jsx_runtime_1.jsx)(AppBackDrop_1.default, { ref: backDropRef }), (0, jsx_runtime_1.jsx)(AppDialog_1.default, { overrideOpen: !!infoDialogContent, children: (0, jsx_runtime_1.jsx)(DialogContentLayout_1.default, { content: (0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.350",
3
+ "version": "0.0.351",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",