tek-wallet 0.0.277 → 0.0.279

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.
@@ -54,6 +54,8 @@ var QrCodeReader = (0, react_1.forwardRef)(function (props, ref) {
54
54
  }, constraints: { facingMode: "environment" }, onResult: props.onResult, videoStyle: {
55
55
  objectFit: "cover",
56
56
  width: "100%",
57
+ border: "1px solid blue",
58
+ zIndex: 5000,
57
59
  } }), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.center), { width: "50%", aspectRatio: 1, border: "1px solid ".concat(theme.palette.border.white64) }) })] })) }) }));
58
60
  });
59
61
  QrCodeReader.displayName = "QrCodeReader";
@@ -167,7 +167,10 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
167
167
  var handleScanAllQrCode = function (result) {
168
168
  var _a;
169
169
  console.warn("🚀 ~ handleScanAllQrCode ~ result:", result);
170
- (_a = scannerAllQrCodeRef.current) === null || _a === void 0 ? void 0 : _a.close();
170
+ if (result) {
171
+ console.error("result", result);
172
+ (_a = scannerAllQrCodeRef.current) === null || _a === void 0 ? void 0 : _a.close();
173
+ }
171
174
  };
172
175
  var handleScanAddressQrCode = function () { };
173
176
  (0, react_1.useEffect)(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.277",
3
+ "version": "0.0.279",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",