@operato/barcode
Advanced tools
Comparing version 1.3.13 to 1.3.15
@@ -6,2 +6,11 @@ # Change Log | ||
### [1.3.15](https://github.com/hatiolab/operato/compare/v1.3.14...v1.3.15) (2023-07-07) | ||
### :bug: Bug Fix | ||
* adjust API spec for buildLabelPrintCommand ([884c899](https://github.com/hatiolab/operato/commit/884c8995319e04a3bcd9776cad2f1b46f5c2c751)) | ||
### [1.3.13](https://github.com/hatiolab/operato/compare/v1.3.12...v1.3.13) (2023-06-27) | ||
@@ -8,0 +17,0 @@ |
@@ -1,2 +0,2 @@ | ||
export declare function buildLabelPrintCommand(imageData: Uint8ClampedArray, width: number, height: number, orientation: string | number | undefined, mirror: boolean, upsideDown: boolean): string; | ||
export declare function buildLabelPrintCommand(imageData: Uint8ClampedArray, width: number, height: number, orientation?: string | number, mirror?: boolean, upsideDown?: boolean): string; | ||
export declare function imageDataToGrf(imageData: Uint8ClampedArray, width: number, height: number, orientation?: string | number, mirror?: boolean, upsideDown?: boolean): string; |
@@ -5,3 +5,3 @@ { | ||
"author": "barcode", | ||
"version": "1.3.13", | ||
"version": "1.3.15", | ||
"main": "dist/src/index.js", | ||
@@ -80,3 +80,3 @@ "module": "dist/src/index.js", | ||
}, | ||
"gitHead": "a118ad397e9d9513234cf3b310065d0406173ba0" | ||
"gitHead": "8f0aca4104b2064ec377554b2e15ee710b0cadfb" | ||
} |
@@ -6,4 +6,4 @@ export function buildLabelPrintCommand( | ||
orientation: string | number = 'N', | ||
mirror: boolean, | ||
upsideDown: boolean | ||
mirror?: boolean, | ||
upsideDown?: boolean | ||
) { | ||
@@ -10,0 +10,0 @@ var grf = imageDataToGrf(imageData, width, height, orientation, mirror, upsideDown) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
142375
4