@easygov/web-components 0.14.0 → 0.15.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/README.md +2 -9
- package/dist/chunk-3UU6OKOA.js +27 -0
- package/dist/chunk-3UU6OKOA.js.map +1 -0
- package/dist/header.js +1 -1
- package/dist/index.d.ts +3 -9
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-ATOMZILW.js +0 -27
- package/dist/chunk-ATOMZILW.js.map +0 -1
package/dist/header.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e}from"./chunk-
|
|
1
|
+
import{e}from"./chunk-3UU6OKOA.js";import{a as o,b as r}from"./chunk-N43E73KP.js";import"./chunk-SGE3GQLT.js";var m=r(o(e,{shadow:"open"}));customElements.define("eg-easygov-header",m);
|
|
2
2
|
//# sourceMappingURL=header.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -195,24 +195,18 @@ interface SelectedProcess {
|
|
|
195
195
|
parentProcessId?: string;
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
|
-
* The authenticated user
|
|
198
|
+
* The authenticated user, as far as only core-backend knows it. Name, e-mail, roles, QoA, SSO
|
|
199
|
+
* session and IdP are not here: they are in the access token (`useEasygovSession().accessToken`).
|
|
199
200
|
* Decoded from the context JWT, signature unverified: safe to render, never to authorize.
|
|
200
201
|
*/
|
|
201
202
|
interface UserProfile {
|
|
202
203
|
id: string;
|
|
204
|
+
/** The eIAM identity (the access token's `name_identifier`); ties this context to that token. */
|
|
203
205
|
eiamIdentity: string;
|
|
204
|
-
eiamSSOsessionID: string;
|
|
205
|
-
qoA: number;
|
|
206
206
|
/** Whether the user has accepted the general terms and conditions. */
|
|
207
207
|
gtcAccepted: boolean;
|
|
208
208
|
/** When the user registered: ISO-8601 date-time, UTC. */
|
|
209
209
|
registerDate: string;
|
|
210
|
-
/** The IdP the user chose in eIAM, e.g. `externalIDP\AgovIDP`. */
|
|
211
|
-
idpUsed: string;
|
|
212
|
-
emailAddress?: string;
|
|
213
|
-
firstName?: string;
|
|
214
|
-
lastName?: string;
|
|
215
|
-
roles?: string[];
|
|
216
210
|
}
|
|
217
211
|
/**
|
|
218
212
|
* Decoded payload of `contextJwt`. The signature is NOT verified by EasygovHeader — the
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s,b as a,c as t,d as o}from"./chunk-
|
|
1
|
+
import{a as s,b as a,c as t,d as o}from"./chunk-3UU6OKOA.js";import"./chunk-SGE3GQLT.js";function i(){return a()}function g(e){t(e)}function r(e){return o(e)}function u(e){s(e)}export{i as getDisplayLanguage,u as setBusinessModuleVersion,g as setDisplayLanguage,r as subscribeDisplayLanguage};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easygov/web-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Framework-agnostic custom elements for EasyGov, wrapping @easygov/react-components as a self-contained browser bundle.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@easygov/eslint-config": "0.0.0",
|
|
46
|
-
"@easygov/react-components": "0.
|
|
46
|
+
"@easygov/react-components": "0.24.0",
|
|
47
47
|
"@easygov/typescript-config": "0.0.0",
|
|
48
48
|
"@types/node": "^26.0.0",
|
|
49
49
|
"@types/react": "19.3.3",
|