scandit-react-native-datacapture-core 7.6.0 → 8.0.0-beta.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/package.json CHANGED
@@ -1,20 +1,29 @@
1
1
  {
2
2
  "name": "scandit-react-native-datacapture-core",
3
- "version": "7.6.0",
3
+ "version": "8.0.0-beta.1",
4
4
  "description": "Scandit Data Capture SDK for React Native",
5
5
  "homepage": "https://github.com/Scandit/scandit-react-native-datacapture-core",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/dts/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/dts/index.d.ts"
12
+ },
13
+ "./experimental": {
14
+ "import": "./dist/experimental.js",
15
+ "types": "./dist/dts/experimental.d.ts"
16
+ }
17
+ },
8
18
  "scripts": {
9
19
  "jest": "jest",
10
20
  "coverage": "jest --coverage",
11
- "test": "yarn lint",
21
+ "test": "pnpm run lint",
12
22
  "lint": "tslint --project .",
13
23
  "tsc": "tsc",
14
- "build": "npm run rollup",
24
+ "build": "pnpm run rollup",
15
25
  "rollup": "rollup -c rollup.config.js --bundleConfigAsCjs",
16
- "start": "yarn build -- --watch",
17
- "clean": "../scripts/clean_package.py core"
26
+ "start": "pnpm build -- --watch"
18
27
  },
19
28
  "keywords": [
20
29
  "scandit",
@@ -50,7 +59,8 @@
50
59
  "tslint": "6.1.2",
51
60
  "typescript": "4.9.5"
52
61
  },
62
+ "packageManager": "pnpm@10.15.0",
53
63
  "dependencies": {
54
- "scandit-datacapture-frameworks-core": "7.6.0"
64
+ "scandit-datacapture-frameworks-core": "8.0.0-beta.1"
55
65
  }
56
66
  }
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
10
10
  s.homepage = package["homepage"]
11
11
  s.license = package["license"]
12
12
  s.authors = { package["author"]["name"] => package["author"]["email"] }
13
- s.platforms = { :ios => "14.0" }
13
+ s.platforms = { :ios => "15.0" }
14
14
  s.source = { :git => package["homepage"] + ".git", :tag => "#{s.version}" }
15
15
  s.swift_version = '5.0'
16
16
  s.source_files = "ios/Sources/**/*.{h,m,swift}"
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
18
18
  s.module_name = "ScanditDataCaptureCore"
19
19
  s.header_dir = "ScanditDataCaptureCore"
20
20
 
21
- s.dependency "scandit-datacapture-frameworks-core", '= 7.6.0'
21
+ s.dependency "scandit-datacapture-frameworks-core", '= 8.0.0-beta.1'
22
22
  s.dependency "React"
23
23
 
24
24
  # Check if new architecture is enabled
@@ -1,11 +0,0 @@
1
- import { CameraPosition, ImageFrameSourceProxy, NativeCallResult } from 'scandit-datacapture-frameworks-core';
2
- export declare class NativeImageFrameSourceProxy implements ImageFrameSourceProxy {
3
- private eventEmitter;
4
- private nativeListeners;
5
- constructor();
6
- getCurrentCameraState(position: CameraPosition): Promise<NativeCallResult>;
7
- switchCameraToDesiredState(desiredStateJson: string): Promise<void>;
8
- registerListenerForEvents(): void;
9
- unregisterListenerForEvents(): void;
10
- subscribeDidChangeState(): void;
11
- }