idmission-web-sdk 1.0.209 → 1.0.210

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.
@@ -49,7 +49,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
49
49
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
50
50
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
51
51
 
52
- var webSdkVersion = '1.0.209';
52
+ var webSdkVersion = '1.0.210';
53
53
 
54
54
  function getPlatform() {
55
55
  if (typeof window === 'undefined') return;
@@ -1057,7 +1057,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1057
1057
  _a = _f.sent();
1058
1058
  _f.label = 2;
1059
1059
  case 2:
1060
- _c.signatureVideoUrl = _a;
1060
+ _c.signatureVideo = _a;
1061
1061
  _b = idCaptureVideoUrl;
1062
1062
  if (!_b) return [3 /*break*/, 4];
1063
1063
  return [4 /*yield*/, videoDataUrlToB64(idCaptureVideoUrl)];
@@ -1065,7 +1065,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1065
1065
  _b = _f.sent();
1066
1066
  _f.label = 4;
1067
1067
  case 4:
1068
- documents = (_c.idCaptureVideoUrl = _b, _c.idCaptureVideoIdFrontImage = idCaptureVideoIdFrontImage, _c.idCaptureVideoIdBackImage = idCaptureVideoIdBackImage, _c);
1068
+ documents = (_c.idCaptureVideo = _b, _c.idCaptureVideoIdFrontImage = idCaptureVideoIdFrontImage, _c.idCaptureVideoIdBackImage = idCaptureVideoIdBackImage, _c);
1069
1069
  if (signatureData) {
1070
1070
  documents.signatureImage = signatureData === null || signatureData === void 0 ? void 0 : signatureData.fileContent;
1071
1071
  }
@@ -1166,8 +1166,8 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1166
1166
  submissionRequest.customerData.signatureData = {
1167
1167
  signatureImage: JSON.stringify(signatureData)
1168
1168
  };
1169
- if (documents.signatureVideoUrl) {
1170
- submissionRequest.customerData.signatureData.signatureVideo = documents.signatureVideoUrl;
1169
+ if (documents.signatureVideo) {
1170
+ submissionRequest.customerData.signatureData.signatureVideo = documents.signatureVideo;
1171
1171
  }
1172
1172
  }
1173
1173
  if (additionalDocuments) {
@@ -1179,9 +1179,9 @@ var SubmissionProvider = function SubmissionProvider(_a) {
1179
1179
  });
1180
1180
  });
1181
1181
  }
1182
- if (documents.idCaptureVideoUrl) {
1182
+ if (documents.idCaptureVideo) {
1183
1183
  (_e = submissionRequest.customerData).biometricData || (_e.biometricData = {});
1184
- submissionRequest.customerData.biometricData.videoData = documents.idCaptureVideoUrl;
1184
+ submissionRequest.customerData.biometricData.videoData = documents.idCaptureVideo;
1185
1185
  }
1186
1186
  if (documents.idCaptureVideoIdFrontImage) {
1187
1187
  submissionRequest.customerData.idData.videoIdImageFront = documents.idCaptureVideoIdFrontImage;