fix: version bump, tsc errors

This commit is contained in:
2026-09-04 11:23:59 +02:00
parent c32569317a
commit c95a452cd8
3 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@janishutz/login-sdk-server-stubs",
"version": "1.0.1",
"version": "1.4.0",
"description": "Server side client stubs for janishutz.com account service",
"main": "index.js",
"scripts": {
+1 -1
View File
@@ -48,7 +48,7 @@ const getSignedIn = ( _request: express.Request ): boolean => {
* @returns The extra data you stored
*/
const getExtraSessionData = ( request: express.Request ): object => {
return request.session.otherData;
return request.session.otherData ?? {};
};
+17 -12
View File
@@ -1,13 +1,18 @@
{
"compilerOptions": {
"outDir": "./dist",
"allowJs": true,
"target": "ES6",
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"types": ["node"],
"module": "NodeNext",
"moduleResolution": "NodeNext"
},
"include": [ "./src/**/*" ],
}
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"allowJs": true,
"target": "ES6",
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"types": [
"node"
],
"module": "NodeNext",
"moduleResolution": "NodeNext"
},
"include": [
"./src/**/*"
]
}