@squiz/component-cli-lib 1.50.1-alpha.7 → 1.50.1-alpha.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/component-cli-lib",
3
- "version": "1.50.1-alpha.7",
3
+ "version": "1.50.1-alpha.9",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -13,12 +13,12 @@
13
13
  "author": "",
14
14
  "license": "ISC",
15
15
  "devDependencies": {
16
- "@squiz/component-lib": "1.50.1-alpha.7",
17
- "@squiz/component-web-api-lib": "1.50.1-alpha.7",
18
- "@squiz/dx-common-lib": "1.50.1-alpha.7",
19
- "@squiz/dx-json-schema-lib": "1.50.1-alpha.7",
20
- "@squiz/dx-logger-lib": "1.50.1-alpha.7",
21
- "@squiz/virus-scanner-lib": "1.50.1-alpha.7",
16
+ "@squiz/component-lib": "1.50.1-alpha.9",
17
+ "@squiz/component-web-api-lib": "1.50.1-alpha.9",
18
+ "@squiz/dx-common-lib": "1.50.1-alpha.9",
19
+ "@squiz/dx-json-schema-lib": "1.50.1-alpha.9",
20
+ "@squiz/dx-logger-lib": "1.50.1-alpha.9",
21
+ "@squiz/virus-scanner-lib": "1.50.1-alpha.9",
22
22
  "@types/cli-color": "2.0.2",
23
23
  "@types/express": "4.17.17",
24
24
  "@types/jest": "28.1.8",
@@ -32,12 +32,12 @@
32
32
  "typescript": "4.9.4"
33
33
  },
34
34
  "dependencies": {
35
- "@squiz/render-runtime-lib": "1.50.1-alpha.7",
35
+ "@squiz/render-runtime-lib": "1.50.1-alpha.9",
36
36
  "archiver": "5.3.1",
37
37
  "axios": "1.3.2",
38
38
  "cli-color": "^2.0.2",
39
39
  "open": "^8.4.0",
40
40
  "supertest": "^6.2.3"
41
41
  },
42
- "gitHead": "111ef0a9e01376187c81d4bda3e508eaeb195522"
42
+ "gitHead": "4db5e8f17069fa6e8ac265cf0d522e1ec11c5545"
43
43
  }
@@ -113,7 +113,7 @@ describe('PageRenderController- Integration', () => {
113
113
 
114
114
  const mockJwtPayload = {
115
115
  segments: ['is-authenticated'],
116
- customerId: 'test-id-123',
116
+ customerid: 'test-id-123',
117
117
  };
118
118
  const mockSession = Buffer.from(JSON.stringify(mockJwtPayload)).toString('base64');
119
119
  const page = await pageRenderService.get(`p/${PAGE_CONTENT_ID}`, {
@@ -192,7 +192,7 @@ describe('PageRenderController- Integration', () => {
192
192
  it('a valid page variation', async () => {
193
193
  const mockJwtPayload = {
194
194
  segments: ['is-authenticated'],
195
- customerId: 'test-id-123',
195
+ customerid: 'test-id-123',
196
196
  };
197
197
  const mockSession = Buffer.from(JSON.stringify(mockJwtPayload)).toString('base64');
198
198
  const page = await pageRenderService.get(`p/${PAGE_CONTENT_ID}`, {
@@ -203,7 +203,7 @@ describe('PageRenderController- Integration', () => {
203
203
  it('another valid page variation', async () => {
204
204
  const mockJwtPayload = {
205
205
  segments: ['is-unauthenticated'],
206
- customerId: 'test-id-123',
206
+ customerid: 'test-id-123',
207
207
  };
208
208
  const mockSession = Buffer.from(JSON.stringify(mockJwtPayload)).toString('base64');
209
209
  const page = await pageRenderService.get(`p/${PAGE_CONTENT_ID}`, {
@@ -214,7 +214,7 @@ describe('PageRenderController- Integration', () => {
214
214
  it('the default node if there is not a valid page variation', async () => {
215
215
  const mockJwtPayload = {
216
216
  segments: ['not-valid'],
217
- customerId: 'test-id-123',
217
+ customerid: 'test-id-123',
218
218
  };
219
219
  const mockSession = Buffer.from(JSON.stringify(mockJwtPayload)).toString('base64');
220
220
  const page = await pageRenderService.get(`p/${PAGE_CONTENT_ID}`, {