Skip to content

Commit

Permalink
use version replace rather than package.json in widespace (prebid#3143)
Browse files Browse the repository at this point in the history
  • Loading branch information
snapwich authored and AdSpacesDevelopers committed Jan 30, 2019
1 parent 6b11712 commit 3e547c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/widespaceBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { version } from '../package.json';
import { config } from 'src/config';
import { registerBidder } from 'src/adapters/bidderFactory';
import {
Expand Down Expand Up @@ -66,7 +65,7 @@ export const spec = {
'hb.floor': bid.bidfloor || '',
'hb.spb': i === 0 ? pixelSyncPossibility() : -1,
'hb.ver': WS_ADAPTER_VERSION,
'hb.name': `prebidjs-${version}`,
'hb.name': 'prebidjs-$prebid.version$',
'hb.bidId': bid.bidId,
'hb.sizes': parseSizesInput(bid.sizes).join(','),
'hb.currency': bid.params.cur || bid.params.currency || ''
Expand Down

0 comments on commit 3e547c0

Please sign in to comment.