react-native-vision-camera-v3-text-recognition
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -27,3 +27,3 @@ "use strict"; | ||
// @ts-ignore | ||
const useWorklets = (0, _reactNativeWorkletsCore.useRunInJS)(data => { | ||
const useWorklets = (0, _reactNativeWorkletsCore.useRunOnJS)(data => { | ||
callback(data); | ||
@@ -30,0 +30,0 @@ }, []); |
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
import React, { forwardRef } from 'react'; | ||
import { Camera as VisionCamera, useFrameProcessor } from 'react-native-vision-camera'; | ||
import { useRunInJS } from 'react-native-worklets-core'; | ||
import { useRunOnJS } from 'react-native-worklets-core'; | ||
import { scanText } from './scanText'; | ||
@@ -14,3 +14,3 @@ export { scanText } from './scanText'; | ||
// @ts-ignore | ||
const useWorklets = useRunInJS(data => { | ||
const useWorklets = useRunOnJS(data => { | ||
callback(data); | ||
@@ -17,0 +17,0 @@ }, []); |
@@ -1,2 +0,2 @@ | ||
export type { CameraProps, Frame, FrameProcessorPlugin, FrameProcessor, } from 'react-native-vision-camera'; | ||
export type { CameraProps, Frame, FrameProcessorPlugin, ReadonlyFrameProcessor, } from 'react-native-vision-camera'; | ||
import type { CameraProps } from 'react-native-vision-camera'; | ||
@@ -3,0 +3,0 @@ export interface TextRecognitionOptions { |
{ | ||
"name": "react-native-vision-camera-v3-text-recognition", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "The frame processor plugin for text recognition using Google ML Kit library for react-native-vision-camera with high performance.", | ||
@@ -72,4 +72,4 @@ "main": "lib/commonjs/index", | ||
"react-native-builder-bob": "^0.23.2", | ||
"react-native-vision-camera": "3.9.1", | ||
"react-native-worklets-core": "0.4.0", | ||
"react-native-vision-camera": "^4.0.1", | ||
"react-native-worklets-core": "^1.1.1", | ||
"release-it": "^15.0.0", | ||
@@ -76,0 +76,0 @@ "turbo": "^1.10.7", |
@@ -5,3 +5,3 @@ export type { | ||
FrameProcessorPlugin, | ||
FrameProcessor, | ||
ReadonlyFrameProcessor, | ||
} from 'react-native-vision-camera'; | ||
@@ -8,0 +8,0 @@ import type { CameraProps } from 'react-native-vision-camera'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
40109
0
1