contour-ai-sdk 1.14.4-alpha.1 → 1.15.1-alpha.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.
@@ -1,3 +1,4 @@
1
+
1
2
  require "json"
2
3
 
3
4
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
@@ -15,25 +16,26 @@ Pod::Spec.new do |s|
15
16
  s.source = { :git => "https://github.com/Contour-Document-Imaging/contour-react-native.git", :tag => "#{s.version}" }
16
17
 
17
18
  s.source_files = "ios/**/*.{h,m,mm}"
18
-
19
- s.dependency "React-Core"
20
19
  s.dependency "ContoursAISDK", '1.14.0'
21
20
 
22
21
  if respond_to?(:install_modules_dependencies, true)
23
- install_modules_dependencies(s)
24
- else
25
- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
26
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
27
- s.pod_target_xcconfig = {
22
+ install_modules_dependencies(s)
23
+ else
24
+ if ENV['RCT_NEW_ARCH_ENABLED'] == '1'
25
+ s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
26
+ s.pod_target_xcconfig = {
28
27
  "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
29
28
  "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
30
29
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
31
- }
32
- s.dependency "React-Codegen"
33
- s.dependency "RCT-Folly"
34
- s.dependency "RCTRequired"
35
- s.dependency "RCTTypeSafety"
36
- s.dependency "ReactCommon/turbomodule/core"
30
+ }
31
+
32
+ s.dependency "React-Codegen"
33
+ s.dependency "RCT-Folly"
34
+ s.dependency "RCTRequired"
35
+ s.dependency "RCTTypeSafety"
36
+ s.dependency "ReactCommon/turbomodule/core"
37
+ else
38
+ s.dependency "React-Core"
39
+ end
37
40
  end
38
- end
39
- end
41
+ end
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>ContourAiSdk.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contour-ai-sdk",
3
- "version": "1.14.4-alpha.1",
3
+ "version": "1.15.1-alpha.1",
4
4
  "description": "The Contour AI SDK™ has been designed to be the industry’s most intuitive, and protected, experience for mobile image capture - capturing documents of various kinds via an iOS™ or Android™ mobile device. At the same time, it has been designed to enable the clear, accurate, and complete processing of these documents with limited, if any, human intervention, all while improving your efficiencies and reducing costs.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -56,44 +56,53 @@
56
56
  "devDependencies": {
57
57
  "@commitlint/config-conventional": "^19.8.1",
58
58
  "@evilmartians/lefthook": "^1.11.14",
59
- "@react-native-community/eslint-config": "^3.0.2",
60
- "@react-native/babel-preset": "0.76.9",
61
- "@react-native/eslint-config": "0.76.9",
62
- "@react-native/metro-config": "0.76.9",
63
- "@react-native/typescript-config": "0.76.9",
59
+
60
+ "@react-native/babel-preset": "0.79.0",
61
+ "@react-native/eslint-config": "0.79.0",
62
+ "@react-native/metro-config": "0.79.0",
63
+ "@react-native/typescript-config": "0.79.0",
64
+
65
+ "@react-native-community/cli": "18.0.0",
66
+ "@react-native-community/cli-platform-android": "18.0.0",
67
+ "@react-native-community/cli-platform-ios": "18.0.0",
68
+
64
69
  "@release-it/conventional-changelog": "^5.0.0",
65
- "@react-native-community/cli": "15.0.1",
66
- "@react-native-community/cli-platform-android": "15.0.1",
67
- "@react-native-community/cli-platform-ios": "15.0.1",
70
+
68
71
  "@types/jest": "^29.5.14",
69
- "@types/react": "^18.3.1",
70
- "@types/react-native": "^0.73.0",
71
- "@types/react-test-renderer": "^18.0.0",
72
+ "@types/react": "19.0.0",
73
+ "@types/react-test-renderer": "^19.0.0",
74
+
72
75
  "babel-jest": "^29.6.3",
73
76
  "commitlint": "^17.0.2",
74
77
  "del-cli": "^5.0.0",
78
+
75
79
  "eslint": "^8.19.0",
76
80
  "eslint-config-prettier": "^8.5.0",
77
81
  "eslint-plugin-prettier": "^4.0.0",
82
+
78
83
  "jest": "^29.6.3",
79
84
  "pod-install": "^0.1.0",
80
85
  "prettier": "2.8.8",
81
- "react": "18.3.1",
82
- "react-native": "0.76.9",
86
+
87
+ "react": "19.0.0",
88
+ "react-native": "0.79.0",
83
89
  "react-native-builder-bob": "^0.20.4",
84
- "react-test-renderer": "18.3.1",
90
+ "react-test-renderer": "19.0.0",
91
+
85
92
  "release-it": "^15.0.0",
86
- "typescript": "5.0.4"
93
+ "typescript": "^5.8.3"
87
94
  },
95
+
88
96
  "resolutions": {
89
- "@types/react": "17.0.21"
97
+ "@types/react": "19.0.0"
90
98
  },
99
+
91
100
  "peerDependencies": {
92
101
  "react": "*",
93
102
  "react-native": "*"
94
103
  },
95
104
  "engines": {
96
- "node": ">= 18"
105
+ "node": ">= 20"
97
106
  },
98
107
  "packageManager": "^yarn@1.22.15",
99
108
  "jest": {