@sekyro/elements 0.1.0-rc.8 → 0.1.0
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 +460 -0
- package/README.md +4 -4
- package/dist/cdn/chunks/{camera-trait-V4UAOPIQ-TFCPOCSU.js → camera-trait-DELAK3YN-4I2GHAFU.js} +1 -1
- package/dist/cdn/chunks/capture-session-doc-7SHEMIO2-UEB3BLJY.js +1 -0
- package/dist/cdn/chunks/challenge-frame-HTZ2ZBIE-5JRAFZOU.js +1 -0
- package/dist/cdn/chunks/chunk-37BKUH3E.js +1 -0
- package/dist/cdn/chunks/chunk-4VGBIKKF.js +3 -0
- package/dist/cdn/chunks/{chunk-HP4JH4K5.js → chunk-4X4DNUJB.js} +1 -1
- package/dist/cdn/chunks/chunk-5QOH6NQH.js +1 -0
- package/dist/cdn/chunks/{chunk-SMZ7F4L7.js → chunk-5Y7NCFTK.js} +1 -1
- package/dist/cdn/chunks/chunk-65WXOD3F.js +33 -0
- package/dist/cdn/chunks/chunk-6MYG4HWP.js +1 -0
- package/dist/cdn/chunks/{chunk-N6XDQRVA.js → chunk-6W6GR7P4.js} +1 -1
- package/dist/cdn/chunks/chunk-7UCVVWRT.js +1 -0
- package/dist/cdn/chunks/chunk-CIDO7UAK.js +1 -0
- package/dist/cdn/chunks/chunk-DDUCV6NE.js +1 -0
- package/dist/cdn/chunks/chunk-E7UFFFZO.js +1 -0
- package/dist/cdn/chunks/{chunk-A2ZKVVIE.js → chunk-ERJRG52Z.js} +1 -1
- package/dist/cdn/chunks/{chunk-O33NXBND.js → chunk-F3BSTTXB.js} +1 -1
- package/dist/cdn/chunks/{chunk-HMHTT2VW.js → chunk-G6ICN3K2.js} +1 -1
- package/dist/cdn/chunks/chunk-K3XSP444.js +25 -0
- package/dist/cdn/chunks/chunk-KQCTXWDO.js +1 -0
- package/dist/cdn/chunks/{chunk-S7HF3KSX.js → chunk-MVPBIASR.js} +1 -1
- package/dist/cdn/chunks/{chunk-T5IERZBI.js → chunk-MZETEVSB.js} +1 -1
- package/dist/cdn/chunks/chunk-NGJMT7M3.js +1 -0
- package/dist/cdn/chunks/chunk-OD63YRJW.js +1 -0
- package/dist/cdn/chunks/chunk-PND4F7JQ.js +1 -0
- package/dist/cdn/chunks/chunk-PQGILDKC.js +1 -0
- package/dist/cdn/chunks/chunk-SLLJX5QK.js +1 -0
- package/dist/cdn/chunks/{chunk-UQKRYXN5.js → chunk-T5IBMUSY.js} +1 -1
- package/dist/cdn/chunks/chunk-W5WWCOOW.js +1 -0
- package/dist/cdn/chunks/chunk-XKZZC74I.js +1 -0
- package/dist/cdn/chunks/{chunk-O3YS4LLK.js → chunk-XUZB5KEZ.js} +1 -1
- package/dist/cdn/chunks/chunk-YHUTESVX.js +1 -0
- package/dist/cdn/chunks/create-document-capture-D6MSQXPC-REYSYPDK.js +1 -0
- package/dist/cdn/chunks/{create-portrait-capture-5VGYZUOK-N3333DJC.js → create-portrait-capture-3MHP4DGA-4XIQSUJ3.js} +1 -1
- package/dist/cdn/chunks/{detector-scanic-SE3CL55N-JIGLCDPS.js → detector-scanic-3VQFGZAA-NF7AFUUP.js} +1 -1
- package/dist/cdn/chunks/document-capture-view-HKEUWRPE-LOW3SNGM.js +1 -0
- package/dist/cdn/chunks/eid-view-Y5OFAHVC-H2H5O3H4.js +1 -0
- package/dist/cdn/chunks/email-otp-view-ZEVLA5UZ-JO2KA6XE.js +1 -0
- package/dist/cdn/chunks/flow-views-ARNNXDI4-7BYKNQLO.js +1 -0
- package/dist/cdn/chunks/form-view-PQQO4VIK-IE4YHFTL.js +1 -0
- package/dist/cdn/chunks/icons-form-R366YPMB-6C7SJPCB.js +1 -0
- package/dist/cdn/chunks/mrz-band-IH54XO42-AE4D3F2E.js +1 -0
- package/dist/cdn/chunks/overlay-de-QAMFKRTE-YSXFO53C.js +1 -0
- package/dist/cdn/chunks/overlay-es-5RUP36SI-HFW77Y5Z.js +1 -0
- package/dist/cdn/chunks/overlay-pt-7EUG7TIT-FUKZ7M5O.js +1 -0
- package/dist/cdn/chunks/plan-runner-DOJCVU2R-PLBX6YZK.js +1 -0
- package/dist/cdn/chunks/{portrait-capture-view-UYISOXXV-NMWFOXD6.js → portrait-capture-view-EKCFW3YQ-DSL42XKH.js} +1 -1
- package/dist/cdn/chunks/portrait-review-view-NKIVRFCL-BK65RBU6.js +1 -0
- package/dist/cdn/chunks/print-DCYX3CZD-DLQCPZZE.js +11 -0
- package/dist/cdn/chunks/proof-of-address-view-HYTT7NHY-73YT3QLR.js +1 -0
- package/dist/cdn/chunks/session-events-W5DRVA6F-BNHYAEHE.js +8 -0
- package/dist/cdn/chunks/session-watch-7HMFAHQI-WNCXXNDK.js +1 -0
- package/dist/cdn/define.js +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/{chunk-HOOZLWNR.js → chunk-25BK7D5W.js} +1 -1
- package/dist/chunk-2Z5FHSRB.js +33 -0
- package/dist/chunk-73ETQUUL.js +1 -0
- package/dist/{chunk-IB3NF7H5.js → chunk-B7CZCSMF.js} +1 -1
- package/dist/chunk-ENB7AFED.js +25 -0
- package/dist/{chunk-UIOHM6CB.js → chunk-FV5OWBNU.js} +1 -1
- package/dist/chunk-HBK2ROSI.js +1 -0
- package/dist/{chunk-DAAZBRNM.js → chunk-HFOCTDYM.js} +1 -1
- package/dist/{chunk-FAZTWW5J.js → chunk-N2BPYCKG.js} +1 -1
- package/dist/{chunk-6MLQBNF4.js → chunk-N3WQ4QSD.js} +1 -1
- package/dist/chunk-NAURWQ6C.js +1 -0
- package/dist/{chunk-THDSSKYQ.js → chunk-RV6PEFNT.js} +1 -1
- package/dist/{chunk-JIHK7L54.js → chunk-TC5736OF.js} +1 -1
- package/dist/chunk-XXCBLQ53.js +1 -0
- package/dist/chunk-Y7JBM2YL.js +1 -0
- package/dist/define.cjs +5 -5
- package/dist/define.js +1 -1
- package/dist/document-capture-view-HKEUWRPE-KB4IVUEE.js +1 -0
- package/dist/{eid-view-U2HL2IX7-ONZGT2S5.js → eid-view-Y5OFAHVC-NUZ7QUBA.js} +1 -1
- package/dist/{email-otp-view-CMJHROOH-4DBMTA3R.js → email-otp-view-ZEVLA5UZ-LAXHM22A.js} +1 -1
- package/dist/flow-views-ARNNXDI4-YXYLG7SQ.js +1 -0
- package/dist/form-view-PQQO4VIK-H7PE6SJF.js +1 -0
- package/dist/icons-form-R366YPMB-KUTXHC7X.js +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +112 -17
- package/dist/index.d.ts +112 -17
- package/dist/index.js +1 -1
- package/dist/overlay-de-QAMFKRTE-Q37YV6YD.js +1 -0
- package/dist/overlay-es-5RUP36SI-N7N3ULGK.js +1 -0
- package/dist/overlay-pt-7EUG7TIT-5S423QBY.js +1 -0
- package/dist/portrait-capture-view-EKCFW3YQ-7UBYR6BX.js +1 -0
- package/dist/portrait-review-view-NKIVRFCL-IP7ZWZ6B.js +1 -0
- package/dist/proof-of-address-view-HYTT7NHY-QFJ33FM2.js +1 -0
- package/dist/styles.css +83 -4
- package/package.json +3 -3
- package/sbom.cdx.json +4 -4
- package/dist/cdn/chunks/capture-session-doc-YC4CT2EQ-XMNCWYSB.js +0 -1
- package/dist/cdn/chunks/challenge-frame-5GG4NDF5-KAYYJKDP.js +0 -1
- package/dist/cdn/chunks/chunk-2FETDQV5.js +0 -1
- package/dist/cdn/chunks/chunk-7CMXCKSD.js +0 -1
- package/dist/cdn/chunks/chunk-CIHC5WP4.js +0 -1
- package/dist/cdn/chunks/chunk-CW56KMMH.js +0 -1
- package/dist/cdn/chunks/chunk-E6ELKNG4.js +0 -1
- package/dist/cdn/chunks/chunk-GTYN5CAI.js +0 -25
- package/dist/cdn/chunks/chunk-IXR4RRPR.js +0 -3
- package/dist/cdn/chunks/chunk-J2APPV22.js +0 -1
- package/dist/cdn/chunks/chunk-J6ERQV2N.js +0 -1
- package/dist/cdn/chunks/chunk-KMKUWNV6.js +0 -1
- package/dist/cdn/chunks/chunk-KVTY4E6J.js +0 -1
- package/dist/cdn/chunks/chunk-KZ23JW5G.js +0 -1
- package/dist/cdn/chunks/chunk-L22GFJQV.js +0 -1
- package/dist/cdn/chunks/chunk-OVZDKB3N.js +0 -1
- package/dist/cdn/chunks/chunk-P6NXHUXL.js +0 -33
- package/dist/cdn/chunks/chunk-P7PTTPLQ.js +0 -1
- package/dist/cdn/chunks/chunk-S4ZSNILS.js +0 -1
- package/dist/cdn/chunks/chunk-XUFK2XNN.js +0 -1
- package/dist/cdn/chunks/create-document-capture-O64FR2DA-7SC4NDCQ.js +0 -1
- package/dist/cdn/chunks/document-capture-view-5FWUD45F-BUOKIKYU.js +0 -1
- package/dist/cdn/chunks/eid-view-U2HL2IX7-JYEKGEY6.js +0 -1
- package/dist/cdn/chunks/email-otp-view-CMJHROOH-ZORE2M7T.js +0 -1
- package/dist/cdn/chunks/flow-views-O3KBN7YF-FVEPCKNG.js +0 -1
- package/dist/cdn/chunks/form-view-WVPN7ZUY-ESEVBVRS.js +0 -1
- package/dist/cdn/chunks/mrz-band-VYHOTDHY-VEZ2J5IL.js +0 -1
- package/dist/cdn/chunks/overlay-de-PVJMYZGV-JDDHHQJZ.js +0 -1
- package/dist/cdn/chunks/overlay-es-PZCE25XM-D7N7YW66.js +0 -1
- package/dist/cdn/chunks/overlay-pt-PZ3L6DR7-AD7SQLSO.js +0 -1
- package/dist/cdn/chunks/plan-runner-WGMNUBWJ-POS5T3PO.js +0 -1
- package/dist/cdn/chunks/portrait-review-view-67VI2Q6K-WR4CEUM3.js +0 -1
- package/dist/cdn/chunks/print-SEWS3VHQ-HWJTHADG.js +0 -11
- package/dist/cdn/chunks/proof-of-address-view-EIQXYYM3-HVPMVRPP.js +0 -1
- package/dist/chunk-DUYCGH4R.js +0 -33
- package/dist/chunk-MYYAFIK6.js +0 -1
- package/dist/chunk-TOU3UDCB.js +0 -25
- package/dist/chunk-V2KMG4IA.js +0 -1
- package/dist/chunk-WCPTICNC.js +0 -1
- package/dist/chunk-YZ6YGLNN.js +0 -1
- package/dist/chunk-ZLREPJUJ.js +0 -1
- package/dist/document-capture-view-5FWUD45F-PZAJNUII.js +0 -1
- package/dist/flow-views-O3KBN7YF-I2I3K4EY.js +0 -1
- package/dist/form-view-WVPN7ZUY-Z523S2WJ.js +0 -1
- package/dist/overlay-de-PVJMYZGV-75ZFRADU.js +0 -1
- package/dist/overlay-es-PZCE25XM-IEA7Y6EU.js +0 -1
- package/dist/overlay-pt-PZ3L6DR7-WMCH3XQV.js +0 -1
- package/dist/portrait-capture-view-UYISOXXV-SO3YYR22.js +0 -1
- package/dist/portrait-review-view-67VI2Q6K-ELE4HPWJ.js +0 -1
- package/dist/proof-of-address-view-EIQXYYM3-HDMZQJCO.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,465 @@
|
|
|
1
1
|
# @sekyro/elements
|
|
2
2
|
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f648b8c: The QR code and the link of the phone handoff carry a one-use code, never the session link. A `handoffUrl` on your own origin receives it as `sekyro_handoff` and `<SekyroFlow>` reads it. The desktop follows the phone and shows the result. In a flow that takes its photos in an app only, the desktop QR code is a one-use code link; on a phone, "Open in the Sekyro AI app" opens a fresh code in the app. The desktop a wrong phone took over shows "Show a new code" until a photo is stored, with a line saying to scan it with the right phone; the code goes as soon as a phone redeems it.
|
|
8
|
+
- 1a5c5d1: The first screen of the Sandbox tester face check says, before filming, that the face is compared with the organization's enrolled testers, that the video and the result are kept with the session and that the organization can see them (new key `testerGate.notice`). The screens after a miss no longer say that nothing was kept. If you replaced `testerGate.missBody`, `testerGate.retakeBody` or `testerGate.livenessBody`, update your text. A blank `testerGate.notice` keeps no video and no score.
|
|
9
|
+
- b3c6da9: First release candidate of `@sekyro/elements`: `<sekyro-verification>`, the `@sekyro/react` verification flow as a custom element for Vue, Angular, Svelte and plain HTML, with React bundled inside. Attributes and properties carry what `<SekyroVerification>` takes (`client-token`, `locale`, `color-scheme`, `asset-base-url`, `closable`, `back-navigation`, `handoff-url`, `voice`; `verification`, `strings`, `theme`, `livenessProps`, `documentLiveMrz`), its callbacks are `CustomEvent`s (`sekyro-step`, `sekyro-result`, `sekyro-close`, `sekyro-liveness-*`), and `header`, `header-end` and `footer` slots replace the flow's own. Light DOM, styles in `@sekyro/elements/styles.css`, safe to import during server rendering, typings for Vue (`@sekyro/elements/vue`), Svelte (`@sekyro/elements/svelte`) and React-typed JSX (`@sekyro/elements/jsx`), a Custom Elements Manifest, and a CDN build (`dist/cdn/define.js`) for pages without a bundler.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- dc7e033: Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
14
|
+
- 48e4573: The consent terms say the organization that requested the verification sets how long the data is kept.
|
|
15
|
+
- ba23547: The document camera keeps its instruction at the top steady: it says what to scan and nothing else. Problems and capture hints now show in a warning band directly under the scan frame. A wrong document says what the camera saw and what to show instead ("This looks like a passport. Show your residence permit instead.") and stays until a later photo is taken; it is no longer replaced after 2 seconds. A refused photo (blurry, unreadable, same side, a server retake reason with the attempts left) stays at least 3 seconds and through the retake, so a second refusal never makes the band blink. Capture hints (glare, too far, too dark, the code-line reader's coaching) stay at least 2.5 seconds once shown. The band is a polite live region and grows in and out, so nothing under it jumps. New string keys: `native.scan.seenPassport`, `native.scan.seenCard`, `native.scan.showInstead.{carte_identite,passport,residence_permit,drivers_license}`.
|
|
16
|
+
- 8a832f3: `<sekyro-verification>` draws the Form step with the bundled `@sekyro/react` (planned: no flow can contain it yet).
|
|
17
|
+
- 9d173d9: `<SekyroVerification>` titles no longer change shape when Geist arrives: until the title face has loaded they are drawn in a metric-matched bold fallback (Arial Bold or Roboto Bold, sized to Geist), where they used to show Inter or the system face at a different width, so the title reflowed when Geist arrived. The result title now uses the flow's hero size (28 px), as on iOS and Android. A partner font still replaces the titles' face.
|
|
18
|
+
- b2d700a: The result of a tester session that cannot run a step says what to do: add the national ID number to the tester enrollment, or start a new session with test data when the flow has a national eID step.
|
|
19
|
+
- 3aab1fe: The result screen's button now reads "Continue" for every outcome (fr « Continuer », ar «متابعة», es "Continuar", pt "Continuar", de "Weiter"), with or without an organization name. The flow runs inside your app or page, so the person never left it: "Back to {org}" made people think they had. The dead-end pages (update needed, a step this browser cannot do) use the same button. Nothing else changes: the button still shows only when you pass `onClose`, and pressing it still calls `onClose({ reason: "finished", result })`. The string key `native.result.back` is replaced by `native.result.continue`; if you override the label through `strings`, rename the key.
|
|
20
|
+
- f3470cd: The result screen's words fit a person who is still in your app or page. The verified line reads "Your verification is complete." (no more "You can go back to {org}"). The inconclusive, unavailable and expired screens no longer ask for a new link: inconclusive says "Start again from {org}, in good light and holding the phone upright. Contact {org} if this keeps happening.", unavailable says "Try again later from {org}, or contact {org} if this keeps happening.", and expired is titled "This verification has ended" with "Start again from {org}.". The verified title now says what the session proved, from `result.level` and `result.assurance`: "Your identity is verified" at level 3, "Your phone number is confirmed" or "Your email address is confirmed" for a level 1 code, and "You're verified" otherwise (level 2, a liveness check, no longer claims an identity). All six languages. New string keys you can override through `strings`: `native.result.expiredTitle`, `session.result.verified.titleHuman`, `session.result.verified.titlePhone`, `session.result.verified.titleEmail`.
|
|
21
|
+
- 5379d91: A level 1 result that is not exactly one phone code or one email code (for example both confirmed, or a contact your organization supplied) is now titled "Your details are confirmed" instead of "You're verified". Level 2 and a result with no level keep "You're verified". The same on Android, iOS and Flutter. All six languages. New string key you can override through `strings`: `session.result.verified.titleContact`.
|
|
22
|
+
- 22247d5: Sandbox sessions open with a choice between test data and real checks as an enrolled tester. Real checks start with the tester face check as a page of its own, with no way out to test data; when no tester is enrolled, the screen says how to enroll one. Test data is labelled on the identity summary and the result says the mode ("Test data" or "Real checks, tester …"). The tester reasons have their own lines, and the "Run real checks as a tester" button under each page is removed.
|
|
23
|
+
- 14faf9e: The result screen of a simulated Sandbox session now shows a short notice: "This was a simulation", with what to do to run real checks (enroll a Sandbox tester, or run the tester check at the start of the session). It appears only on a Sandbox session that no enrolled tester ran, never in Live, and it follows your theme and the six languages. The result you receive (`onResult`, `onClose`, the `sekyro-result` event) carries `sandbox: { simulated: true, reason }` with `@sekyro/web` at this release or later. Three string keys are new and can be overridden through `strings`: `sandbox.simulatedTitle`, `sandbox.simulatedNoTesters` and `sandbox.simulatedGate`.
|
|
24
|
+
- 0311ef4: Spanish and Portuguese: the Sandbox tester screens and reasons use one word for enrollment ("inscripción", "cadastro").
|
|
25
|
+
- 356fe3e: A second device on a session reads: This verification continues on another device. Finish on the device that is taking the photos. When the session already ended on the other device it reads: This verification ended on another device. There is nothing more to do on this device. While the other device is capturing, the button "Try again on this device" reads the session again; once the session ended there, the screen offers no retry. The screen is in every locale and follows the partner's branding. The desktop that shows the QR code keeps its consent line and its close button as before.
|
|
26
|
+
- fe5697e: Voice guidance now plays its first prompt when the capture starts on its own, before the person has tapped the page. Browsers refuse audio until the first tap. Before, that first prompt was counted as spoken and never played, so a cold page load stayed silent until the guidance changed. Now the refused prompt plays on the first tap, once. Prompts still play one at a time, a newer prompt replaces a waiting one, and a prompt never repeats.
|
|
27
|
+
- Updated dependencies [7f58208]
|
|
28
|
+
- Updated dependencies [5c480f8]
|
|
29
|
+
- Updated dependencies [22acfcf]
|
|
30
|
+
- Updated dependencies [37a6305]
|
|
31
|
+
- Updated dependencies [ad0d148]
|
|
32
|
+
- Updated dependencies [a3cd61c]
|
|
33
|
+
- Updated dependencies [7ce5ab1]
|
|
34
|
+
- Updated dependencies [b092ac3]
|
|
35
|
+
- Updated dependencies [7a73651]
|
|
36
|
+
- Updated dependencies [3e09e3c]
|
|
37
|
+
- Updated dependencies [4e7a4a3]
|
|
38
|
+
- Updated dependencies [7eddbf1]
|
|
39
|
+
- Updated dependencies [b889320]
|
|
40
|
+
- Updated dependencies [7d62dda]
|
|
41
|
+
- Updated dependencies [43efc5b]
|
|
42
|
+
- Updated dependencies [9d17b51]
|
|
43
|
+
- Updated dependencies [fa95c41]
|
|
44
|
+
- Updated dependencies [d321707]
|
|
45
|
+
- Updated dependencies [960f295]
|
|
46
|
+
- Updated dependencies [ab329bc]
|
|
47
|
+
- Updated dependencies [e563017]
|
|
48
|
+
- Updated dependencies [625e4a1]
|
|
49
|
+
- Updated dependencies [b81288e]
|
|
50
|
+
- Updated dependencies [4e3c051]
|
|
51
|
+
- Updated dependencies [d0c4f27]
|
|
52
|
+
- Updated dependencies [61f92b1]
|
|
53
|
+
- Updated dependencies [4555bac]
|
|
54
|
+
- Updated dependencies [ad0d148]
|
|
55
|
+
- Updated dependencies [c5655fc]
|
|
56
|
+
- Updated dependencies [675fc46]
|
|
57
|
+
- Updated dependencies [3438e10]
|
|
58
|
+
- Updated dependencies [7c81d07]
|
|
59
|
+
- Updated dependencies [16f3690]
|
|
60
|
+
- Updated dependencies [a9ffcc2]
|
|
61
|
+
- Updated dependencies [03534e9]
|
|
62
|
+
- Updated dependencies [7528fca]
|
|
63
|
+
- Updated dependencies [f648b8c]
|
|
64
|
+
- Updated dependencies [c3699fd]
|
|
65
|
+
- Updated dependencies [67d39fe]
|
|
66
|
+
- Updated dependencies [ad0d148]
|
|
67
|
+
- Updated dependencies [ff2011d]
|
|
68
|
+
- Updated dependencies [6f41492]
|
|
69
|
+
- Updated dependencies [07f89de]
|
|
70
|
+
- Updated dependencies [e82324a]
|
|
71
|
+
- Updated dependencies [c9edead]
|
|
72
|
+
- Updated dependencies [e3fd19e]
|
|
73
|
+
- Updated dependencies [f0ba853]
|
|
74
|
+
- Updated dependencies [626104f]
|
|
75
|
+
- Updated dependencies [0f19e99]
|
|
76
|
+
- Updated dependencies [76174c8]
|
|
77
|
+
- Updated dependencies [deb466a]
|
|
78
|
+
- Updated dependencies [fdd6a6b]
|
|
79
|
+
- Updated dependencies [c3699fd]
|
|
80
|
+
- Updated dependencies [67a6be3]
|
|
81
|
+
- Updated dependencies [c9edead]
|
|
82
|
+
- Updated dependencies [3d8df24]
|
|
83
|
+
- Updated dependencies [5fded53]
|
|
84
|
+
- Updated dependencies [97db14f]
|
|
85
|
+
- Updated dependencies [819638d]
|
|
86
|
+
- Updated dependencies [f8eae5a]
|
|
87
|
+
- Updated dependencies [1e6001c]
|
|
88
|
+
- Updated dependencies [19e6f46]
|
|
89
|
+
- Updated dependencies [06d8764]
|
|
90
|
+
- Updated dependencies [1005d9e]
|
|
91
|
+
- Updated dependencies [650d70d]
|
|
92
|
+
- Updated dependencies [9991ea5]
|
|
93
|
+
- Updated dependencies [189bd25]
|
|
94
|
+
- Updated dependencies [571937e]
|
|
95
|
+
- Updated dependencies [451cd78]
|
|
96
|
+
- Updated dependencies [6571361]
|
|
97
|
+
- Updated dependencies [ff0dcc7]
|
|
98
|
+
- Updated dependencies [857ec58]
|
|
99
|
+
- Updated dependencies [b1324ed]
|
|
100
|
+
- Updated dependencies [1c7c752]
|
|
101
|
+
- Updated dependencies [030c9dc]
|
|
102
|
+
- Updated dependencies [6a53392]
|
|
103
|
+
- Updated dependencies [5f9503f]
|
|
104
|
+
- Updated dependencies [68b5df5]
|
|
105
|
+
- Updated dependencies [c8ec50f]
|
|
106
|
+
- Updated dependencies [4581cc5]
|
|
107
|
+
- Updated dependencies [74477bc]
|
|
108
|
+
- Updated dependencies [1f93754]
|
|
109
|
+
- Updated dependencies [466d3e1]
|
|
110
|
+
- Updated dependencies [4743339]
|
|
111
|
+
- Updated dependencies [4c1aa5b]
|
|
112
|
+
- Updated dependencies [9610931]
|
|
113
|
+
- Updated dependencies [82871cf]
|
|
114
|
+
- Updated dependencies [b2d700a]
|
|
115
|
+
- Updated dependencies [1a5c5d1]
|
|
116
|
+
- Updated dependencies [10715ba]
|
|
117
|
+
- Updated dependencies [707ccc7]
|
|
118
|
+
- Updated dependencies [273d2ce]
|
|
119
|
+
- Updated dependencies [704e58a]
|
|
120
|
+
- Updated dependencies [59b610b]
|
|
121
|
+
- Updated dependencies [a3247a3]
|
|
122
|
+
- Updated dependencies [032585b]
|
|
123
|
+
- Updated dependencies [0804d05]
|
|
124
|
+
- Updated dependencies [fc9612d]
|
|
125
|
+
- Updated dependencies [501feec]
|
|
126
|
+
- Updated dependencies [46905f2]
|
|
127
|
+
- Updated dependencies [9db49b8]
|
|
128
|
+
- Updated dependencies [1b8395d]
|
|
129
|
+
- Updated dependencies [6420611]
|
|
130
|
+
- Updated dependencies [18265a3]
|
|
131
|
+
- Updated dependencies [9acafe1]
|
|
132
|
+
- Updated dependencies [2055ae5]
|
|
133
|
+
- Updated dependencies [9e27401]
|
|
134
|
+
- Updated dependencies [7a3f935]
|
|
135
|
+
- Updated dependencies [dcdbeab]
|
|
136
|
+
- Updated dependencies [c40301a]
|
|
137
|
+
- Updated dependencies [246b0f3]
|
|
138
|
+
- Updated dependencies [ad0d148]
|
|
139
|
+
- Updated dependencies [723039c]
|
|
140
|
+
- Updated dependencies [4dd2b68]
|
|
141
|
+
- Updated dependencies [471d833]
|
|
142
|
+
- Updated dependencies [f3f4313]
|
|
143
|
+
- Updated dependencies [c17645e]
|
|
144
|
+
- Updated dependencies [f4840d7]
|
|
145
|
+
- Updated dependencies [8425e95]
|
|
146
|
+
- Updated dependencies [1b6bef2]
|
|
147
|
+
- Updated dependencies [1b6bef2]
|
|
148
|
+
- Updated dependencies [13d512f]
|
|
149
|
+
- Updated dependencies [acbf409]
|
|
150
|
+
- Updated dependencies [94565f2]
|
|
151
|
+
- Updated dependencies [0230099]
|
|
152
|
+
- Updated dependencies [6c0141f]
|
|
153
|
+
- Updated dependencies [c9edead]
|
|
154
|
+
- Updated dependencies [2beba0c]
|
|
155
|
+
- Updated dependencies [b7e6423]
|
|
156
|
+
- Updated dependencies [8425e95]
|
|
157
|
+
- Updated dependencies [0dd0208]
|
|
158
|
+
- Updated dependencies [a3689e4]
|
|
159
|
+
- Updated dependencies [47514ae]
|
|
160
|
+
- Updated dependencies [294bcbd]
|
|
161
|
+
- Updated dependencies [14faf9e]
|
|
162
|
+
- Updated dependencies [bb79da6]
|
|
163
|
+
- Updated dependencies [5329680]
|
|
164
|
+
- Updated dependencies [ca2cd0e]
|
|
165
|
+
- Updated dependencies [99b157e]
|
|
166
|
+
- Updated dependencies [37c823e]
|
|
167
|
+
- Updated dependencies [45f639f]
|
|
168
|
+
- Updated dependencies [a14ac15]
|
|
169
|
+
- Updated dependencies [b230694]
|
|
170
|
+
- Updated dependencies [66522c3]
|
|
171
|
+
- Updated dependencies [f13b832]
|
|
172
|
+
- Updated dependencies [90dde69]
|
|
173
|
+
- Updated dependencies [8dbdcf3]
|
|
174
|
+
- Updated dependencies [c9edead]
|
|
175
|
+
- Updated dependencies [bc29977]
|
|
176
|
+
- Updated dependencies [6cc6a5a]
|
|
177
|
+
- Updated dependencies [356fe3e]
|
|
178
|
+
- Updated dependencies [c5b46c4]
|
|
179
|
+
- Updated dependencies [241ab8a]
|
|
180
|
+
- Updated dependencies [06ea302]
|
|
181
|
+
- Updated dependencies [58e220c]
|
|
182
|
+
- Updated dependencies [ff5cc35]
|
|
183
|
+
- Updated dependencies [5a8c268]
|
|
184
|
+
- Updated dependencies [ba01f52]
|
|
185
|
+
- Updated dependencies [4f4bd85]
|
|
186
|
+
- Updated dependencies [1e0236f]
|
|
187
|
+
- Updated dependencies [5d50ffc]
|
|
188
|
+
- Updated dependencies [54b153c]
|
|
189
|
+
- Updated dependencies [dac5c0b]
|
|
190
|
+
- Updated dependencies [43ae1ec]
|
|
191
|
+
- Updated dependencies [4ac2053]
|
|
192
|
+
- Updated dependencies [4a7fc0e]
|
|
193
|
+
- Updated dependencies [5994d5d]
|
|
194
|
+
- Updated dependencies [a63d45e]
|
|
195
|
+
- Updated dependencies [98f6752]
|
|
196
|
+
- Updated dependencies [0d23a56]
|
|
197
|
+
- Updated dependencies [cc7eedb]
|
|
198
|
+
- Updated dependencies [1f5f458]
|
|
199
|
+
- Updated dependencies [745caf9]
|
|
200
|
+
- Updated dependencies [5c2b1fa]
|
|
201
|
+
- Updated dependencies [8bbc6f8]
|
|
202
|
+
- Updated dependencies [f7b755c]
|
|
203
|
+
- Updated dependencies [0b01cee]
|
|
204
|
+
- Updated dependencies [24c87ef]
|
|
205
|
+
- Updated dependencies [ae5142b]
|
|
206
|
+
- Updated dependencies [4e6bfb8]
|
|
207
|
+
- Updated dependencies [ea2bd51]
|
|
208
|
+
- Updated dependencies [69638fa]
|
|
209
|
+
- Updated dependencies [567f41a]
|
|
210
|
+
- Updated dependencies [5eec558]
|
|
211
|
+
- Updated dependencies [f49bd0b]
|
|
212
|
+
- Updated dependencies [fce1604]
|
|
213
|
+
- Updated dependencies [a75a33e]
|
|
214
|
+
- Updated dependencies [bdcd56e]
|
|
215
|
+
- Updated dependencies [426e180]
|
|
216
|
+
- Updated dependencies [b3a1018]
|
|
217
|
+
- Updated dependencies [75b8595]
|
|
218
|
+
- Updated dependencies [5c5f7e3]
|
|
219
|
+
- Updated dependencies [2f9e980]
|
|
220
|
+
- Updated dependencies [80fbf3d]
|
|
221
|
+
- Updated dependencies [b4c8465]
|
|
222
|
+
- Updated dependencies [225aeea]
|
|
223
|
+
- Updated dependencies [3eafb6e]
|
|
224
|
+
- Updated dependencies [6dfd321]
|
|
225
|
+
- Updated dependencies [d25960c]
|
|
226
|
+
- Updated dependencies [1d7ee00]
|
|
227
|
+
- @sekyro/web@0.1.0
|
|
228
|
+
|
|
229
|
+
## 0.1.0-rc.32
|
|
230
|
+
|
|
231
|
+
### Minor Changes
|
|
232
|
+
|
|
233
|
+
- f648b8c: The QR code and the link of the phone handoff carry a one-use code, never the session link. A `handoffUrl` on your own origin receives it as `sekyro_handoff` and `<SekyroFlow>` reads it. The desktop follows the phone and shows the result. In a flow that takes its photos in an app only, the desktop QR code is a one-use code link; on a phone, "Open in the Sekyro AI app" opens a fresh code in the app. The desktop a wrong phone took over shows "Show a new code" until a photo is stored, with a line saying to scan it with the right phone; the code goes as soon as a phone redeems it.
|
|
234
|
+
|
|
235
|
+
### Patch Changes
|
|
236
|
+
|
|
237
|
+
- Updated dependencies [f648b8c]
|
|
238
|
+
- @sekyro/web@0.1.0-rc.55
|
|
239
|
+
|
|
240
|
+
## 0.1.0-rc.31
|
|
241
|
+
|
|
242
|
+
### Patch Changes
|
|
243
|
+
|
|
244
|
+
- 48e4573: The consent terms say the organization that requested the verification sets how long the data is kept.
|
|
245
|
+
- 356fe3e: A second device on a session reads: This verification continues on another device. Finish on the device that is taking the photos. When the session already ended on the other device it reads: This verification ended on another device. There is nothing more to do on this device. While the other device is capturing, the button "Try again on this device" reads the session again; once the session ended there, the screen offers no retry. The screen is in every locale and follows the partner's branding. The desktop that shows the QR code keeps its consent line and its close button as before.
|
|
246
|
+
- Updated dependencies [43efc5b]
|
|
247
|
+
- Updated dependencies [16f3690]
|
|
248
|
+
- Updated dependencies [6f41492]
|
|
249
|
+
- Updated dependencies [189bd25]
|
|
250
|
+
- Updated dependencies [daee7dc]
|
|
251
|
+
- Updated dependencies [6cc6a5a]
|
|
252
|
+
- Updated dependencies [356fe3e]
|
|
253
|
+
- Updated dependencies [241ab8a]
|
|
254
|
+
- Updated dependencies [e538702]
|
|
255
|
+
- Updated dependencies [1e0236f]
|
|
256
|
+
- @sekyro/web@0.1.0-rc.54
|
|
257
|
+
|
|
258
|
+
## 0.1.0-rc.30
|
|
259
|
+
|
|
260
|
+
### Minor Changes
|
|
261
|
+
|
|
262
|
+
- 1a5c5d1: The first screen of the Sandbox tester face check says, before filming, that the face is compared with the organization's enrolled testers, that the video and the result are kept with the session and that the organization can see them (new key `testerGate.notice`). The screens after a miss no longer say that nothing was kept. If you replaced `testerGate.missBody`, `testerGate.retakeBody` or `testerGate.livenessBody`, update your text. A blank `testerGate.notice` keeps no video and no score.
|
|
263
|
+
|
|
264
|
+
### Patch Changes
|
|
265
|
+
|
|
266
|
+
- b2d700a: The result of a tester session that cannot run a step says what to do: add the national ID number to the tester enrollment, or start a new session with test data when the flow has a national eID step.
|
|
267
|
+
- 0311ef4: Spanish and Portuguese: the Sandbox tester screens and reasons use one word for enrollment ("inscripción", "cadastro").
|
|
268
|
+
- Updated dependencies [b2d700a]
|
|
269
|
+
- Updated dependencies [1a5c5d1]
|
|
270
|
+
- Updated dependencies [47514ae]
|
|
271
|
+
- Updated dependencies [f49bd0b]
|
|
272
|
+
- @sekyro/web@0.1.0-rc.53
|
|
273
|
+
|
|
274
|
+
## 0.1.0-rc.29
|
|
275
|
+
|
|
276
|
+
### Patch Changes
|
|
277
|
+
|
|
278
|
+
- 22247d5: Sandbox sessions open with a choice between test data and real checks as an enrolled tester. Real checks start with the tester face check as a page of its own, with no way out to test data; when no tester is enrolled, the screen says how to enroll one. Test data is labelled on the identity summary and the result says the mode ("Test data" or "Real checks, tester …"). The tester reasons have their own lines, and the "Run real checks as a tester" button under each page is removed.
|
|
279
|
+
- Updated dependencies [294bcbd]
|
|
280
|
+
- @sekyro/web@0.1.0-rc.52
|
|
281
|
+
|
|
282
|
+
## 0.1.0-rc.28
|
|
283
|
+
|
|
284
|
+
### Patch Changes
|
|
285
|
+
|
|
286
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
287
|
+
- Updated dependencies [819638d]
|
|
288
|
+
- @sekyro/web@0.1.0-rc.50
|
|
289
|
+
|
|
290
|
+
## 0.1.0-rc.27
|
|
291
|
+
|
|
292
|
+
### Patch Changes
|
|
293
|
+
|
|
294
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
295
|
+
- Updated dependencies [eead843]
|
|
296
|
+
- @sekyro/web@0.1.0-rc.49
|
|
297
|
+
|
|
298
|
+
## 0.1.0-rc.26
|
|
299
|
+
|
|
300
|
+
### Patch Changes
|
|
301
|
+
|
|
302
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
303
|
+
- Updated dependencies [19e6f46]
|
|
304
|
+
- Updated dependencies [39451c1]
|
|
305
|
+
- @sekyro/web@0.1.0-rc.48
|
|
306
|
+
|
|
307
|
+
## 0.1.0-rc.25
|
|
308
|
+
|
|
309
|
+
### Patch Changes
|
|
310
|
+
|
|
311
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
312
|
+
- Updated dependencies [4a3fe7c]
|
|
313
|
+
- Updated dependencies [91d25ce]
|
|
314
|
+
- @sekyro/web@0.1.0-rc.46
|
|
315
|
+
|
|
316
|
+
## 0.1.0-rc.24
|
|
317
|
+
|
|
318
|
+
### Patch Changes
|
|
319
|
+
|
|
320
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
321
|
+
- Updated dependencies [7f58208]
|
|
322
|
+
- Updated dependencies [67f74be]
|
|
323
|
+
- Updated dependencies [44e6d28]
|
|
324
|
+
- Updated dependencies [7c81d07]
|
|
325
|
+
- Updated dependencies [a9ffcc2]
|
|
326
|
+
- Updated dependencies [fdd6a6b]
|
|
327
|
+
- Updated dependencies [f378602]
|
|
328
|
+
- Updated dependencies [fc9612d]
|
|
329
|
+
- @sekyro/web@0.1.0-rc.45
|
|
330
|
+
|
|
331
|
+
## 0.1.0-rc.23
|
|
332
|
+
|
|
333
|
+
### Patch Changes
|
|
334
|
+
|
|
335
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
336
|
+
- Updated dependencies [7c011c6]
|
|
337
|
+
- @sekyro/web@0.1.0-rc.44
|
|
338
|
+
|
|
339
|
+
## 0.1.0-rc.22
|
|
340
|
+
|
|
341
|
+
### Patch Changes
|
|
342
|
+
|
|
343
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
344
|
+
- Updated dependencies [67d39fe]
|
|
345
|
+
- @sekyro/web@0.1.0-rc.43
|
|
346
|
+
|
|
347
|
+
## 0.1.0-rc.21
|
|
348
|
+
|
|
349
|
+
### Patch Changes
|
|
350
|
+
|
|
351
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
352
|
+
- Updated dependencies [07f89de]
|
|
353
|
+
- @sekyro/web@0.1.0-rc.42
|
|
354
|
+
|
|
355
|
+
## 0.1.0-rc.20
|
|
356
|
+
|
|
357
|
+
### Patch Changes
|
|
358
|
+
|
|
359
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
360
|
+
- Updated dependencies [f341f83]
|
|
361
|
+
- Updated dependencies [62dd01e]
|
|
362
|
+
- Updated dependencies
|
|
363
|
+
- Updated dependencies [00bc614]
|
|
364
|
+
- Updated dependencies [49bb89b]
|
|
365
|
+
- Updated dependencies [8f3fb74]
|
|
366
|
+
- @sekyro/web@0.1.0-rc.41
|
|
367
|
+
|
|
368
|
+
## 0.1.0-rc.19
|
|
369
|
+
|
|
370
|
+
### Patch Changes
|
|
371
|
+
|
|
372
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
373
|
+
- Updated dependencies [4f4bd85]
|
|
374
|
+
- @sekyro/web@0.1.0-rc.40
|
|
375
|
+
|
|
376
|
+
## 0.1.0-rc.18
|
|
377
|
+
|
|
378
|
+
### Patch Changes
|
|
379
|
+
|
|
380
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
381
|
+
- Updated dependencies [9610931]
|
|
382
|
+
- Updated dependencies [10715ba]
|
|
383
|
+
- @sekyro/web@0.1.0-rc.39
|
|
384
|
+
|
|
385
|
+
## 0.1.0-rc.17
|
|
386
|
+
|
|
387
|
+
### Patch Changes
|
|
388
|
+
|
|
389
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
390
|
+
- Updated dependencies [7528fca]
|
|
391
|
+
- Updated dependencies [451cd78]
|
|
392
|
+
- Updated dependencies [4743339]
|
|
393
|
+
- Updated dependencies [ae5142b]
|
|
394
|
+
- @sekyro/web@0.1.0-rc.38
|
|
395
|
+
|
|
396
|
+
## 0.1.0-rc.16
|
|
397
|
+
|
|
398
|
+
### Patch Changes
|
|
399
|
+
|
|
400
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
401
|
+
- Updated dependencies [8bbc6f8]
|
|
402
|
+
- @sekyro/web@0.1.0-rc.36
|
|
403
|
+
|
|
404
|
+
## 0.1.0-rc.15
|
|
405
|
+
|
|
406
|
+
### Patch Changes
|
|
407
|
+
|
|
408
|
+
- ba23547: The document camera keeps its instruction at the top steady: it says what to scan and nothing else. Problems and capture hints now show in a warning band directly under the scan frame. A wrong document says what the camera saw and what to show instead ("This looks like a passport. Show your residence permit instead.") and stays until a later photo is taken; it is no longer replaced after 2 seconds. A refused photo (blurry, unreadable, same side, a server retake reason with the attempts left) stays at least 3 seconds and through the retake, so a second refusal never makes the band blink. Capture hints (glare, too far, too dark, the code-line reader's coaching) stay at least 2.5 seconds once shown. The band is a polite live region and grows in and out, so nothing under it jumps. New string keys: `native.scan.seenPassport`, `native.scan.seenCard`, `native.scan.showInstead.{carte_identite,passport,residence_permit,drivers_license}`.
|
|
409
|
+
- Updated dependencies [675fc46]
|
|
410
|
+
- @sekyro/web@0.1.0-rc.35
|
|
411
|
+
|
|
412
|
+
## 0.1.0-rc.14
|
|
413
|
+
|
|
414
|
+
### Patch Changes
|
|
415
|
+
|
|
416
|
+
- 9a15ded: Voice guidance now plays its first prompt when the capture starts on its own, before the person has tapped the page. Browsers refuse audio until the first tap. Before, that first prompt was counted as spoken and never played, so a cold page load stayed silent until the guidance changed. Now the refused prompt plays on the first tap, once. Prompts still play one at a time, a newer prompt replaces a waiting one, and a prompt never repeats.
|
|
417
|
+
|
|
418
|
+
## 0.1.0-rc.13
|
|
419
|
+
|
|
420
|
+
### Patch Changes
|
|
421
|
+
|
|
422
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
423
|
+
- Updated dependencies [e38c7e2]
|
|
424
|
+
- Updated dependencies [5c2b1fa]
|
|
425
|
+
- Updated dependencies [24c87ef]
|
|
426
|
+
- Updated dependencies [ea2bd51]
|
|
427
|
+
- Updated dependencies [b3a1018]
|
|
428
|
+
- @sekyro/web@0.1.0-rc.34
|
|
429
|
+
|
|
430
|
+
## 0.1.0-rc.12
|
|
431
|
+
|
|
432
|
+
### Patch Changes
|
|
433
|
+
|
|
434
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
435
|
+
- Updated dependencies [b61c1b7]
|
|
436
|
+
- @sekyro/web@0.1.0-rc.33
|
|
437
|
+
|
|
438
|
+
## 0.1.0-rc.11
|
|
439
|
+
|
|
440
|
+
### Patch Changes
|
|
441
|
+
|
|
442
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
443
|
+
- Updated dependencies [7a73651]
|
|
444
|
+
- Updated dependencies [18265a3]
|
|
445
|
+
- @sekyro/web@0.1.0-rc.32
|
|
446
|
+
|
|
447
|
+
## 0.1.0-rc.10
|
|
448
|
+
|
|
449
|
+
### Patch Changes
|
|
450
|
+
|
|
451
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
452
|
+
- Updated dependencies [a649247]
|
|
453
|
+
- @sekyro/web@0.1.0-rc.31
|
|
454
|
+
|
|
455
|
+
## 0.1.0-rc.9
|
|
456
|
+
|
|
457
|
+
### Patch Changes
|
|
458
|
+
|
|
459
|
+
- Carries the @sekyro/react release of this version: the changes in its changelog reach the element.
|
|
460
|
+
- Updated dependencies [e70fdcd]
|
|
461
|
+
- @sekyro/web@0.1.0-rc.30
|
|
462
|
+
|
|
3
463
|
## 0.1.0-rc.8
|
|
4
464
|
|
|
5
465
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -236,12 +236,12 @@ page's resets: under Bootstrap's reboot or Tailwind's preflight the flow looks a
|
|
|
236
236
|
## Sandbox
|
|
237
237
|
|
|
238
238
|
A Sandbox session shows its test chrome in the element exactly as in `@sekyro/react`: the "Test session" badge, the
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
239
|
+
choice between test data and real checks, the tester check, the "Skip with test data" action and, on the result
|
|
240
|
+
screen, the mode the session ran in. The `sekyro-result` detail carries `sandbox: { mode, testerName? }`. Nothing to
|
|
241
|
+
configure: it follows the session.
|
|
242
242
|
|
|
243
243
|
## Size
|
|
244
244
|
|
|
245
|
-
React and ReactDOM (production builds) and the whole flow, gzip
|
|
245
|
+
React and ReactDOM (production builds) and the whole flow, gzip: about 143 KiB for the
|
|
246
246
|
npm entry (your bundler adds `@sekyro/web`), about 174 KiB for the CDN entry with `@sekyro/web`. Each step's view,
|
|
247
247
|
the document camera and the es, pt and de copy load later, when used.
|
package/dist/cdn/chunks/{camera-trait-V4UAOPIQ-TFCPOCSU.js → camera-trait-DELAK3YN-4I2GHAFU.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b as e,c as r,d as o}from"./chunk-
|
|
1
|
+
import{a,b as e,c as r,d as o}from"./chunk-PND4F7JQ.js";import"./chunk-4FHWXBOB.js";export{a as bounded,r as cameraHash,e as hex16,o as noteCameraTrait};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as s,c as a,d as _,e as C,f as A,g as D,h as o,i as S,j as r,k as t,l as E,m as p,n as T,o as O,p as i,q as m,r as R}from"./chunk-CIDO7UAK.js";import"./chunk-XKZZC74I.js";import"./chunk-W5WWCOOW.js";import"./chunk-5Y7NCFTK.js";import"./chunk-37BKUH3E.js";import"./chunk-DDUCV6NE.js";import"./chunk-P7K7ELYZ.js";import"./chunk-JS2IXPNL.js";import"./chunk-4FHWXBOB.js";export{i as CAPTURE_CANDIDATE_SPACING_MS,O as CAPTURE_EXTRA_CANDIDATES,m as CAPTURE_WINDOW_MS,p as CaptureSessionDoc,_ as DOC_BLACK_FRAME_LUMA,C as DOC_BLACK_FRAME_TICKS,A as DOC_CADENCE_HZ,a as DOC_FIRST_FRAME_MS,o as DOC_PROFILE_TICKS,t as DOC_SHUTTER_DEFAULTS,r as DOC_SLOW_TICK_MS,S as DOC_WARMUP_TICKS,R as REFOCUS_APPLY_MAX_MS,D as SIDE_PROBE_MS,T as passportBandOf,E as resolveDocShutterTuning,s as warmDocDetector};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk-4FHWXBOB.js";var q=new Set(["challenge_frame_blocked","challenge_script_blocked","site_key_rejected","challenge_failed","timeout","embedder_opaque"]),y,a=(y=class extends Error{constructor(t,r){super(`Sekyro challenge failed: ${t}${r!==void 0?` (${r})`:""}`),this.name="ChallengeError",this.code=t,r!==void 0&&(this.detail=r)}},i(y,"o"),y),L=3e4,R=12e4,U=18e4,B=3e4,_=5e3,H=new Set(["script","widget","run"]),z="sekyro.challenge.",I="position:fixed;width:1px;height:1px;inset-block-start:0;inset-inline-start:0;opacity:0;pointer-events:none;border:0",N=i(e=>`position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(360px,calc(100vw - 16px));min-width:300px;height:${e}px;opacity:1;pointer-events:auto;border:0;border-radius:8px;z-index:2147483647;background:transparent;color-scheme:normal`,"R"),p=65,C=200,G="position:fixed;inset:0;background:rgba(0,0,0,0.55);z-index:2147483646";function K(e,t=p){if(e.backdrop!==null)return;let r=document.createElement("div");r.setAttribute("style",G),r.setAttribute("data-sekyro-challenge-backdrop",""),document.body.appendChild(r),e.backdrop=r,e.focusBefore=document.activeElement,e.iframe.setAttribute("style",N(t)),e.iframe.removeAttribute("aria-hidden"),e.iframe.setAttribute("tabindex","0");try{e.iframe.focus()}catch{}}i(K,"B");function b(e){if(e.backdrop===null)return;e.backdrop.remove(),e.backdrop=null,e.iframe.setAttribute("style",I),e.iframe.setAttribute("aria-hidden","true"),e.iframe.setAttribute("tabindex","-1");let t=e.focusBefore;if(e.focusBefore=null,t instanceof HTMLElement&&t.isConnected)try{t.focus()}catch{}}i(b,"g");var h=null,M=Promise.resolve();function W(){w(),M=Promise.resolve(),E=!1}i(W,"J");function m(){return new a("aborted")}i(m,"m");function O(){let e=globalThis.crypto;return e!==void 0&&typeof e.randomUUID=="function"?e.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}i(O,"$");function j(e){return new URL(e,document.baseURI).origin}i(j,"F");function w(){let e=h;if(e!==null){h=null,window.removeEventListener("message",e.listener),b(e),e.iframe.remove();for(let t of e.waiters.values())t.reject(new a("challenge_frame_blocked"));e.waiters.clear()}}i(w,"b");function X(e,t){if(t.source!==e.iframe.contentWindow||t.origin!==e.origin)return;let r=t.data;if(typeof r!="object"||r===null)return;let n=r;if(typeof n.type!="string"||!n.type.startsWith(z)||n.v!==1)return;if(n.type==="sekyro.challenge.ready"){e.readyMs??(e.readyMs=Date.now()-e.insertedAt),e.isReady=!0,e.onReady?.();return}if(typeof n.id!="string")return;let d=e.waiters.get(n.id);if(d===void 0)return;if(n.type==="sekyro.challenge.interactive"){let{state:o,maxMs:c,height:l}=r;if(o==="show"){let u=typeof l=="number"&&Number.isFinite(l)?Math.round(l):p;K(e,Math.min(C,Math.max(p,u))),d.interactive(!0,typeof c=="number"&&Number.isFinite(c)?c:void 0)}else o==="resize"?e.backdrop!==null&&typeof l=="number"&&Number.isFinite(l)&&e.iframe.setAttribute("style",N(Math.min(C,Math.max(p,Math.round(l))))):o==="hide"&&(b(e),d.interactive(!1));return}let s=r.runs;if((n.type==="sekyro.challenge.token"||n.type==="sekyro.challenge.error")&&typeof s=="number"&&Number.isInteger(s)&&s>=1&&s<=10&&d.runs(s),n.type==="sekyro.challenge.token"&&typeof n.token=="string"&&n.token!=="")e.waiters.delete(n.id),b(e),d.resolve(n.token);else if(n.type==="sekyro.challenge.error"){e.waiters.delete(n.id),b(e);let o=typeof n.code=="string"&&q.has(n.code)?n.code:"challenge_failed",c=typeof n.detail=="string"||typeof n.detail=="number"?String(n.detail).slice(0,32):void 0,l=new a(o==="challenge_failed"&&c==="200100"?"clock_wrong":o,c),u=r.stage;typeof u=="string"&&H.has(u)&&(l.stage=u),d.reject(l)}}i(X,"j");function V(e){if(h!==null&&h.url===e)return h;w();let t=document.createElement("iframe");t.setAttribute("title","Security check"),t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1"),t.setAttribute("referrerpolicy","no-referrer"),t.setAttribute("style",I);let r={url:e,origin:j(e),iframe:t,isReady:!1,insertedAt:Date.now(),onReady:null,waiters:new Map,listener:i(n=>X(r,n),"listener"),backdrop:null,focusBefore:null};return window.addEventListener("message",r.listener),t.src=e,document.body.appendChild(t),h=r,r}i(V,"q");function Y(e,t,r){return e.isReady?Promise.resolve():new Promise((n,d)=>{let s=i(()=>{clearTimeout(c),r?.removeEventListener("abort",o),e.onReady=null},"s"),o=i(()=>{s(),d(m())},"i"),c=setTimeout(()=>{s(),d(new a("challenge_frame_blocked"))},t);r?.addEventListener("abort",o,{once:!0}),e.onReady=()=>{s(),n()}})}i(Y,"X");async function D(e){if(e.signal?.aborted)throw m();let t=V(e.frameUrl);try{return await J(t,e)}catch(r){throw r instanceof a&&t.readyMs!==void 0&&(r.readyMs??(r.readyMs=t.readyMs)),r}}i(D,"k");async function J(e,t){let r=t.signal;await Y(e,t.readyTimeoutMs??L,r);let n=e.iframe.contentWindow;if(n===null)throw new a("challenge_frame_blocked");let d=t.timeoutMs??R,s=O(),o,c,l=!1,u=d,x=Date.now(),g=U,A=0;try{return await new Promise(($,v)=>{let k=i(()=>v(new a("timeout")),"E"),P=i((f,S)=>{if(l!==f){if(l=f,clearTimeout(o),f){u=Math.max(B,u-(Date.now()-x)),A=Date.now();let F=S!==void 0?Math.max(0,S):g;o=setTimeout(k,Math.min(g,F)+_)}else g=Math.max(0,g-(Date.now()-A)),x=Date.now(),o=setTimeout(k,u+_);try{t.onInteractive?.(f)}catch{}}},"I"),T=i(f=>{try{f>0&&t.onRuns?.(f)}catch{}},"C");e.waiters.set(s,{resolve:$,reject:v,interactive:P,runs:i(f=>T(f-1),"runs")}),T(1),o=setTimeout(k,d+_),r!==void 0&&(c=i(()=>v(m()),"l"),r.addEventListener("abort",c,{once:!0})),n.postMessage({type:"sekyro.challenge.request",v:1,id:s,siteKey:t.siteKey,action:t.action,subject:t.subject,ui:1,...t.locale!==void 0?{locale:t.locale}:{}},e.origin)})}finally{if(clearTimeout(o),r!==void 0&&c!==void 0&&r.removeEventListener("abort",c),e.waiters.delete(s),b(e),l){l=!1;try{t.onInteractive?.(!1)}catch{}}}}i(J,"z");var E=!1;function Q(e,t){if(E)return;let r;if(t==="challenge_frame_blocked"){let n=e;try{n=j(e)}catch{}r=`Sekyro: the security check frame could not load. Allow \`frame-src ${n}\` in your Content-Security-Policy.`}else if(t==="embedder_opaque")r="Sekyro: the security check needs a page with an origin. Do not run the SDK in a sandboxed or data: document.";else return;E=!0,console.warn(r)}i(Q,"Y");async function Z(e){if(globalThis.origin==="null")throw new a("embedder_opaque");if(e.signal?.aborted)throw m();try{return await D(e)}catch(t){if(w(),e.signal?.aborted||t instanceof a&&t.code==="aborted")throw m();if(!(t instanceof a)||t.code!=="challenge_frame_blocked"&&t.code!=="challenge_script_blocked")throw t instanceof a?t:new a("challenge_failed");try{return await D(e)}catch(r){throw w(),e.signal?.aborted?m():r instanceof a?r:new a("challenge_failed")}}}i(Z,"V");function ee(e){let t=i(()=>Z(e).catch(n=>{throw n instanceof a&&Q(e.frameUrl,n.code),n}),"n"),r=M.then(t,t);return M=r.catch(()=>{}),r}i(ee,"Q");export{R as CHALLENGE_EXECUTE_TIMEOUT_MS,U as CHALLENGE_INTERACTIVE_MAX_MS,L as CHALLENGE_READY_TIMEOUT_MS,a as ChallengeError,ee as executeChallenge,W as resetChallengeFrameForTests};
|