idmission-web-sdk 2.3.21 → 2.3.22
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/index.d.ts +10 -31
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +5489 -87
- 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 +5490 -77
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +5524 -120
- 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 +5 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,41 +1,20 @@
|
|
|
1
|
-
import { IdValidation
|
|
2
|
-
import { FaceValidation
|
|
3
|
-
import { IdAndFaceValidation
|
|
4
|
-
import {
|
|
5
|
-
import { CustomerVerification
|
|
6
|
-
import { CustomerIdentification
|
|
7
|
-
import { SignatureKYC
|
|
8
|
-
import { VideoIdValidation
|
|
1
|
+
import { IdValidation } from './components/customer_flows/IdValidation';
|
|
2
|
+
import { FaceValidation } from './components/customer_flows/FaceValidation';
|
|
3
|
+
import { IdAndFaceValidation } from './components/customer_flows/IdAndFaceValidation';
|
|
4
|
+
import { CustomerIdAndBiometricsEnrollment } from './components/customer_flows/CustomerIdAndBiometricsEnrollment';
|
|
5
|
+
import { CustomerVerification } from './components/customer_flows/CustomerVerification';
|
|
6
|
+
import { CustomerIdentification } from './components/customer_flows/CustomerIdentification';
|
|
7
|
+
import { SignatureKYC } from './components/customer_flows/SignatureKYC';
|
|
8
|
+
import { VideoIdValidation } from './components/customer_flows/VideoIdValidation';
|
|
9
9
|
import { preloadModels } from './lib/models/preloadModels';
|
|
10
|
-
import { CustomerBiometricsEnrollment
|
|
10
|
+
import { CustomerBiometricsEnrollment } from './components/customer_flows/CustomerBiometricsEnrollment';
|
|
11
11
|
import { Theme, themes } from './themes';
|
|
12
|
-
import { DocumentCapture
|
|
12
|
+
import { DocumentCapture } from './components/customer_flows/DocumentCapture';
|
|
13
13
|
import { CapturedDocumentImg } from './components/common/CapturedDocumentImg';
|
|
14
14
|
import { defaultSubmissionUrl, setServerUrl } from './components/submission/SubmissionProvider';
|
|
15
15
|
import { allowedAuthUrls, defaultAuthUrl } from './contexts/AuthStateContext';
|
|
16
16
|
import { SubmissionRequest, SubmissionResponse } from './components/submission/types';
|
|
17
|
-
type TargetElement = Element | DocumentFragment | string | undefined;
|
|
18
|
-
export declare const renderIdValidation: (optionsOrTargetElement: TargetElement | IdValidationProps, options?: IdValidationProps) => Element | DocumentFragment;
|
|
19
|
-
export declare const renderFaceValidation: (optionsOrTargetElement: TargetElement | FaceValidationProps, options?: FaceValidationProps) => Element | DocumentFragment;
|
|
20
|
-
export declare const renderIdAndFaceValidation: (optionsOrTargetElement: TargetElement | IdAndFaceValidationProps, options?: IdAndFaceValidationProps) => Element | DocumentFragment;
|
|
21
|
-
export declare const renderCustomerIdAndBiometricsEnrollment: (optionsOrTargetElement: TargetElement | CustomerEnrollmentProps, options?: CustomerEnrollmentProps) => Element | DocumentFragment;
|
|
22
|
-
export declare const renderCustomerBiometricsEnrollment: (optionsOrTargetElement: TargetElement | CustomerBiometricsEnrollmentProps, options?: CustomerBiometricsEnrollmentProps) => Element | DocumentFragment;
|
|
23
|
-
export declare const renderCustomerVerification: (optionsOrTargetElement: TargetElement | CustomerVerificationProps, options?: CustomerVerificationProps) => Element | DocumentFragment;
|
|
24
|
-
export declare const renderCustomerIdentification: (optionsOrTargetElement: TargetElement | CustomerIdentificationProps, options?: CustomerIdentificationProps) => Element | DocumentFragment;
|
|
25
|
-
export declare const renderSignatureKYC: (optionsOrTargetElement: TargetElement | SignatureKYCProps, options?: SignatureKYCProps) => Element | DocumentFragment;
|
|
26
|
-
export declare const renderVideoIdValidation: (optionsOrTargetElement: TargetElement | VideoIdValidationProps, options?: VideoIdValidationProps) => Element | DocumentFragment;
|
|
27
|
-
export declare const renderDocumentCapture: (optionsOrTargetElement: TargetElement | DocumentCaptureProps, options?: DocumentCaptureProps) => Element | DocumentFragment;
|
|
28
17
|
export type IDmissionSDK = {
|
|
29
|
-
renderIdValidation: typeof renderIdValidation;
|
|
30
|
-
renderFaceValidation: typeof renderFaceValidation;
|
|
31
|
-
renderIdAndFaceValidation: typeof renderIdAndFaceValidation;
|
|
32
|
-
renderCustomerIdAndBiometricsEnrollment: typeof renderCustomerIdAndBiometricsEnrollment;
|
|
33
|
-
renderCustomerBiometricsEnrollment: typeof renderCustomerBiometricsEnrollment;
|
|
34
|
-
renderCustomerVerification: typeof renderCustomerVerification;
|
|
35
|
-
renderCustomerIdentification: typeof renderCustomerIdentification;
|
|
36
|
-
renderSignatureKYC: typeof renderSignatureKYC;
|
|
37
|
-
renderVideoIdValidation: typeof renderVideoIdValidation;
|
|
38
|
-
renderDocumentCapture: typeof renderDocumentCapture;
|
|
39
18
|
preloadModels: typeof preloadModels;
|
|
40
19
|
themes: typeof themes;
|
|
41
20
|
version: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAA;AACrF,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAA;AACjH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAA;AACvF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAA;AAC3F,OAAO,E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