@sekyro/react 0.1.0-rc.18 → 0.1.0-rc.19
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/CHANGELOG.md +59 -0
- package/README.md +15 -7
- package/dist/chunk-64KUMWHB.js +2 -0
- package/dist/chunk-7Z4LVT2A.js +2 -0
- package/dist/chunk-DIE7UVV7.js +2 -0
- package/dist/chunk-E7PG3JL4.js +2 -0
- package/dist/chunk-HVH6GGI4.js +2 -0
- package/dist/chunk-MM5EYC7B.js +2 -0
- package/dist/chunk-MX5SNIDY.js +2 -0
- package/dist/{chunk-ZZIBCKKC.js → chunk-OFPS67YV.js} +1 -1
- package/dist/chunk-ONYT4GJ4.js +2 -0
- package/dist/chunk-PESMIB3E.js +2 -0
- package/dist/{chunk-VBIVDLBE.js → chunk-TLMGY7AK.js} +1 -1
- package/dist/{chunk-T7C7Q4AN.js → chunk-TWZZGFO5.js} +1 -1
- package/dist/chunk-YZ5ZR6UR.js +2 -0
- package/dist/document-capture-view-DMRIMB3Z.js +2 -0
- package/dist/{eid-view-VYUU65A3.js → eid-view-DZBYRACA.js} +1 -1
- package/dist/{email-otp-view-DUHRTUGD.js → email-otp-view-GW2VEEPW.js} +1 -1
- package/dist/flow-views-T3Y6QDXH.js +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/overlay-de-C7OXK65Q.js +2 -0
- package/dist/overlay-es-WGFBBRYI.js +2 -0
- package/dist/overlay-pt-EJEA6RF7.js +2 -0
- package/dist/portrait-capture-view-TL5ZZNZF.js +2 -0
- package/dist/portrait-review-view-W7DDLF64.js +2 -0
- package/dist/styles.css +23 -0
- package/dist/{theme-DuvMUYA9.d.ts → theme-YmIQ6Ux1.d.cts} +36 -15
- package/dist/{theme-DuvMUYA9.d.cts → theme-YmIQ6Ux1.d.ts} +36 -15
- package/dist/verification/index.cjs +1 -1
- package/dist/verification/index.d.cts +27 -10
- package/dist/verification/index.d.ts +27 -10
- package/dist/verification/index.js +1 -1
- package/dist/verification.css +11 -0
- package/package.json +2 -2
- package/sbom.cdx.json +4 -4
- package/dist/chunk-3GCHNE7R.js +0 -2
- package/dist/chunk-3H6KQ6BP.js +0 -2
- package/dist/chunk-455FWUKU.js +0 -2
- package/dist/chunk-AGIBFSCL.js +0 -2
- package/dist/chunk-IAJAM4I6.js +0 -2
- package/dist/chunk-JTDARDD6.js +0 -2
- package/dist/chunk-W3GLUWQ5.js +0 -2
- package/dist/chunk-ZFGI5LKP.js +0 -2
- package/dist/document-capture-view-ZNZQMJBX.js +0 -2
- package/dist/flow-views-VJPCIWEJ.js +0 -2
- package/dist/overlay-de-TSLNGALH.js +0 -2
- package/dist/overlay-es-44JQULK7.js +0 -2
- package/dist/overlay-pt-D5TKF7PI.js +0 -2
- package/dist/portrait-capture-view-XUWOHJTS.js +0 -2
- package/dist/portrait-review-view-SJXQZTAK.js +0 -2
|
@@ -33,6 +33,29 @@ interface Strings {
|
|
|
33
33
|
"capture.retryCoaching.light": string;
|
|
34
34
|
"capture.retryCoaching.eyeLevel": string;
|
|
35
35
|
"capture.retryCoaching.head": string;
|
|
36
|
+
/**
|
|
37
|
+
* A retake whose reason is not about the face or the light (2026-11-08): this title, then the reason's own tips
|
|
38
|
+
* instead of the lighting coaching (`retryCoachingOf` in captured-panel.tsx).
|
|
39
|
+
*/
|
|
40
|
+
"capture.retryTips.title": string;
|
|
41
|
+
/** `multiple_faces`: one person in the frame. */
|
|
42
|
+
"capture.retryOneFace.alone": string;
|
|
43
|
+
"capture.retryOneFace.screens": string;
|
|
44
|
+
/** `capture_back_camera` (self capture on the back camera): which camera is the front one. */
|
|
45
|
+
"capture.retryFrontCamera.screenSide": string;
|
|
46
|
+
/** `capture_front_camera` (assisted capture on the front camera): which camera is the back one, and where to hold it. */
|
|
47
|
+
"capture.retryBackCamera.backSide": string;
|
|
48
|
+
"capture.retryBackCamera.circle": string;
|
|
49
|
+
/** `capture_not_upright`: how to hold the phone, and for how long. */
|
|
50
|
+
"capture.retryUpright.vertical": string;
|
|
51
|
+
"capture.retryUpright.untilEnd": string;
|
|
52
|
+
/** `media_unreadable` / `clip_too_short`: let the recording finish and reach us. */
|
|
53
|
+
"capture.retryRecording.cameraOn": string;
|
|
54
|
+
"capture.retryRecording.stay": string;
|
|
55
|
+
"capture.retryRecording.network": string;
|
|
56
|
+
/** `device_integrity_failed`: what makes a device check fail, said plainly. */
|
|
57
|
+
"capture.retryDevice.screenRecording": string;
|
|
58
|
+
"capture.retryDevice.phone": string;
|
|
36
59
|
/**
|
|
37
60
|
* Remaining-attempts line per CLDR plural category (`Intl.PluralRules`),
|
|
38
61
|
* `{count}` = the locale-formatted number. `one`/`other` are required; the
|
|
@@ -62,6 +85,8 @@ interface Strings {
|
|
|
62
85
|
"fcv3.steady_camera": string;
|
|
63
86
|
/** The phone shows a landscape frame (hint `upright`): the gate waits until it is held upright. */
|
|
64
87
|
"fcv3.hold_upright": string;
|
|
88
|
+
/** A second person of meaningful size is in the frame (hint `one_face`): the gate waits until one face remains. */
|
|
89
|
+
"fcv3.one_face": string;
|
|
65
90
|
"reasons.no_face": string;
|
|
66
91
|
"reasons.media_unreadable": string;
|
|
67
92
|
"reasons.clip_too_short": string;
|
|
@@ -70,7 +95,6 @@ interface Strings {
|
|
|
70
95
|
"reasons.nni_not_found": string;
|
|
71
96
|
"reasons.nni_invalid": string;
|
|
72
97
|
"reasons.registry_unavailable": string;
|
|
73
|
-
"reasons.result_from_cache": string;
|
|
74
98
|
"reasons.no_face_source": string;
|
|
75
99
|
"reasons.no_face_reference": string;
|
|
76
100
|
"reasons.low_quality_reference": string;
|
|
@@ -91,6 +115,9 @@ interface Strings {
|
|
|
91
115
|
"reasons.uncalibrated_capture_channel": string;
|
|
92
116
|
"reasons.capture_back_camera": string;
|
|
93
117
|
"reasons.capture_not_upright": string;
|
|
118
|
+
"reasons.capture_front_camera": string;
|
|
119
|
+
/** The service saw a second person in the liveness clip: a free retake. */
|
|
120
|
+
"reasons.multiple_faces": string;
|
|
94
121
|
"reasons.location_not_allowed": string;
|
|
95
122
|
"reasons.anonymizer_blocked": string;
|
|
96
123
|
"reasons.nationality_not_allowed": string;
|
|
@@ -158,15 +185,16 @@ interface Strings {
|
|
|
158
185
|
"capture.assisted.lead": string;
|
|
159
186
|
"capture.assisted.stage": string;
|
|
160
187
|
/** Capture mode `choice` (design 2026-11-04 §4.5): who films, asked once before the first camera step. */
|
|
161
|
-
"capture.
|
|
162
|
-
"capture.
|
|
163
|
-
"capture.
|
|
164
|
-
"capture.
|
|
165
|
-
"capture.
|
|
188
|
+
"capture.modeSwitch.toAssisted": string;
|
|
189
|
+
"capture.modeSwitch.toSelf": string;
|
|
190
|
+
"capture.modeSwitch.toAssistedLabel": string;
|
|
191
|
+
"capture.modeSwitch.toSelfLabel": string;
|
|
192
|
+
"capture.modeSwitch.restarted": string;
|
|
166
193
|
"capture.voiceGuidance": string;
|
|
167
194
|
"capture.preparing.hint": string;
|
|
168
195
|
"capture.ready": string;
|
|
169
196
|
"fcv2.err.models": string;
|
|
197
|
+
"fcv2.err.backcamera": string;
|
|
170
198
|
}
|
|
171
199
|
/** Every string key the component renders. */
|
|
172
200
|
type StringKey = keyof Strings;
|
|
@@ -219,7 +247,7 @@ declare function attemptsRemainingText(dictionary: Strings, locale: SekyroLocale
|
|
|
219
247
|
* `capture.tips.summary` — the pre-capture "Listen to the instructions" summary
|
|
220
248
|
* (played only on an explicit tap, never during capture).
|
|
221
249
|
*/
|
|
222
|
-
type VoiceKey = "fcv3.no_face" | "fcv3.come_closer" | "fcv3.move_back" | "fcv3.center_face" | "fcv3.straighten" | "fcv3.more_light" | "fcv3.too_bright" | "fcv3.hold_still" | "fcv3.steady_camera" | "fcv3.hold_upright" | "capture.tips.summary";
|
|
250
|
+
type VoiceKey = "fcv3.no_face" | "fcv3.come_closer" | "fcv3.move_back" | "fcv3.center_face" | "fcv3.straighten" | "fcv3.more_light" | "fcv3.too_bright" | "fcv3.hold_still" | "fcv3.steady_camera" | "fcv3.hold_upright" | "fcv3.one_face" | "capture.tips.summary";
|
|
223
251
|
/** Every {@link VoiceKey}, in a stable order (e.g. to build a clip map). */
|
|
224
252
|
declare const VOICE_KEYS: readonly VoiceKey[];
|
|
225
253
|
|
|
@@ -303,15 +331,8 @@ interface IntroContext {
|
|
|
303
331
|
* the person with the back camera). Always `self` without a `verification`.
|
|
304
332
|
*/
|
|
305
333
|
captureMode: CaptureMode;
|
|
306
|
-
/**
|
|
307
|
-
* The camera `start` opens (and the in-stage switch flips). Always `"user"` in a self capture; an assisted capture
|
|
308
|
-
* defaults to `"environment"` on a device with a front/back choice and to `"user"` without one.
|
|
309
|
-
*/
|
|
334
|
+
/** The camera `start` opens, set by the capture mode: `"user"` (front) in a self capture, `"environment"` (back) in an assisted one. */
|
|
310
335
|
facing: CameraFacing;
|
|
311
|
-
/** Picks the camera of an assisted capture (ignored in a self capture). */
|
|
312
|
-
setFacing: (facing: CameraFacing) => void;
|
|
313
|
-
/** A front/back choice is offered: an assisted capture on a device with several cameras. */
|
|
314
|
-
canChooseFacing: boolean;
|
|
315
336
|
voice: VoiceControl;
|
|
316
337
|
}
|
|
317
338
|
/** Render slots — partners inject their own chrome around and inside the stage. */
|
|
@@ -33,6 +33,29 @@ interface Strings {
|
|
|
33
33
|
"capture.retryCoaching.light": string;
|
|
34
34
|
"capture.retryCoaching.eyeLevel": string;
|
|
35
35
|
"capture.retryCoaching.head": string;
|
|
36
|
+
/**
|
|
37
|
+
* A retake whose reason is not about the face or the light (2026-11-08): this title, then the reason's own tips
|
|
38
|
+
* instead of the lighting coaching (`retryCoachingOf` in captured-panel.tsx).
|
|
39
|
+
*/
|
|
40
|
+
"capture.retryTips.title": string;
|
|
41
|
+
/** `multiple_faces`: one person in the frame. */
|
|
42
|
+
"capture.retryOneFace.alone": string;
|
|
43
|
+
"capture.retryOneFace.screens": string;
|
|
44
|
+
/** `capture_back_camera` (self capture on the back camera): which camera is the front one. */
|
|
45
|
+
"capture.retryFrontCamera.screenSide": string;
|
|
46
|
+
/** `capture_front_camera` (assisted capture on the front camera): which camera is the back one, and where to hold it. */
|
|
47
|
+
"capture.retryBackCamera.backSide": string;
|
|
48
|
+
"capture.retryBackCamera.circle": string;
|
|
49
|
+
/** `capture_not_upright`: how to hold the phone, and for how long. */
|
|
50
|
+
"capture.retryUpright.vertical": string;
|
|
51
|
+
"capture.retryUpright.untilEnd": string;
|
|
52
|
+
/** `media_unreadable` / `clip_too_short`: let the recording finish and reach us. */
|
|
53
|
+
"capture.retryRecording.cameraOn": string;
|
|
54
|
+
"capture.retryRecording.stay": string;
|
|
55
|
+
"capture.retryRecording.network": string;
|
|
56
|
+
/** `device_integrity_failed`: what makes a device check fail, said plainly. */
|
|
57
|
+
"capture.retryDevice.screenRecording": string;
|
|
58
|
+
"capture.retryDevice.phone": string;
|
|
36
59
|
/**
|
|
37
60
|
* Remaining-attempts line per CLDR plural category (`Intl.PluralRules`),
|
|
38
61
|
* `{count}` = the locale-formatted number. `one`/`other` are required; the
|
|
@@ -62,6 +85,8 @@ interface Strings {
|
|
|
62
85
|
"fcv3.steady_camera": string;
|
|
63
86
|
/** The phone shows a landscape frame (hint `upright`): the gate waits until it is held upright. */
|
|
64
87
|
"fcv3.hold_upright": string;
|
|
88
|
+
/** A second person of meaningful size is in the frame (hint `one_face`): the gate waits until one face remains. */
|
|
89
|
+
"fcv3.one_face": string;
|
|
65
90
|
"reasons.no_face": string;
|
|
66
91
|
"reasons.media_unreadable": string;
|
|
67
92
|
"reasons.clip_too_short": string;
|
|
@@ -70,7 +95,6 @@ interface Strings {
|
|
|
70
95
|
"reasons.nni_not_found": string;
|
|
71
96
|
"reasons.nni_invalid": string;
|
|
72
97
|
"reasons.registry_unavailable": string;
|
|
73
|
-
"reasons.result_from_cache": string;
|
|
74
98
|
"reasons.no_face_source": string;
|
|
75
99
|
"reasons.no_face_reference": string;
|
|
76
100
|
"reasons.low_quality_reference": string;
|
|
@@ -91,6 +115,9 @@ interface Strings {
|
|
|
91
115
|
"reasons.uncalibrated_capture_channel": string;
|
|
92
116
|
"reasons.capture_back_camera": string;
|
|
93
117
|
"reasons.capture_not_upright": string;
|
|
118
|
+
"reasons.capture_front_camera": string;
|
|
119
|
+
/** The service saw a second person in the liveness clip: a free retake. */
|
|
120
|
+
"reasons.multiple_faces": string;
|
|
94
121
|
"reasons.location_not_allowed": string;
|
|
95
122
|
"reasons.anonymizer_blocked": string;
|
|
96
123
|
"reasons.nationality_not_allowed": string;
|
|
@@ -158,15 +185,16 @@ interface Strings {
|
|
|
158
185
|
"capture.assisted.lead": string;
|
|
159
186
|
"capture.assisted.stage": string;
|
|
160
187
|
/** Capture mode `choice` (design 2026-11-04 §4.5): who films, asked once before the first camera step. */
|
|
161
|
-
"capture.
|
|
162
|
-
"capture.
|
|
163
|
-
"capture.
|
|
164
|
-
"capture.
|
|
165
|
-
"capture.
|
|
188
|
+
"capture.modeSwitch.toAssisted": string;
|
|
189
|
+
"capture.modeSwitch.toSelf": string;
|
|
190
|
+
"capture.modeSwitch.toAssistedLabel": string;
|
|
191
|
+
"capture.modeSwitch.toSelfLabel": string;
|
|
192
|
+
"capture.modeSwitch.restarted": string;
|
|
166
193
|
"capture.voiceGuidance": string;
|
|
167
194
|
"capture.preparing.hint": string;
|
|
168
195
|
"capture.ready": string;
|
|
169
196
|
"fcv2.err.models": string;
|
|
197
|
+
"fcv2.err.backcamera": string;
|
|
170
198
|
}
|
|
171
199
|
/** Every string key the component renders. */
|
|
172
200
|
type StringKey = keyof Strings;
|
|
@@ -219,7 +247,7 @@ declare function attemptsRemainingText(dictionary: Strings, locale: SekyroLocale
|
|
|
219
247
|
* `capture.tips.summary` — the pre-capture "Listen to the instructions" summary
|
|
220
248
|
* (played only on an explicit tap, never during capture).
|
|
221
249
|
*/
|
|
222
|
-
type VoiceKey = "fcv3.no_face" | "fcv3.come_closer" | "fcv3.move_back" | "fcv3.center_face" | "fcv3.straighten" | "fcv3.more_light" | "fcv3.too_bright" | "fcv3.hold_still" | "fcv3.steady_camera" | "fcv3.hold_upright" | "capture.tips.summary";
|
|
250
|
+
type VoiceKey = "fcv3.no_face" | "fcv3.come_closer" | "fcv3.move_back" | "fcv3.center_face" | "fcv3.straighten" | "fcv3.more_light" | "fcv3.too_bright" | "fcv3.hold_still" | "fcv3.steady_camera" | "fcv3.hold_upright" | "fcv3.one_face" | "capture.tips.summary";
|
|
223
251
|
/** Every {@link VoiceKey}, in a stable order (e.g. to build a clip map). */
|
|
224
252
|
declare const VOICE_KEYS: readonly VoiceKey[];
|
|
225
253
|
|
|
@@ -303,15 +331,8 @@ interface IntroContext {
|
|
|
303
331
|
* the person with the back camera). Always `self` without a `verification`.
|
|
304
332
|
*/
|
|
305
333
|
captureMode: CaptureMode;
|
|
306
|
-
/**
|
|
307
|
-
* The camera `start` opens (and the in-stage switch flips). Always `"user"` in a self capture; an assisted capture
|
|
308
|
-
* defaults to `"environment"` on a device with a front/back choice and to `"user"` without one.
|
|
309
|
-
*/
|
|
334
|
+
/** The camera `start` opens, set by the capture mode: `"user"` (front) in a self capture, `"environment"` (back) in an assisted one. */
|
|
310
335
|
facing: CameraFacing;
|
|
311
|
-
/** Picks the camera of an assisted capture (ignored in a self capture). */
|
|
312
|
-
setFacing: (facing: CameraFacing) => void;
|
|
313
|
-
/** A front/back choice is offered: an assisted capture on a device with several cameras. */
|
|
314
|
-
canChooseFacing: boolean;
|
|
315
336
|
voice: VoiceControl;
|
|
316
337
|
}
|
|
317
338
|
/** Render slots — partners inject their own chrome around and inside the stage. */
|