@liquid-js/qr-code-styling 4.0.7 → 4.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.
@@ -13,7 +13,8 @@ export declare enum DotType {
13
13
  square = "square",
14
14
  smallSquare = "small-square",
15
15
  tinySquare = "tiny-square",
16
- diamond = "diamond"
16
+ diamond = "diamond",
17
+ wave = "wave"
17
18
  }
18
19
  export declare enum CornerDotType {
19
20
  dot = "dot",
@@ -142,7 +143,7 @@ export interface Options {
142
143
  /** Gradient of Corners Square */
143
144
  gradient?: Gradient;
144
145
  /** Style of Corners Square */
145
- type?: `${CornerSquareType}`;
146
+ type?: `${CornerSquareType | DotType}`;
146
147
  };
147
148
  /** Corners Dot options, omitted values match squares */
148
149
  cornersDotOptions?: {
@@ -151,7 +152,7 @@ export interface Options {
151
152
  /** Gradient of Corners Dot */
152
153
  gradient?: Gradient;
153
154
  /** Style of Corners Dot */
154
- type?: `${CornerDotType}`;
155
+ type?: `${CornerDotType | DotType}`;
155
156
  };
156
157
  /** QR background styling options, false to disable background */
157
158
  backgroundOptions?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liquid-js/qr-code-styling",
3
- "version": "4.0.7",
3
+ "version": "4.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",