tek-wallet 0.0.326 → 0.0.327

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.
@@ -158,7 +158,6 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
158
158
  setRecipientAddressInternal(undefined);
159
159
  setAmountError(undefined);
160
160
  setAmountErrorMessage(undefined);
161
- gotoStep(WithdrawStep.SELECT_METHOD);
162
161
  };
163
162
  var open = function () {
164
163
  var _a;
@@ -167,7 +166,7 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
167
166
  var close = function () {
168
167
  var _a;
169
168
  (_a = drawerRef.current) === null || _a === void 0 ? void 0 : _a.close();
170
- clearValues();
169
+ gotoStep(WithdrawStep.SELECT_METHOD);
171
170
  };
172
171
  (0, react_1.useImperativeHandle)(ref, function () { return ({
173
172
  open: open,
@@ -219,7 +218,7 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
219
218
  };
220
219
  var handleOnClose = function (e) {
221
220
  var _a;
222
- clearValues();
221
+ gotoStep(WithdrawStep.SELECT_METHOD);
223
222
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props, e);
224
223
  };
225
224
  var findWithdrawToken = function (contract_address) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.326",
3
+ "version": "0.0.327",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",