idmission-web-sdk 2.0.3 → 2.0.4

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.
package/dist/sdk2.esm.js CHANGED
@@ -14,7 +14,7 @@ import LanguageDetector from 'i18next-browser-languagedetector';
14
14
  import i18n from 'i18next';
15
15
  import SignatureCanvas from 'react-signature-canvas';
16
16
 
17
- var webSdkVersion = '2.0.3';
17
+ var webSdkVersion = '2.0.4';
18
18
 
19
19
  function getPlatform() {
20
20
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -9457,6 +9457,7 @@ var AdditionalDocumentCapture = function AdditionalDocumentCapture(_a) {
9457
9457
  var fileContent = fileReader.result.toString();
9458
9458
  onComplete === null || onComplete === void 0 ? void 0 : onComplete({
9459
9459
  documentName: document.name,
9460
+ processAsPOA: document.processAsPOA ? 'Y' : 'N',
9460
9461
  additionalDocument: {
9461
9462
  name: file.name,
9462
9463
  fileContent: dataUrlToBase64Sync(fileContent),
@@ -9723,7 +9724,7 @@ var useVideoRecorder = function useVideoRecorder(camera, audioStream, mergeAVStr
9723
9724
  var processAudio = useCallback(function () {
9724
9725
  var _a;
9725
9726
  var audioBlob = new Blob(audioChunks.current, {
9726
- type: 'audio/ogg; codecs=opus'
9727
+ type: 'audio/mp4'
9727
9728
  });
9728
9729
  audioChunks.current = [];
9729
9730
  setAudioUrl(URL.createObjectURL(audioBlob));