@lglab/react-qr-code 1.0.0 → 1.0.1
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.
- package/dist/index.es.js +5 -5
- package/package.json +5 -5
package/dist/index.es.js
CHANGED
|
@@ -898,8 +898,8 @@ const K = (r, c, a, s) => {
|
|
|
898
898
|
), f = S(
|
|
899
899
|
() => [
|
|
900
900
|
{ x: c + 2, y: c + 2 },
|
|
901
|
-
{ x: r.length
|
|
902
|
-
{ x: c + 2, y: r.length
|
|
901
|
+
{ x: r.length + c - C + 2, y: c + 2 },
|
|
902
|
+
{ x: c + 2, y: r.length + c - C + 2 }
|
|
903
903
|
],
|
|
904
904
|
[c, r.length]
|
|
905
905
|
), l = ($, E) => `finder-patterns-inner-${e}-${$}-${E}`;
|
|
@@ -980,12 +980,12 @@ const K = (r, c, a, s) => {
|
|
|
980
980
|
), f = [], l = S(
|
|
981
981
|
() => [
|
|
982
982
|
{ x: c, y: c },
|
|
983
|
-
{ x: r.length
|
|
984
|
-
{ x: c, y: r.length
|
|
983
|
+
{ x: r.length + c - C, y: c },
|
|
984
|
+
{ x: c, y: r.length + c - C }
|
|
985
985
|
],
|
|
986
986
|
[c, r.length]
|
|
987
987
|
);
|
|
988
|
-
if (["rounded-sm", "rounded", "rounded-lg", "circle", "square"].includes(s)) {
|
|
988
|
+
if (console.log("modules.length", r.length), console.log("coordinates", l), ["rounded-sm", "rounded", "rounded-lg", "circle", "square"].includes(s)) {
|
|
989
989
|
for (const $ of l) {
|
|
990
990
|
const { x: E, y: t } = $;
|
|
991
991
|
s === "rounded-sm" || s === "rounded" || s === "rounded-lg" ? f.push(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lglab/react-qr-code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "React library to generate QR codes",
|
|
5
5
|
"author": "LGLab",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://reactqrcode.com",
|
|
13
13
|
"type": "module",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc -b && vite build"
|
|
16
|
+
},
|
|
14
17
|
"types": "./dist/index.d.ts",
|
|
15
18
|
"main": "./dist/index.es.js",
|
|
16
19
|
"module": "./dist/index.es.js",
|
|
@@ -38,8 +41,5 @@
|
|
|
38
41
|
"typescript-eslint": "^8.22.0",
|
|
39
42
|
"vite": "^6.0.5",
|
|
40
43
|
"vite-plugin-dts": "^4.5.0"
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"build": "tsc -b && vite build"
|
|
44
44
|
}
|
|
45
|
-
}
|
|
45
|
+
}
|