Comparing version 0.1.0-alpha.2 to 0.1.0-alpha.3
@@ -11,2 +11,3 @@ type CreateOptions = { | ||
qrErrorLevel?: keyof typeof Qrean.QR_ERRORLEVELS; | ||
eciCode?: 'UTF-8' | 'ShiftJIS' | 'Latin1'; | ||
scale?: number; | ||
@@ -281,5 +282,10 @@ padding?: number[] | number; | ||
}; | ||
static encode(text: string, opts?: EncodeOptions | keyof typeof Qrean.CODE_TYPES): Promise<false | Image>; | ||
encode(text: string, opts?: EncodeOptions | keyof typeof Qrean.CODE_TYPES): Promise<false | Image>; | ||
private allocImage; | ||
private readImage; | ||
static detect(imgdata: Image, opts?: DetectOptions, callback?: (obj: Detected) => void): Promise<{ | ||
detected: Detected[]; | ||
digitized: Image; | ||
}>; | ||
detect(imgdata: Image, opts?: DetectOptions, callback?: (obj: Detected) => void): Promise<{ | ||
@@ -286,0 +292,0 @@ detected: Detected[]; |
{ | ||
"name": "qrean", | ||
"type": "module", | ||
"version": "0.1.0-alpha.2", | ||
"version": "0.1.0-alpha.3", | ||
"description": "A portable QR and Barcode generation / manipulation library written in C", | ||
@@ -6,0 +6,0 @@ "main": "./dist/Qrean.js", |
Sorry, the diff of this file is too big to display
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
480900
2278