idmission-web-sdk 2.1.97 → 2.1.99
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/dist/lib/locales/es/translation.d.ts +1 -0
- package/dist/lib/locales/index.d.ts +1 -0
- package/dist/sdk2.cjs.development.js +12 -5
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +12 -5
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +12 -5
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -46,6 +46,7 @@ declare const _default: {
|
|
|
46
46
|
'Remove Sunglasses & Hat': string;
|
|
47
47
|
'Avoid Excessive Backlighting': string;
|
|
48
48
|
'Hold still for a few seconds...': string;
|
|
49
|
+
'Please hold still...': string;
|
|
49
50
|
'Look straight into the camera...': string;
|
|
50
51
|
'Move back...': string;
|
|
51
52
|
'Move forward...': string;
|
|
@@ -54,6 +54,7 @@ export declare const resources: {
|
|
|
54
54
|
'Remove Sunglasses & Hat': string;
|
|
55
55
|
'Avoid Excessive Backlighting': string;
|
|
56
56
|
'Hold still for a few seconds...': string;
|
|
57
|
+
'Please hold still...': string;
|
|
57
58
|
'Look straight into the camera...': string;
|
|
58
59
|
'Move back...': string;
|
|
59
60
|
'Move forward...': string;
|
|
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
234
234
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var webSdkVersion = '2.1.
|
|
237
|
+
var webSdkVersion = '2.1.99';
|
|
238
238
|
|
|
239
239
|
function getPlatform() {
|
|
240
240
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -5231,9 +5231,12 @@ function setLastFaceDetectionAt(time) {
|
|
|
5231
5231
|
lastFaceDetectionAt = time;
|
|
5232
5232
|
}
|
|
5233
5233
|
var framesNeededSamples$1 = [];
|
|
5234
|
-
function trackFramesNeeded$1(value) {
|
|
5234
|
+
function trackFramesNeeded$1(value, bufferLength) {
|
|
5235
|
+
if (bufferLength === void 0) {
|
|
5236
|
+
bufferLength = 25;
|
|
5237
|
+
}
|
|
5235
5238
|
framesNeededSamples$1.unshift(value);
|
|
5236
|
-
if (framesNeededSamples$1.length >
|
|
5239
|
+
if (framesNeededSamples$1.length > bufferLength) framesNeededSamples$1.length = bufferLength;
|
|
5237
5240
|
}
|
|
5238
5241
|
var lastNFaces = [];
|
|
5239
5242
|
function trackFace(face, framesNeeded) {
|
|
@@ -5715,9 +5718,12 @@ function setLastDetectionAt(time) {
|
|
|
5715
5718
|
lastDetectionAt = time;
|
|
5716
5719
|
}
|
|
5717
5720
|
var framesNeededSamples = [];
|
|
5718
|
-
function trackFramesNeeded(value) {
|
|
5721
|
+
function trackFramesNeeded(value, bufferLength) {
|
|
5722
|
+
if (bufferLength === void 0) {
|
|
5723
|
+
bufferLength = 25;
|
|
5724
|
+
}
|
|
5719
5725
|
framesNeededSamples.unshift(value);
|
|
5720
|
-
if (framesNeededSamples.length >
|
|
5726
|
+
if (framesNeededSamples.length > bufferLength) framesNeededSamples.length = bufferLength;
|
|
5721
5727
|
}
|
|
5722
5728
|
var lastNBoxes = [];
|
|
5723
5729
|
function trackBox(box, framesNeeded) {
|
|
@@ -7033,6 +7039,7 @@ var esTranslation = {
|
|
|
7033
7039
|
'Remove Sunglasses & Hat': 'Hay que quitarse lentes y/o la gorra',
|
|
7034
7040
|
'Avoid Excessive Backlighting': 'Hay que evitar demasiada luz en el fondo',
|
|
7035
7041
|
'Hold still for a few seconds...': 'Hay que permanecer quieto por unos segundos...',
|
|
7042
|
+
'Please hold still...': 'Favor de no moverse...',
|
|
7036
7043
|
'Look straight into the camera...': 'Hay que mirar directamente a la cámara...',
|
|
7037
7044
|
'Move back...': 'Hay que hacerse hacia atrás..',
|
|
7038
7045
|
'Move forward...': 'Hay que hacerse hacia adelante...',
|