diff --git a/.changeset/cuddly-terms-raise.md b/.changeset/cuddly-terms-raise.md new file mode 100644 index 00000000..1a14f1b0 --- /dev/null +++ b/.changeset/cuddly-terms-raise.md @@ -0,0 +1,7 @@ +--- +"@quiltt/react-native": patch +"@quiltt/react": patch +"@quiltt/core": patch +--- + +Add 'rol' to private claims diff --git a/packages/react/tests/hooks/useSession.test.ts b/packages/react/tests/hooks/useSession.test.ts index e740f9da..7dde3545 100644 --- a/packages/react/tests/hooks/useSession.test.ts +++ b/packages/react/tests/hooks/useSession.test.ts @@ -29,6 +29,7 @@ describe('useSession', () => { exp: Math.floor(Date.now() / 1000) + 3600, iss: 'issuer', sub: 'subject', + rol: 'admin', aud: '', nbf: 1, iat: Date.now(),