tek-wallet 0.0.115 → 0.0.116

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.
@@ -118,12 +118,14 @@ var GetSeedPhraseWalletView = function (props) {
118
118
  }, 1500);
119
119
  };
120
120
  var handleOtpChange = function (value) {
121
+ var _a;
121
122
  setOtp(value);
122
123
  /**
123
124
  * validate otp here
124
125
  */
125
126
  if (value.length === passcodeLength) {
126
- var response = getSeedPhrase({
127
+ (_a = childPageLayoutRef.current) === null || _a === void 0 ? void 0 : _a.showLoading();
128
+ getSeedPhrase({
127
129
  passcode: value,
128
130
  }, function () {
129
131
  var _a;
@@ -139,7 +141,6 @@ var GetSeedPhraseWalletView = function (props) {
139
141
  gotoStep(GetSeedPhraseWalletViewStep.SHOW_SEED_PHRASE);
140
142
  }, 1000);
141
143
  }, handleCreateWalletError);
142
- console.warn("🚀 ~ handleOtpChange ~ response:", response);
143
144
  }
144
145
  };
145
146
  return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { ref: childPageLayoutRef, header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { overrideBack: handleBack, title: "Backup Wallet" }), children: (0, jsx_runtime_1.jsx)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem", height: "100%" }, props.sx), children: (0, jsx_runtime_1.jsxs)(SwiperControlled_1.default, { ref: swiperControlledRef, disableSwipe: true, sx: { height: "100%" }, children: [(0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.115",
3
+ "version": "0.0.116",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",