tek-wallet 0.0.663 → 0.0.664

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.
@@ -94,7 +94,7 @@ var ThemeProvider_1 = require("../../../providers/ThemeProvider");
94
94
  var LoadingLayout_1 = __importDefault(require("../LoadingLayout"));
95
95
  var DrawerComponent_1 = __importDefault(require("../DrawerComponent"));
96
96
  var authentication_by_passcode_service_1 = __importDefault(require("../../../services/axios/authentication-by-passcode-service"));
97
- var expose_1 = require("../../../../../Boilerplate/XHubKeyboard/expose");
97
+ var xhub_keyboard_1 = require("xhub-keyboard");
98
98
  var handleVerifyPasscode = function (data) { return __awaiter(void 0, void 0, void 0, function () {
99
99
  var response, err_1;
100
100
  return __generator(this, function (_a) {
@@ -192,18 +192,18 @@ var ConfirmByPasscode = (0, react_1.forwardRef)(function (props, ref) {
192
192
  }
193
193
  });
194
194
  }); };
195
- return ((0, jsx_runtime_1.jsx)(DrawerComponent_1.default, { ref: drawerRef, trigger: (0, jsx_runtime_1.jsx)(expose_1.Label, { style: {
195
+ return ((0, jsx_runtime_1.jsx)(DrawerComponent_1.default, { ref: drawerRef, trigger: (0, jsx_runtime_1.jsx)(xhub_keyboard_1.Label, { style: {
196
196
  width: "100%",
197
197
  }, useBrowserInput: false, htmlFor: "confirm-passcode-keyboard", children: props.children }), onOpen: handleOnOpen, onClose: handleOnClose, sx: {
198
198
  width: "100%",
199
199
  maxWidth: "calc(100dvw - 2rem)",
200
200
  display: "flex",
201
- }, children: (0, jsx_runtime_1.jsx)(expose_1.Keyboard, { id: "confirm-passcode-keyboard", keyboardType: expose_1.KeyboardType.Integer, value: otp, onChange: handleOtpChange, children: (0, jsx_runtime_1.jsx)(LoadingLayout_1.default, { initLoading: false, ref: loadingRef, sx: {
201
+ }, children: (0, jsx_runtime_1.jsx)(xhub_keyboard_1.Keyboard, { id: "confirm-passcode-keyboard", keyboardType: xhub_keyboard_1.KeyboardType.Integer, value: otp, onChange: handleOtpChange, children: (0, jsx_runtime_1.jsx)(LoadingLayout_1.default, { initLoading: false, ref: loadingRef, sx: {
202
202
  backgroundColor: "transparent",
203
203
  width: "100%",
204
204
  }, children: (0, jsx_runtime_1.jsx)(ModalLayout_1.default, { title: "Enter Passcode", onClose: handleClose, sx: {
205
205
  backgroundColor: theme.palette.background.tertiary,
206
- }, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { justifyContent: "center", alignItems: "center", gap: "0.75rem", width: "100%" }), children: [(0, jsx_runtime_1.jsx)(expose_1.Label, { style: {
206
+ }, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { justifyContent: "center", alignItems: "center", gap: "0.75rem", width: "100%" }), children: [(0, jsx_runtime_1.jsx)(xhub_keyboard_1.Label, { style: {
207
207
  width: "100%",
208
208
  }, useBrowserInput: false, htmlFor: "confirm-passcode-keyboard", children: (0, jsx_runtime_1.jsx)(OTP_1.default, { value: otp, onChange: handleOtpChange, numInputs: passcodeLength, otpInputType: OTP_1.OtpInputType.CONFIRM_BY_PASSCODE }) }), !!authError && ((0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign(__assign({}, theme.mixins.validationError), { alignSelf: "flex-start" }), children: authError }))] }) }) }) }) }));
209
209
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.663",
3
+ "version": "0.0.664",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",