@unissey-web/web-components 5.4.2-experimental.2 → 6.0.0-alpha.0

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.
@@ -3,7 +3,7 @@ import { selfieCaptureStrings } from './selfie-capture.js';
3
3
  import { referenceCaptureStrings } from './reference-capture.js';
4
4
  import './button.js';
5
5
  import './en-57f1198e.js';
6
- import './video-recorder-4a3e6ab0.js';
6
+ import './video-recorder-f89d5b58.js';
7
7
  import './_commonjsHelpers-02146103.js';
8
8
  import './variables-0db5ef1b.js';
9
9
  import './video-record-directions.js';
package/dist/index.d.ts CHANGED
@@ -1158,17 +1158,7 @@ declare enum AcquisitionPreset {
1158
1158
  DOC_VIDEO = "doc-video",
1159
1159
  DOC_IMAGE = "doc-image"
1160
1160
  }
1161
- declare enum IadMode {
1162
- DISABLED = "disabled",
1163
- INTEGRITY = "integrity",
1164
- BASIC = "basic",
1165
- PASSIVE = "passive",
1166
- SUBSTANTIAL = "substantial",
1167
- MEDIA_INTEGRITY = "integrity",
1168
- PASSIVE_LT = "basic"
1169
- }
1170
1161
  type IadConfig = {
1171
- mode: IadMode;
1172
1162
  data?: string;
1173
1163
  activeChallengeConfig?: ActiveChallengeConfig;
1174
1164
  };
@@ -1270,4 +1260,4 @@ interface SessionConfig {
1270
1260
  };
1271
1261
  }
1272
1262
 
1273
- export { AcquisitionPreset, ActiveChallengeConfig, Animation, Button, CameraConfig, CameraVideoOutlinedIcon, ColorRGBA, CustomAction, DirectionCard, EN, FR, FaceChecker, FacingMode, FileUpload, FullCapture, IadConfig, IadMode, ImageCaptureDirections, LogLevel, OverlayColors, OverlayConfig, OverlayDisplayMode, OverlayHints, PictureEditor, PictureRecorder, Recorder, RecorderExt, RecorderOptions$1 as RecorderOptions, RecordingConfig, ReferenceCapture, RetryResult, SelfieCapture, SessionConfig, VideoLength, VideoOrientation, VideoRecordDirections, VideoResolutionPreset };
1263
+ export { AcquisitionPreset, ActiveChallengeConfig, Animation, Button, CameraConfig, CameraVideoOutlinedIcon, ColorRGBA, CustomAction, DirectionCard, EN, FR, FaceChecker, FacingMode, FileUpload, FullCapture, IadConfig, ImageCaptureDirections, LogLevel, OverlayColors, OverlayConfig, OverlayDisplayMode, OverlayHints, PictureEditor, PictureRecorder, Recorder, RecorderExt, RecorderOptions$1 as RecorderOptions, RecordingConfig, ReferenceCapture, RetryResult, SelfieCapture, SessionConfig, VideoLength, VideoOrientation, VideoRecordDirections, VideoResolutionPreset };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { Button } from './button.js';
2
- import { R as Recorder } from './video-recorder-4a3e6ab0.js';
3
- export { A as Animation, C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-4a3e6ab0.js';
2
+ import { R as Recorder } from './video-recorder-f89d5b58.js';
3
+ export { A as Animation, C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-f89d5b58.js';
4
4
  export { VideoRecordDirections } from './video-record-directions.js';
5
5
  export { PictureRecorder } from './picture-recorder.js';
6
6
  export { PictureEditor } from './picture-editor.js';
@@ -153,23 +153,6 @@ var AcquisitionPreset = /*#__PURE__*/function (AcquisitionPreset) {
153
153
  AcquisitionPreset["DOC_IMAGE"] = "doc-image";
154
154
  return AcquisitionPreset;
155
155
  }({});
156
- var IadMode = /*#__PURE__*/function (IadMode) {
157
- IadMode["DISABLED"] = "disabled";
158
- // No IAD (equivalent to keep 'iadConfig' undefined)
159
- IadMode["INTEGRITY"] = "integrity";
160
- // No IAD measures as such, but compute a hash to ensure that the media is not corrupted after capture
161
- IadMode["BASIC"] = "basic";
162
- // IadMode.MEDIA_INTEGRITY + Basic IAD check (Virtual Camera and Emulators detection). No Randomness.
163
- IadMode["PASSIVE"] = "passive";
164
- // IadMode.BASIC + passive randomness when applicable = All passive countermeasures: Substantial passive (with randomness) countermeasures when applicable, otherwise Baseline (passive) countermeasures
165
- IadMode["SUBSTANTIAL"] = "substantial";
166
- // IadMode.PASSIVE + Active Challenge when passive randomness is not applicable
167
- /** @deprecated Use 'INTEGRITY' instead */
168
- IadMode["MEDIA_INTEGRITY"] = "integrity";
169
- /** @deprecated Use 'BASIC' instead - but it requires preparation 'data'*/
170
- IadMode["PASSIVE_LT"] = "basic";
171
- return IadMode;
172
- }({});
173
156
 
174
157
  // This is actually a public subset of the actual type defined in sdk.js
175
158
 
@@ -211,4 +194,4 @@ var FacingMode = /*#__PURE__*/function (FacingMode) {
211
194
  return FacingMode;
212
195
  }({});
213
196
 
214
- export { AcquisitionPreset, FR, FacingMode, IadMode, LogLevel, OverlayDisplayMode, Recorder, RecorderExt, VideoOrientation, VideoResolutionPreset };
197
+ export { AcquisitionPreset, FR, FacingMode, LogLevel, OverlayDisplayMode, Recorder, RecorderExt, VideoOrientation, VideoResolutionPreset };
@@ -1,5 +1,5 @@
1
1
  import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2 } from './lit-element-c42ac26e.js';
2
- import { R as Recorder, b as buildPacked } from './video-recorder-4a3e6ab0.js';
2
+ import { R as Recorder, b as buildPacked } from './video-recorder-f89d5b58.js';
3
3
  import { E as EN } from './en-57f1198e.js';
4
4
  import './_commonjsHelpers-02146103.js';
5
5
  import './variables-0db5ef1b.js';
@@ -3,7 +3,7 @@ import './button.js';
3
3
  import './image-capture-directions.js';
4
4
  import './file-upload.js';
5
5
  import './picture-recorder.js';
6
- import { b as buildPacked } from './video-recorder-4a3e6ab0.js';
6
+ import { b as buildPacked } from './video-recorder-f89d5b58.js';
7
7
  import { E as EN } from './en-57f1198e.js';
8
8
  import { a as referenceCaptureVars } from './variables-0db5ef1b.js';
9
9
  import './direction-card-fd8d8d8b.js';
@@ -1,6 +1,6 @@
1
1
  import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-c42ac26e.js';
2
2
  import { E as EN } from './en-57f1198e.js';
3
- import { b as buildPacked } from './video-recorder-4a3e6ab0.js';
3
+ import { b as buildPacked } from './video-recorder-f89d5b58.js';
4
4
  import './video-record-directions.js';
5
5
  import './button.js';
6
6
  import { s as selfieCaptureVars } from './variables-0db5ef1b.js';