bry-biometric-collector 2.0.3 → 2.0.5

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.
@@ -1,4 +1,4 @@
1
- import { aY as f } from "./main_4a3321b2_2.0.3.js";
1
+ import { aY as f } from "./main_bce0667c_2.0.5.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -99,9 +99,9 @@ const e = {
99
99
  }, f = {
100
100
  extensionNotFound: "The extension couldn't be identified. Please install it from here",
101
101
  extension: "extension"
102
- }, h = {
103
- permissionNotGranted: "Permission to access the camera was denied, please enable and refresh."
104
102
  }, p = {
103
+ permissionNotGranted: "Permission to access the camera was denied, please enable and refresh."
104
+ }, h = {
105
105
  illumination: "Heterogeneous illumination",
106
106
  openEyes: "Eyes closed",
107
107
  redEyes: "Red eyes",
@@ -152,6 +152,7 @@ const e = {
152
152
  },
153
153
  contactAdmin: "Please contact the system administrator about this error."
154
154
  }, T = {
155
+ capturing: "Capturing",
155
156
  justification: "justification",
156
157
  captured: "Face captured!",
157
158
  retakePhoto: "Retake photo",
@@ -202,8 +203,8 @@ const e = {
202
203
  fingerDisplayArea: g,
203
204
  buttons: u,
204
205
  alertExtension: f,
205
- alertCameraDisallowed: h,
206
- unconformities: p,
206
+ alertCameraDisallowed: p,
207
+ unconformities: h,
207
208
  liveness: m,
208
209
  faceCollector: T,
209
210
  configModal: y,
@@ -212,7 +213,7 @@ const e = {
212
213
  export {
213
214
  r as agrFinger,
214
215
  n as agrFingerNotMatched,
215
- h as alertCameraDisallowed,
216
+ p as alertCameraDisallowed,
216
217
  f as alertExtension,
217
218
  s as automaticHasAlreadyRunSwal,
218
219
  t as badFingerQualitySwal,
@@ -229,6 +230,6 @@ export {
229
230
  d as missingScannerSwal,
230
231
  i as signerNotInstalledSwal,
231
232
  F as toast,
232
- p as unconformities,
233
+ h as unconformities,
233
234
  a as unknownDuplicateFingerSwal
234
235
  };
@@ -1,4 +1,4 @@
1
- import { u as D, $ as C, n as y, g, i as b, a as M, s as l, b as h, c as U, F, d as x, e as c, v, f as P, A as B, h as S, j as E, k as W, l as k, m as X, o as w, p as $, q as G } from "./main_4a3321b2_2.0.3.js";
1
+ import { u as D, $ as C, n as y, g, i as b, a as M, s as l, b as h, c as U, F, d as x, e as c, v, f as P, A as B, h as S, j as E, k as W, l as k, m as X, o as w, p as $, q as G } from "./main_bce0667c_2.0.5.js";
2
2
  const d = D(C);
3
3
  var V = /* @__PURE__ */ ((n) => (n.EXTENSION_MISSING = "EXTENSION_MISSING", n.USER_CANCELLED = "USER_CANCELLED", n.UNAUTHORIZED_EXTENSION = "UNAUTHORIZED_EXTENSION", n.SCANNER_NOT_FOUND = "SCANNER_NOT_FOUND", n.EXTENSION_MODULE_NOT_INSTALLED = "EXTENSION_MODULE_NOT_INSTALLED", n.FINGER_NOT_REMOVED = "FINGER_NOT_REMOVED", n.UNKNOWN_ERROR = "UNKNOWN_ERROR", n.EVALUATE_BIOMETRICS_TIMEOUT = "EVALUATE_BIOMETRICS_TIMEOUT", n.EVALUATE_BIOMETRICS_NETWORK_ISSUE = "EVALUATE_BIOMETRICS_NETWORK_ISSUE", n))(V || {});
4
4
  class s extends Error {
Binary file
@@ -0,0 +1,198 @@
1
+ export interface livenessResult {
2
+ capture_liveness: { probability: number; score: number };
3
+ face_liveness: { probability: number };
4
+ }
5
+
6
+ export interface livenessErrorResult {
7
+ error: string;
8
+ error_code: string;
9
+ }
10
+ export interface BodyPart {
11
+ /**
12
+ * bodypart name
13
+ */
14
+ bodyPart: string;
15
+ /**
16
+ * base64 data
17
+ */
18
+ data: string;
19
+ img?: string;
20
+ status?: string;
21
+ justification?: string;
22
+ nfiq?: number;
23
+ livenessBlob?: string;
24
+ livenessResult?: livenessResult | livenessErrorResult;
25
+ }
26
+ export enum Props {
27
+ EXTENSION_NAME = 'extension_name',
28
+ COLLECTOR_SELECT = 'collector_select',
29
+ VIDEO_DIMENSIONS = 'video_dimensions',
30
+ ENABLE_MINUTIAE = 'enable_minutiae',
31
+ WEIGHTS_PATH = 'weights_path',
32
+ LIVENESS_ENABLE = 'liveness_enable',
33
+ IMPORT_LOTTIE = 'import_lottie',
34
+ HIDE_TABS = 'hide_tabs',
35
+ IMPORT_BRY_WEB_COLLECTOR_SCRIPT = 'import_bry_web_collector_script',
36
+ }
37
+
38
+ export const enum BodyPartNames {
39
+ LEFT_HAND_PINKY = 'LEFT_HAND_PINKY',
40
+ LEFT_HAND_RING = 'LEFT_HAND_RING',
41
+ LEFT_HAND_MIDDLE = 'LEFT_HAND_MIDDLE',
42
+ LEFT_HAND_INDEX = 'LEFT_HAND_INDEX',
43
+ LEFT_HAND_THUMB = 'LEFT_HAND_THUMB',
44
+ RIGHT_HAND_THUMB = 'RIGHT_HAND_THUMB',
45
+ RIGHT_HAND_INDEX = 'RIGHT_HAND_INDEX',
46
+ RIGHT_HAND_MIDDLE = 'RIGHT_HAND_MIDDLE',
47
+ RIGHT_HAND_RING = 'RIGHT_HAND_RING',
48
+ RIGHT_HAND_PINKY = 'RIGHT_HAND_PINKY',
49
+ RIGHT_HAND = 'RIGHT_HAND',
50
+ LEFT_HAND = 'LEFT_HAND',
51
+ }
52
+
53
+ export const enum requestResultEnum {
54
+ OK = 'OK',
55
+ TEMPLATE_EXTRACTION_ERROR = 'TEMPLATE_EXTRACTION_ERROR',
56
+ UNKNOWN_TEMPLATE_EXTRACTION_ERROR = 'UNKNOWN_TEMPLATE_EXTRACTION_ERROR',
57
+ LOW_LIVENESS_SCORE = 'LOW_LIVENESS_SCORE',
58
+ LIVENESS_DETECTION_FAILURE = 'LIVENESS_DETECTION_FAILURE',
59
+ UNKNOWN_LIVENESS_ERROR = 'UNKNOWN_LIVENESS_ERROR',
60
+ UNABLE_TO_COMMUNICATE_WITH_LIVENESS_SERVICE = 'UNABLE_TO_COMMUNICATE_WITH_LIVENESS_SERVICE',
61
+ UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE = 'UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE',
62
+ }
63
+
64
+ export type FingerIndex = 0 | 1 | 2 | 4 | 6 | 3 | 5 | 7 | 8 | 9 | 10 | 11;
65
+ export type FingerName = keyof typeof BodyPartNames;
66
+
67
+ export interface EventResult {
68
+ 'export-face': BodyPart;
69
+ }
70
+ export type BryWebCollectorComponentEvent<K> = CustomEvent<K>;
71
+
72
+ // Once the web component fires events form itself instead of from the window, we can uncomment this
73
+ // export type BryWebCollectorComponentEventMap = HTMLElementEventMap &
74
+ // {
75
+ // [P in keyof EventResult]: BryWebCollectorComponentEvent<EventResult[P]>;
76
+ // };
77
+
78
+ export type exportFace = BryWebCollectorComponentEvent<BodyPart>;
79
+ export type faceUnconformitiesValidated = BryWebCollectorComponentEvent<{
80
+ bodyParts: BodyPart[];
81
+ errorCode?: string;
82
+ icaoWarnings?: string[];
83
+ status: requestResultEnum;
84
+ }>;
85
+
86
+ declare global {
87
+ interface BryWebCollectorComponent extends HTMLElement {
88
+ // And this
89
+ // addEventListener<K extends keyof BryWebCollectorComponentEventMap>(
90
+ // type: K,
91
+ // listener: (
92
+ // this: BryWebCollectorComponent,
93
+ // ev: BryWebCollectorComponentEventMap[K]
94
+ // ) => unknown,
95
+ // options?: boolean | AddEventListenerOptions
96
+ // ): void;
97
+ // removeEventListener<K extends keyof BryWebCollectorComponentEventMap>(
98
+ // type: K,
99
+ // listener: (
100
+ // this: BryWebCollectorComponent,
101
+ // ev: BryWebCollectorComponentEventMap[K]
102
+ // ) => unknown,
103
+ // options?: boolean | EventListenerOptions
104
+ // ): void;
105
+
106
+ // PROPS
107
+ [Props.EXTENSION_NAME]: string;
108
+ [Props.COLLECTOR_SELECT]: 'BOTH' | 'FINGERS' | 'FACE';
109
+ [Props.VIDEO_DIMENSIONS]: string;
110
+ [Props.ENABLE_MINUTIAE]: string;
111
+ [Props.WEIGHTS_PATH]: string;
112
+ [Props.LIVENESS_ENABLE]: string;
113
+ [Props.IMPORT_LOTTIE]: string;
114
+ [Props.HIDE_TABS]: string;
115
+ [Props.IMPORT_BRY_WEB_COLLECTOR_SCRIPT]: string;
116
+ /**
117
+ * Clears fingers and face, to make ready for a new collection.
118
+ * Will not clear jwtToken.
119
+ */
120
+ reset(): void;
121
+ setCode(usrCode: string): this;
122
+ setBioAcJWTToken(token: string, bioacUrl: string, validateBiometricsUrl: string): this;
123
+ getJustification(): string;
124
+ /**
125
+ * Wether to send a finger-cleared message whenever the clear btn is clicked.
126
+ *
127
+ */
128
+ setNotifyFingersCleared(newValue: boolean): this;
129
+ /**
130
+ * Sets the face collector component within the web component. This is required when changing tabs in the embedded application.
131
+ * This is required because of a svelte issue. The component's onDestroy never actually gets called and therefore the on mount
132
+ * doesn't get called so we have to compensate that here. Hopefully in svelte version 4 that issue will get fixed.
133
+ * */
134
+ setFaceCollectorComponent(): Promise<this>;
135
+ /**
136
+ * You may disable face Api in case your computer isn't powerful enough.
137
+ */
138
+ setEnableFaceDetector(enabled: boolean): this;
139
+ /**
140
+ * You may define a list of fingers and their base64 values that can be captured.
141
+ * This forces the capture process to match the given finger at the given position, and stopping otherwise.
142
+ * Only works in wasm mode and requires agrAuthentication to be true
143
+ * @param _requiredFingers
144
+ */
145
+ setRequiredFingers(
146
+ _requiredFingers: {
147
+ data: string;
148
+ bodyPart: FingerName;
149
+ }[]
150
+ ): Promise<this>;
151
+ /**
152
+ * Sets pre collected fingers. The component will show the fingers as if they had
153
+ * been just collected.
154
+ */
155
+ setCollectedFingers(
156
+ fingers: Array<{
157
+ bodyPart: number | BodyPartNames;
158
+ data: string;
159
+ img?: string;
160
+ nfiq?: number;
161
+ }>
162
+ ): Promise<this>;
163
+ setLivenessEndpoint(url: string): this;
164
+ setEnableLiveness(nv: boolean): this;
165
+ setShowLivenessResultToast(nv: boolean): this;
166
+ verify(
167
+ missingFingers: Array<number | BodyPartNames>,
168
+ unavailableFingers: Array<number | BodyPartNames>,
169
+ automaticFingers: Array<number | BodyPartNames>,
170
+ code: string
171
+ ): Promise<void>;
172
+ update(
173
+ missingFingers: Array<number | BodyPartNames>,
174
+ unavailableFingers: Array<number | BodyPartNames>,
175
+ automaticFingers: Array<number | BodyPartNames>,
176
+ code: string
177
+ ): Promise<void>;
178
+ /**
179
+ * Sets up the component to perform an enroll according to the PSBIO rules
180
+ */
181
+ enroll(code: string): Promise<void>;
182
+ verifyAgr(
183
+ missingFingers: Array<number | BodyPartNames>,
184
+ unavailableFingers: Array<number | BodyPartNames>,
185
+ automaticFingers: Array<number | BodyPartNames>,
186
+ blacklistedFingers: { data: string; bodyPart: FingerName }[],
187
+ code: string,
188
+ agrCode: string
189
+ ): Promise<void>;
190
+ }
191
+ interface HTMLElementTagNameMap {
192
+ 'biometric-collector': this;
193
+ }
194
+ interface WindowEventMap {
195
+ 'export-face': exportFace;
196
+ 'face-unconformities-validated': faceUnconformitiesValidated;
197
+ }
198
+ }
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { aY as f } from "./main_bce0667c_2.0.5.js";
2
+ export {
3
+ f as default
4
+ };
@@ -7195,8 +7195,8 @@ function Su(A, e, t = !1) {
7195
7195
  async function Ru(A) {
7196
7196
  let e = new URL("/weights", document.baseURI).toString();
7197
7197
  A && (e = A), console.log("requesting weights from", e), await Promise.all([
7198
- (await import("./face_api_0e3ce8c8_2.0.3.js")).nets.tinyFaceDetector.load(e),
7199
- (await import("./face_api_0e3ce8c8_2.0.3.js")).loadFaceLandmarkModel(e)
7198
+ (await import("./face_api_0e3ce8c8_2.0.5.js")).nets.tinyFaceDetector.load(e),
7199
+ (await import("./face_api_0e3ce8c8_2.0.5.js")).loadFaceLandmarkModel(e)
7200
7200
  ]);
7201
7201
  }
7202
7202
  function li() {
@@ -10085,13 +10085,13 @@ customElements.define("camera-disallowed", na);
10085
10085
  let zE = 6.5, Ng = 52, ZE = 110;
10086
10086
  const Kn = $(!0), WE = $(), YE = $(!1);
10087
10087
  async function Mu() {
10088
- return new (await import("./face_api_0e3ce8c8_2.0.3.js")).TinyFaceDetectorOptions({
10088
+ return new (await import("./face_api_0e3ce8c8_2.0.5.js")).TinyFaceDetectorOptions({
10089
10089
  scoreThreshold: 0.6
10090
10090
  });
10091
10091
  }
10092
10092
  async function Ju(A, e, t) {
10093
10093
  if (t) {
10094
- const c = (await import("./face_api_0e3ce8c8_2.0.3.js")).draw;
10094
+ const c = (await import("./face_api_0e3ce8c8_2.0.5.js")).draw;
10095
10095
  c.drawDetections(e, A), new c.DrawFaceLandmarks(A.landmarks, { pointColor: "gold" }).draw(e);
10096
10096
  }
10097
10097
  const r = A.landmarks.positions, o = jE(r), i = await _E(r), g = A.detection.box, B = await $E(g, i, e, t);
@@ -10102,16 +10102,16 @@ function jE(A) {
10102
10102
  return pi(e, t);
10103
10103
  }
10104
10104
  async function _E(A) {
10105
- const e = (await import("./face_api_0e3ce8c8_2.0.3.js")).Point;
10105
+ const e = (await import("./face_api_0e3ce8c8_2.0.5.js")).Point;
10106
10106
  let t = A[37].add(A[38]).add(A[40]).add(A[41]), r = A[43].add(A[44]).add(A[46]).add(A[47]);
10107
10107
  return t = t.div(new e(4, 4)), r = r.div(new e(4, 4)), pi(r, t);
10108
10108
  }
10109
10109
  async function $E(A, e, t, r) {
10110
- const o = (await import("./face_api_0e3ce8c8_2.0.3.js")).Point, i = A.topLeft.x - e;
10110
+ const o = (await import("./face_api_0e3ce8c8_2.0.5.js")).Point, i = A.topLeft.x - e;
10111
10111
  let g = 2.25, B = 1;
10112
10112
  Aa() && (g = 0.8, B = 0.7);
10113
10113
  const c = A.topLeft.y - g * e, C = A.bottomLeft.x - e, l = A.bottomLeft.y + B * e, p = A.bottomRight.x + e, b = A.bottomRight.y + e, R = pi(new o(C, l), new o(i, c)), y = pi(new o(C, l), new o(p, b)), G = t.getContext("2d");
10114
- return G.beginPath(), G.strokeStyle = "gold", WE.set(new (await import("./face_api_0e3ce8c8_2.0.3.js")).Box({ x: i, y: c, width: y, height: R })), G.rect(i, c, y, R), r && G.stroke(), {
10114
+ return G.beginPath(), G.strokeStyle = "gold", WE.set(new (await import("./face_api_0e3ce8c8_2.0.5.js")).Box({ x: i, y: c, width: y, height: R })), G.rect(i, c, y, R), r && G.stroke(), {
10115
10115
  topLeftX: i,
10116
10116
  topLeftY: c,
10117
10117
  bottomRightX: p,
@@ -22455,7 +22455,7 @@ function hu(A) {
22455
22455
  }
22456
22456
  const an = "eduardo";
22457
22457
  async function AB(A, e) {
22458
- return await import("./fingersApi_7384225f_2.0.3.js").then((t) => t.captureSingleFinger(A, e));
22458
+ return await import("./fingersApi_df7ac79b_2.0.5.js").then((t) => t.captureSingleFinger(A, e));
22459
22459
  }
22460
22460
  function pu(A, e, t) {
22461
22461
  let r, o, i, g, B, c, C, l, p, b, R, y, G, f, J, X, z, oA, AA, H, Y, hA, ge, qA, ce, Me, He, eA, Re, se, pA, pe, Et;
@@ -22463,7 +22463,7 @@ function pu(A, e, t) {
22463
22463
  let { lottie_color: k = "71 89 124" } = e, { extension_name: D = "BryWebExtension" } = e, { extension_url_chrome: rA } = e, { extension_url_mozilla: tA } = e, { min_nfiq_acceptable: BA = 3 } = e;
22464
22464
  fE(BA);
22465
22465
  let { show_theme_picker: gA = "true" } = e, { video_dimensions: QA } = e, { enable_minutiae: iA } = e, { collector_select: fA = "BOTH" } = e, { import_lottie: NA = "true" } = e, { hide_tabs: PA = "false" } = e, { import_bry_web_collector_script: MA = "true" } = e, { liveness_enable: JA = "false" } = e, { weights_path: $A } = e;
22466
- Ii("en", () => import("./en-us_360d5d87_2.0.3.js")), Ii("pt", () => import("./pt-br_c3fe6b06_2.0.3.js")), cI({
22466
+ Ii("en", () => import("./en-us_5ebe727c_2.0.5.js")), Ii("pt", () => import("./pt-br_cb19a314_2.0.5.js")), cI({
22467
22467
  fallbackLocale: "en",
22468
22468
  initialLocale: "pt"
22469
22469
  });
@@ -22628,7 +22628,7 @@ function pu(A, e, t) {
22628
22628
  return bA(Rn, l = v, l), this;
22629
22629
  }
22630
22630
  async function Te() {
22631
- return t(13, Ce = (await import("./FaceCollector_93d41450_2.0.3.js")).default), this;
22631
+ return t(13, Ce = (await import("./FaceCollector_f475af9f_2.0.5.js")).default), this;
22632
22632
  }
22633
22633
  function cr(v) {
22634
22634
  et(v);
@@ -23119,8 +23119,8 @@ class eB extends Se {
23119
23119
  }
23120
23120
  }
23121
23121
  customElements.define("biometric-collector", eB);
23122
- Ii("en", () => import("./en-us_360d5d87_2.0.3.js"));
23123
- Ii("pt", () => import("./pt-br_c3fe6b06_2.0.3.js"));
23122
+ Ii("en", () => import("./en-us_5ebe727c_2.0.5.js"));
23123
+ Ii("pt", () => import("./pt-br_cb19a314_2.0.5.js"));
23124
23124
  cI({
23125
23125
  fallbackLocale: "en",
23126
23126
  initialLocale: MQ()
@@ -23187,41 +23187,41 @@ export {
23187
23187
  Se as S,
23188
23188
  KA as T,
23189
23189
  oe as U,
23190
- Bt as V,
23191
- EA as W,
23192
- ct as X,
23193
- nA as Y,
23194
- ie as Z,
23195
- fg as _,
23190
+ ae as V,
23191
+ Bt as W,
23192
+ EA as X,
23193
+ ct as Y,
23194
+ nA as Z,
23195
+ ie as _,
23196
23196
  hc as a,
23197
- Qg as a0,
23198
- IE as a1,
23199
- ei as a2,
23200
- aE as a3,
23201
- Eg as a4,
23202
- Dg as a5,
23203
- Oo as a6,
23204
- yg as a7,
23205
- Qi as a8,
23206
- lg as a9,
23207
- sE as aA,
23208
- AE as aB,
23209
- Nu as aC,
23210
- qu as aD,
23211
- Lu as aE,
23212
- xu as aF,
23213
- Uu as aG,
23214
- Mu as aH,
23215
- Ju as aI,
23216
- Su as aJ,
23217
- bt as aK,
23218
- cE as aL,
23219
- Gt as aM,
23220
- Lt as aN,
23221
- md as aO,
23222
- $e as aP,
23223
- Ge as aQ,
23224
- ae as aR,
23197
+ fg as a0,
23198
+ Qg as a1,
23199
+ IE as a2,
23200
+ ei as a3,
23201
+ aE as a4,
23202
+ Eg as a5,
23203
+ Dg as a6,
23204
+ Oo as a7,
23205
+ yg as a8,
23206
+ Qi as a9,
23207
+ or as aA,
23208
+ sE as aB,
23209
+ AE as aC,
23210
+ Nu as aD,
23211
+ qu as aE,
23212
+ Lu as aF,
23213
+ xu as aG,
23214
+ Uu as aH,
23215
+ Mu as aI,
23216
+ Ju as aJ,
23217
+ Su as aK,
23218
+ bt as aL,
23219
+ cE as aM,
23220
+ Gt as aN,
23221
+ Lt as aO,
23222
+ md as aP,
23223
+ $e as aQ,
23224
+ Ge as aR,
23225
23225
  Ei as aS,
23226
23226
  ft as aT,
23227
23227
  tr as aU,
@@ -23229,32 +23229,32 @@ export {
23229
23229
  Pr as aW,
23230
23230
  VI as aX,
23231
23231
  Pu as aY,
23232
- uo as aa,
23233
- Dn as ab,
23234
- yn as ac,
23235
- WE as ad,
23236
- Kn as ae,
23237
- Fu as af,
23238
- ar as ag,
23239
- hi as ah,
23240
- bg as ai,
23241
- Ku as aj,
23242
- KE as ak,
23243
- gE as al,
23244
- ea as am,
23245
- ug as an,
23246
- YE as ao,
23247
- dg as ap,
23248
- it as aq,
23249
- hg as ar,
23250
- rn as as,
23251
- FI as at,
23252
- gs as au,
23253
- bA as av,
23254
- li as aw,
23255
- CE as ax,
23256
- Ru as ay,
23257
- or as az,
23232
+ lg as aa,
23233
+ uo as ab,
23234
+ Dn as ac,
23235
+ yn as ad,
23236
+ WE as ae,
23237
+ Kn as af,
23238
+ Fu as ag,
23239
+ ar as ah,
23240
+ hi as ai,
23241
+ bg as aj,
23242
+ Ku as ak,
23243
+ KE as al,
23244
+ gE as am,
23245
+ ea as an,
23246
+ ug as ao,
23247
+ YE as ap,
23248
+ dg as aq,
23249
+ it as ar,
23250
+ hg as as,
23251
+ rn as at,
23252
+ FI as au,
23253
+ gs as av,
23254
+ bA as aw,
23255
+ li as ax,
23256
+ CE as ay,
23257
+ Ru as az,
23258
23258
  er as b,
23259
23259
  Ft as c,
23260
23260
  DE as d,
@@ -150,6 +150,7 @@ const e = {
150
150
  },
151
151
  contactAdmin: "Por favor, contate o administrador do sistema sobre este erro."
152
152
  }, D = {
153
+ capturing: "Capturando",
153
154
  justification: "Justificativa",
154
155
  captured: "Face capturada!",
155
156
  retakePhoto: "Refazer foto",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "bry-biometric-collector",
3
3
  "private": false,
4
4
  "description": "BRy web-collector component for biometric capture.",
5
- "version": "2.0.3",
5
+ "version": "2.0.5",
6
6
  "main": "dist/bry-biometric-collector-main.js",
7
7
  "type": "module",
8
8
  "author": {
@@ -33,10 +33,6 @@
33
33
  "build-and-copy": "NODE_ENV=development vite build; rm ../client/*.js ; mv dist/*.js ../client/",
34
34
  "build-and-copy-iframe": "NODE_ENV=development vite build; mv dist/*.js ../../iframe/bry-collector-iframe/src/public/"
35
35
  },
36
- "engines": {
37
- "node": "^16.16.0",
38
- "npm": "^8.11.0"
39
- },
40
36
  "devDependencies": {
41
37
  "@fullhuman/postcss-purgecss": "^5.0.0",
42
38
  "@sveltejs/vite-plugin-svelte": "^2.4.4",
@@ -73,10 +69,11 @@
73
69
  "typescript": "^4.9.5",
74
70
  "ua-parser-js": "^1.0.35",
75
71
  "vite": "^4.4.9",
76
- "vite-plugin-css-injected-by-js": "^2.4.0"
72
+ "vite-plugin-css-injected-by-js": "^2.4.0",
73
+ "vite-plugin-static-copy": "^0.17.0"
77
74
  },
78
75
  "dependencies": {
79
- "idlive-face-capture-web": "file:idrnd/idlive-face-capture-web-production-1.5.1.tgz",
80
- "idlive-face-capture-web-development": "file:idrnd/idlive-face-capture-web-development-1.5.1.tgz"
76
+ "liveness-lib-dev": "file:idrnd/idlive-face-capture-web-development-1.5.1.tgz",
77
+ "liveness-lib-prod": "file:idrnd/idlive-face-capture-web-production-1.5.1.tgz"
81
78
  }
82
79
  }