@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.
@@ -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
- /** @ignore */
98
+ /**
99
+ * @ignore
100
+ * @deprecated kept for compatibility with older extensions, use options.size
101
+ */
99
102
  width: number;
100
- /** @ignore */
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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liquid-js/qr-code-styling",
3
- "version": "5.0.3",
3
+ "version": "5.1.0",
4
4
  "description": "Generate styled QR codes on web or in Node",
5
5
  "type": "module",
6
6
  "main": "./lib/qr-code-styling-node.js",