@regulaforensics/react-native-document-reader-api 9.3.478-beta → 9.3.481-rc
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/android/build.gradle
CHANGED
|
@@ -29,7 +29,7 @@ dependencies {
|
|
|
29
29
|
//noinspection GradleDynamicVersion
|
|
30
30
|
implementation 'com.facebook.react:react-native:+'
|
|
31
31
|
//noinspection GradleDependency
|
|
32
|
-
implementation('com.regula.documentreader:api:9.2.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.2.12629') {
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -73,7 +73,7 @@ fun methodCall(method: String, callback: (Any?) -> Unit): Any = when (method) {
|
|
|
73
73
|
"initialize" -> initialize(callback, args(0))
|
|
74
74
|
"initializeReader" -> initialize(callback, args(0)) // deprecated
|
|
75
75
|
"initializeReaderWithBleDeviceConfig" -> initializeReaderWithBleDeviceConfig(callback, args(0)) // deprecated
|
|
76
|
-
"
|
|
76
|
+
"deinitializeReader" -> deinitializeReader()
|
|
77
77
|
"prepareDatabase" -> prepareDatabase(callback, args(0))
|
|
78
78
|
"removeDatabase" -> removeDatabase(callback)
|
|
79
79
|
"runAutoUpdate" -> runAutoUpdate(callback, args(0))
|
|
@@ -205,7 +205,7 @@ fun initialize(callback: Callback, config: JSONObject) =
|
|
|
205
205
|
// deprecated
|
|
206
206
|
fun initializeReaderWithBleDeviceConfig(callback: Callback, config: JSONObject) = Instance().initializeReader(context, initBleDeviceConfigFromJSON(config), initCompletion(callback))
|
|
207
207
|
|
|
208
|
-
fun
|
|
208
|
+
fun deinitializeReader() = Instance().deinitializeReader()
|
|
209
209
|
|
|
210
210
|
fun prepareDatabase(callback: Callback, databaseID: String) = Instance().prepareDatabase(
|
|
211
211
|
context,
|
package/example/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@regulaforensics/react-native-document-reader-api": "9.3.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "9.3.481-rc",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.3.2053-rc",
|
|
15
15
|
"@rneui/base": "4.0.0-rc.7",
|
|
16
16
|
"@rneui/themed": "4.0.0-rc.7",
|
|
17
17
|
"react": "19.0.0",
|
package/index.d.ts
CHANGED
|
@@ -2724,6 +2724,9 @@ export class Customization {
|
|
|
2724
2724
|
colors?: CustomizationColors
|
|
2725
2725
|
fonts?: CustomizationFonts
|
|
2726
2726
|
images?: CustomizationImages
|
|
2727
|
+
timings?: CustomizationTimings
|
|
2728
|
+
contentModes?: CustomizationContentModes
|
|
2729
|
+
matrices?: CustomizationMatrices
|
|
2727
2730
|
|
|
2728
2731
|
static fromJson(jsonObject?: any): Customization | undefined {
|
|
2729
2732
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -2826,6 +2829,9 @@ export class Customization {
|
|
|
2826
2829
|
result.colors = CustomizationColors.fromJson(jsonObject["colors"])
|
|
2827
2830
|
result.fonts = CustomizationFonts.fromJson(jsonObject["fonts"])
|
|
2828
2831
|
result.images = CustomizationImages.fromJson(jsonObject["images"])
|
|
2832
|
+
result.timings = CustomizationTimings.fromJson(jsonObject["timings"])
|
|
2833
|
+
result.contentModes = CustomizationContentModes.fromJson(jsonObject["contentModes"])
|
|
2834
|
+
result.matrices = CustomizationMatrices.fromJson(jsonObject["matrices"])
|
|
2829
2835
|
|
|
2830
2836
|
return result
|
|
2831
2837
|
}
|
package/index.js
CHANGED
|
@@ -1850,6 +1850,9 @@ export class Customization {
|
|
|
1850
1850
|
result.colors = CustomizationColors.fromJson(jsonObject["colors"])
|
|
1851
1851
|
result.fonts = CustomizationFonts.fromJson(jsonObject["fonts"])
|
|
1852
1852
|
result.images = CustomizationImages.fromJson(jsonObject["images"])
|
|
1853
|
+
result.timings = CustomizationTimings.fromJson(jsonObject["timings"])
|
|
1854
|
+
result.contentModes = CustomizationContentModes.fromJson(jsonObject["contentModes"])
|
|
1855
|
+
result.matrices = CustomizationMatrices.fromJson(jsonObject["matrices"])
|
|
1853
1856
|
|
|
1854
1857
|
return result
|
|
1855
1858
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/react-native-document-reader-api",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.481-rc",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|