@criipto/verify-react 4.1.3 → 4.1.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/components/AuthMethodButton.d.ts +1 -1
- package/dist/components/AuthMethodSelector.d.ts +1 -1
- package/dist/components/SEBankIDQRCode.d.ts +1 -1
- package/dist/criipto-verify-react.cjs.js +1 -1
- package/dist/criipto-verify-react.cjs.js.map +1 -1
- package/dist/criipto-verify-react.css +2 -0
- package/dist/criipto-verify-react.esm.js +1 -1
- package/dist/criipto-verify-react.esm.js.map +1 -1
- package/dist/i18n/da.d.ts +19 -0
- package/dist/i18n/de.d.ts +19 -0
- package/dist/i18n/en.d.ts +19 -0
- package/dist/i18n/fi.d.ts +19 -0
- package/dist/i18n/index.d.ts +4 -0
- package/dist/i18n/nb.d.ts +19 -0
- package/dist/i18n/nl.d.ts +19 -0
- package/dist/i18n/sv.d.ts +19 -0
- package/dist/index.d.ts +2 -1
- package/dist/utils.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const da: {
|
|
2
|
+
loginWith: string;
|
|
3
|
+
approveWith: string;
|
|
4
|
+
signWith: string;
|
|
5
|
+
confirmWith: string;
|
|
6
|
+
acceptWith: string;
|
|
7
|
+
sameDevice: string;
|
|
8
|
+
anotherDevice: string;
|
|
9
|
+
anotherDeviceQR: string;
|
|
10
|
+
mitidBusiness: string;
|
|
11
|
+
finnishMobileID: string;
|
|
12
|
+
finnishBankID: string;
|
|
13
|
+
swedishBankID: string;
|
|
14
|
+
norwegianBankID: string;
|
|
15
|
+
biometrics: string;
|
|
16
|
+
openAndScan: string;
|
|
17
|
+
thisIsTheQR: string;
|
|
18
|
+
completingLogin: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const de: {
|
|
2
|
+
loginWith: string;
|
|
3
|
+
approveWith: string;
|
|
4
|
+
signWith: string;
|
|
5
|
+
confirmWith: string;
|
|
6
|
+
acceptWith: string;
|
|
7
|
+
sameDevice: string;
|
|
8
|
+
anotherDevice: string;
|
|
9
|
+
anotherDeviceQR: string;
|
|
10
|
+
mitidBusiness: string;
|
|
11
|
+
finnishMobileID: string;
|
|
12
|
+
finnishBankID: string;
|
|
13
|
+
swedishBankID: string;
|
|
14
|
+
norwegianBankID: string;
|
|
15
|
+
biometrics: string;
|
|
16
|
+
openAndScan: string;
|
|
17
|
+
thisIsTheQR: string;
|
|
18
|
+
completingLogin: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const en: {
|
|
2
|
+
readonly loginWith: "Login with";
|
|
3
|
+
readonly approveWith: "Approve with";
|
|
4
|
+
readonly signWith: "Sign with";
|
|
5
|
+
readonly confirmWith: "Confirm with";
|
|
6
|
+
readonly acceptWith: "Accept with";
|
|
7
|
+
readonly sameDevice: "On this device";
|
|
8
|
+
readonly anotherDevice: "With your SSN";
|
|
9
|
+
readonly anotherDeviceQR: "On another device";
|
|
10
|
+
readonly mitidBusiness: "MitID Business";
|
|
11
|
+
readonly finnishMobileID: "Finnish Mobile Certificate";
|
|
12
|
+
readonly finnishBankID: "Finnish Bank ID";
|
|
13
|
+
readonly swedishBankID: "Swedish BankID";
|
|
14
|
+
readonly norwegianBankID: "Norwegian BankID";
|
|
15
|
+
readonly biometrics: "Biometrics";
|
|
16
|
+
readonly openAndScan: "Open the BankID app on your mobile device and scan the QR code.";
|
|
17
|
+
readonly thisIsTheQR: "This is a BankID QR Code. You can click it to view it in full screen.";
|
|
18
|
+
readonly completingLogin: "Completing your login.";
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const fi: {
|
|
2
|
+
loginWith: string;
|
|
3
|
+
approveWith: string;
|
|
4
|
+
signWith: string;
|
|
5
|
+
confirmWith: string;
|
|
6
|
+
acceptWith: string;
|
|
7
|
+
sameDevice: string;
|
|
8
|
+
anotherDevice: string;
|
|
9
|
+
anotherDeviceQR: string;
|
|
10
|
+
mitidBusiness: string;
|
|
11
|
+
finnishMobileID: string;
|
|
12
|
+
finnishBankID: string;
|
|
13
|
+
swedishBankID: string;
|
|
14
|
+
norwegianBankID: string;
|
|
15
|
+
biometrics: string;
|
|
16
|
+
openAndScan: string;
|
|
17
|
+
thisIsTheQR: string;
|
|
18
|
+
completingLogin: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const nb: {
|
|
2
|
+
loginWith: string;
|
|
3
|
+
approveWith: string;
|
|
4
|
+
signWith: string;
|
|
5
|
+
confirmWith: string;
|
|
6
|
+
acceptWith: string;
|
|
7
|
+
sameDevice: string;
|
|
8
|
+
anotherDevice: string;
|
|
9
|
+
anotherDeviceQR: string;
|
|
10
|
+
mitidBusiness: string;
|
|
11
|
+
finnishMobileID: string;
|
|
12
|
+
finnishBankID: string;
|
|
13
|
+
swedishBankID: string;
|
|
14
|
+
norwegianBankID: string;
|
|
15
|
+
biometrics: string;
|
|
16
|
+
openAndScan: string;
|
|
17
|
+
thisIsTheQR: string;
|
|
18
|
+
completingLogin: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const nl: {
|
|
2
|
+
loginWith: string;
|
|
3
|
+
approveWith: string;
|
|
4
|
+
signWith: string;
|
|
5
|
+
confirmWith: string;
|
|
6
|
+
acceptWith: string;
|
|
7
|
+
sameDevice: string;
|
|
8
|
+
anotherDevice: string;
|
|
9
|
+
anotherDeviceQR: string;
|
|
10
|
+
mitidBusiness: string;
|
|
11
|
+
finnishMobileID: string;
|
|
12
|
+
finnishBankID: string;
|
|
13
|
+
swedishBankID: string;
|
|
14
|
+
norwegianBankID: string;
|
|
15
|
+
biometrics: string;
|
|
16
|
+
openAndScan: string;
|
|
17
|
+
thisIsTheQR: string;
|
|
18
|
+
completingLogin: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const sv: {
|
|
2
|
+
loginWith: string;
|
|
3
|
+
approveWith: string;
|
|
4
|
+
signWith: string;
|
|
5
|
+
confirmWith: string;
|
|
6
|
+
acceptWith: string;
|
|
7
|
+
sameDevice: string;
|
|
8
|
+
anotherDevice: string;
|
|
9
|
+
anotherDeviceQR: string;
|
|
10
|
+
mitidBusiness: string;
|
|
11
|
+
finnishMobileID: string;
|
|
12
|
+
finnishBankID: string;
|
|
13
|
+
swedishBankID: string;
|
|
14
|
+
norwegianBankID: string;
|
|
15
|
+
biometrics: string;
|
|
16
|
+
openAndScan: string;
|
|
17
|
+
thisIsTheQR: string;
|
|
18
|
+
completingLogin: string;
|
|
19
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ import { default as QRCode } from './components/QRCode';
|
|
|
6
6
|
import { default as SEBankIDQRCode } from './components/SEBankIDQRCode';
|
|
7
7
|
import { default as useCriiptoVerify } from './use-criipto-verify';
|
|
8
8
|
export { type Result, type Action, actions } from './context';
|
|
9
|
-
export {
|
|
9
|
+
export { filterAcrValues } from './utils';
|
|
10
|
+
export { type Language } from './i18n';
|
|
10
11
|
export { OAuth2Error } from '@criipto/auth-js';
|
|
11
12
|
export { CriiptoVerifyProvider, AuthMethodSelector, AuthMethodSelectorSweden, useCriiptoVerify, QRCode, SEBankIDQRCode, };
|
|
12
13
|
export { AuthMethodButtonContainer as AuthMethodButton, AuthMethodButtonContainer as AuthButton, AuthMethodButtonComponent as AuthButtonComponent, AuthButtonGroup, };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Action } from './context';
|
|
2
|
+
import { type Language } from './i18n';
|
|
2
3
|
export declare const VERSION: string;
|
|
3
4
|
export declare const DKMITID_PREFIX = "urn:grn:authn:dk:mitid";
|
|
4
5
|
export declare const DKMITID_BUSINESS = "urn:grn:authn:dk:mitid:business";
|
|
5
6
|
export declare const FTN_PREFIX = "urn:grn:authn:fi";
|
|
6
7
|
export declare function lowestMitIDValue(input: string[]): string | null;
|
|
7
|
-
export declare function
|
|
8
|
-
export type Language = 'en' | 'da' | 'sv' | 'nb';
|
|
8
|
+
export declare function assertUnreachable(x: never): never;
|
|
9
9
|
export declare function stringifyAction(language: Language, action: Action): string;
|
|
10
10
|
export declare function acrValueToProviderPrefix(value: string): string;
|
|
11
11
|
export declare function acrValueToTitle(language: Language, value: string, { disambiguate }: {
|
package/package.json
CHANGED