@liquid-js/qr-code-styling 2.2.3 → 2.3.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.
@@ -117,10 +117,11 @@ export declare enum Mode {
117
117
  numeric = "Numeric",
118
118
  alphanumeric = "Alphanumeric",
119
119
  byte = "Byte",
120
- kanji = "Kanji"
120
+ kanji = "Kanji",
121
+ unicode = "Unicode"
121
122
  }
122
123
  export interface QRCode {
123
- addData(data: string, mode?: Mode): void;
124
+ addData(data: string, mode?: Mode.alphanumeric | Mode.byte | Mode.kanji | Mode.numeric): void;
124
125
  make(): void;
125
126
  getModuleCount(): number;
126
127
  isDark(row: number, col: number): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liquid-js/qr-code-styling",
3
- "version": "2.2.3",
3
+ "version": "2.3.0",
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",