veryfi-lens-wasm 3.0.0-beta.3 → 3.0.1
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/core/wasm-processing.js +0 -6
- package/package.json +1 -1
package/core/wasm-processing.js
CHANGED
|
@@ -315,12 +315,6 @@ export const sendCardWasm = async () => {
|
|
|
315
315
|
};
|
|
316
316
|
|
|
317
317
|
export const getLongImage = async () => {
|
|
318
|
-
if (!state.hasCoordinates) {
|
|
319
|
-
actions.checkIfDocumentOnCapture?.();
|
|
320
|
-
stopWasm();
|
|
321
|
-
return false;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
318
|
const wasmOutput = await refs.wasmWrapper.getStitchedImage();
|
|
325
319
|
const { data, blurLevel, outputHeight, outputWidth } = wasmOutput;
|
|
326
320
|
const width = outputWidth;
|