idmission-web-sdk 2.0.3 → 2.0.5

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.
@@ -140,7 +140,7 @@
140
140
  return cooked;
141
141
  }
142
142
 
143
- var webSdkVersion = '2.0.3';
143
+ var webSdkVersion = '2.0.5';
144
144
 
145
145
  function getPlatform() {
146
146
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -12730,6 +12730,7 @@
12730
12730
  var fileContent = fileReader.result.toString();
12731
12731
  onComplete === null || onComplete === void 0 ? void 0 : onComplete({
12732
12732
  documentName: document.name,
12733
+ processAsPOA: document.processAsPOA ? 'Y' : 'N',
12733
12734
  additionalDocument: {
12734
12735
  name: file.name,
12735
12736
  fileContent: dataUrlToBase64Sync(fileContent),
@@ -13616,7 +13617,7 @@
13616
13617
  var processAudio = React.useCallback(function () {
13617
13618
  var _a;
13618
13619
  var audioBlob = new Blob(audioChunks.current, {
13619
- type: 'audio/ogg; codecs=opus'
13620
+ type: 'audio/mp4'
13620
13621
  });
13621
13622
  audioChunks.current = [];
13622
13623
  setAudioUrl(URL.createObjectURL(audioBlob));