idmission-web-sdk 2.3.53 → 2.3.55
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/components/customer_flows/CustomerBiometricsEnrollment.d.ts +3 -0
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +3 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts +3 -0
- package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerVerification.d.ts +3 -0
- package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
- package/dist/components/customer_flows/DocumentCapture.d.ts +3 -0
- package/dist/components/customer_flows/DocumentCapture.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts +3 -0
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +3 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts +3 -0
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts +3 -0
- package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +3 -0
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/components/id_capture/DocumentDetectionModelProvider.d.ts +2 -2
- package/dist/components/id_capture/DocumentDetectionModelProvider.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureStateProvider.d.ts +2 -11
- package/dist/components/id_capture/IdCaptureStateProvider.d.ts.map +1 -1
- package/dist/components/video_signature_capture/VideoSignatureContext.d.ts +2 -11
- package/dist/components/video_signature_capture/VideoSignatureContext.d.ts.map +1 -1
- package/dist/contexts/AuthStateContext.d.ts +2 -1
- package/dist/contexts/AuthStateContext.d.ts.map +1 -1
- package/dist/lib/camera/useVideoRecorder.d.ts +2 -11
- package/dist/lib/camera/useVideoRecorder.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +44 -15
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +44 -15
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +287 -81
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -19,18 +19,9 @@ type Actions = {
|
|
|
19
19
|
clearRecordedData: () => void;
|
|
20
20
|
};
|
|
21
21
|
export declare const useVideoRecorderStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<VideoRecorderState & Actions>, "setState"> & {
|
|
22
|
-
setState
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
[x: number]: unknown;
|
|
25
|
-
[x: symbol]: unknown;
|
|
22
|
+
setState<A extends string | {
|
|
26
23
|
type: string;
|
|
27
|
-
}) | undefined): void;
|
|
28
|
-
setState(state: (VideoRecorderState & Actions) | ((state: VideoRecorderState & Actions) => VideoRecorderState & Actions), replace: true, action?: (string | {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
[x: number]: unknown;
|
|
31
|
-
[x: symbol]: unknown;
|
|
32
|
-
type: string;
|
|
33
|
-
}) | undefined): void;
|
|
24
|
+
}>(partial: (VideoRecorderState & Actions) | Partial<VideoRecorderState & Actions> | ((state: VideoRecorderState & Actions) => (VideoRecorderState & Actions) | Partial<VideoRecorderState & Actions>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
34
25
|
}>;
|
|
35
26
|
export declare const useVideoRecorder: (mergeAVStreams?: boolean) => {
|
|
36
27
|
isRecordingVideo: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVideoRecorder.d.ts","sourceRoot":"","sources":["../../../src/lib/camera/useVideoRecorder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AA2BjC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,gBAAgB,EAAE,OAAO,CAAA;IACzB,gBAAgB,EAAE,OAAO,CAAA;IACzB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,qBAAqB,EAAE,OAAO,CAAA;IAC9B,kCAAkC,EAAE,OAAO,CAAA;IAC3C,kCAAkC,EAAE,OAAO,CAAA;IAC3C,cAAc,EAAE,OAAO,CAAA;CACxB,CAAA;AAcD,KAAK,OAAO,GAAG;IACb,mBAAmB,EAAE,CACnB,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,KAC7B,IAAI,CAAA;IACT,mBAAmB,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAC/D,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,iBAAiB,EAAE,MAAM,IAAI,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"useVideoRecorder.d.ts","sourceRoot":"","sources":["../../../src/lib/camera/useVideoRecorder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AA2BjC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,gBAAgB,EAAE,OAAO,CAAA;IACzB,gBAAgB,EAAE,OAAO,CAAA;IACzB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,qBAAqB,EAAE,OAAO,CAAA;IAC9B,kCAAkC,EAAE,OAAO,CAAA;IAC3C,kCAAkC,EAAE,OAAO,CAAA;IAC3C,cAAc,EAAE,OAAO,CAAA;CACxB,CAAA;AAcD,KAAK,OAAO,GAAG;IACb,mBAAmB,EAAE,CACnB,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,KAC7B,IAAI,CAAA;IACT,mBAAmB,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAC/D,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,iBAAiB,EAAE,MAAM,IAAI,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;EAqGjC,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;;;CA4E5B,CAAA"}
|
|
@@ -235,7 +235,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
235
235
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
236
236
|
};
|
|
237
237
|
|
|
238
|
-
var webSdkVersion = '2.3.
|
|
238
|
+
var webSdkVersion = '2.3.55';
|
|
239
239
|
|
|
240
240
|
function getPlatform() {
|
|
241
241
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1063,10 +1063,19 @@ function AuthProvider(_a) {
|
|
|
1063
1063
|
var _c = _a.authUrl,
|
|
1064
1064
|
authUrl = _c === void 0 ? exports.defaultAuthUrl : _c,
|
|
1065
1065
|
sessionId = _a.sessionId,
|
|
1066
|
-
children = _a.children
|
|
1066
|
+
children = _a.children,
|
|
1067
|
+
onAuthError = _a.onAuthError;
|
|
1067
1068
|
var _d = useAuthReducer(authUrl, sessionId),
|
|
1068
1069
|
state = _d[0],
|
|
1069
1070
|
dispatch = _d[1];
|
|
1071
|
+
var onAuthErrorRef = React.useRef(onAuthError);
|
|
1072
|
+
React.useEffect(function () {
|
|
1073
|
+
onAuthErrorRef.current = onAuthError;
|
|
1074
|
+
}, [onAuthError]);
|
|
1075
|
+
React.useEffect(function () {
|
|
1076
|
+
var _a;
|
|
1077
|
+
if (state.authError) (_a = onAuthErrorRef.current) === null || _a === void 0 ? void 0 : _a.call(onAuthErrorRef, state.authError);
|
|
1078
|
+
}, [state.authError, onAuthErrorRef]);
|
|
1070
1079
|
if (state.sessionCheckState === 'MISSING') {
|
|
1071
1080
|
return /*#__PURE__*/React__namespace.default.createElement(SessionIdMissingOverlay, null);
|
|
1072
1081
|
}
|
|
@@ -5323,8 +5332,8 @@ function DocumentDetectionModelProvider(_a) {
|
|
|
5323
5332
|
documentDetectionModelPath = _e === void 0 ? defaultDocumentDetectorModelPath : _e,
|
|
5324
5333
|
_f = _a.documentDetectionModelScoreThreshold,
|
|
5325
5334
|
documentDetectionModelScoreThreshold = _f === void 0 ? defaultDocumentDetectionScoreThreshold : _f,
|
|
5326
|
-
_g = _a.
|
|
5327
|
-
|
|
5335
|
+
_g = _a.modelLoadTimeoutMs,
|
|
5336
|
+
modelLoadTimeoutMs = _g === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _g,
|
|
5328
5337
|
onDocumentDetectionModelError = _a.onDocumentDetectionModelError,
|
|
5329
5338
|
_h = _a.shouldLoadModels,
|
|
5330
5339
|
shouldLoadModelsProp = _h === void 0 ? true : _h;
|
|
@@ -5355,7 +5364,7 @@ function DocumentDetectionModelProvider(_a) {
|
|
|
5355
5364
|
}, []);
|
|
5356
5365
|
var _q = useLoadDocumentDetector({
|
|
5357
5366
|
modelPath: documentDetectionModelPath,
|
|
5358
|
-
modelLoadTimeoutMs:
|
|
5367
|
+
modelLoadTimeoutMs: modelLoadTimeoutMs,
|
|
5359
5368
|
scoreThreshold: documentDetectionModelScoreThreshold,
|
|
5360
5369
|
onModelError: onDocumentDetectionModelError,
|
|
5361
5370
|
videoRef: videoRef,
|
|
@@ -16241,6 +16250,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
16241
16250
|
onLoadingStarted = _a.onLoadingStarted,
|
|
16242
16251
|
onLoadingProgress = _a.onLoadingProgress,
|
|
16243
16252
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
16253
|
+
onAuthError = _a.onAuthError,
|
|
16244
16254
|
onBeforeSubmit = _a.onBeforeSubmit,
|
|
16245
16255
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16246
16256
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
@@ -16349,7 +16359,8 @@ var IdValidation = function IdValidation(_a) {
|
|
|
16349
16359
|
}, [onApproved, onComplete, onDenied]);
|
|
16350
16360
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
16351
16361
|
sessionId: sessionId,
|
|
16352
|
-
authUrl: authUrl
|
|
16362
|
+
authUrl: authUrl,
|
|
16363
|
+
onAuthError: onAuthError
|
|
16353
16364
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
16354
16365
|
theme: theme
|
|
16355
16366
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -16446,6 +16457,7 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
16446
16457
|
onLoadingStarted = _a.onLoadingStarted,
|
|
16447
16458
|
onLoadingProgress = _a.onLoadingProgress,
|
|
16448
16459
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
16460
|
+
onAuthError = _a.onAuthError,
|
|
16449
16461
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16450
16462
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16451
16463
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -16501,7 +16513,8 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
16501
16513
|
}, [assets, classNames, colors, debugMode, initialCaptureDelayMs, loadingOverlayMode, modelLoadTimeoutMs, onApproved, onComplete, onDenied, onExitAfterFailure, onExitCapture, onLoadingCompleted, onLoadingProgress, onLoadingStarted, onModelError, onUserCancel, skipSuccessScreen, timeoutDurationMs, verbiage]);
|
|
16502
16514
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
16503
16515
|
sessionId: sessionId,
|
|
16504
|
-
authUrl: authUrl
|
|
16516
|
+
authUrl: authUrl,
|
|
16517
|
+
onAuthError: onAuthError
|
|
16505
16518
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
16506
16519
|
theme: theme
|
|
16507
16520
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -16624,6 +16637,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
16624
16637
|
onLoadingStarted = _a.onLoadingStarted,
|
|
16625
16638
|
onLoadingProgress = _a.onLoadingProgress,
|
|
16626
16639
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
16640
|
+
onAuthError = _a.onAuthError,
|
|
16627
16641
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16628
16642
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
16629
16643
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
@@ -16759,7 +16773,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
16759
16773
|
}, [precapturedDocuments === null || precapturedDocuments === void 0 ? void 0 : precapturedDocuments.selfie]);
|
|
16760
16774
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
16761
16775
|
sessionId: sessionId,
|
|
16762
|
-
authUrl: authUrl
|
|
16776
|
+
authUrl: authUrl,
|
|
16777
|
+
onAuthError: onAuthError
|
|
16763
16778
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
16764
16779
|
theme: theme
|
|
16765
16780
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -16900,6 +16915,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
16900
16915
|
onLoadingStarted = _a.onLoadingStarted,
|
|
16901
16916
|
onLoadingProgress = _a.onLoadingProgress,
|
|
16902
16917
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
16918
|
+
onAuthError = _a.onAuthError,
|
|
16903
16919
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
16904
16920
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
16905
16921
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -17052,7 +17068,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
17052
17068
|
}, [captureVideoId]);
|
|
17053
17069
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
17054
17070
|
sessionId: sessionId,
|
|
17055
|
-
authUrl: authUrl
|
|
17071
|
+
authUrl: authUrl,
|
|
17072
|
+
onAuthError: onAuthError
|
|
17056
17073
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
17057
17074
|
theme: theme
|
|
17058
17075
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -17611,6 +17628,7 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
17611
17628
|
onLoadingStarted = _a.onLoadingStarted,
|
|
17612
17629
|
onLoadingProgress = _a.onLoadingProgress,
|
|
17613
17630
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
17631
|
+
onAuthError = _a.onAuthError,
|
|
17614
17632
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
17615
17633
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
17616
17634
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -17637,7 +17655,8 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
17637
17655
|
useDebugLogging(debugMode);
|
|
17638
17656
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
17639
17657
|
sessionId: sessionId,
|
|
17640
|
-
authUrl: authUrl
|
|
17658
|
+
authUrl: authUrl,
|
|
17659
|
+
onAuthError: onAuthError
|
|
17641
17660
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
17642
17661
|
theme: theme
|
|
17643
17662
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -18186,6 +18205,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
18186
18205
|
onLoadingStarted = _a.onLoadingStarted,
|
|
18187
18206
|
onLoadingProgress = _a.onLoadingProgress,
|
|
18188
18207
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
18208
|
+
onAuthError = _a.onAuthError,
|
|
18189
18209
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
18190
18210
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
18191
18211
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -18218,7 +18238,8 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
18218
18238
|
useDebugLogging(debugMode);
|
|
18219
18239
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
18220
18240
|
sessionId: sessionId,
|
|
18221
|
-
authUrl: authUrl
|
|
18241
|
+
authUrl: authUrl,
|
|
18242
|
+
onAuthError: onAuthError
|
|
18222
18243
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
18223
18244
|
theme: theme
|
|
18224
18245
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -18296,6 +18317,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
18296
18317
|
onLoadingStarted = _a.onLoadingStarted,
|
|
18297
18318
|
onLoadingProgress = _a.onLoadingProgress,
|
|
18298
18319
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
18320
|
+
onAuthError = _a.onAuthError,
|
|
18299
18321
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
18300
18322
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
18301
18323
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -18347,7 +18369,8 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
18347
18369
|
useDebugLogging(debugMode);
|
|
18348
18370
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
18349
18371
|
sessionId: sessionId,
|
|
18350
|
-
authUrl: authUrl
|
|
18372
|
+
authUrl: authUrl,
|
|
18373
|
+
onAuthError: onAuthError
|
|
18351
18374
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
18352
18375
|
theme: theme
|
|
18353
18376
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -18447,6 +18470,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
18447
18470
|
onLoadingStarted = _a.onLoadingStarted,
|
|
18448
18471
|
onLoadingProgress = _a.onLoadingProgress,
|
|
18449
18472
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
18473
|
+
onAuthError = _a.onAuthError,
|
|
18450
18474
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
18451
18475
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
18452
18476
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -18593,7 +18617,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
18593
18617
|
}, [classNames.videoSignatureCapture, colors.videoSignatureCapture, debugMode, onExitCapture, onUserCancel, skipSuccessScreen, verbiage.videoSignatureCapture]);
|
|
18594
18618
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
18595
18619
|
sessionId: sessionId,
|
|
18596
|
-
authUrl: authUrl
|
|
18620
|
+
authUrl: authUrl,
|
|
18621
|
+
onAuthError: onAuthError
|
|
18597
18622
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
18598
18623
|
theme: theme
|
|
18599
18624
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -18692,6 +18717,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
18692
18717
|
onLoadingStarted = _a.onLoadingStarted,
|
|
18693
18718
|
onLoadingProgress = _a.onLoadingProgress,
|
|
18694
18719
|
onLoadingCompleted = _a.onLoadingCompleted,
|
|
18720
|
+
onAuthError = _a.onAuthError,
|
|
18695
18721
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
18696
18722
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
18697
18723
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -18787,7 +18813,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
18787
18813
|
}, [onEnrolled, onComplete, onDenied]);
|
|
18788
18814
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
18789
18815
|
sessionId: sessionId,
|
|
18790
|
-
authUrl: authUrl
|
|
18816
|
+
authUrl: authUrl,
|
|
18817
|
+
onAuthError: onAuthError
|
|
18791
18818
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
18792
18819
|
theme: theme
|
|
18793
18820
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|
|
@@ -18853,6 +18880,7 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
18853
18880
|
documentServiceUrl = _a.documentServiceUrl,
|
|
18854
18881
|
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
18855
18882
|
useDocumentServiceForLivenessChecks = _a.useDocumentServiceForLivenessChecks,
|
|
18883
|
+
onAuthError = _a.onAuthError,
|
|
18856
18884
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
18857
18885
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
18858
18886
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -18884,7 +18912,8 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
18884
18912
|
useDebugLogging(debugMode);
|
|
18885
18913
|
return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
|
|
18886
18914
|
sessionId: sessionId,
|
|
18887
|
-
authUrl: authUrl
|
|
18915
|
+
authUrl: authUrl,
|
|
18916
|
+
onAuthError: onAuthError
|
|
18888
18917
|
}, /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
|
|
18889
18918
|
theme: theme
|
|
18890
18919
|
}, /*#__PURE__*/React__namespace.default.createElement(SubmissionProvider, {
|