Skip to content

Commit

Permalink
Update for release 13.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 24, 2023
1 parent 2707225 commit de92fd6
Show file tree
Hide file tree
Showing 50 changed files with 8,083 additions and 2,776 deletions.
4 changes: 4 additions & 0 deletions BASE_32_VERSION_MAPPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,7 @@
| FS | 13.3.1 | 2023-08-22 | |
| FT | 13.3.2 | 2023-09-18 | |
| FU | 13.4.0 | 2023-09-22 | |
| FV | 13.5.0 | 2023-10-06 | |
| FW | 13.5.1 | 2023-10-12 | |
| FX | 13.6.0 | 2023-10-20 | |
| FY | 13.6.1 | 2023-10-24 | |
41 changes: 40 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,41 @@ This project adheres to the Node [default version scheme](https://docs.npmjs.com

### Changed

## [13.6.1] - 2023-10-24

### Changed

### Fixed

- Fix disabled submit button in country selection in PoA step

## [13.6.0] - 2023-10-24

### Changed

- Document capture: Add integrator events 'DOCUMENT_CAPTURE_FRONT' and 'DOCUMENT_CAPTURE_BACK' for the Javascript camera.
- Document country selection: Automatically close the keyboard after country is selected
- Add support a selection of Google fonts

## [13.5.1] - 2023-10-12

### Fixed

- Fixed duplicated back button on Motion loading screen

## [13.5.0] - 2023-10-06

### Changed

- Add new `showIntro` configuration for the Standard and Video capture steps
- New permission screen instructions were added to guide users on various devices/browsers to recover from denied access to the camera.

### Fixed

- A click on the search icon in the Country Selector will focus the input field
- JS Document capture is now fixed for Firefox on Android
- Show spinner while we're waiting for the next studio task to be ready

## [13.4.0] - 2023-09-27

### Changed
Expand Down Expand Up @@ -1617,7 +1652,11 @@ Install with `npm install [email protected]`

- NPM (commonjs2) style of importing the library now works

[next-version]: https://github.com/onfido/onfido-sdk-ui/compare/13.4.0...development
[next-version]: https://github.com/onfido/onfido-sdk-ui/compare/13.6.1...development
[13.6.1]: https://github.com/onfido/onfido-sdk-ui/compare/13.6.0...13.6.1
[13.6.0]: https://github.com/onfido/onfido-sdk-ui/compare/13.5.1...13.6.0
[13.5.1]: https://github.com/onfido/onfido-sdk-ui/compare/13.5.0...13.5.1
[13.5.0]: https://github.com/onfido/onfido-sdk-ui/compare/13.4.0...13.5.0
[13.4.0]: https://github.com/onfido/onfido-sdk-ui/compare/13.3.2...13.4.0
[13.3.2]: https://github.com/onfido/onfido-sdk-ui/compare/13.3.1...13.3.2
[13.3.1]: https://github.com/onfido/onfido-sdk-ui/compare/13.3.0...13.3.1
Expand Down
2 changes: 1 addition & 1 deletion ENTERPRISE_FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,4 +486,4 @@ index.html

## Crossdevice SDK options

- `customUI` - Apply UI customisation to the crossDevice instance. If supplied, the crossdevice customUI will take president over the one specified in the main SDK instance.
- `customUI` - Apply UI customisation to the crossDevice instance. If supplied, the crossdevice customUI will take president over the one specified in the main SDK instance.
2 changes: 1 addition & 1 deletion ONFIDO_STUDIO.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ The CSS style will be included inline with the JS code when the library is impor

You can see an [example app using npm style import](https://github.com/onfido/onfido-sdk-web-sample-app/).

#### Split bundle
#### 2.4 Split bundle

To decrease the size of your production bundle, you can use the split version of the library:

Expand Down
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ The CSS style will be included inline with the JS code when the library is impor

You can see an [example app using npm style import](https://github.com/onfido/onfido-sdk-web-sample-app/).

#### Split bundle
#### 4.4 Split bundle

To decrease the size of your production bundle, you can use the split version of the library:

Expand Down Expand Up @@ -759,6 +759,13 @@ The custom options are:
When enabled, it allows end-users to capture a selfie if their browser does not support MediaRecorder.
When disabled, we will return an unsupported browser error if the end-user browser doesn’t support MediaRecorder.

- `showIntro` (boolean - default: `true`)

This feature applies to [Video](https://developers.onfido.com/guide/facial-similarity-reports#video) and [Standard](https://developers.onfido.com/guide/facial-similarity-reports#standard) variants.

When disabled for the Standard variant, it will remove the entire intro screen from the flow.
When disabled for the Video variant, it will hide the example video displayed in the intro screen, only showing the text instructions.

- `motionFallbackVariant` (string - default: `undefined`)

This feature only applies to the [Motion](https://developers.onfido.com/guide/facial-similarity-reports#motion) variant and it allows to specify which face capture variant users will fallback to if Motion is not available on the end-user device due to MediaRecorder not being supported or to limited device capabilities.
Expand Down Expand Up @@ -1005,7 +1012,8 @@ In order to mitigate potential cross-site scripting issues, most modern browsers
content="
default-src 'self' https://assets.onfido.com;
script-src 'self' 'unsafe-eval' https://assets.onfido.com https://sentry.io https://*.sardine.ai/;
style-src 'self' https://assets.onfido.com;
style-src 'self' 'unsafe-inline' https://assets.onfido.com https://sdk.onfido.com;
font-src 'self' https://sdk.onfido.com;
connect-src 'self' data: blob: *.onfido.com wss://*.onfido.com https://sentry.io;
img-src 'self' data: blob: https://assets.onfido.com/;
media-src blob: https://assets.onfido.com;
Expand Down Expand Up @@ -1043,9 +1051,9 @@ Onfido Web SDK versions <13.0.0 have a parameter named `uploadFallback` that can
### Support
Please open an issue through [GitHub](https://github.com/onfido/onfido-sdk-ui/issues). Please be as detailed as you can. Remember **not** to submit your token in the issue. Also check the closed issues to check whether it has been previously raised and answered.
Should you encounter any technical issues during integration, please contact Onfido's Customer Support team via [email](mailto:support@onfido.com), including the word ISSUE: at the start of the subject line.

If you have any issues that contain sensitive information please send us an email with the ISSUE: at the start of the subject to [web-sdk@onfido.com](mailto:web-sdk@onfido.com).
Alternatively, you can search the support documentation available via the customer experience portal, [public.support.onfido.com](http://public.support.onfido.com).

Previous versions of the SDK will be supported for a month after a new major version release. Note that when the support period has expired for an SDK version, no bug fixes will be provided, but the SDK will keep functioning (until further notice).

Expand Down
32 changes: 26 additions & 6 deletions UI_CUSTOMIZATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ The Web SDK supports customization options across the SDK screen including text,
| `colorBackgroundLinkHover` | Change Link background color on hover |
| `colorBackgroundLinkActive` | Change Link background color on click/tap |

| Warning Popups | Description |
| --------------------------------- | ---------------------------------------------------------- |
| `colorContentAlertInfo` | Change warning popup text color |
| `colorBackgroundAlertInfo` | Change warning popup background color |
| `colorContentAlertInfoLinkHover` | Change warning popup fallback Link background on hover |
| `colorContentAlertInfoLinkActive` | Change warning popup fallback Link background on click/tap |
| Warning Popups | Description |
| ------------------------------------ | ---------------------------------------------------------- |
| `colorContentAlertInfo` | Change warning popup text color |
| `colorBackgroundAlertInfo` | Change warning popup background color |
| `colorBackgroundAlertInfoLinkHover` | Change warning popup fallback Link background on hover |
| `colorBackgroundAlertInfoLinkActive` | Change warning popup fallback Link background on click/tap |

| Error Popups | Description |
| ---------------------------------- | -------------------------------------------------------- |
Expand All @@ -169,3 +169,23 @@ The Web SDK supports customization options across the SDK screen including text,
| Cross-device | Description |
| ----------------------- | ----------------------------------------------------------------- |
| `colorBackgroundQRCode` | Change background color of the QR code on the Cross device screen |

#### Google Font

| Option | Description |
| ------------- | -------------------------------- |
| `googleFonts` | Load Google Font(s) into the SDK |

The following fonts are available:

- [Overpass](https://fonts.google.com/specimen/Overpass)
- To request support for additional fonts, please reach out to your Customer Support Manager or email [Onfido Support](mailto:support@onfido)\*

```javascript
customUI: {
"googleFonts": ["Overpass"],
"fontFamilyTitle": "'Overpass', sans-serif",
}
```

⚠️ **The fonts are hosted by Onfido and won't be loaded from Google's servers.**
Loading

0 comments on commit de92fd6

Please sign in to comment.