HBE-164 refactor: subscriptions auth cookie fix (#26)

* chore: added error handling to cookie extraction logic for subscriptions

* chore: removed migration file from prisma directory
This commit is contained in:
Balu Babu
2023-02-27 19:32:33 +05:30
committed by GitHub
parent 292ed87201
commit 2ba05a46ee
5 changed files with 6421 additions and 19 deletions

View File

@@ -33,6 +33,7 @@
"apollo-server-plugin-base": "^3.7.1",
"argon2": "^0.30.3",
"bcrypt": "^5.1.0",
"cookie": "^0.5.0",
"cookie-parser": "^1.4.6",
"express": "^4.17.1",
"fp-ts": "^2.13.1",
@@ -62,10 +63,11 @@
"@relmify/jest-fp-ts": "^2.0.2",
"@types/argon2": "^0.15.0",
"@types/bcrypt": "^5.0.0",
"@types/cookie": "^0.5.1",
"@types/cookie-parser": "^1.4.3",
"@types/express": "^4.17.14",
"@types/luxon": "^3.2.0",
"@types/jest": "^29.4.0",
"@types/luxon": "^3.2.0",
"@types/node": "^18.11.10",
"@types/passport-github2": "^1.2.5",
"@types/passport-google-oauth20": "^2.0.11",
@@ -96,7 +98,7 @@
"ts"
],
"setupFilesAfterEnv": [
"@relmify/jest-fp-ts"
"../jest.setup.js"
],
"preset": "ts-jest",
"clearMocks": true,
@@ -106,7 +108,6 @@
"rootDir": "src",
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/$1"
},
"setupFilesAfterEnv": ["../jest.setup.js"]
}
}
}