@squiz/render-runtime-lib 1.80.1 → 1.80.2
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.
- package/lib/ioc.d.ts +2 -3
- package/lib/ioc.js.map +1 -1
- package/lib/webserver/app.d.ts +1 -1
- package/package.json +4 -4
package/lib/ioc.d.ts
CHANGED
|
@@ -9,8 +9,7 @@ import { ContentItemService } from '@squiz/component-lib';
|
|
|
9
9
|
import { ApiKeyValidationService } from '@squiz/dx-common-lib';
|
|
10
10
|
import { RenderInputService } from './RenderInputService';
|
|
11
11
|
import { Sandbox } from '@squiz/runtime-sandbox-common';
|
|
12
|
-
import { DxpSessionMiddleware } from './webserver/DxpSessionMiddlewareTsoa';
|
|
13
|
-
import { DxpSessionParser } from '@squiz/dxp-session-lib';
|
|
12
|
+
import { DxpSessionMiddleware, ISessionParser } from './webserver/DxpSessionMiddlewareTsoa';
|
|
14
13
|
export interface Services {
|
|
15
14
|
sandbox: Sandbox;
|
|
16
15
|
logger: Logger;
|
|
@@ -24,7 +23,7 @@ export interface Services {
|
|
|
24
23
|
apiKeyService: ApiKeyValidationService;
|
|
25
24
|
renderInputService: RenderInputService;
|
|
26
25
|
componentRootUrlResolver: ComponentRootUrlResolver;
|
|
27
|
-
dxpSessionParser:
|
|
26
|
+
dxpSessionParser: ISessionParser;
|
|
28
27
|
dxpSessionMiddleware: DxpSessionMiddleware;
|
|
29
28
|
}
|
|
30
29
|
export interface Config {
|
package/lib/ioc.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ioc.js","sourceRoot":"","sources":["../src/ioc.ts"],"names":[],"mappings":";;;AAAA,yCAA4D;AAC5D,+EAAmE;AACnE,+BAAgD;AAWhD,mFAA4F;
|
|
1
|
+
{"version":3,"file":"ioc.js","sourceRoot":"","sources":["../src/ioc.ts"],"names":[],"mappings":";;;AAAA,yCAA4D;AAC5D,+EAAmE;AACnE,+BAAgD;AAWhD,mFAA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AAC,eAAe,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;IACrH,SAAS,CAAC,IAAI,CAAiC,oBAAoB,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAClH,SAAS,CAAC,IAAI,CAA0B,yBAAyB,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC3G,SAAS;SACN,IAAI,CAA2B,0BAA0B,CAAC;SAC1D,eAAe,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;IACtD,SAAS,CAAC,IAAI,CAAiB,gBAAgB,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAC5F,SAAS,CAAC,IAAI,CAAC,+CAAoB,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAEpF,uBAAA,YAAY,GAAG,SAAS,CAAC;IACzB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAzBW,QAAA,gBAAgB,oBAyB3B"}
|
package/lib/webserver/app.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Express } from 'express';
|
|
2
2
|
import { type Services, type Config } from '../ioc';
|
|
3
|
-
import { DxpSession } from '@squiz/dxp-session-lib';
|
|
3
|
+
import type { DxpSession } from '@squiz/dxp-session-lib';
|
|
4
4
|
declare module 'express-serve-static-core' {
|
|
5
5
|
interface Request {
|
|
6
6
|
session: DxpSession;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squiz/render-runtime-lib",
|
|
3
|
-
"version": "1.80.
|
|
3
|
+
"version": "1.80.2",
|
|
4
4
|
"description": "Package of rendering utilities for components",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -19,11 +19,8 @@
|
|
|
19
19
|
"@squiz/dx-common-lib": "^1.69.1",
|
|
20
20
|
"@squiz/dx-json-schema-lib": "^1.80.1",
|
|
21
21
|
"@squiz/dx-logger-lib": "^1.65.1",
|
|
22
|
-
"@squiz/dxp-session-lib": "^1.66.2",
|
|
23
22
|
"@squiz/formatted-text-lib": "^1.70.1",
|
|
24
23
|
"@squiz/runtime-sandbox-common": "^1.65.2",
|
|
25
|
-
"@squiz/dxp-auth": "^1.20.0",
|
|
26
|
-
"@squiz/dxp-auth-lib": "^2.1.4",
|
|
27
24
|
"compression": "1.7.4",
|
|
28
25
|
"cors": "2.8.5",
|
|
29
26
|
"express": "^4.21.2",
|
|
@@ -38,6 +35,9 @@
|
|
|
38
35
|
"winston": "3.8.2"
|
|
39
36
|
},
|
|
40
37
|
"devDependencies": {
|
|
38
|
+
"@squiz/dxp-auth": "^1.23.0",
|
|
39
|
+
"@squiz/dxp-auth-lib": "^2.1.8",
|
|
40
|
+
"@squiz/dxp-session-lib": "^1.66.2",
|
|
41
41
|
"@squiz/runtime-sandbox-node": "^1.64.3",
|
|
42
42
|
"@types/compression": "1.7.5",
|
|
43
43
|
"@types/cors": "2.8.17",
|