@liquid-js/qr-code-styling 2.0.2 → 2.0.4
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/README.md +124 -101
- package/lib/core/QROptions.d.ts +0 -1
- package/lib/qr-code-styling-node.js +4 -3
- package/lib/qr-code-styling-node.js.map +1 -1
- package/lib/qr-code-styling.js +1 -1
- package/lib/qr-code-styling.js.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/package.json +3 -3
package/lib/types/index.d.ts
CHANGED
|
@@ -104,7 +104,6 @@ export type Options = {
|
|
|
104
104
|
shape?: ShapeType;
|
|
105
105
|
width?: number;
|
|
106
106
|
height?: number;
|
|
107
|
-
margin?: number;
|
|
108
107
|
data?: string;
|
|
109
108
|
image?: string | Buffer | Blob;
|
|
110
109
|
imageTools?: typeof browserImageTools;
|
|
@@ -138,6 +137,7 @@ export type Options = {
|
|
|
138
137
|
round?: number;
|
|
139
138
|
color?: string;
|
|
140
139
|
gradient?: Gradient;
|
|
140
|
+
margin?: number;
|
|
141
141
|
} | false;
|
|
142
142
|
};
|
|
143
143
|
export type CanvasOptions = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liquid-js/qr-code-styling",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Add a style and an image to your QR code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/qr-code-styling-node.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|
|
62
|
-
"url": "git+https://github.com/
|
|
62
|
+
"url": "git+https://github.com/Liquid-JS/qr-code-styling.git"
|
|
63
63
|
},
|
|
64
64
|
"keywords": [
|
|
65
65
|
"qr",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"author": "Denys Kozak <kozak.denys.dev@gmail.com>",
|
|
81
81
|
"license": "MIT",
|
|
82
82
|
"bugs": {
|
|
83
|
-
"url": "https://github.com/
|
|
83
|
+
"url": "https://github.com/Liquid-JS/qr-code-styling/issues"
|
|
84
84
|
},
|
|
85
85
|
"homepage": "https://qr-code-styling.com"
|
|
86
86
|
}
|