youverify-liveness-web 0.1.11 → 0.1.13

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 CHANGED
@@ -64,6 +64,7 @@ try {
64
64
  | Option | Type | Required | Description | Default Value | Possible Values |
65
65
  | --- | --- | --- | --- | --- | --- |
66
66
  | `presentation` | String | No | Controls how UI is displayed | `modal` | `modal`, `page` |
67
+ | `sandboxEnvironment` | Boolean | No | Sets whether session should run in sandbox or live mode | `true` | `true`, `false` |
67
68
  | `tasks` | Array | No | Sets tasks that need to be performed for liveness to be confirmed | undefined | See [tasks](#tasks) |
68
69
  | `user` | Object | No | Sets details of user for which liveness check is being performed | undefined | See nested options below |
69
70
  | `user.firstName` | String | Yes | First name of user | - | Any string |
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ declare interface LivenessWebSdkProps {
22
22
  onSuccess?: (data: LivenessData) => void;
23
23
  onFailure?: (data: LivenessData) => void;
24
24
  metadata?: Metadata;
25
+ sandboxEnvironment?: boolean;
25
26
  }
26
27
 
27
28
  declare type Metadata = Record<string, any>;