@regulaforensics/face-sdk 7.3.484-beta → 8.1.1-nightly

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.
@@ -19,8 +19,8 @@
19
19
  "@awesome-cordova-plugins/file": "^8.1.0",
20
20
  "@ionic/angular": "^8.7.3",
21
21
  "@ionic/cordova-builders": "^12.3.0",
22
- "@regulaforensics/face-sdk": "7.3.484-beta",
23
- "@regulaforensics/face-core-basic": "7.3.282-beta",
22
+ "@regulaforensics/face-sdk": "8.1.1-nightly",
23
+ "@regulaforensics/face-core-basic": "8.1.1-nightly",
24
24
  "cordova-android": "^14.0.1",
25
25
  "cordova-ios": "^7.1.1",
26
26
  "cordova-plugin-camera": "^8.0.0",
@@ -4,8 +4,9 @@
4
4
  <div id="content" style="height: 100%"></div>
5
5
 
6
6
  <script>
7
- fetch("src/main.html")
8
- .then(response => response.text())
9
- .then(html => document.getElementById("content").innerHTML = html)
10
- .then(_ => window.ReactNativeWebView.postMessage(`{"id": "ready"}`))
7
+ (async () => {
8
+ document.getElementById("content").innerHTML = await fetch("src/main.html").then(r => r.text())
9
+ await new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve)))
10
+ window.ReactNativeWebView.postMessage(JSON.stringify({ id: "ready" }))
11
+ })()
11
12
  </script>
@@ -1586,9 +1586,9 @@
1586
1586
  }
1587
1587
  },
1588
1588
  "node_modules/@expo/cli/node_modules/glob": {
1589
- "version": "10.4.5",
1590
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
1591
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
1589
+ "version": "10.5.0",
1590
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
1591
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
1592
1592
  "license": "ISC",
1593
1593
  "dependencies": {
1594
1594
  "foreground-child": "^3.1.0",
@@ -1671,9 +1671,9 @@
1671
1671
  }
1672
1672
  },
1673
1673
  "node_modules/@expo/config-plugins/node_modules/glob": {
1674
- "version": "10.4.5",
1675
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
1676
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
1674
+ "version": "10.5.0",
1675
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
1676
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
1677
1677
  "license": "ISC",
1678
1678
  "dependencies": {
1679
1679
  "foreground-child": "^3.1.0",
@@ -1718,9 +1718,9 @@
1718
1718
  }
1719
1719
  },
1720
1720
  "node_modules/@expo/config/node_modules/glob": {
1721
- "version": "10.4.5",
1722
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
1723
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
1721
+ "version": "10.5.0",
1722
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
1723
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
1724
1724
  "license": "ISC",
1725
1725
  "dependencies": {
1726
1726
  "foreground-child": "^3.1.0",
@@ -1770,9 +1770,9 @@
1770
1770
  }
1771
1771
  },
1772
1772
  "node_modules/@expo/devcert/node_modules/glob": {
1773
- "version": "10.4.5",
1774
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
1775
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
1773
+ "version": "10.5.0",
1774
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
1775
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
1776
1776
  "license": "ISC",
1777
1777
  "dependencies": {
1778
1778
  "foreground-child": "^3.1.0",
@@ -1846,9 +1846,9 @@
1846
1846
  }
1847
1847
  },
1848
1848
  "node_modules/@expo/fingerprint/node_modules/glob": {
1849
- "version": "10.4.5",
1850
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
1851
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
1849
+ "version": "10.5.0",
1850
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
1851
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
1852
1852
  "license": "ISC",
1853
1853
  "dependencies": {
1854
1854
  "foreground-child": "^3.1.0",
@@ -1984,9 +1984,9 @@
1984
1984
  }
1985
1985
  },
1986
1986
  "node_modules/@expo/metro-config/node_modules/glob": {
1987
- "version": "10.4.5",
1988
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
1989
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
1987
+ "version": "10.5.0",
1988
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
1989
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
1990
1990
  "license": "ISC",
1991
1991
  "dependencies": {
1992
1992
  "foreground-child": "^3.1.0",
@@ -2323,9 +2323,9 @@
2323
2323
  }
2324
2324
  },
2325
2325
  "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
2326
- "version": "3.14.1",
2327
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
2328
- "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
2326
+ "version": "3.14.2",
2327
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz",
2328
+ "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==",
2329
2329
  "license": "MIT",
2330
2330
  "dependencies": {
2331
2331
  "argparse": "^1.0.7",
@@ -4032,9 +4032,9 @@
4032
4032
  }
4033
4033
  },
4034
4034
  "node_modules/cosmiconfig/node_modules/js-yaml": {
4035
- "version": "3.14.1",
4036
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
4037
- "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
4035
+ "version": "3.14.2",
4036
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz",
4037
+ "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==",
4038
4038
  "license": "MIT",
4039
4039
  "dependencies": {
4040
4040
  "argparse": "^1.0.7",
@@ -4547,9 +4547,9 @@
4547
4547
  }
4548
4548
  },
