@criipto/verify-react 0.15.0 → 0.16.0
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/coverage/clover.xml +95 -0
- package/coverage/coverage-final.json +3 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/iOS.tsx.html +217 -0
- package/coverage/lcov-report/index.html +131 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/shared.ts.html +196 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +120 -0
- package/dist/components/AuthMethodButton.d.ts +4 -0
- package/dist/context.d.ts +1 -0
- package/dist/criipto-verify-react.cjs.js +1 -1
- package/dist/criipto-verify-react.cjs.js.map +1 -1
- package/dist/criipto-verify-react.esm.js +1 -1
- package/dist/criipto-verify-react.esm.js.map +1 -1
- package/dist/provider.d.ts +4 -0
- package/dist/utils.d.ts +1 -0
- package/package.json +2 -2
package/dist/provider.d.ts
CHANGED
|
@@ -25,6 +25,10 @@ export interface CriiptoVerifyProviderOptions {
|
|
|
25
25
|
* Default: 'login'
|
|
26
26
|
*/
|
|
27
27
|
action?: Action;
|
|
28
|
+
/**
|
|
29
|
+
* Will ammend the login_hint parameter with `message:{base64(message)}` which will set a login/aprove message where available (Danish MitID).
|
|
30
|
+
*/
|
|
31
|
+
message?: string;
|
|
28
32
|
/**
|
|
29
33
|
* Note: In most cases modifying this setting **is not needed**. Defaults will work with almost all React SPA cases.
|
|
30
34
|
* By default @criipto/verify-react will do PKCE on your behalf and return a jwt token.
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Action } from "./context";
|
|
2
|
+
export declare const VERSION: string;
|
|
2
3
|
export declare const DKMITID_PREFIX = "urn:grn:authn:dk:mitid";
|
|
3
4
|
export declare const FTN_PREFIX = "urn:grn:authn:fi";
|
|
4
5
|
export declare function lowestMitIDValue(input: string[]): string | null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@criipto/verify-react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.16.0",
|
|
5
5
|
"description": "Verify SDK for React Single Page Applications",
|
|
6
6
|
"main": "dist/criipto-verify-react.cjs.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"homepage": "https://github.com/criipto/criipto-verify-react#readme",
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@criipto/auth-js": "^3.4.
|
|
71
|
+
"@criipto/auth-js": "^3.4.9",
|
|
72
72
|
"jwt-decode": "^3.1.2"
|
|
73
73
|
}
|
|
74
74
|
}
|