@regulaforensics/face-sdk 6.5.48-beta → 6.5.49-beta

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/RNFaceSDK.podspec CHANGED
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'RNFaceSDK'
8
- s.version = '6.5.48-beta'
8
+ s.version = '6.5.49-beta'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -15,7 +15,7 @@
15
15
  "lint": "eslint"
16
16
  },
17
17
  "dependencies": {
18
- "@regulaforensics/face-sdk": "6.5.48-beta",
18
+ "@regulaforensics/face-sdk": "6.5.49-beta",
19
19
  "@regulaforensics/face-core-basic": "6.3.12-beta",
20
20
  "@awesome-cordova-plugins/camera": "6.6.0",
21
21
  "@awesome-cordova-plugins/file": "6.6.0",
@@ -14,7 +14,7 @@
14
14
  "author": "Regula Forensics Inc.",
15
15
  "license": "commercial",
16
16
  "dependencies": {
17
- "@regulaforensics/face-sdk": "6.5.48-beta",
17
+ "@regulaforensics/face-sdk": "6.5.49-beta",
18
18
  "@regulaforensics/face-core-basic": "6.3.12-beta",
19
19
  "cordova-android": "13.0.0",
20
20
  "cordova-ios": "7.1.1",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "private": true,
18
18
  "dependencies": {
19
- "@regulaforensics/face-sdk": "6.5.48-beta",
19
+ "@regulaforensics/face-sdk": "6.5.49-beta",
20
20
  "@regulaforensics/face-core-basic": "6.3.12-beta",
21
21
  "cordova-plugin-camera": "8.0.0",
22
22
  "@awesome-cordova-plugins/camera": "6.14.0",
@@ -12,7 +12,7 @@
12
12
  "test": "jest"
13
13
  },
14
14
  "dependencies": {
15
- "@regulaforensics/face-sdk": "6.5.48-beta",
15
+ "@regulaforensics/face-sdk": "6.5.49-beta",
16
16
  "@regulaforensics/face-core-basic": "6.3.12-beta",
17
17
  "react": "18.3.1",
18
18
  "react-native": "0.76.6",
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@regulaforensics/face-sdk",
3
- "version": "6.5.48-beta",
3
+ "version": "6.5.49-beta",
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
+ "main": "www/react-native/index.js",
6
+ "module": "www/capacitor/index.js",
5
7
  "types": "www/types/index.d.ts",
6
8
  "cordova": {
7
9
  "id": "@regulaforensics/face-sdk",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/face-sdk" version="6.5.48-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/face-sdk" version="6.5.49-beta" 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>
@@ -306,6 +306,70 @@ export class _Background {
306
306
  }
307
307
 
308
308
  export class ImageQualityGroup {
309
+ static _image;
310
+ static get image() {
311
+ if (!ImageQualityGroup._image) {
312
+ ImageQualityGroup._image = new _Image();
313
+ }
314
+ return ImageQualityGroup._image;
315
+ }
316
+
317
+ static _headSizeAndPosition;
318
+ static get headSizeAndPosition() {
319
+ if (!ImageQualityGroup._headSizeAndPosition) {
320
+ ImageQualityGroup._headSizeAndPosition = new _HeadSizeAndPosition();
321
+ }
322
+ return ImageQualityGroup._headSizeAndPosition;
323
+ }
324
+
325
+ static _faceImage;
326
+ static get faceImage() {
327
+ if (!ImageQualityGroup._faceImage) {
328
+ ImageQualityGroup._faceImage = new _FaceImage();
329
+ }
330
+ return ImageQualityGroup._faceImage;
331
+ }
332
+
333
+ static _eyes;
334
+ static get eyes() {
335
+ if (!ImageQualityGroup._eyes) {
336
+ ImageQualityGroup._eyes = new _Eyes();
337
+ }
338
+ return ImageQualityGroup._eyes;
339
+ }
340
+
341
+ static _shadowsAndLightning;
342
+ static get shadowsAndLightning() {
343
+ if (!ImageQualityGroup._shadowsAndLightning) {
344
+ ImageQualityGroup._shadowsAndLightning = new _ShadowsAndLightning();
345
+ }
346
+ return ImageQualityGroup._shadowsAndLightning;
347
+ }
348
+
349
+ static _poseAndExpression;
350
+ static get poseAndExpression() {
351
+ if (!ImageQualityGroup._poseAndExpression) {
352
+ ImageQualityGroup._poseAndExpression = new _PoseAndExpression();
353
+ }
354
+ return ImageQualityGroup._poseAndExpression;
355
+ }
356
+
357
+ static _headOcclusion;
358
+ static get headOcclusion() {
359
+ if (!ImageQualityGroup._headOcclusion) {
360
+ ImageQualityGroup._headOcclusion = new _HeadOcclusion();
361
+ }
362
+ return ImageQualityGroup._headOcclusion;
363
+ }
364
+
365
+ static _background;
366
+ static get background() {
367
+ if (!ImageQualityGroup._background) {
368
+ ImageQualityGroup._background = new _Background();
369
+ }
370
+ return ImageQualityGroup._background;
371
+ }
372
+
309
373
  static get image() { return ImageQualityGroup._image }
310
374
  static _image = new _Image()
311
375
 
@@ -92,8 +92,13 @@ export { EditGroupPersonsRequest, ImageUpload, PageableItemList, PersonDatabase,
92
92
 
93
93
 
94
94
  export class FaceSDK {
95
- static get instance() { return FaceSDK._instance }
96
- static _instance = new FaceSDK()
95
+ static _instance;
96
+ static get instance() {
97
+ if (!FaceSDK._instance) {
98
+ FaceSDK._instance = new FaceSDK();
99
+ }
100
+ return FaceSDK._instance;
101
+ }
97
102
 
98
103
  get version() { return this._version }
99
104
  _version
package/www/cordova.js CHANGED
@@ -1771,6 +1771,70 @@ class _Background {
1771
1771
  }
1772
1772
 
1773
1773
  class ImageQualityGroup {
1774
+ static _image;
1775
+ static get image() {
1776
+ if (!ImageQualityGroup._image) {
1777
+ ImageQualityGroup._image = new _Image();
1778
+ }
1779
+ return ImageQualityGroup._image;
1780
+ }
1781
+
1782
+ static _headSizeAndPosition;
1783
+ static get headSizeAndPosition() {
1784
+ if (!ImageQualityGroup._headSizeAndPosition) {
1785
+ ImageQualityGroup._headSizeAndPosition = new _HeadSizeAndPosition();
1786
+ }
1787
+ return ImageQualityGroup._headSizeAndPosition;
1788
+ }
1789
+
1790
+ static _faceImage;
1791
+ static get faceImage() {
1792
+ if (!ImageQualityGroup._faceImage) {
1793
+ ImageQualityGroup._faceImage = new _FaceImage();
1794
+ }
1795
+ return ImageQualityGroup._faceImage;
1796
+ }
1797
+
1798
+ static _eyes;
1799
+ static get eyes() {
1800
+ if (!ImageQualityGroup._eyes) {
1801
+ ImageQualityGroup._eyes = new _Eyes();
1802
+ }
1803
+ return ImageQualityGroup._eyes;
1804
+ }
1805
+
1806
+ static _shadowsAndLightning;
1807
+ static get shadowsAndLightning() {
1808
+ if (!ImageQualityGroup._shadowsAndLightning) {
1809
+ ImageQualityGroup._shadowsAndLightning = new _ShadowsAndLightning();
1810
+ }
1811
+ return ImageQualityGroup._shadowsAndLightning;
1812
+ }
1813
+
1814
+ static _poseAndExpression;
1815
+ static get poseAndExpression() {
1816
+ if (!ImageQualityGroup._poseAndExpression) {
1817
+ ImageQualityGroup._poseAndExpression = new _PoseAndExpression();
1818
+ }
1819
+ return ImageQualityGroup._poseAndExpression;
1820
+ }
1821
+
1822
+ static _headOcclusion;
1823
+ static get headOcclusion() {
1824
+ if (!ImageQualityGroup._headOcclusion) {
1825
+ ImageQualityGroup._headOcclusion = new _HeadOcclusion();
1826
+ }
1827
+ return ImageQualityGroup._headOcclusion;
1828
+ }
1829
+
1830
+ static _background;
1831
+ static get background() {
1832
+ if (!ImageQualityGroup._background) {
1833
+ ImageQualityGroup._background = new _Background();
1834
+ }
1835
+ return ImageQualityGroup._background;
1836
+ }
1837
+
1774
1838
  static get image() { return ImageQualityGroup._image }
1775
1839
  static _image = new _Image()
1776
1840
 
@@ -2138,8 +2202,13 @@ __webpack_require__.r(__webpack_exports__);
2138
2202
 
2139
2203
 
2140
2204
  class FaceSDK {
2141
- static get instance() { return FaceSDK._instance }
2142
- static _instance = new FaceSDK()
2205
+ static _instance;
2206
+ static get instance() {
2207
+ if (!FaceSDK._instance) {
2208
+ FaceSDK._instance = new FaceSDK();
2209
+ }
2210
+ return FaceSDK._instance;
2211
+ }
2143
2212
 
2144
2213
  get version() { return this._version }
2145
2214
  _version
@@ -306,6 +306,70 @@ export class _Background {
306
306
  }
307
307
 
308
308
  export class ImageQualityGroup {
309
+ static _image;
310
+ static get image() {
311
+ if (!ImageQualityGroup._image) {
312
+ ImageQualityGroup._image = new _Image();
313
+ }
314
+ return ImageQualityGroup._image;
315
+ }
316
+
317
+ static _headSizeAndPosition;
318
+ static get headSizeAndPosition() {
319
+ if (!ImageQualityGroup._headSizeAndPosition) {
320
+ ImageQualityGroup._headSizeAndPosition = new _HeadSizeAndPosition();
321
+ }
322
+ return ImageQualityGroup._headSizeAndPosition;
323
+ }
324
+
325
+ static _faceImage;
326
+ static get faceImage() {
327
+ if (!ImageQualityGroup._faceImage) {
328
+ ImageQualityGroup._faceImage = new _FaceImage();
329
+ }
330
+ return ImageQualityGroup._faceImage;
331
+ }
332
+
333
+ static _eyes;
334
+ static get eyes() {
335
+ if (!ImageQualityGroup._eyes) {
336
+ ImageQualityGroup._eyes = new _Eyes();
337
+ }
338
+ return ImageQualityGroup._eyes;
339
+ }
340
+
341
+ static _shadowsAndLightning;
342
+ static get shadowsAndLightning() {
343
+ if (!ImageQualityGroup._shadowsAndLightning) {
344
+ ImageQualityGroup._shadowsAndLightning = new _ShadowsAndLightning();
345
+ }
346
+ return ImageQualityGroup._shadowsAndLightning;
347
+ }
348
+
349
+ static _poseAndExpression;
350
+ static get poseAndExpression() {
351
+ if (!ImageQualityGroup._poseAndExpression) {
352
+ ImageQualityGroup._poseAndExpression = new _PoseAndExpression();
353
+ }
354
+ return ImageQualityGroup._poseAndExpression;
355
+ }
356
+
357
+ static _headOcclusion;
358
+ static get headOcclusion() {
359
+ if (!ImageQualityGroup._headOcclusion) {
360
+ ImageQualityGroup._headOcclusion = new _HeadOcclusion();
361
+ }
362
+ return ImageQualityGroup._headOcclusion;
363
+ }
364
+
365
+ static _background;
366
+ static get background() {
367
+ if (!ImageQualityGroup._background) {
368
+ ImageQualityGroup._background = new _Background();
369
+ }
370
+ return ImageQualityGroup._background;
371
+ }
372
+
309
373
  static get image() { return ImageQualityGroup._image }
310
374
  static _image = new _Image()
311
375
 
@@ -92,8 +92,13 @@ export { EditGroupPersonsRequest, ImageUpload, PageableItemList, PersonDatabase,
92
92
 
93
93
 
94
94
  export class FaceSDK {
95
- static get instance() { return FaceSDK._instance }
96
- static _instance = new FaceSDK()
95
+ static _instance;
96
+ static get instance() {
97
+ if (!FaceSDK._instance) {
98
+ FaceSDK._instance = new FaceSDK();
99
+ }
100
+ return FaceSDK._instance;
101
+ }
97
102
 
98
103
  get version() { return this._version }
99
104
  _version