veryfi-lens-wasm 3.1.1 → 3.1.2

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.
@@ -241,7 +241,7 @@ const startRecording = () => {
241
241
  startCroppedDrawLoop(state.videoRef, region);
242
242
  state.debug_mode && console.log(`[prescription_label] Cropping video to ${cropCanvas.width}x${cropCanvas.height} (source region ${Math.round(region.srcW)}x${Math.round(region.srcH)} at ${Math.round(region.srcX)},${Math.round(region.srcY)})`);
243
243
  previewStream = cropCanvas.captureStream(30);
244
- submissionStream = cropCanvas.captureStream(30);
244
+ submissionStream = cropCanvas.captureStream(2);
245
245
  } catch (e) {
246
246
  console.warn('[prescription_label] Failed to set up cropped recording stream, falling back to full video:', e);
247
247
  stopCroppedDrawLoop();
package/core/constants.js CHANGED
@@ -13,7 +13,7 @@ export const API_URLS = {
13
13
  };
14
14
 
15
15
  export const DEFAULTS = {
16
- SDK_VERSION: '3.1.1',
16
+ SDK_VERSION: '3.1.2',
17
17
  BLUR_THRESHOLD: 0.7,
18
18
  LCD_THRESHOLD: 0.5,
19
19
  BOX_COLOR: 'rgba(84, 192, 139, 0.6)',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfi-lens-wasm",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Lens For Web SDK with WASM",
5
5
  "main": "veryfi-lens.js",
6
6
  "type": "module",