Skip to content

Commit

Permalink
Merge pull request #8 from cabinetoffice/NTRNL-459-expose-get-cookie-…
Browse files Browse the repository at this point in the history
…value-util-from-index-file

export getCookieValue util from index.ts
  • Loading branch information
harley-harris authored Jun 5, 2024
2 parents 347090b + e01c035 commit 9f7326b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@co-digital/login",
"version": "1.0.2",
"version": "1.0.3",
"description": "A login library for Node.JS applications in CO Digital.",
"homepage": "https://github.com/cabinetoffice/node-login#README.md",
"main": "./lib/index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ import {
removeApplicationDataByID
} from './utils/session';
import { authentication as colaAuthenticationMiddleware } from './middleware/cola/authentication.middleware';
import { getUnsignedCookie, getUserEmailFromColaJwt } from './utils/cookie';
import { getCookieValue, getUnsignedCookie, getUserEmailFromColaJwt } from './utils/cookie';

export {
colaAuthenticationMiddleware,
getCookieValue,
getUnsignedCookie,
getUserEmailFromColaJwt,
removeSessionData,
Expand Down

0 comments on commit 9f7326b

Please sign in to comment.