@liquid-js/qr-code-styling 2.4.0 → 2.4.2
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/LICENSE +2 -0
- package/README.md +3 -5
- package/lib/core/QRCodeStyling.d.ts +2 -2
- package/lib/core/QROptions.d.ts +1 -1
- package/lib/core/QRSVG.d.ts +2 -2
- package/lib/figures/cornerDot/QRCornerDot.d.ts +1 -1
- package/lib/figures/cornerSquare/QRCornerSquare.d.ts +1 -1
- package/lib/figures/dot/QRDot.d.ts +1 -1
- package/lib/index.d.ts +4 -4
- package/lib/node.d.ts +5 -5
- package/lib/qr-code-styling-node.js.map +1 -1
- package/lib/qr-code-styling.js.map +1 -1
- package/lib/tools/browserImageTools.d.ts +1 -1
- package/lib/tools/browserUtils.d.ts +2 -2
- package/lib/tools/getMode.d.ts +1 -1
- package/lib/tools/merge.d.ts +1 -1
- package/lib/tools/sanitizeOptions.d.ts +1 -1
- package/lib/types/index.d.ts +1 -1
- package/package.json +6 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QRCodeStyling } from "../core/QRCodeStyling";
|
|
2
|
-
import { CanvasOptions, FileExtension } from "../types";
|
|
1
|
+
import { QRCodeStyling } from "../core/QRCodeStyling.js";
|
|
2
|
+
import { CanvasOptions, FileExtension } from "../types/index.js";
|
|
3
3
|
export declare function drawToCanvas(qrCode: QRCodeStyling, options?: CanvasOptions): {
|
|
4
4
|
canvas: HTMLCanvasElement;
|
|
5
5
|
canvasDrawingPromise: Promise<void> | undefined;
|
package/lib/tools/getMode.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Mode } from "../types";
|
|
1
|
+
import { Mode } from "../types/index.js";
|
|
2
2
|
export declare function getMode(data: string): Mode;
|
package/lib/tools/merge.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnknownObject } from "../types";
|
|
1
|
+
import { UnknownObject } from "../types/index.js";
|
|
2
2
|
export declare function mergeDeep(target: UnknownObject, ...sources: UnknownObject[]): UnknownObject;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RequiredCanvasOptions, RequiredOptions } from "../core/QROptions";
|
|
1
|
+
import { RequiredCanvasOptions, RequiredOptions } from "../core/QROptions.js";
|
|
2
2
|
export declare function sanitizeOptions(options: RequiredOptions): RequiredOptions;
|
|
3
3
|
export declare function sanitizeCanvasOptions(options: RequiredCanvasOptions): RequiredCanvasOptions;
|
package/lib/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liquid-js/qr-code-styling",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
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",
|
|
@@ -48,12 +48,14 @@
|
|
|
48
48
|
"image",
|
|
49
49
|
"qrlogo",
|
|
50
50
|
"logo",
|
|
51
|
-
"design"
|
|
51
|
+
"design",
|
|
52
|
+
"node",
|
|
53
|
+
"nodejs"
|
|
52
54
|
],
|
|
53
|
-
"author": "
|
|
55
|
+
"author": "HitkoDev <development@hitko.si>",
|
|
54
56
|
"license": "MIT",
|
|
55
57
|
"bugs": {
|
|
56
58
|
"url": "https://github.com/Liquid-JS/qr-code-styling/issues"
|
|
57
59
|
},
|
|
58
|
-
"homepage": "https://qr
|
|
60
|
+
"homepage": "https://styled-qr.liquidjs.io/"
|
|
59
61
|
}
|