@mleonard9/vin-scanner 1.4.3 → 1.4.4

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/README.md CHANGED
@@ -23,6 +23,9 @@ yarn add @mleonard9/vin-scanner
23
23
  # or
24
24
  npm install @mleonard9/vin-scanner
25
25
 
26
+ # Required for frame processors
27
+ yarn add react-native-worklets-core
28
+
26
29
  # Optional (for haptic cues)
27
30
  # yarn add react-native-haptic-feedback
28
31
 
@@ -1,9 +1,9 @@
1
1
  #import <MLKitBarcodeScanning/MLKitBarcodeScanning.h>
2
2
  #import <MLKitBarcodeScanning/MLKBarcodeScannerOptions.h>
3
- #import <FrameProcessors/FrameProcessorPlugin.h>
4
- #import <FrameProcessors/FrameProcessorPluginRegistry.h>
5
- #import <FrameProcessors/Frame.h>
6
- #import <FrameProcessors/SharedArray.h>
3
+ #import <VisionCamera/FrameProcessorPlugin.h>
4
+ #import <VisionCamera/FrameProcessorPluginRegistry.h>
5
+ #import <VisionCamera/Frame.h>
6
+ #import <VisionCamera/SharedArray.h>
7
7
  #import <React/RCTBridgeModule.h>
8
8
  @import MLKitVision;
9
9
 
@@ -4,11 +4,11 @@
4
4
  #import <MLKitTextRecognitionJapanese/MLKitTextRecognitionJapanese.h>
5
5
  #import <MLKitTextRecognitionKorean/MLKitTextRecognitionKorean.h>
6
6
  #import <MLKitTextRecognitionCommon/MLKitTextRecognitionCommon.h>
7
- #import <FrameProcessors/FrameProcessorPlugin.h>
8
- #import <FrameProcessors/FrameProcessorPluginRegistry.h>
9
- #import <FrameProcessors/VisionCameraProxyHolder.h>
10
- #import <FrameProcessors/Frame.h>
11
- #import <FrameProcessors/SharedArray.h>
7
+ #import <VisionCamera/FrameProcessorPlugin.h>
8
+ #import <VisionCamera/FrameProcessorPluginRegistry.h>
9
+ #import <VisionCamera/VisionCameraProxyHolder.h>
10
+ #import <VisionCamera/Frame.h>
11
+ #import <VisionCamera/SharedArray.h>
12
12
  @import MLKitVision;
13
13
 
14
14
  @interface VisionCameraTextRecognitionPlugin : FrameProcessorPlugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mleonard9/vin-scanner",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "High-performance VIN scanner for React Native Vision Camera powered by Google ML Kit barcode + text recognition.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -32,7 +32,8 @@
32
32
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
33
33
  "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
34
34
  "prepare": "bob build",
35
- "release": "release-it"
35
+ "release": "release-it",
36
+ "publish": "npm publish"
36
37
  },
37
38
  "keywords": [
38
39
  "react-native",
@@ -90,7 +91,8 @@
90
91
  "react-native": "*",
91
92
  "react-native-gesture-handler": ">=2.0.0",
92
93
  "react-native-reanimated": ">=3.0.0",
93
- "react-native-vision-camera": "*"
94
+ "react-native-vision-camera": "*",
95
+ "react-native-worklets-core": ">=1.2.0"
94
96
  },
95
97
  "workspaces": [
96
98
  "example"