@regulaforensics/idv 9.3.87-nightly → 9.4.91-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.
- package/RNIDV.podspec +2 -2
- package/android/build.gradle +1 -1
- package/android/cordova.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/idv/Main.kt +8 -0
- package/android/src/main/java/com/regula/plugin/idv/Utils.kt +7 -0
- package/examples/capacitor/package-lock.json +128 -128
- package/examples/capacitor/package.json +7 -7
- package/examples/ionic/package-lock.json +2322 -1494
- package/examples/ionic/package.json +14 -7
- package/examples/react_native/package-lock.json +81 -69
- package/examples/react_native/package.json +7 -7
- package/ios/Main.swift +8 -0
- package/ios/RNIDV.swift +2 -1
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/package-lock.json +1 -1
- package/www/capacitor/index.js +12 -0
- package/www/capacitor/internal/bridge.js +9 -0
- package/www/cordova.js +23 -0
- package/www/react-native/index.js +12 -0
- package/www/react-native/internal/bridge.js +9 -0
- package/www/types/index.d.ts +13 -0
|
@@ -17,18 +17,25 @@
|
|
|
17
17
|
"@angular/router": "^21.1.5",
|
|
18
18
|
"@ionic/angular": "^8.7.17",
|
|
19
19
|
"@ionic/cordova-builders": "^12.3.0",
|
|
20
|
-
"@regulaforensics/document-reader": "9.
|
|
21
|
-
"@regulaforensics/face-sdk": "8.
|
|
22
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "9.
|
|
23
|
-
"@regulaforensics/face-core-basic": "8.
|
|
24
|
-
"@regulaforensics/idv": "9.
|
|
25
|
-
"@regulaforensics/idv-module-document-reader": "9.
|
|
26
|
-
"@regulaforensics/idv-module-face": "9.
|
|
20
|
+
"@regulaforensics/document-reader": "9.5.817-nightly",
|
|
21
|
+
"@regulaforensics/face-sdk": "8.3.1074-nightly",
|
|
22
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.5.2351-nightly",
|
|
23
|
+
"@regulaforensics/face-core-basic": "8.3.588-nightly",
|
|
24
|
+
"@regulaforensics/idv": "9.4.91-nightly",
|
|
25
|
+
"@regulaforensics/idv-module-document-reader": "9.4.69-nightly",
|
|
26
|
+
"@regulaforensics/idv-module-face": "9.4.70-nightly",
|
|
27
27
|
"cordova-android": "^14.0.1",
|
|
28
28
|
"cordova-ios": "^8.0.0",
|
|
29
29
|
"cordova-plugin-ionic-webview": "^5.0.1",
|
|
30
30
|
"patch-package": "^8.0.1"
|
|
31
31
|
},
|
|
32
|
+
"overrides": {
|
|
33
|
+
"ajv": "^8.18.0",
|
|
34
|
+
"serialize-javascript": "^7.0.4",
|
|
35
|
+
"@angular/compiler": "^21.2.4",
|
|
36
|
+
"undici": "^7.24.0",
|
|
37
|
+
"picomatch": "^4.0.4"
|
|
38
|
+
},
|
|
32
39
|
"cordova": {
|
|
33
40
|
"plugins": {
|
|
34
41
|
"@regulaforensics/idv": {},
|
|
@@ -1606,12 +1606,12 @@
|
|
|
1606
1606
|
}
|
|
1607
1607
|
},
|
|
1608
1608
|
"node_modules/@expo/cli/node_modules/glob/node_modules/minimatch": {
|
|
1609
|
-
"version": "10.2.
|
|
1610
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.
|
|
1611
|
-
"integrity": "sha512
|
|
1609
|
+
"version": "10.2.5",
|
|
1610
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
|
1611
|
+
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
|
1612
1612
|
"license": "BlueOak-1.0.0",
|
|
1613
1613
|
"dependencies": {
|
|
1614
|
-
"brace-expansion": "^5.0.
|
|
1614
|
+
"brace-expansion": "^5.0.5"
|
|
1615
1615
|
},
|
|
1616
1616
|
"engines": {
|
|
1617
1617
|
"node": "18 || 20 || >=22"
|
|
@@ -1702,12 +1702,12 @@
|
|
|
1702
1702
|
}
|
|
1703
1703
|
},
|
|
1704
1704
|
"node_modules/@expo/config-plugins/node_modules/minimatch": {
|
|
1705
|
-
"version": "10.2.
|
|
1706
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.
|
|
1707
|
-
"integrity": "sha512
|
|
1705
|
+
"version": "10.2.5",
|
|
1706
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
|
1707
|
+
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
|
1708
1708
|
"license": "BlueOak-1.0.0",
|
|
1709
1709
|
"dependencies": {
|
|
1710
|
-
"brace-expansion": "^5.0.
|
|
1710
|
+
"brace-expansion": "^5.0.5"
|
|
1711
1711
|
},
|
|
1712
1712
|
"engines": {
|
|
1713
1713
|
"node": "18 || 20 || >=22"
|
|
@@ -1761,12 +1761,12 @@
|
|
|
1761
1761
|
}
|
|
1762
1762
|
},
|
|
1763
1763
|
"node_modules/@expo/config/node_modules/minimatch": {
|
|
1764
|
-
"version": "10.2.
|
|
1765
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.
|
|
1766
|
-
"integrity": "sha512
|
|
1764
|
+
"version": "10.2.5",
|
|
1765
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
|
1766
|
+
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
|
1767
1767
|
"license": "BlueOak-1.0.0",
|
|
1768
1768
|
"dependencies": {
|
|
1769
|
-
"brace-expansion": "^5.0.
|
|
1769
|
+
"brace-expansion": "^5.0.5"
|
|
1770
1770
|
},
|
|
1771
1771
|
"engines": {
|
|
1772
1772
|
"node": "18 || 20 || >=22"
|
|
@@ -1880,12 +1880,12 @@
|
|
|
1880
1880
|
}
|
|
1881
1881
|
},
|
|
1882
1882
|
"node_modules/@expo/fingerprint/node_modules/glob/node_modules/minimatch": {
|
|
1883
|
-
"version": "10.2.
|
|
1884
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.
|
|
1885
|
-
"integrity": "sha512
|
|
1883
|
+
"version": "10.2.5",
|
|
1884
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
|
1885
|
+
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
|
1886
1886
|
"license": "BlueOak-1.0.0",
|
|
1887
1887
|
"dependencies": {
|
|
1888
|
-
"brace-expansion": "^5.0.
|
|
1888
|
+
"brace-expansion": "^5.0.5"
|
|
1889
1889
|
},
|
|
1890
1890
|
"engines": {
|
|
1891
1891
|
"node": "18 || 20 || >=22"
|
|
@@ -2032,12 +2032,12 @@
|
|
|
2032
2032
|
}
|
|
2033
2033
|
},
|
|
2034
2034
|
"node_modules/@expo/metro-config/node_modules/glob/node_modules/minimatch": {
|
|
2035
|
-
"version": "10.2.
|
|
2036
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.
|
|
2037
|
-
"integrity": "sha512
|
|
2035
|
+
"version": "10.2.5",
|
|
2036
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
|
2037
|
+
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
|
2038
2038
|
"license": "BlueOak-1.0.0",
|
|
2039
2039
|
"dependencies": {
|
|
2040
|
-
"brace-expansion": "^5.0.
|
|
2040
|
+
"brace-expansion": "^5.0.5"
|
|
2041
2041
|
},
|
|
2042
2042
|
"engines": {
|
|
2043
2043
|
"node": "18 || 20 || >=22"
|
|
@@ -2974,9 +2974,9 @@
|
|
|
2974
2974
|
}
|
|
2975
2975
|
},
|
|
2976
2976
|
"node_modules/@xmldom/xmldom": {
|
|
2977
|
-
"version": "0.8.
|
|
2978
|
-
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.
|
|
2979
|
-
"integrity": "sha512-
|
|
2977
|
+
"version": "0.8.12",
|
|
2978
|
+
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.12.tgz",
|
|
2979
|
+
"integrity": "sha512-9k/gHF6n/pAi/9tqr3m3aqkuiNosYTurLLUtc7xQ9sxB/wm7WPygCv8GYa6mS0fLJEHhqMC1ATYhz++U/lRHqg==",
|
|
2980
2980
|
"license": "MIT",
|
|
2981
2981
|
"engines": {
|
|
2982
2982
|
"node": ">=10.0.0"
|
|
@@ -3121,9 +3121,9 @@
|
|
|
3121
3121
|
}
|
|
3122
3122
|
},
|
|
3123
3123
|
"node_modules/anymatch/node_modules/picomatch": {
|
|
3124
|
-
"version": "2.3.
|
|
3125
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.
|
|
3126
|
-
"integrity": "sha512-
|
|
3124
|
+
"version": "2.3.2",
|
|
3125
|
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
|
3126
|
+
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
|
3127
3127
|
"license": "MIT",
|
|
3128
3128
|
"engines": {
|
|
3129
3129
|
"node": ">=8.6"
|
|
@@ -3556,9 +3556,9 @@
|
|
|
3556
3556
|
}
|
|
3557
3557
|
},
|
|
3558
3558
|
"node_modules/brace-expansion": {
|
|
3559
|
-
"version": "5.0.
|
|
3560
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.
|
|
3561
|
-
"integrity": "sha512-
|
|
3559
|
+
"version": "5.0.5",
|
|
3560
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
|
|
3561
|
+
"integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
|
|
3562
3562
|
"license": "MIT",
|
|
3563
3563
|
"dependencies": {
|
|
3564
3564
|
"balanced-match": "^4.0.2"
|
|
@@ -4721,9 +4721,9 @@
|
|
|
4721
4721
|
}
|
|
4722
4722
|
},
|
|
4723
4723
|
"node_modules/glob/node_modules/brace-expansion": {
|
|
4724
|
-
"version": "1.1.
|
|
4725
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.
|
|
4726
|
-
"integrity": "sha512-
|
|
4724
|
+
"version": "1.1.14",
|
|
4725
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",
|
|
4726
|
+
"integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==",
|
|
4727
4727
|
"license": "MIT",
|
|
4728
4728
|
"dependencies": {
|
|
4729
4729
|
"balanced-match": "^1.0.0",
|
|
@@ -4731,9 +4731,9 @@
|
|
|
4731
4731
|
}
|
|
4732
4732
|
},
|
|
4733
4733
|
"node_modules/glob/node_modules/minimatch": {
|
|
4734
|
-
"version": "3.1.
|
|
4735
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.
|
|
4736
|
-
"integrity": "sha512-
|
|
4734
|
+
"version": "3.1.5",
|
|
4735
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
|
4736
|
+
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
|
4737
4737
|
"license": "ISC",
|
|
4738
4738
|
"dependencies": {
|
|
4739
4739
|
"brace-expansion": "^1.1.7"
|
|
@@ -5144,9 +5144,9 @@
|
|
|
5144
5144
|
}
|
|
5145
5145
|
},
|
|
5146
5146
|
"node_modules/jest-util/node_modules/picomatch": {
|
|
5147
|
-
"version": "2.3.
|
|
5148
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.
|
|
5149
|
-
"integrity": "sha512-
|
|
5147
|
+
"version": "2.3.2",
|
|
5148
|
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
|
5149
|
+
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
|
5150
5150
|
"license": "MIT",
|
|
5151
5151
|
"engines": {
|
|
5152
5152
|
"node": ">=8.6"
|
|
@@ -6064,9 +6064,9 @@
|
|
|
6064
6064
|
}
|
|
6065
6065
|
},
|
|
6066
6066
|
"node_modules/micromatch/node_modules/picomatch": {
|
|
6067
|
-
"version": "2.3.
|
|
6068
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.
|
|
6069
|
-
"integrity": "sha512-
|
|
6067
|
+
"version": "2.3.2",
|
|
6068
|
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
|
6069
|
+
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
|
6070
6070
|
"license": "MIT",
|
|
6071
6071
|
"engines": {
|
|
6072
6072
|
"node": ">=8.6"
|
|
@@ -6127,12 +6127,12 @@
|
|
|
6127
6127
|
}
|
|
6128
6128
|
},
|
|
6129
6129
|
"node_modules/minimatch": {
|
|
6130
|
-
"version": "9.0.
|
|
6131
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.
|
|
6132
|
-
"integrity": "sha512-
|
|
6130
|
+
"version": "9.0.9",
|
|
6131
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
|
|
6132
|
+
"integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
|
|
6133
6133
|
"license": "ISC",
|
|
6134
6134
|
"dependencies": {
|
|
6135
|
-
"brace-expansion": "^
|
|
6135
|
+
"brace-expansion": "^2.0.2"
|
|
6136
6136
|
},
|
|
6137
6137
|
"engines": {
|
|
6138
6138
|
"node": ">=16 || 14 >=14.17"
|
|
@@ -6141,6 +6141,15 @@
|
|
|
6141
6141
|
"url": "https://github.com/sponsors/isaacs"
|
|
6142
6142
|
}
|
|
6143
6143
|
},
|
|
6144
|
+
"node_modules/minimatch/node_modules/brace-expansion": {
|
|
6145
|
+
"version": "2.1.0",
|
|
6146
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz",
|
|
6147
|
+
"integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==",
|
|
6148
|
+
"license": "MIT",
|
|
6149
|
+
"dependencies": {
|
|
6150
|
+
"balanced-match": "^1.0.0"
|
|
6151
|
+
}
|
|
6152
|
+
},
|
|
6144
6153
|
"node_modules/minimist": {
|
|
6145
6154
|
"version": "1.2.8",
|
|
6146
6155
|
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
|
|
@@ -6234,9 +6243,9 @@
|
|
|
6234
6243
|
"license": "MIT"
|
|
6235
6244
|
},
|
|
6236
6245
|
"node_modules/node-forge": {
|
|
6237
|
-
"version": "1.
|
|
6238
|
-
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.
|
|
6239
|
-
"integrity": "sha512-
|
|
6246
|
+
"version": "1.4.0",
|
|
6247
|
+
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.4.0.tgz",
|
|
6248
|
+
"integrity": "sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ==",
|
|
6240
6249
|
"license": "(BSD-3-Clause OR GPL-2.0)",
|
|
6241
6250
|
"engines": {
|
|
6242
6251
|
"node": ">= 6.13.0"
|
|
@@ -6573,9 +6582,9 @@
|
|
|
6573
6582
|
"license": "ISC"
|
|
6574
6583
|
},
|
|
6575
6584
|
"node_modules/picomatch": {
|
|
6576
|
-
"version": "3.0.
|
|
6577
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.
|
|
6578
|
-
"integrity": "sha512-
|
|
6585
|
+
"version": "3.0.2",
|
|
6586
|
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.2.tgz",
|
|
6587
|
+
"integrity": "sha512-cfDHL6LStTEKlNilboNtobT/kEa30PtAf2Q1OgszfrG/rpVl1xaFWT9ktfkS306GmHgmnad1Sw4wabhlvFtsTw==",
|
|
6579
6588
|
"license": "MIT",
|
|
6580
6589
|
"engines": {
|
|
6581
6590
|
"node": ">=10"
|
|
@@ -7584,9 +7593,9 @@
|
|
|
7584
7593
|
}
|
|
7585
7594
|
},
|
|
7586
7595
|
"node_modules/tar": {
|
|
7587
|
-
"version": "7.5.
|
|
7588
|
-
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.
|
|
7589
|
-
"integrity": "sha512-
|
|
7596
|
+
"version": "7.5.13",
|
|
7597
|
+
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.13.tgz",
|
|
7598
|
+
"integrity": "sha512-tOG/7GyXpFevhXVh8jOPJrmtRpOTsYqUIkVdVooZYJS/z8WhfQUX8RJILmeuJNinGAMSu1veBr4asSHFt5/hng==",
|
|
7590
7599
|
"license": "BlueOak-1.0.0",
|
|
7591
7600
|
"dependencies": {
|
|
7592
7601
|
"@isaacs/fs-minipass": "^4.0.0",
|
|
@@ -7672,9 +7681,9 @@
|
|
|
7672
7681
|
}
|
|
7673
7682
|
},
|
|
7674
7683
|
"node_modules/test-exclude/node_modules/brace-expansion": {
|
|
7675
|
-
"version": "1.1.
|
|
7676
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.
|
|
7677
|
-
"integrity": "sha512-
|
|
7684
|
+
"version": "1.1.14",
|
|
7685
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",
|
|
7686
|
+
"integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==",
|
|
7678
7687
|
"license": "MIT",
|
|
7679
7688
|
"dependencies": {
|
|
7680
7689
|
"balanced-match": "^1.0.0",
|
|
@@ -7682,9 +7691,9 @@
|
|
|
7682
7691
|
}
|
|
7683
7692
|
},
|
|
7684
7693
|
"node_modules/test-exclude/node_modules/minimatch": {
|
|
7685
|
-
"version": "3.1.
|
|
7686
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.
|
|
7687
|
-
"integrity": "sha512-
|
|
7694
|
+
"version": "3.1.5",
|
|
7695
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
|
7696
|
+
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
|
7688
7697
|
"license": "ISC",
|
|
7689
7698
|
"dependencies": {
|
|
7690
7699
|
"brace-expansion": "^1.1.7"
|
|
@@ -7737,9 +7746,9 @@
|
|
|
7737
7746
|
}
|
|
7738
7747
|
},
|
|
7739
7748
|
"node_modules/tinyglobby/node_modules/picomatch": {
|
|
7740
|
-
"version": "4.0.
|
|
7741
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.
|
|
7742
|
-
"integrity": "sha512-
|
|
7749
|
+
"version": "4.0.4",
|
|
7750
|
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
|
|
7751
|
+
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
|
7743
7752
|
"license": "MIT",
|
|
7744
7753
|
"engines": {
|
|
7745
7754
|
"node": ">=12"
|
|
@@ -7813,9 +7822,9 @@
|
|
|
7813
7822
|
}
|
|
7814
7823
|
},
|
|
7815
7824
|
"node_modules/undici": {
|
|
7816
|
-
"version": "6.
|
|
7817
|
-
"resolved": "https://registry.npmjs.org/undici/-/undici-6.
|
|
7818
|
-
"integrity": "sha512-
|
|
7825
|
+
"version": "6.24.1",
|
|
7826
|
+
"resolved": "https://registry.npmjs.org/undici/-/undici-6.24.1.tgz",
|
|
7827
|
+
"integrity": "sha512-sC+b0tB1whOCzbtlx20fx3WgCXwkW627p4EA9uM+/tNNPkSS+eSEld6pAs9nDv7WbY1UUljBMYPtu9BCOrCWKA==",
|
|
7819
7828
|
"license": "MIT",
|
|
7820
7829
|
"engines": {
|
|
7821
7830
|
"node": ">=18.17"
|
|
@@ -8166,15 +8175,18 @@
|
|
|
8166
8175
|
"license": "ISC"
|
|
8167
8176
|
},
|
|
8168
8177
|
"node_modules/yaml": {
|
|
8169
|
-
"version": "2.8.
|
|
8170
|
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.
|
|
8171
|
-
"integrity": "sha512-
|
|
8178
|
+
"version": "2.8.3",
|
|
8179
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
|
|
8180
|
+
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
|
|
8172
8181
|
"license": "ISC",
|
|
8173
8182
|
"bin": {
|
|
8174
8183
|
"yaml": "bin.mjs"
|
|
8175
8184
|
},
|
|
8176
8185
|
"engines": {
|
|
8177
8186
|
"node": ">= 14.6"
|
|
8187
|
+
},
|
|
8188
|
+
"funding": {
|
|
8189
|
+
"url": "https://github.com/sponsors/eemeli"
|
|
8178
8190
|
}
|
|
8179
8191
|
},
|
|
8180
8192
|
"node_modules/yargs": {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/idv": "9.
|
|
12
|
-
"@regulaforensics/document-reader": "9.
|
|
13
|
-
"@regulaforensics/face-sdk": "8.
|
|
14
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "9.
|
|
15
|
-
"@regulaforensics/face-core-basic": "8.
|
|
16
|
-
"@regulaforensics/idv-module-document-reader": "9.
|
|
17
|
-
"@regulaforensics/idv-module-face": "9.
|
|
11
|
+
"@regulaforensics/idv": "9.4.91-nightly",
|
|
12
|
+
"@regulaforensics/document-reader": "9.5.817-nightly",
|
|
13
|
+
"@regulaforensics/face-sdk": "8.3.1074-nightly",
|
|
14
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.5.2351-nightly",
|
|
15
|
+
"@regulaforensics/face-core-basic": "8.3.588-nightly",
|
|
16
|
+
"@regulaforensics/idv-module-document-reader": "9.4.69-nightly",
|
|
17
|
+
"@regulaforensics/idv-module-face": "9.4.70-nightly",
|
|
18
18
|
"react-native": "^0.81.4",
|
|
19
19
|
"react-native-webview": "^13.16.0",
|
|
20
20
|
"@react-native/metro-config": "^0.81.1",
|
package/ios/Main.swift
CHANGED
|
@@ -4,10 +4,12 @@ let didStartSessionEvent = "didStartSessionEvent"
|
|
|
4
4
|
let didEndSessionEvent = "didEndSessionEvent"
|
|
5
5
|
let didStartRestoreSessionEvent = "didStartRestoreSessionEvent"
|
|
6
6
|
let didContinueRemoteSessionEvent = "didContinueRemoteSessionEvent"
|
|
7
|
+
let didReceiveLogEventEvent = "didReceiveLogEventEvent"
|
|
7
8
|
|
|
8
9
|
func methodCall(_ method: String, _ callback: @escaping Callback) {
|
|
9
10
|
switch method {
|
|
10
11
|
case("setSessionRestoreMode"): IDV.shared.sessionRestoreMode = SessionRestoreMode(rawValue: args(0))!
|
|
12
|
+
case("setLogLevel"): IDV.shared.logLevel = Set((args(0) as [Int]).compactMap{ IDVLogLevel(rawValue: $0) })
|
|
11
13
|
case("getCurrentSessionId"): callback(IDV.shared.currentSessionId)
|
|
12
14
|
case("initialize"): initialize(callback)
|
|
13
15
|
case("deinitialize"): deinitialize(callback)
|
|
@@ -101,5 +103,11 @@ class IDVDelegate: IDVSDK.IDVDelegate {
|
|
|
101
103
|
func didEndSession(idv: IDV) { sendEvent(didEndSessionEvent) }
|
|
102
104
|
func didStartRestoreSession(idv: IDV) { sendEvent(didStartRestoreSessionEvent) }
|
|
103
105
|
func didContinueRemoteSession(idv: IDV) { sendEvent(didContinueRemoteSessionEvent) }
|
|
106
|
+
func didReceiveLogEvent(idv: IDV, logEvent: IDVSDK.IDVLogEvent) {
|
|
107
|
+
sendEvent(didReceiveLogEventEvent, [
|
|
108
|
+
"level": logEvent.logLevel.rawValue,
|
|
109
|
+
"message": logEvent.message,
|
|
110
|
+
])
|
|
111
|
+
}
|
|
104
112
|
}
|
|
105
113
|
let delegate = IDVDelegate()
|
package/ios/RNIDV.swift
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/idv",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.91-nightly",
|
|
4
4
|
"description": "This is an npm module for Regula IDV, which unifies access to all Regula products. This plugin makes possible to use it with react-native, cordova and capacitor applications. Supports Android and iOS.",
|
|
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/idv" version="9.
|
|
2
|
+
<plugin id="@regulaforensics/idv" version="9.4.91-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>IDV</name>
|
|
4
4
|
<description>Cordova plugin for Regula IDV</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
27
27
|
</config>
|
|
28
28
|
<pods>
|
|
29
|
-
<pod name="IDVSDKNightly" spec="
|
|
29
|
+
<pod name="IDVSDKNightly" spec="3.6.1894" />
|
|
30
30
|
</pods>
|
|
31
31
|
</podspec>
|
|
32
32
|
</platform>
|
package/test/package-lock.json
CHANGED
package/www/capacitor/index.js
CHANGED
|
@@ -23,12 +23,17 @@ export class IDV {
|
|
|
23
23
|
setDidEndSessionCompletion(value.didEndSession)
|
|
24
24
|
setDidStartRestoreSessionCompletion(value.didStartRestoreSession)
|
|
25
25
|
setDidContinueRemoteSessionCompletion(value.didContinueRemoteSession)
|
|
26
|
+
setDidReceiveLogEventCompletion(value.didReceiveLogEvent)
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
set sessionRestoreMode(val) {
|
|
29
30
|
exec('setSessionRestoreMode', [val])
|
|
30
31
|
}
|
|
31
32
|
|
|
33
|
+
set logLevel(val) {
|
|
34
|
+
exec('setLogLevel', [val])
|
|
35
|
+
}
|
|
36
|
+
|
|
32
37
|
async getCurrentSessionId() {
|
|
33
38
|
return await exec('getCurrentSessionId', [])
|
|
34
39
|
}
|
|
@@ -96,6 +101,13 @@ export const SessionRestoreMode = {
|
|
|
96
101
|
DISABLED: 1,
|
|
97
102
|
}
|
|
98
103
|
|
|
104
|
+
export const IdvLogLevel = {
|
|
105
|
+
DEBUG: 0,
|
|
106
|
+
INFO: 1,
|
|
107
|
+
WARNING: 2,
|
|
108
|
+
ERROR: 3,
|
|
109
|
+
}
|
|
110
|
+
|
|
99
111
|
function completionFromResponse(response, transform) {
|
|
100
112
|
const jsonObject = JSON.parse(response)
|
|
101
113
|
let success = jsonObject['success']
|
|
@@ -34,3 +34,12 @@ export function setDidStartRestoreSessionCompletion(completion) {
|
|
|
34
34
|
export function setDidContinueRemoteSessionCompletion(completion) {
|
|
35
35
|
setEvent('didContinueRemoteSessionEvent', completion)
|
|
36
36
|
}
|
|
37
|
+
|
|
38
|
+
export function setDidReceiveLogEventCompletion(completion) {
|
|
39
|
+
setEvent('didReceiveLogEventEvent', completion, json => {
|
|
40
|
+
var jsonObject = JSON.parse(json)
|
|
41
|
+
var level = jsonObject["level"];
|
|
42
|
+
var message = jsonObject["message"];
|
|
43
|
+
return [level, message]
|
|
44
|
+
})
|
|
45
|
+
}
|
package/www/cordova.js
CHANGED
|
@@ -292,6 +292,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
292
292
|
/* harmony export */ serializeInterface: () => (/* binding */ serializeInterface),
|
|
293
293
|
/* harmony export */ setDidContinueRemoteSessionCompletion: () => (/* binding */ setDidContinueRemoteSessionCompletion),
|
|
294
294
|
/* harmony export */ setDidEndSessionCompletion: () => (/* binding */ setDidEndSessionCompletion),
|
|
295
|
+
/* harmony export */ setDidReceiveLogEventCompletion: () => (/* binding */ setDidReceiveLogEventCompletion),
|
|
295
296
|
/* harmony export */ setDidStartRestoreSessionCompletion: () => (/* binding */ setDidStartRestoreSessionCompletion),
|
|
296
297
|
/* harmony export */ setDidStartSessionCompletion: () => (/* binding */ setDidStartSessionCompletion)
|
|
297
298
|
/* harmony export */ });
|
|
@@ -333,6 +334,15 @@ function setDidContinueRemoteSessionCompletion(completion) {
|
|
|
333
334
|
setEvent('didContinueRemoteSessionEvent', completion)
|
|
334
335
|
}
|
|
335
336
|
|
|
337
|
+
function setDidReceiveLogEventCompletion(completion) {
|
|
338
|
+
setEvent('didReceiveLogEventEvent', completion, json => {
|
|
339
|
+
var jsonObject = JSON.parse(json)
|
|
340
|
+
var level = jsonObject["level"];
|
|
341
|
+
var message = jsonObject["message"];
|
|
342
|
+
return [level, message]
|
|
343
|
+
})
|
|
344
|
+
}
|
|
345
|
+
|
|
336
346
|
|
|
337
347
|
/***/ },
|
|
338
348
|
|
|
@@ -551,6 +561,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
551
561
|
/* harmony export */ ApiKeyConnectionConfig: () => (/* reexport safe */ _config_api_key_connection_config__WEBPACK_IMPORTED_MODULE_3__.ApiKeyConnectionConfig),
|
|
552
562
|
/* harmony export */ CredentialsConnectionConfig: () => (/* reexport safe */ _config_credentials_connection_config__WEBPACK_IMPORTED_MODULE_2__.CredentialsConnectionConfig),
|
|
553
563
|
/* harmony export */ IDV: () => (/* binding */ IDV),
|
|
564
|
+
/* harmony export */ IdvLogLevel: () => (/* binding */ IdvLogLevel),
|
|
554
565
|
/* harmony export */ PrepareWorkflowConfig: () => (/* reexport safe */ _config_prepare_workflow_config__WEBPACK_IMPORTED_MODULE_4__.PrepareWorkflowConfig),
|
|
555
566
|
/* harmony export */ SendDataConfig: () => (/* reexport safe */ _config_send_data_config__WEBPACK_IMPORTED_MODULE_7__.SendDataConfig),
|
|
556
567
|
/* harmony export */ SessionRestoreMode: () => (/* binding */ SessionRestoreMode),
|
|
@@ -597,12 +608,17 @@ class IDV {
|
|
|
597
608
|
;(0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.setDidEndSessionCompletion)(value.didEndSession)
|
|
598
609
|
;(0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.setDidStartRestoreSessionCompletion)(value.didStartRestoreSession)
|
|
599
610
|
;(0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.setDidContinueRemoteSessionCompletion)(value.didContinueRemoteSession)
|
|
611
|
+
setDidReceiveLogEventCompletion(value.didReceiveLogEvent)
|
|
600
612
|
}
|
|
601
613
|
|
|
602
614
|
set sessionRestoreMode(val) {
|
|
603
615
|
(0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)('setSessionRestoreMode', [val])
|
|
604
616
|
}
|
|
605
617
|
|
|
618
|
+
set logLevel(val) {
|
|
619
|
+
(0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)('setLogLevel', [val])
|
|
620
|
+
}
|
|
621
|
+
|
|
606
622
|
async getCurrentSessionId() {
|
|
607
623
|
return await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)('getCurrentSessionId', [])
|
|
608
624
|
}
|
|
@@ -670,6 +686,13 @@ const SessionRestoreMode = {
|
|
|
670
686
|
DISABLED: 1,
|
|
671
687
|
}
|
|
672
688
|
|
|
689
|
+
const IdvLogLevel = {
|
|
690
|
+
DEBUG: 0,
|
|
691
|
+
INFO: 1,
|
|
692
|
+
WARNING: 2,
|
|
693
|
+
ERROR: 3,
|
|
694
|
+
}
|
|
695
|
+
|
|
673
696
|
function completionFromResponse(response, transform) {
|
|
674
697
|
const jsonObject = JSON.parse(response)
|
|
675
698
|
let success = jsonObject['success']
|
|
@@ -23,12 +23,17 @@ export class IDV {
|
|
|
23
23
|
setDidEndSessionCompletion(value.didEndSession)
|
|
24
24
|
setDidStartRestoreSessionCompletion(value.didStartRestoreSession)
|
|
25
25
|
setDidContinueRemoteSessionCompletion(value.didContinueRemoteSession)
|
|
26
|
+
setDidReceiveLogEventCompletion(value.didReceiveLogEvent)
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
set sessionRestoreMode(val) {
|
|
29
30
|
exec('setSessionRestoreMode', [val])
|
|
30
31
|
}
|
|
31
32
|
|
|
33
|
+
set logLevel(val) {
|
|
34
|
+
exec('setLogLevel', [val])
|
|
35
|
+
}
|
|
36
|
+
|
|
32
37
|
async getCurrentSessionId() {
|
|
33
38
|
return await exec('getCurrentSessionId', [])
|
|
34
39
|
}
|
|
@@ -96,6 +101,13 @@ export const SessionRestoreMode = {
|
|
|
96
101
|
DISABLED: 1,
|
|
97
102
|
}
|
|
98
103
|
|
|
104
|
+
export const IdvLogLevel = {
|
|
105
|
+
DEBUG: 0,
|
|
106
|
+
INFO: 1,
|
|
107
|
+
WARNING: 2,
|
|
108
|
+
ERROR: 3,
|
|
109
|
+
}
|
|
110
|
+
|
|
99
111
|
function completionFromResponse(response, transform) {
|
|
100
112
|
const jsonObject = JSON.parse(response)
|
|
101
113
|
let success = jsonObject['success']
|
|
@@ -34,3 +34,12 @@ export function setDidStartRestoreSessionCompletion(completion) {
|
|
|
34
34
|
export function setDidContinueRemoteSessionCompletion(completion) {
|
|
35
35
|
setEvent('didContinueRemoteSessionEvent', completion)
|
|
36
36
|
}
|
|
37
|
+
|
|
38
|
+
export function setDidReceiveLogEventCompletion(completion) {
|
|
39
|
+
setEvent('didReceiveLogEventEvent', completion, json => {
|
|
40
|
+
var jsonObject = JSON.parse(json)
|
|
41
|
+
var level = jsonObject["level"];
|
|
42
|
+
var message = jsonObject["message"];
|
|
43
|
+
return [level, message]
|
|
44
|
+
})
|
|
45
|
+
}
|
package/www/types/index.d.ts
CHANGED
|
@@ -25,6 +25,9 @@ export class IDV {
|
|
|
25
25
|
|
|
26
26
|
set sessionRestoreMode(value: SessionRestoreMode)
|
|
27
27
|
|
|
28
|
+
/** Default: empty set. */
|
|
29
|
+
set logLevel(value: Set<IdvLogLevel>)
|
|
30
|
+
|
|
28
31
|
getCurrentSessionId(): Promise<string | null>
|
|
29
32
|
|
|
30
33
|
initialize(): Promise<[boolean, string | null]>
|
|
@@ -58,4 +61,14 @@ export interface IDVListenerOptions {
|
|
|
58
61
|
didEndSession?: () => void
|
|
59
62
|
didStartRestoreSession?: () => void
|
|
60
63
|
didContinueRemoteSession?: () => void
|
|
64
|
+
didReceiveLogEvent?: IdvLogEventCompletion
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type IdvLogEventCompletion = (level: IdvLogLevel, message: string) => void;
|
|
68
|
+
|
|
69
|
+
export enum IdvLogLevel {
|
|
70
|
+
DEBUG = 0,
|
|
71
|
+
INFO = 1,
|
|
72
|
+
WARNING = 2,
|
|
73
|
+
ERROR = 3,
|
|
61
74
|
}
|