@regulaforensics/face-sdk 8.4.1317-rc → 8.4.1318-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.
@@ -20,7 +20,7 @@
20
20
  "@awesome-cordova-plugins/camera": "^9.2.0",
21
21
  "@awesome-cordova-plugins/dialogs": "^9.2.0",
22
22
  "@awesome-cordova-plugins/file": "^9.2.0",
23
- "@regulaforensics/face-sdk": "8.4.1317-rc",
23
+ "@regulaforensics/face-sdk": "8.4.1318-rc",
24
24
  "@regulaforensics/face-core-basic": "8.3.683",
25
25
  "cordova-android": "^15.0.0",
26
26
  "cordova-ios": "^8.1.1",
@@ -8,7 +8,7 @@
8
8
  "start": "expo start"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/face-sdk": "8.4.1317-rc",
11
+ "@regulaforensics/face-sdk": "8.4.1318-rc",
12
12
  "@regulaforensics/face-core-basic": "8.3.683",
13
13
  "react-native": "^0.81.4",
14
14
  "react-native-fs": "^2.20.0",
@@ -21,12 +21,13 @@
21
21
  "expo-dev-client": "^6.0.12",
22
22
  "expo-custom-assets": "^1.5.0",
23
23
  "expo-build-properties": "^1.0.8",
24
- "typescript": "5.9.2"
24
+ "typescript": "5.9.2",
25
+ "image-size": "file:vendor/image-size-metro-compat"
25
26
  },
26
27
  "overrides": {
27
28
  "postcss": "^8.5.10",
28
29
  "uuid": "^14.0.0",
29
- "image-size": "npm:image-size-next@2.1.1",
30
+ "image-size": "$image-size",
30
31
  "js-yaml": "^4.1.1"
31
32
  }
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/face-sdk",
3
- "version": "8.4.1317-rc",
3
+ "version": "8.4.1318-rc",
4
4
  "description": "This is an npm module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera.",
5
5
  "main": "www/react-native/index.js",
6
6
  "module": "www/capacitor/index.js",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/face-sdk" version="8.4.1317-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/face-sdk" version="8.4.1318-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>FaceSDK</name>
4
4
  <description>Cordova plugin for Regula Face SDK</description>
5
5
  <license>commercial</license>
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/face-sdk",
16
- "version": "8.4.1317-rc",
16
+ "version": "8.4.1318-rc",
17
17
  "dev": true,
18
18
  "license": "commercial",
19
19
  "dependencies": {