@commercetools-backend/express 22.42.1 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,10 +4,10 @@ type TDecodedJWT = {
4
4
  iss: string;
5
5
  [property: string]: string | string[];
6
6
  };
7
- declare const writeSessionContext: <Request extends TBaseRequest>(request: Request & {
7
+ declare const writeSessionContext: <Request_1 extends TBaseRequest>(request: Request_1 & {
8
8
  decoded_token?: TDecodedJWT | undefined;
9
9
  session?: TSession | undefined;
10
10
  }) => void;
11
- export declare const getConfiguredAudience: <Request extends TBaseRequest>(options: TSessionMiddlewareOptions<Request>, requestPath: string) => string;
11
+ export declare const getConfiguredAudience: <Request_1 extends TBaseRequest>(options: TSessionMiddlewareOptions<Request_1>, requestPath: string) => string;
12
12
  declare function createSessionAuthVerifier<Request extends TBaseRequest>(options: TSessionMiddlewareOptions<Request>): (request: Request, response?: unknown) => Promise<void>;
13
13
  export { createSessionAuthVerifier, writeSessionContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-backend/express",
3
- "version": "22.42.1",
3
+ "version": "23.0.0",
4
4
  "description": "Zero-config HTTP server as Express.js to facilitate development",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -33,13 +33,13 @@
33
33
  "@babel/runtime": "^7.22.15",
34
34
  "@babel/runtime-corejs3": "^7.22.15",
35
35
  "@types/express": "^4.17.17",
36
- "@types/node": "^18.17.14",
36
+ "@types/node": "^22.13.2",
37
37
  "express": "4.20.0",
38
38
  "express-jwt": "8.4.1",
39
39
  "jwks-rsa": "2.1.5"
40
40
  },
41
41
  "devDependencies": {
42
- "@tsconfig/node16": "^16.1.1",
42
+ "@tsconfig/node22": "^22.0.0",
43
43
  "@types/jsonwebtoken": "^9.0.2",
44
44
  "jose": "2.0.7",
45
45
  "msw": "0.49.3"