4549
4549
  "node_modules/expo-modules-autolinking/node_modules/glob": {
4550
- "version": "10.4.5",
4551
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
4552
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
4550
+ "version": "10.5.0",
4551
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
4552
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
4553
4553
  "license": "ISC",
4554
4554
  "dependencies": {
4555
4555
  "foreground-child": "^3.1.0",
@@ -5393,9 +5393,9 @@
5393
5393
  "license": "MIT"
5394
5394
  },
5395
5395
  "node_modules/js-yaml": {
5396
- "version": "4.1.0",
5397
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
5398
- "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
5396
+ "version": "4.1.1",
5397
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
5398
+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
5399
5399
  "license": "MIT",
5400
5400
  "dependencies": {
5401
5401
  "argparse": "^2.0.1"
@@ -7900,9 +7900,9 @@
7900
7900
  }
7901
7901
  },
7902
7902
  "node_modules/sucrase/node_modules/glob": {
7903
- "version": "10.4.5",
7904
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
7905
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
7903
+ "version": "10.5.0",
7904
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
7905
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
7906
7906
  "license": "ISC",
7907
7907
  "dependencies": {
7908
7908
  "foreground-child": "^3.1.0",
@@ -8,8 +8,8 @@
8
8
  "start": "expo start"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/face-sdk": "7.3.484-beta",
12
- "@regulaforensics/face-core-basic": "7.3.282-beta",
11
+ "@regulaforensics/face-sdk": "8.1.1-nightly",
12
+ "@regulaforensics/face-core-basic": "8.1.1-nightly",
13
13
  "react-native": "^0.81.4",
14
14
  "react-native-fs": "^2.20.0",
15
15
  "react-native-image-picker": "^8.2.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/face-sdk",
3
- "version": "7.3.484-beta",
3
+ "version": "8.1.1-nightly",
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="7.3.484-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/face-sdk" version="8.1.1-nightly" 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>
@@ -29,7 +29,7 @@
29
29
  <source url="https://github.com/CocoaPods/Specs.git" />
30
30
  </config>
31
31
  <pods>
32
- <pod name="FaceSDK" spec="7.2.3134" />
32
+ <pod name="FaceSDKNightly" spec="8.1.3398" />
33
33
  </pods>
34
34
  </podspec>
35
35
  </platform>
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/face-sdk",
16
- "version": "7.3.484-beta",
16
+ "version": "8.1.1-nightly",
17
17
  "dev": true,
18
18
  "license": "commercial"
19
19
  },
package/test/test.tsx CHANGED
@@ -1,5 +1,5 @@
1
1
  import { compare } from './utils'
2
- import { ComparedFace, ComparedFacesPair, ComparedFacesSplit, Customization, DetectFaceResult, DetectFacesAttributeResult, DetectFacesBackendException, DetectFacesConfig, DetectFacesException, DetectFacesRequest, DetectFacesResponse, EditGroupPersonsRequest, FaceCaptureConfig, FaceCaptureException, FaceCaptureImage, FaceCaptureResponse, FaceSDKVersion, ImageQualityCharacteristic, ImageQualityRange, ImageQualityResult, ImageUpload, InitConfig, InitException, LicenseException, LivenessBackendException, LivenessConfig, LivenessException, LivenessNotification, LivenessResponse, MatchFacesBackendException, MatchFacesConfig, MatchFacesDetection, MatchFacesDetectionFace, MatchFacesException, MatchFacesImage, MatchFacesRequest, MatchFacesResponse, OutputImageCrop, OutputImageParams, Person, PersonGroup, PersonImage, Point, Rect, SearchPerson, SearchPersonDetection, SearchPersonImage, SearchPersonRequest, Size } from '@regulaforensics/face-sdk'
2
+ import { ComparedFace, ComparedFacesPair, ComparedFacesSplit, Customization, DetectFaceResult, DetectFacesAttributeResult, DetectFacesBackendException, DetectFacesConfig, DetectFacesException, DetectFacesRequest, DetectFacesResponse, EditGroupPersonsRequest, FaceCaptureConfig, FaceCaptureException, FaceCaptureImage, FaceCaptureResponse, FaceSDKVersion, ImageQualityCharacteristic, ImageQualityRange, ImageQualityResult, ImageUpload, InitConfig, InitException, LicenseException, LivenessBackendException, LivenessConfig, LivenessException, LivenessNotification, LivenessResponse, MatchFacesBackendException, MatchFacesConfig, MatchFacesDetection, MatchFacesDetectionFace, MatchFacesException, MatchFacesImage, MatchFacesRequest, MatchFacesResponse, OutputImageCrop, OutputImageParams, Person, PersonGroup, PersonImage, Point, Rect, SearchPerson, SearchPersonDetection, SearchPersonImage, SearchPersonRequest, Size } from '@regulaforensics/face-sdk/www/capacitor'
3
3
  import { comparedFace, comparedFacesPair, comparedFacesSplit, customization, detectFaceResult, detectFacesAttributeResult, detectFacesBackendException, detectFacesConfig, detectFacesException, detectFacesRequest, detectFacesResponse, editGroupPersonsRequest, faceCaptureConfig, faceCaptureException, faceCaptureImage, faceCaptureResponse, faceSDKVersion, imageQualityCharacteristic, imageQualityRange, imageQualityResult, imageUpload, initConfig, initException, licenseException, livenessBackendException, livenessConfig, livenessException, livenessNotification, livenessResponse, matchFacesBackendException, matchFacesConfig, matchFacesDetection, matchFacesDetectionFace, matchFacesException, matchFacesImage, matchFacesRequest, matchFacesResponse, outputImageCrop, outputImageParams, person, personGroup, personImage, point, rect, searchPerson, searchPersonDetection, searchPersonImage, searchPersonRequest, size } from './json'
4
4
 
5
5
  compare('customization', customization, Customization.fromJson)