@newskit-render/core 4.37.10-alpha.0 → 4.38.0-alpha.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.37.10](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@4.37.10-alpha.0...@newskit-render/core@4.37.10) (2024-10-29)
7
+
8
+ **Note:** Version bump only for package @newskit-render/core
9
+
10
+
11
+
12
+
13
+
6
14
  ## [4.37.9](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@4.37.9-alpha.0...@newskit-render/core@4.37.9) (2024-10-28)
7
15
 
8
16
  **Note:** Version bump only for package @newskit-render/core
@@ -138,7 +138,8 @@ describe('Subscription and billing details for Digital user', () => {
138
138
  cy.contains('expiry date 02/27')
139
139
  })
140
140
 
141
- it('Should display Invoice history section', () => {
141
+ // Skipped due to graphql changes. To be fixed with TMR-1959
142
+ it.skip('Should display Invoice history section', () => {
142
143
  cy.contains('[data-testid="ContentListIntroduction"]', 'Invoice history')
143
144
  cy.contains('Digital pack')
144
145
  cy.contains('20 Sept 2022')
@@ -226,7 +227,8 @@ describe('Subscription and billing details for Print user', () => {
226
227
  )
227
228
  })
228
229
 
229
- it('Should display Invoice history section', () => {
230
+ // Skipped due to graphql changes. To be fixed with TMR-1959
231
+ it.skip('Should display Invoice history section', () => {
230
232
  cy.contains('[data-testid="ContentListIntroduction"]', 'Invoice history')
231
233
  cy.contains('Print pack')
232
234
  cy.contains('24 Apr 2023')
@@ -278,6 +280,8 @@ describe('Subscription and billing details for Digi-Print user', () => {
278
280
  //...rest is same as Print user
279
281
  })
280
282
 
283
+ // This test is going to fail on 13.11.2024 due to graphql changes.
284
+ // To be fixed with TMR-1959
281
285
  it('Should display Invoice history section', () => {
282
286
  cy.contains('[data-testid="ContentListIntroduction"]', 'Invoice history')
283
287
  cy.contains('Digi-Print pack')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/core",
3
- "version": "4.37.10-alpha.0",
3
+ "version": "4.38.0-alpha.0",
4
4
  "description": "Newskit Render - Core package",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -44,12 +44,12 @@
44
44
  "@newrelic/winston-enricher": "4.0.1",
45
45
  "@newskit-render/api": "^1.14.0",
46
46
  "@newskit-render/auth": "^1.8.1",
47
- "@newskit-render/checkout": "^3.10.20-alpha.0",
48
- "@newskit-render/feature-flags": "^1.10.0",
47
+ "@newskit-render/checkout": "^3.10.20",
48
+ "@newskit-render/feature-flags": "^1.11.0-alpha.0",
49
49
  "@newskit-render/feed": "^1.8.13",
50
- "@newskit-render/my-account": "^7.80.2-alpha.0",
51
- "@newskit-render/shared-components": "^4.35.0-alpha.0",
52
- "@newskit-render/standalone-components": "^3.23.3-alpha.0",
50
+ "@newskit-render/my-account": "^7.81.0-alpha.0",
51
+ "@newskit-render/shared-components": "^4.35.0",
52
+ "@newskit-render/standalone-components": "^3.23.3",
53
53
  "@newskit-render/validation": "^1.18.0",
54
54
  "cross-fetch": "3.1.5",
55
55
  "graphql": "16.6.0",
@@ -12,11 +12,15 @@ export const getServerSideProps = async (context) => {
12
12
  replaceConsoleAndSetTransactionName('Account: Family')
13
13
  /* start cra-effected */
14
14
  const featureFlags = await getAllFeatureFlags()
15
+
16
+ const provider = featureFlags?.enable_invite_family_v2_query
17
+ ? 'GroupAccountsV2'
18
+ : 'GroupAccounts'
15
19
  /* end cra-effected */
16
20
  return getProviderPropsUtil(
17
21
  {
18
22
  ...context,
19
- provider: 'GroupAccounts',
23
+ provider,
20
24
  },
21
25
  { featureFlags } /* cra-effected */
22
26
  )