@regulaforensics/react-native-document-reader-api 9.8.761-rc → 9.8.763-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.
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
14
14
  s.source = { :http => 'file:' + __dir__ }
15
15
  s.ios.deployment_target = '13.0'
16
16
  s.source_files = "ios/*.{h,m}"
17
- s.dependency 'DocumentReaderStage', '9.8.6904'
17
+ s.dependency 'DocumentReaderStage', '9.8.6906'
18
18
  s.dependency 'React'
19
19
  end
@@ -10,7 +10,7 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "9.8.761-rc",
13
+ "@regulaforensics/react-native-document-reader-api": "9.8.763-rc",
14
14
  "@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.8.3256-rc",
15
15
  "@rneui/base": "4.0.0-rc.7",
16
16
  "@rneui/themed": "4.0.0-rc.7",
@@ -20,13 +20,14 @@
20
20
  "react-native-image-picker": "7.2.3",
21
21
  "react-native-progress": "5.0.0",
22
22
  "react-native-radio-buttons-group": "3.0.5",
23
- "react-native-vector-icons": "10.2.0"
23
+ "react-native-vector-icons": "10.2.0",
24
+ "image-size": "file:vendor/image-size-metro-compat"
24
25
  },
25
26
  "overrides": {
26
27
  "fast-xml-parser": "^5.5.8",
27
28
  "js-yaml": "^4.1.1",
28
29
  "brace-expansion": "^5.0.9",
29
- "image-size": "npm:image-size-next@2.1.1",
30
+ "image-size": "$image-size",
30
31
  "glob@7.2.3": {
31
32
  "minimatch": "^10.2.6"
32
33
  }
@@ -0,0 +1,16 @@
1
+ const fs = require('node:fs')
2
+ const next = require('image-size-next')
3
+
4
+ function imageSize(input) {
5
+ const data = typeof input === 'string'
6
+ ? fs.readFileSync(input)
7
+ : input
8
+
9
+ return next.imageSize(data)
10
+ }
11
+
12
+ module.exports = imageSize
13
+ module.exports.default = imageSize
14
+ module.exports.imageSize = imageSize
15
+ module.exports.disableTypes = next.disableTypes
16
+ module.exports.types = next.types
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "image-size",
3
+ "version": "2.1.1-compat.0",
4
+ "main": "index.cjs",
5
+ "dependencies": {
6
+ "image-size-next": "2.1.1"
7
+ }
8
+ }
package/index.d.ts CHANGED
@@ -4207,7 +4207,7 @@ export const BarcodeResult = {
4207
4207
 
4208
4208
  export const eRFID_Application_Type = {
4209
4209
  AT_UNSPECIFIED: 0,
4210
- AT_ROOT_FILES: AT_UNSPECIFIED,
4210
+ AT_ROOT_FILES: 0,
4211
4211
  ePASSPORT: 1,
4212
4212
  eID: 2,
4213
4213
  eSIGN: 3,
package/index.js CHANGED
@@ -2987,7 +2987,7 @@ export const BarcodeResult = {
2987
2987
 
2988
2988
  export const eRFID_Application_Type = {
2989
2989
  AT_UNSPECIFIED: 0,
2990
- AT_ROOT_FILES: AT_UNSPECIFIED,
2990
+ AT_ROOT_FILES: 0,
2991
2991
  ePASSPORT: 1,
2992
2992
  eID: 2,
2993
2993
  eSIGN: 3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "9.8.761-rc",
3
+ "version": "9.8.763-rc",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {