Skip to content

Commit

Permalink
[coj]/likhith/COJ-772/chore: locked Onfido SDK version (#15102)
Browse files Browse the repository at this point in the history
* chore: downgrade onfido version to 13.4.0

* feat: locked Onfido version to 13.8.4
  • Loading branch information
likhith-deriv committed May 13, 2024
1 parent 1b94bff commit 3d0ee39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@ const OnfidoSdkViewContainer = observer(
const script_node = document.createElement('script');
const link_node = document.createElement('link');

// [TODO] - Need to lock version of onfido sdk - Current version in CDN is 13.8.4
script_node.id = 'onfido_sdk';
script_node.src = 'https://assets.onfido.com/web-sdk-releases/latest/onfido.min.js';
link_node.href = 'https://assets.onfido.com/web-sdk-releases/latest/style.css';
script_node.src = 'https://assets.onfido.com/web-sdk-releases/13.8.4/onfido.min.js';
link_node.href = 'https://assets.onfido.com/web-sdk-releases/13.8.4/style.css';
link_node.rel = 'stylesheet';
link_node.id = 'onfido_style';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
min-width: 32.8rem;
min-height: 50rem;
margin: auto;
@include mobile {
height: 100%;
}
}

.account-form__poi-confirm-example_container {
Expand All @@ -25,6 +28,7 @@

@include mobile {
padding: 1.6rem;
height: 100%;

& .onfido-sdk-ui-PageTitle {
&-titleWrapper {
Expand Down

0 comments on commit 3d0ee39

Please sign in to comment.