react-native-rectangle-doc-scanner 0.5.0 → 0.6.0

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.
@@ -78,6 +78,9 @@ const DocScanner = ({ onCapture, overlayColor = '#e7a649', autoCapture = true, m
78
78
  requestPermission();
79
79
  }, [requestPermission]);
80
80
  const updateQuad = (0, react_native_worklets_core_1.useRunOnJS)((value) => {
81
+ if (__DEV__) {
82
+ console.log('[DocScanner] quad', value);
83
+ }
81
84
  setQuad(value);
82
85
  }, []);
83
86
  const reportError = (0, react_native_worklets_core_1.useRunOnJS)((step, error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rectangle-doc-scanner",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": {
@@ -83,6 +83,9 @@ export const DocScanner: React.FC<Props> = ({
83
83
  }, [requestPermission]);
84
84
 
85
85
  const updateQuad = useRunOnJS((value: Point[] | null) => {
86
+ if (__DEV__) {
87
+ console.log('[DocScanner] quad', value);
88
+ }
86
89
  setQuad(value);
87
90
  }, []);
88
91