diff --git a/package-lock.json b/package-lock.json index 335eaa22..9c082f20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "qr-code-styling", - "version": "1.4.0", + "version": "1.4.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1a0773e4..08793a6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qr-code-styling", - "version": "1.4.1", + "version": "1.4.2", "description": "Add a style and an image to your QR code", "main": "lib/qr-code-styling.js", "types": "lib/index.d.ts", diff --git a/src/core/QROptions.ts b/src/core/QROptions.ts index dac17aff..d22b5caf 100644 --- a/src/core/QROptions.ts +++ b/src/core/QROptions.ts @@ -22,8 +22,10 @@ export type Gradient = { }; export type Options = { + type?: DrawType; width?: number; height?: number; + margin?: number; data?: string; image?: string; qrOptions?: {