@qr-platform/qr-code.js 0.10.5 → 0.10.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @qr-platform/qr-code-js
2
2
 
3
+ ## 0.10.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 4f213aa: Updated default template image padding and margin base settings
8
+
9
+ ## 0.10.6
10
+
11
+ ### Patch Changes
12
+
13
+ - f3f47fc: Streamline QR code decoration options and enhance canvas rendering capabilities
14
+
3
15
  ## 0.10.5
4
16
 
5
17
  ### Patch Changes
@@ -151,6 +151,10 @@ export declare class QRCodeJs {
151
151
  canvas: HTMLCanvasElement;
152
152
  canvasDrawingPromise: Promise<void> | undefined;
153
153
  } | undefined>;
154
+ protected _drawToCanvasPrevious(options?: RecursivePartial<CanvasOptions>): Promise<{
155
+ canvas: HTMLCanvasElement;
156
+ canvasDrawingPromise: Promise<void> | undefined;
157
+ } | undefined>;
154
158
  private downloadURI;
155
159
  download(downloadOptions?: {
156
160
  name?: string;
package/lib/index.d.ts CHANGED
@@ -8,7 +8,6 @@ import { ScanValidatorResponse } from './utils/scan-validators/abstract-scan-val
8
8
  import { type DecodedLicenseToken } from './utils/token-validator';
9
9
  export { ErrorCorrectionLevel, Mode, TypeNumber } from './lib/qrcode/QRCodeMinimal';
10
10
  export { type ExtensionFunction } from './core/qr-code-js';
11
- export { FileExtension } from './tools/browser-utils';
12
11
  export { type RecursivePartial } from './types/helper';
13
12
  export { type CanvasOptions } from './utils/canvas-options';
14
13
  export { GradientType, type Gradient } from './utils/gradient';