Skip to content

Commit

Permalink
Release 14.39.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 18, 2024
1 parent deabcae commit 5c5bc31
Show file tree
Hide file tree
Showing 47 changed files with 217 additions and 45 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## 14.39.0 - 2024-11-18
### Added
- Warning to push usage of Studio token over SDK token and deprecation message
- New accessible autocomplete component

### Changed
- adds smart caret false for OTP phone input

### Removed
- Removed debug log from production build

### Fixed
- Fix type exports
- Provided A more descriptive error screen

## 14.38.0 - 2024-09-30
### Fixed
- Fixed QR code from showing during re-connection phase
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,28 @@ The callbacks return a `FormData` object, including the information that the SDK
}
```

### Custom biometric token storage

When using the decentralized authentication solution, by default the SDK manages biometric token storage, by storing it on local storage. The SDK also allows the clients to take control of the token lifecycle and exposes an callback to override the default implementation to read and write the token, so it can be stored on device, in cloud, in a keystore or on your premises.

**Note** that by using the callback it will prevent the SDK to store the token.

```typescript
Onfido.init({
...
onBiometricTokenGenerated: (customerUserHash: string, biometricToken: string): void => {
// Called when new biometric token is generated during onboarding
// Use this callback to securely store the biometric token
// Please ensure that customerUserHash to biometricToken relationship is 1:1
},
onBiometricTokenRequested: (customerUserHash: string): Promise<string> => {
// Called when biometric token is requested during re-authentication
// Once you have the token, resolve the promise with it
return Promise.resolve('biometricToken')
}
});
```

#### Uploading the media files to Onfido

By default, this feature will prevent the request from being sent to Onfido, requiring you to [manually upload](https://documentation.onfido.com/api/latest#upload-document) the media files to Onfido from your backend for further processing.
Expand Down
5 changes: 4 additions & 1 deletion locales/ar/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"odp_screenshot_title": "تم اكتشاف لقطة شاشة"
},
"body": "تأكد من تحميل صفحة المستند بأكملها، وأن التفاصيل واضحة للقراءة دون أي ضبابية أو وهج",
"body_accommodation_tenancy_certificate": "تأكد من أنك قمت بتحميل صفحة الوثيقة بأكملها، وأن التفاصيل واضحة للقراءة بدون ضبابية أو وهج",
"body_address_certificate": "تأكد من أنك قمت بتحميل صفحة الوثيقة بأكملها، وأن التفاصيل واضحة للقراءة بدون ضبابية أو وهج",
"body_bank_statement": "تأكد من تحميل صفحة المستند بأكملها، وأن التفاصيل واضحة للقراءة دون أي ضبابية أو وهج",
"body_benefits_letter": "تأكد من تحميل صفحة المستند بأكملها، وأن التفاصيل واضحة للقراءة دون أي ضبابية أو وهج",
Expand Down Expand Up @@ -577,6 +578,7 @@
"error": {
"invalid_phone_number": "يرجى تقديم رقم هاتف صالح.",
"limit": "لقد وصلت إلى الحد الأقصى للرسائل القصيرة المرسلة",
"phone_number_blocked": "عذرًا، لا ندعم رمز البلد هذا",
"technical": "حدث خطأ فني، يرجى المحاولة مرة أخرى لاحقا"
},
"input_label": "رقم الهاتف",
Expand Down Expand Up @@ -1178,7 +1180,8 @@
"subtitle": "لتأكيد هويتك وفقًا للقواعد الأوروبية، يجب عليك التوقيع الرقمي على وثيقة.",
"terms_and_conditions": "الشروط والأحكام",
"third_party_description": "<fallback>Namirial SpA<\/fallback> هو مزود عالمي موثوق سيصدر شهادة تؤكد توقيعك الإلكتروني.",
"title": "قم بإنشاء واستخدام توقيعك الرقمي"
"title": "قم بإنشاء واستخدام توقيعك الرقمي",
"validation": "الموافقة مطلوبة"
}
},
"error": {
Expand Down
5 changes: 4 additions & 1 deletion locales/bg/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"odp_screenshot_title": "Засечен екранен снимак"
},
"body": "Уверете се, че сте качили цялата страница на документа и подробностите се четат ясно, без да са размазани или с отблясъци",
"body_accommodation_tenancy_certificate": "Уверете се, че сте качили цялата страница на документа и детайлите са ясни за четене без размазване или отблясъци",
"body_address_certificate": "Уверете се, че сте качили цялата страница на документа и детайлите са ясни за четене без размазване или отблясъци",
"body_bank_statement": "Уверете се, че сте качили цялата страница на документа и подробностите се четат ясно, без да са размазани или с отблясъци",
"body_benefits_letter": "Уверете се, че сте качили цялата страница на документа и подробностите се четат ясно, без да са размазани или с отблясъци",
Expand Down Expand Up @@ -577,6 +578,7 @@
"error": {
"invalid_phone_number": "Моля, предоставете валиден телефонен номер.",
"limit": "Достигнахте лимита на изпратените SMS",
"phone_number_blocked": "Съжаляваме, но не поддържаме този код на държава",
"technical": "Възникна техническа грешка, моля опитайте отново по-късно"
},
"input_label": "Телефонен номер",
Expand Down Expand Up @@ -1178,7 +1180,8 @@
"subtitle": "За да потвърдите самоличността си в съответствие с европейските правила, трябва да подпишете дигитално документ.",
"terms_and_conditions": "Общи условия",
"third_party_description": "<fallback>Namirial SpA<\/fallback> е доверен глобален доставчик, който ще издаде сертификат за валидиране на вашата електронна подпис.",
"title": "Създайте и използвайте вашата дигитална подпис"
"title": "Създайте и използвайте вашата дигитална подпис",
"validation": "Необходимо съгласие"
}
},
"error": {
Expand Down
5 changes: 4 additions & 1 deletion locales/cs/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"odp_screenshot_title": "Detekován snímek obrazovky"
},
"body": "Ujistěte se, že jste nahráli celou stránku dokumentu a detaily jsou dobře čitelné bez rozmazání nebo odlesků.",
"body_accommodation_tenancy_certificate": "Ujistěte se, že jste nahráli celou stránku dokumentu a detaily jsou jasně čitelné bez rozmazání nebo odlesku",
"body_address_certificate": "Ujistěte se, že jste nahráli celou stránku dokumentu a detaily jsou jasně čitelné bez rozmazání nebo odlesku",
"body_bank_statement": "Ujistěte se, že jste nahráli celou stránku dokumentu a detaily jsou dobře čitelné bez rozmazání nebo odlesků.",
"body_benefits_letter": "Ujistěte se, že jste nahráli celou stránku dokumentu a detaily jsou dobře čitelné bez rozmazání nebo odlesků.",
Expand Down Expand Up @@ -577,6 +578,7 @@
"error": {
"invalid_phone_number": "Prosím, zadejte platné telefonní číslo.",
"limit": "Dosáhli jste limitu odeslaných SMS",
"phone_number_blocked": "Omlouváme se, tento kód země nepodporujeme",
"technical": "Došlo k technické chybě, zkuste to prosím později"
},
"input_label": "Telefonní číslo",
Expand Down Expand Up @@ -1178,7 +1180,8 @@
"subtitle": "Pro potvrzení vaší identity v souladu s evropskými pravidly musíte digitálně podepsat dokument.",
"terms_and_conditions": "Podmínky a smluvní ujednání",
"third_party_description": "<fallback>Namirial SpA<\/fallback> je důvěryhodný globální poskytovatel, který vydá certifikát ověřující vaši elektronický podpis.",
"title": "Vytvořte a použijte svůj digitální podpis"
"title": "Vytvořte a použijte svůj digitální podpis",
"validation": "Vyžadován souhlas"
}
},
"error": {
Expand Down
5 changes: 4 additions & 1 deletion locales/da/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"odp_screenshot_title": "Skærmbillede registreret"
},
"body": "Sørg for, at du har uploadet hele siden af dokumentet, og at oplysningerne fremstår tydelige, uden at de er slørede eller har genskin",
"body_accommodation_tenancy_certificate": "Sørg for, at du har uploadet hele dokumentets side, og detaljerne er klare til at læse uden sløring eller blænding",
"body_address_certificate": "Sørg for, at du har uploadet hele dokumentets side, og detaljerne er klare til at læse uden sløring eller blænding",
"body_bank_statement": "Sørg for, at du har uploadet hele siden af dokumentet, og at oplysningerne fremstår tydelige, uden at de er slørede eller har genskin",
"body_benefits_letter": "Sørg for, at du har uploadet hele siden af dokumentet, og at oplysningerne fremstår tydelige, uden at de er slørede eller har genskin",
Expand Down Expand Up @@ -577,6 +578,7 @@
"error": {
"invalid_phone_number": "Angiv venligst et gyldigt telefonnummer.",
"limit": "Du nåede grænsen for sendte SMS'er",
"phone_number_blocked": "Beklager, vi understøtter ikke denne landekode",
"technical": "En teknisk fejl er opstået, prøv venligst igen senere"
},
"input_label": "Telefonnummer",
Expand Down Expand Up @@ -1178,7 +1180,8 @@
"subtitle": "For at bekræfte din identitet i overensstemmelse med europæiske regler, skal du digitalt underskrive et dokument.",
"terms_and_conditions": "Vilkår og betingelser",
"third_party_description": "<fallback>Namirial SpA<\/fallback> er en betroet global udbyder, der vil udstede et certifikat, der validerer din elektroniske underskrift.",
"title": "Opret og brug din digitale signatur"
"title": "Opret og brug din digitale signatur",
"validation": "Samtykke påkrævet"
}
},
"error": {
Expand Down
5 changes: 4 additions & 1 deletion locales/de/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"odp_screenshot_title": "Screenshot erkannt"
},
"body": "Überprüfen Sie, dass Sie die gesamte Dokumentseite hochgeladen haben, und dass man die Details ohne Unschärfen und blendfrei lesen kann",
"body_accommodation_tenancy_certificate": "Stellen Sie sicher, dass Sie die gesamte Dokumentseite hochgeladen haben und die Details klar zu lesen sind, ohne Unschärfe oder Blendung",
"body_address_certificate": "Stellen Sie sicher, dass Sie die gesamte Dokumentseite hochgeladen haben und die Details klar zu lesen sind, ohne Unschärfe oder Blendung",
"body_bank_statement": "Überprüfen Sie, dass Sie die gesamte Dokumentseite hochgeladen haben, und dass man die Details ohne Unschärfen und blendfrei lesen kann",
"body_benefits_letter": "Überprüfen Sie, dass Sie die gesamte Dokumentseite hochgeladen haben, und dass man die Details ohne Unschärfen und blendfrei lesen kann",
Expand Down Expand Up @@ -577,6 +578,7 @@
"error": {
"invalid_phone_number": "Bitte geben Sie eine gültige Telefonnummer an.",
"limit": "Sie haben das Limit für gesendete SMS erreicht",
"phone_number_blocked": "Entschuldigung, wir unterstützen diesen Ländercode nicht",
"technical": "Ein technischer Fehler ist aufgetreten, bitte versuchen Sie es später erneut"
},
"input_label": "Telefonnummer",
Expand Down Expand Up @@ -1178,7 +1180,8 @@
"subtitle": "Um Ihre Identität gemäß den europäischen Regeln zu bestätigen, müssen Sie ein Dokument digital signieren.",
"terms_and_conditions": "Allgemeine Geschäftsbedingungen",
"third_party_description": "<fallback>Namirial SpA<\/fallback> ist ein vertrauenswürdiger globaler Anbieter, der ein Zertifikat zur Validierung Ihrer elektronischen Signatur ausstellt.",
"title": "Erstellen und verwenden Sie Ihre digitale Signatur"
"title": "Erstellen und verwenden Sie Ihre digitale Signatur",
"validation": "Zustimmung erforderlich"
}
},
"error": {
Expand Down
5 changes: 4 additions & 1 deletion locales/el/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"odp_screenshot_title": "Ανιχνεύτηκε στιγμιότυπο οθόνης"
},
"body": "Βεβαιωθείτε ότι έχετε αποστείλει ολόκληρη τη σελίδα του εγγράφου και ότι τα στοιχεία είναι ευανάγνωστα, το έγγραφο δεν είναι θολό και δεν υπάρχει αντανάκλαση",
"body_accommodation_tenancy_certificate": "Βεβαιωθείτε ότι έχετε ανεβάσει ολόκληρη τη σελίδα του εγγράφου, και οι λεπτομέρειες είναι ξεκάθαρες για ανάγνωση χωρίς θάμπωμα ή λάμψη",
"body_address_certificate": "Βεβαιωθείτε ότι έχετε ανεβάσει ολόκληρη τη σελίδα του εγγράφου, και οι λεπτομέρειες είναι ξεκάθαρες για ανάγνωση χωρίς θάμπωμα ή λάμψη",
"body_bank_statement": "Βεβαιωθείτε ότι έχετε αποστείλει ολόκληρη τη σελίδα του εγγράφου και ότι τα στοιχεία είναι ευανάγνωστα, το έγγραφο δεν είναι θολό και δεν υπάρχει αντανάκλαση",
"body_benefits_letter": "Βεβαιωθείτε ότι έχετε αποστείλει ολόκληρη τη σελίδα του εγγράφου και ότι τα στοιχεία είναι ευανάγνωστα, το έγγραφο δεν είναι θολό και δεν υπάρχει αντανάκλαση",
Expand Down Expand Up @@ -577,6 +578,7 @@
"error": {
"invalid_phone_number": "Παρακαλώ παράσχετε έναν έγκυρο αριθμό τηλεφώνου.",
"limit": "Έφτασες το όριο των απεσταλμένων SMS",
"phone_number_blocked": "Λυπούμαστε, δεν υποστηρίζουμε αυτόν τον κωδικό χώρας",
"technical": "Παρουσιάστηκε τεχνικό σφάλμα, παρακαλώ δοκιμάστε ξανά αργότερα"
},
"input_label": "Αριθμός τηλεφώνου",
Expand Down Expand Up @@ -1178,7 +1180,8 @@
"subtitle": "Για να επιβεβαιώσετε την ταυτότητά σας σύμφωνα με τους ευρωπαϊκούς κανόνες, πρέπει να υπογράψετε ψηφιακά ένα έγγραφο.",
"terms_and_conditions": "Όροι και προϋποθέσεις",
"third_party_description": "Η Namirial SpA είναι ένας έμπιστος παγκόσμιος πάροχος που θα εκδώσει ένα πιστοποιητικό που επικυρώνει την ηλεκτρονική σας υπογραφή.",
"title": "Δημιουργήστε και χρησιμοποιήστε την ψηφιακή σας υπογραφή"
"title": "Δημιουργήστε και χρησιμοποιήστε την ψηφιακή σας υπογραφή",
"validation": "Απαιτείται συγκατάθεση"
}
},
"error": {
Expand Down
5 changes: 4 additions & 1 deletion locales/en_GB/en_GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"odp_screenshot_title": "Screenshot detected"
},
"body": "Make sure you have uploaded the entire document page, and details are clear to read with no blur or glare",
"body_accommodation_tenancy_certificate": "Make sure you have uploaded the entire document page, and details are clear to read with no blur or glare",
"body_address_certificate": "Ensure you've uploaded the entire document page, and details are clear to read with no blur or glare",
"body_bank_statement": "Make sure you have uploaded the entire document page, and details are clear to read with no blur or glare",
"body_benefits_letter": "Make sure you have uploaded the entire document page, and details are clear to read with no blur or glare",
Expand Down Expand Up @@ -577,6 +578,7 @@
"error": {
"invalid_phone_number": "Please provide a valid phone number.",
"limit": "You've reached the limit of sent text messages",
"phone_number_blocked": "Sorry, we do not support this country code",
"technical": "A technical error has occurred, please try again later"
},
"input_label": "Phone number",
Expand Down Expand Up @@ -1178,7 +1180,8 @@
"subtitle": "To confirm your identity in accordance with European rules, you must digitally sign a document.",
"terms_and_conditions": "Terms and conditions",
"third_party_description": "<fallback>Namirial SpA<\/fallback> is a trusted global provider who will issue a certificate validating your electronic signature.",
"title": "Create and use your digital signature"
"title": "Create and use your digital signature",
"validation": "Consent required"
}
},
"error": {
Expand Down
Loading

0 comments on commit 5c5bc31

Please sign in to comment.