From 8940fc2a99c452b21ca51edcd4e81e026bd5bb8e Mon Sep 17 00:00:00 2001 From: Valentin Vetter Date: Fri, 6 Jun 2025 11:23:53 +0200 Subject: [PATCH 1/4] docs: fix typos --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9905184..c5517d6 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ ## Breaking Changes * ### As of version 3.0.0 and 4.0.0, we will no longer provide proxy middlewares -* ### As of version 5.0.0, node 12 is no loner supported. +* ### As of version 5.0.0, node 12 is no longer supported. To see an example implementation, head over to our sample proxy project @@ -145,7 +145,7 @@ FronteggContext.init( Frontegg provides various clients for seamless integration with the Frontegg API. -For example, Frontegg’s Managed Audit Logs feature allows a SaaS company to embed an end-to-end working feature in just 5 lines of code +For example, Frontegg's Managed Audit Logs feature allows a SaaS company to embed an end-to-end working feature in just 5 lines of code #### Create a new Audits client @@ -258,10 +258,10 @@ The result of those queries has the following structure: ```typescript type IsEntitledResult = { result: boolean, - justficiation?: string + justification?: string } ``` -When `result: true`, then `justficiation` is not given. +When `result: true`, then `justification` is not given. #### Closing the client To gracefully close the client: From 71ff9c31985640d4f1d7a9da570af32efd157aff Mon Sep 17 00:00:00 2001 From: Valentin Vetter Date: Fri, 6 Jun 2025 11:24:47 +0200 Subject: [PATCH 2/4] chore: remove useless file --- .DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 87108b0495357118b7527e96316c3627e50a2673..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK!A=4(5Pby>h-mQU#bkd#68~U9IFP6Z`2ZDABA{zT5|4ZLAN&Qs&y&8HHiqru z)fk;gIC>!H&Mqe?iqWHXSDHDihqmZcQIq^l96p@&&a)DhAE$B zG1nbL+y+iCz%lwb!;rp>J4}l8xtEC3^BHnw%+rtB{SmB(0%J@UF zM31?zR4OlKs7#{_%_xKJu*`!f`nsm*7S6f14thAx?S(e8jj|kE*vGwIjby zS@Uv5s^L15%bEQX1$btQ)weyGHw8=qQ{YPh`936Uf@#3qqkcN*^a?<%aafIg{p(Lm zWPq3k%sq01<~)_?sV-bGT(~(nPv?9Z;&YFl4yP+KPgvQ78;T1T50_{-T Date: Fri, 6 Jun 2025 11:25:03 +0200 Subject: [PATCH 3/4] chore: ignore .DS_Store --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index fda812a..6fa34e5 100644 --- a/.gitignore +++ b/.gitignore @@ -97,3 +97,6 @@ jest-junit.xml #ide .idea/ .fleet/ + +# MacOS +.DS_Store From 7e15fad1f5dfa301cd465d347beb586ff00fbb09 Mon Sep 17 00:00:00 2001 From: Valentin Vetter Date: Fri, 6 Jun 2025 11:28:00 +0200 Subject: [PATCH 4/4] feat: add missing fields in JWT --- src/clients/identity/types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/clients/identity/types.ts b/src/clients/identity/types.ts index e6317ae..5ac0b60 100644 --- a/src/clients/identity/types.ts +++ b/src/clients/identity/types.ts @@ -63,6 +63,12 @@ export type IUser = IEntityWithRoles & { amr?: string[]; acr?: string; auth_time?: number; + exp?: number; + sid?: string; + applicationId?: string; + aud?: string; + iss?: string; + iat?: number; }; export type IApiToken = IEntityWithRoles & {