Skip to content

Commit

Permalink
reinstall after removing exports from prebid package json, fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cemms1 committed Jan 23, 2025
1 parent d5cbd3f commit 3bc90ce
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"webpack-merge": "^6.0.1"
},
"dependencies": {
"@guardian/prebid.js": "git://github.com/guardian/prebid.js.git#0094807476fec7d9fc3f6535203b33668e5d22ef",
"@guardian/prebid.js": "git://github.com/guardian/prebid.js.git#5420130eae23aec16cc1133d5ca32ab2a3cfe801",
"fastdom": "^1.0.12",
"lodash-es": "^4.17.21",
"process": "^0.11.10",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/init/consented/prepare-prebid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const loadPrebid = async (framework: ConsentFramework): Promise<void> => {
if (shouldLoadPrebid()) {
await import(
/* webpackChunkName: "Prebid.js" */
`@guardian/prebid.js/build/dist/${prebidVersion()}/prebid`
`@guardian/prebid.js/build/dist/${prebidVersion()}/prebid.js`
);
prebid.initialise(window, framework);
}
Expand Down
5 changes: 2 additions & 3 deletions src/lib/header-bidding/prebid/prebid.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ describe('initialise', () => {
maxNestedIframes: 10,
mediaTypePriceGranularity: {},
priceGranularity: 'custom',
publisherDomain: undefined,
s2sConfig: {
adapter: 'prebidServer',
adapterOptions: {},
allowUnknownBidderCodes: false,
bidders: [],
maxBids: 1,
maxTimeout: 1500,
ortbNative: {
eventtrackers: [
{
Expand All @@ -91,7 +91,6 @@ describe('initialise', () => {
},
syncTimeout: 1000,
syncUrlModifier: {},
timeout: 1000,
},
timeoutBuffer: 400,
useBidCache: false,
Expand All @@ -109,7 +108,7 @@ describe('initialise', () => {
},
},
],
auctionDelay: 0,
auctionDelay: 500,
filterSettings: {
all: {
bidders: '*',
Expand Down

0 comments on commit 3bc90ce

Please sign in to comment.