Skip to content

Commit

Permalink
V1.1.0/update version and deps (#59)
Browse files Browse the repository at this point in the history
* deps: bump smart-camera-web to 1.0.0-beta.23

* version: bump version to 1.1.0
  • Loading branch information
tamssokari authored Sep 29, 2023
1 parent f03166f commit 1bddda6
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/biometric-kyc.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</noscript>
<!-- End Font Loading -->

<link rel="preload" as='script' href="https://cdn.smileidentity.com/js/v1.0.0-beta.22/smart-camera-web.js" />
<link rel="preload" as='script' href="https://cdn.smileidentity.com/js/v1.0.0-beta.23/smart-camera-web.js" />

<script
src='js/totp-consent-app.min.js'>
Expand All @@ -32,7 +32,7 @@
src='js/consent-screen.min.js'>
</script>
<script
src='https://cdn.smileidentity.com/js/v1.0.0-beta.22/smart-camera-web.js'>
src='https://cdn.smileidentity.com/js/v1.0.0-beta.23/smart-camera-web.js'>
</script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions src/doc-verification.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
<link
rel="preload"
as='script'
href="https://cdn.smileidentity.com/js/v1.0.0-beta.22/smart-camera-web.js" />
href="https://cdn.smileidentity.com/js/v1.0.0-beta.23/smart-camera-web.js" />

<script
src='https://cdn.smileidentity.com/js/v1.0.0-beta.22/smart-camera-web.js'>
src='https://cdn.smileidentity.com/js/v1.0.0-beta.23/smart-camera-web.js'>
</script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions src/enhanced-document-verification.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
<link
rel="preload"
as='script'
href="https://cdn.smileidentity.com/js/v1.0.0-beta.22/smart-camera-web.js" />
href="https://cdn.smileidentity.com/js/v1.0.0-beta.23/smart-camera-web.js" />

<script
src='https://cdn.smileidentity.com/js/v1.0.0-beta.22/smart-camera-web.js'>
src='https://cdn.smileidentity.com/js/v1.0.0-beta.23/smart-camera-web.js'>
</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion src/js/basic-kyc.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ var basicKyc = (function basicKyc() {
callback_url,
token,
source_sdk: config.sdk || "hosted_web",
source_sdk_version: config.sdk_version || "v1.0.0"
source_sdk_version: config.sdk_version || "v1.1.0"
};

const URL = `${endpoints[config.environment]}/v2/verify_async`;
Expand Down
2 changes: 1 addition & 1 deletion src/js/biometric-kyc.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ var biometricKyc = function biometricKyc() {
async function getUploadURL() {
var payload = {
source_sdk: config.sdk || 'hosted_web',
source_sdk_version: config.sdk_version || 'v1.0.0',
source_sdk_version: config.sdk_version || 'v1.1.0',
file_name: `${config.product}.zip`,
smile_client_id: config.partner_details.partner_id,
callback_url: config.callback_url,
Expand Down
2 changes: 1 addition & 1 deletion src/js/doc-verification.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ var documentVerification = function documentVerification() {
async function getUploadURL() {
var payload = {
source_sdk: config.sdk || 'hosted_web',
source_sdk_version: config.sdk_version || 'v1.0.0',
source_sdk_version: config.sdk_version || 'v1.1.0',
file_name: `${config.product}.zip`,
smile_client_id: config.partner_details.partner_id,
callback_url: config.callback_url,
Expand Down
2 changes: 1 addition & 1 deletion src/js/ekyc.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ var eKYC = function eKYC() {
callback_url,
token,
source_sdk: config.sdk || 'hosted_web',
source_sdk_version: config.sdk_version || 'v1.0.0',
source_sdk_version: config.sdk_version || 'v1.1.0',
partner_params: {
...partner_params,
job_type: 5
Expand Down
2 changes: 1 addition & 1 deletion src/js/enhanced-document-verification.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ var enhancedDocumentVerification = function enhancedDocumentVerification() {
async function getUploadURL() {
var payload = {
source_sdk: config.sdk || 'hosted_web',
source_sdk_version: config.sdk_version || 'v1.0.0',
source_sdk_version: config.sdk_version || 'v1.1.0',
file_name: `${config.product}.zip`,
smile_client_id: config.partner_details.partner_id,
callback_url: config.callback_url,
Expand Down
2 changes: 1 addition & 1 deletion src/js/smartselfie-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ var SmartSelfie = (function SmartSelfie() {
async function getUploadURL() {
var payload = {
source_sdk: config.sdk || 'hosted_web',
source_sdk_version: config.sdk_version || 'v1.0.0',
source_sdk_version: config.sdk_version || 'v1.1.0',
file_name: `${config.product}.zip`,
smile_client_id: config.partner_details.partner_id,
callback_url: config.callback_url,
Expand Down
4 changes: 2 additions & 2 deletions src/smartselfie-auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
<link
rel="preload"
as="script"
href="https://cdn.smileidentity.com/js/v1.0.0-beta.22/smart-camera-web.js"
href="https://cdn.smileidentity.com/js/v1.0.0-beta.23/smart-camera-web.js"
/>

<script src="js/consent-screen.min.js"></script>
<script src="https://cdn.smileidentity.com/js/v1.0.0-beta.22/smart-camera-web.js"></script>
<script src="https://cdn.smileidentity.com/js/v1.0.0-beta.23/smart-camera-web.js"></script>
</head>

<body>
Expand Down

0 comments on commit 1bddda6

Please sign in to comment.