diff --git a/common/app/conf/switches/ABTestSwitches.scala b/common/app/conf/switches/ABTestSwitches.scala index 3a1af373203..56fc150fd8f 100644 --- a/common/app/conf/switches/ABTestSwitches.scala +++ b/common/app/conf/switches/ABTestSwitches.scala @@ -91,4 +91,14 @@ trait ABTestSwitches { exposeClientSide = true, highImpact = false, ) + Switch( + ABTests, + "ab-region-specific-prebid", + "Test impact of splitting the Prebid bundle by region", + owners = Seq(Owner.withEmail("commercial.dev@theguardian.com")), + safeState = Off, + sellByDate = Some(LocalDate.of(2024, 12, 20)), + exposeClientSide = true, + highImpact = false, + ) } diff --git a/package.json b/package.json index 988252a9c45..41248494e3f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@emotion/react": "11.11.1", "@emotion/styled": "^10.0.27", "@guardian/ab-core": "8.0.0", - "@guardian/commercial": "23.7.3", + "@guardian/commercial": "0.0.0-beta-20241125125616", "@guardian/core-web-vitals": "6.0.0", "@guardian/eslint-config-typescript": "9.0.1", "@guardian/identity-auth": "3.0.0", @@ -211,4 +211,4 @@ "micromatch": "4.0.8", "unset-value": "^2.0.1" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 879781f819d..648f636f3bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3607,14 +3607,14 @@ __metadata: languageName: node linkType: hard -"@guardian/commercial@npm:23.7.3": - version: 23.7.3 - resolution: "@guardian/commercial@npm:23.7.3" +"@guardian/commercial@npm:0.0.0-beta-20241125125616": + version: 0.0.0-beta-20241125125616 + resolution: "@guardian/commercial@npm:0.0.0-beta-20241125125616" dependencies: "@octokit/core": "npm:^6.1.2" fastdom: "npm:^1.0.11" lodash-es: "npm:^4.17.21" - prebid.js: "github:guardian/prebid.js#4d50ccf7d3f74561ef9d11a091fde5dd434d9810" + prebid.js: "github:guardian/prebid.js#6354bd62cdc350a34c77427f2e207c464b4cac51" process: "npm:^0.11.10" tslib: "npm:^2.6.2" web-vitals: "npm:^4.2.1" @@ -3626,7 +3626,7 @@ __metadata: "@guardian/libs": ^19.1.0 "@guardian/source": ^8.0.0 typescript: ~5.5.3 - checksum: 10c0/96d76b6ebb1479a48d574ebd22f062875d00832252e21ba6aa1edc5f4f7df458dfe220898907dc73c4a4839dfdce2c73b0d83860239ebd5086d43880fe0b204f + checksum: 10c0/04d4418d2b262b80f38bbab2c11db4338c2023abaa8a45793388f69f24c319f1de92c36fa4bf2e5baad98792e2733ee570ba97b6c0b030d62ec3578557b30837 languageName: node linkType: hard @@ -3699,7 +3699,7 @@ __metadata: "@emotion/react": "npm:11.11.1" "@emotion/styled": "npm:^10.0.27" "@guardian/ab-core": "npm:8.0.0" - "@guardian/commercial": "npm:23.7.3" + "@guardian/commercial": "npm:0.0.0-beta-20241125125616" "@guardian/core-web-vitals": "npm:6.0.0" "@guardian/eslint-config-typescript": "npm:9.0.1" "@guardian/identity-auth": "npm:3.0.0" @@ -13841,9 +13841,9 @@ __metadata: languageName: node linkType: hard -"prebid.js@github:guardian/prebid.js#4d50ccf7d3f74561ef9d11a091fde5dd434d9810": +"prebid.js@github:guardian/prebid.js#6354bd62cdc350a34c77427f2e207c464b4cac51": version: 8.52.0-8 - resolution: "prebid.js@https://github.com/guardian/prebid.js.git#commit=4d50ccf7d3f74561ef9d11a091fde5dd434d9810" + resolution: "prebid.js@https://github.com/guardian/prebid.js.git#commit=6354bd62cdc350a34c77427f2e207c464b4cac51" dependencies: "@babel/core": "npm:^7.23.2" "@babel/plugin-transform-runtime": "npm:^7.18.9" @@ -13866,7 +13866,7 @@ __metadata: dependenciesMeta: fsevents: optional: true - checksum: 10c0/36d03517190e99d31a1f92154e6806db5b7cbdf6bf83d8cbc553a2cd1a1f73bdc4532c6b45d43cc1d781e5bef18258ff9b70ab67d2a502b78e2c582e7fed89f6 + checksum: 10c0/739e451921f502aea4c45fb40c70f0b1a45196d4027f179d094b1a7fa5391a27c753dcf53f1ac46ca5436f79660a52cf918bf4a90654fde001208c5d64059860 languageName: node linkType: hard