tek-wallet 0.0.275 → 0.0.277

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.
@@ -49,7 +49,7 @@ var QrCodeReader = (0, react_1.forwardRef)(function (props, ref) {
49
49
  height: "100dvh",
50
50
  position: "relative",
51
51
  }, children: isOpen && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(react_qr_reader_1.QrReader, { containerStyle: {
52
- width: "100%",
52
+ width: "300px",
53
53
  border: "1px solid red",
54
54
  }, constraints: { facingMode: "environment" }, onResult: props.onResult, videoStyle: {
55
55
  objectFit: "cover",
@@ -164,10 +164,10 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
164
164
  setSelectedNetwork(network);
165
165
  nextStep();
166
166
  };
167
- var handleScanAllQrCode = function (result, error, codeReader) {
167
+ var handleScanAllQrCode = function (result) {
168
+ var _a;
168
169
  console.warn("🚀 ~ handleScanAllQrCode ~ result:", result);
169
- console.warn("🚀 ~ handleScanAllQrCode ~ error:", error);
170
- console.warn("🚀 ~ handleScanAllQrCode ~ codeReader:", codeReader);
170
+ (_a = scannerAllQrCodeRef.current) === null || _a === void 0 ? void 0 : _a.close();
171
171
  };
172
172
  var handleScanAddressQrCode = function () { };
173
173
  (0, react_1.useEffect)(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.275",
3
+ "version": "0.0.277",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",