Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2
@@ -12,2 +12,6 @@ export declare const setText: (mem: Uint8ClampedArray, idx: number, s: string) => void; | ||
}; | ||
type DetectOptions = { | ||
gamma?: number; | ||
digitized?: Uint8ClampedArray; | ||
}; | ||
export declare class Qrean { | ||
@@ -243,4 +247,4 @@ wasm: WebAssembly.WebAssemblyInstantiatedSource; | ||
make(text: string, opts?: MakeOptions | keyof typeof Qrean.CODE_TYPES): ImageData; | ||
detect(imgdata: ImageData, callback: (type: string, str: string) => void): any; | ||
detect(imgdata: ImageData, callback: (type: string, str: string) => void, opts?: DetectOptions): any; | ||
} | ||
export {}; |
{ | ||
"name": "qrean", | ||
"type": "module", | ||
"version": "0.0.1-alpha.1", | ||
"version": "0.0.1-alpha.2", | ||
"description": "A portable QR and Barcode generation / manipulation library written in C", | ||
@@ -6,0 +6,0 @@ "module": "./dist/Qrean.js", |
Sorry, the diff of this file is too big to display
460906
2086