idmission-web-sdk 1.0.296 → 1.0.297
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/README.md +8 -8
- package/dist/sdk2.cjs.development.js +1 -1
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.esm.js +1 -1
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +1 -1
- 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
package/README.md
CHANGED
|
@@ -206,7 +206,7 @@ Render a fullscreen ID capture component that instructs the user to photograph b
|
|
|
206
206
|
|
|
207
207
|
```js
|
|
208
208
|
IDmissionSDK.renderIdValidation('#target-element', {
|
|
209
|
-
|
|
209
|
+
sessionId: 'my-idmission-session-id',
|
|
210
210
|
onApproved: (submissionResponse) => {
|
|
211
211
|
alert('Your ID has been validated, proceed to the next checkpoint.')
|
|
212
212
|
},
|
|
@@ -324,7 +324,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
|
|
|
324
324
|
|
|
325
325
|
```js
|
|
326
326
|
IDmissionSDK.renderFaceValidation('#target-element', {
|
|
327
|
-
|
|
327
|
+
sessionId: 'my-idmission-session-id',
|
|
328
328
|
onApproved: (submissionResponse) => {
|
|
329
329
|
alert('Your face is real, proceed to the next checkpoint.')
|
|
330
330
|
},
|
|
@@ -410,7 +410,7 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
|
|
|
410
410
|
|
|
411
411
|
```js
|
|
412
412
|
IDmissionSDK.renderIdAndFaceValidation('#target-element', {
|
|
413
|
-
|
|
413
|
+
sessionId: 'my-idmission-session-id',
|
|
414
414
|
onApproved: (submissionResponse) => {
|
|
415
415
|
alert('Your ID has been validated and your face is real, proceed to the next checkpoint.')
|
|
416
416
|
},
|
|
@@ -499,7 +499,7 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
|
|
|
499
499
|
|
|
500
500
|
```js
|
|
501
501
|
IDmissionSDK.renderCustomerIdAndBiometricsEnrollment('#target-element', {
|
|
502
|
-
|
|
502
|
+
sessionId: 'my-idmission-session-id',
|
|
503
503
|
enrollmentId: 'some-guy',
|
|
504
504
|
});
|
|
505
505
|
```
|
|
@@ -560,7 +560,7 @@ Render a fullscreen capture component that performs FaceValidation, and then sto
|
|
|
560
560
|
|
|
561
561
|
```js
|
|
562
562
|
IDmissionSDK.renderCustomerBiometricsEnrollment('#target-element', {
|
|
563
|
-
|
|
563
|
+
sessionId: 'my-idmission-session-id',
|
|
564
564
|
enrollmentId: 'some-guy',
|
|
565
565
|
});
|
|
566
566
|
```
|
|
@@ -612,7 +612,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
|
|
|
612
612
|
|
|
613
613
|
```js
|
|
614
614
|
IDmissionSDK.renderCustomerVerification('#target-element', {
|
|
615
|
-
|
|
615
|
+
sessionId: 'my-idmission-session-id',
|
|
616
616
|
enrollmentId: 'some-guy',
|
|
617
617
|
});
|
|
618
618
|
```
|
|
@@ -721,7 +721,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
|
|
|
721
721
|
**Example**
|
|
722
722
|
|
|
723
723
|
```js
|
|
724
|
-
IDmissionSDK.renderCustomerIdentification('#target-element', {
|
|
724
|
+
IDmissionSDK.renderCustomerIdentification('#target-element', { sessionId: 'my-idmission-session-id' });
|
|
725
725
|
```
|
|
726
726
|
|
|
727
727
|
### VideoIdValidation
|
|
@@ -832,7 +832,7 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
|
|
|
832
832
|
**Example**
|
|
833
833
|
|
|
834
834
|
```js
|
|
835
|
-
IDmissionSDK.renderVideoIdValidation('#target-element', {
|
|
835
|
+
IDmissionSDK.renderVideoIdValidation('#target-element', { sessionId: 'my-idmission-session-id' });
|
|
836
836
|
```
|
|
837
837
|
|
|
838
838
|
## Other Functionality
|
|
@@ -51,7 +51,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
|
|
|
51
51
|
var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
|
|
52
52
|
var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
|
|
53
53
|
|
|
54
|
-
var webSdkVersion = '1.0.
|
|
54
|
+
var webSdkVersion = '1.0.297';
|
|
55
55
|
|
|
56
56
|
function getPlatform() {
|
|
57
57
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|