idmission-web-sdk 2.3.38 → 2.3.39

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.
@@ -211,7 +211,7 @@
211
211
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
212
212
  };
213
213
 
214
- var webSdkVersion = '2.3.38';
214
+ var webSdkVersion = '2.3.39';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -24177,9 +24177,10 @@
24177
24177
  setSelfieImage(imageUrl);
24178
24178
  setCaptureState('CAPTURING_SIGNATURE');
24179
24179
  logCaptureMetadata();
24180
- uploadDocument(b64toBlob(dataUrlToBase64Sync(imageUrl), 'image/jpeg')).then(function (documentId) {
24181
- onSelfieCaptured === null || onSelfieCaptured === void 0 ? void 0 : onSelfieCaptured(documentId);
24182
- });
24180
+ uploadDocument(b64toBlob(dataUrlToBase64Sync(imageUrl), 'image/jpeg'), {
24181
+ filename: 'selfie',
24182
+ filetype: 'image/jpeg'
24183
+ }).then(onSelfieCaptured);
24183
24184
  }, [logCaptureMetadata, onSelfieCaptured, setSelfieImage, uploadDocument]);
24184
24185
  var _t = React.useState(null),
24185
24186
  signatureImageUrl = _t[0],