starti.app 2.0.65 → 2.0.71
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.
|
@@ -83,7 +83,7 @@ export declare class Biometrics extends EventTarget {
|
|
|
83
83
|
*/
|
|
84
84
|
checkAccess: () => Promise<import("../App/typings").PermissionStatus>;
|
|
85
85
|
}
|
|
86
|
-
export type BiometricsAuthenticationType = "
|
|
86
|
+
export type BiometricsAuthenticationType = "none" | "face" | "fingerprint";
|
|
87
87
|
export type BiometricsResultReponse<T> = {
|
|
88
88
|
key: string;
|
|
89
89
|
result: T;
|
|
@@ -95,6 +95,11 @@ export type BiometricsResultReponse<T> = {
|
|
|
95
95
|
* @param submitButtonSelector - The JS selector for the submit button.
|
|
96
96
|
* @param title - The title of the biometrics scan.
|
|
97
97
|
* @param reason - The reason for the biometrics scan.
|
|
98
|
+
*
|
|
99
|
+
* @param language - The language of the biometrics scan.
|
|
100
|
+
*
|
|
101
|
+
* @param confirmMessageTemplate - The template for the confirm message.
|
|
102
|
+
* @param biometricsTypeTranslations - The translations for the biometrics types.
|
|
98
103
|
*/
|
|
99
104
|
export type SaveUsernameAndPasswordConfiguration = {
|
|
100
105
|
usernameInputFieldSelector: string;
|
|
@@ -102,8 +107,15 @@ export type SaveUsernameAndPasswordConfiguration = {
|
|
|
102
107
|
submitButtonSelector: string;
|
|
103
108
|
title: string;
|
|
104
109
|
reason: string;
|
|
110
|
+
} & ({
|
|
105
111
|
language?: "da" | "en";
|
|
106
|
-
}
|
|
112
|
+
} | {
|
|
113
|
+
confirmMessageTemplate: string;
|
|
114
|
+
biometricsTypeTranslations?: {
|
|
115
|
+
face: string;
|
|
116
|
+
fingerprint: string;
|
|
117
|
+
};
|
|
118
|
+
});
|
|
107
119
|
export type PopulatedSaveUsernameAndPasswordConfiguration = SaveUsernameAndPasswordConfiguration & {
|
|
108
120
|
usernameInputField: HTMLInputElement;
|
|
109
121
|
passwordInputField: HTMLInputElement;
|
package/dist/integrations.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ type ShareIntegration = {
|
|
|
20
20
|
downloadFile(fileUrl: string, fileName: string): boolean;
|
|
21
21
|
};
|
|
22
22
|
type QrScannerIntegration = {
|
|
23
|
-
startQrCodeScanner():
|
|
23
|
+
startQrCodeScanner(): string | null;
|
|
24
24
|
getCameraAccessState(): "Unknown" | "Denied" | "Granted";
|
|
25
25
|
isCameraAccessGranted(): boolean;
|
|
26
26
|
requestCameraAccess(): boolean;
|
package/package.json
CHANGED