@liquid-js/qr-code-styling 5.0.3 → 5.1.0
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/lib/border-plugin.js +1 -1
- package/lib/border-plugin.js.map +1 -1
- package/lib/core/qr-svg.d.ts +1 -1
- package/lib/plugins/border.d.ts +9 -0
- package/lib/qr-code-styling-node.js +41 -36
- 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/utils/options.d.ts +10 -2
- package/package.json +1 -1
package/lib/utils/options.d.ts
CHANGED
|
@@ -95,10 +95,18 @@ export interface Options {
|
|
|
95
95
|
document: Document;
|
|
96
96
|
/** Use a custom image fetching & serializaton implementation */
|
|
97
97
|
imageTools?: typeof browserImageTools;
|
|
98
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* @ignore
|
|
100
|
+
* @deprecated kept for compatibility with older extensions, use options.size
|
|
101
|
+
*/
|
|
99
102
|
width: number;
|
|
100
|
-
/**
|
|
103
|
+
/**
|
|
104
|
+
* @ignore
|
|
105
|
+
* @deprecated kept for compatibility with older extensions, use options.size
|
|
106
|
+
*/
|
|
101
107
|
height: number;
|
|
108
|
+
/** @ignore */
|
|
109
|
+
size: number;
|
|
102
110
|
/** The data will be encoded in the QR code */
|
|
103
111
|
data: string;
|
|
104
112
|
/** The image will be copied to the center of the QR code */
|