@aws-amplify/ui-react-liveness 2.0.2 → 2.0.4
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/esm/components/FaceLivenessDetector/FaceLivenessDetectorCore.mjs +1 -1
- package/dist/esm/components/FaceLivenessDetector/LivenessCheck/LivenessCameraModule.mjs +1 -1
- package/dist/esm/components/FaceLivenessDetector/StartLiveness/helpers.mjs +1 -1
- package/dist/esm/components/FaceLivenessDetector/hooks/useMediaStreamInVideo.mjs +1 -1
- package/dist/esm/components/FaceLivenessDetector/service/machine/index.mjs +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +1097 -48
- package/dist/types/components/FaceLivenessDetector/StartLiveness/helpers.d.ts +1 -1
- package/dist/types/components/FaceLivenessDetector/displayText.d.ts +1 -0
- package/dist/types/components/FaceLivenessDetector/hooks/useMediaStreamInVideo.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare const STATIC_VIDEO_CONSTRAINTS: MediaTrackConstraints;
|
|
@@ -5,6 +5,7 @@ export type HintDisplayText = {
|
|
|
5
5
|
hintCanNotIdentifyText?: string;
|
|
6
6
|
hintTooCloseText?: string;
|
|
7
7
|
hintTooFarText?: string;
|
|
8
|
+
/** @deprecated `hintHoldFacePositionCountdownText` is no longer in use and will be removed in a future major version release. */
|
|
8
9
|
hintHoldFacePositionCountdownText?: string;
|
|
9
10
|
hintConnectingText?: string;
|
|
10
11
|
hintVerifyingText?: string;
|
|
@@ -4,4 +4,4 @@ export interface UseMediaStreamInVideo {
|
|
|
4
4
|
videoHeight: number | undefined;
|
|
5
5
|
videoWidth: number | undefined;
|
|
6
6
|
}
|
|
7
|
-
export declare function useMediaStreamInVideo(stream: MediaStream
|
|
7
|
+
export declare function useMediaStreamInVideo(stream: MediaStream): UseMediaStreamInVideo;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.0.
|
|
1
|
+
export declare const VERSION = "2.0.4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-liveness",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"typecheck": "tsc --noEmit"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"aws-amplify": "
|
|
46
|
+
"aws-amplify": "^5.0.1",
|
|
47
47
|
"react": ">= 16.14.0",
|
|
48
48
|
"react-dom": ">= 16.14.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-amplify/ui": "5.
|
|
52
|
-
"@aws-amplify/ui-react": "5.
|
|
51
|
+
"@aws-amplify/ui": "5.7.1",
|
|
52
|
+
"@aws-amplify/ui-react": "5.1.1",
|
|
53
53
|
"@aws-sdk/client-rekognitionstreaming": "3.360.0",
|
|
54
54
|
"@tensorflow-models/blazeface": "0.0.7",
|
|
55
55
|
"@tensorflow/tfjs-backend-cpu": "3.11.0",
|