Skip to content

Commit

Permalink
fix import paths for various adapters (prebid#3921)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnellbaker authored and sa1omon committed Nov 28, 2019
1 parent e00a5fe commit 155011f
Show file tree
Hide file tree
Showing 18 changed files with 48 additions and 48 deletions.
6 changes: 3 additions & 3 deletions modules/advenueBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { registerBidder } from 'src/adapters/bidderFactory';
import { BANNER, NATIVE, VIDEO } from 'src/mediaTypes';
import * as utils from 'src/utils';
import { registerBidder } from '../src/adapters/bidderFactory';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes';
import * as utils from '../src/utils';

const BIDDER_CODE = 'advenue';
const URL_MULTI = '//ssp.advenuemedia.co.uk/?c=o&m=multi';
Expand Down
2 changes: 1 addition & 1 deletion modules/bidphysicsBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {registerBidder} from 'src/adapters/bidderFactory';
import {registerBidder} from '../src/adapters/bidderFactory';
import * as utils from '../src/utils';
import {BANNER} from '../src/mediaTypes';

Expand Down
6 changes: 3 additions & 3 deletions modules/cedatoBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as utils from 'src/utils';
import { registerBidder } from 'src/adapters/bidderFactory';
import { BANNER } from 'src/mediaTypes';
import * as utils from '../src/utils';
import { registerBidder } from '../src/adapters/bidderFactory';
import { BANNER } from '../src/mediaTypes';

const BIDDER_CODE = 'cedato';
const BID_URL = '//h.cedatoplayer.com/hb';
Expand Down
2 changes: 1 addition & 1 deletion modules/digiTrustIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

// import { config } from 'src/config';
import * as utils from '../src/utils'
import { ajax } from 'src/ajax';
import { ajax } from '../src/ajax';
import { attachIdSystem } from '../modules/userId';
// import { getGlobal } from 'src/prebidGlobal';

Expand Down
10 changes: 5 additions & 5 deletions modules/emx_digitalBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as utils from 'src/utils';
import { registerBidder } from 'src/adapters/bidderFactory';
import { BANNER, VIDEO } from 'src/mediaTypes';
import { config } from 'src/config';
import { Renderer } from 'src/Renderer';
import * as utils from '../src/utils';
import { registerBidder } from '../src/adapters/bidderFactory';
import { BANNER, VIDEO } from '../src/mediaTypes';
import { config } from '../src/config';
import { Renderer } from '../src/Renderer';
import includes from 'core-js/library/fn/array/includes';

const BIDDER_CODE = 'emx_digital';
Expand Down
4 changes: 2 additions & 2 deletions modules/imonomyBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as utils from 'src/utils';
import { registerBidder } from 'src/adapters/bidderFactory';
import * as utils from '../src/utils';
import { registerBidder } from '../src/adapters/bidderFactory';

const BIDDER_CODE = 'imonomy';
const ENDPOINT = '//b.imonomy.com/openrtb/hb/00000';
Expand Down
6 changes: 3 additions & 3 deletions modules/loopmeBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as utils from 'src/utils';
import { registerBidder } from 'src/adapters/bidderFactory';
import { BANNER } from 'src/mediaTypes';
import * as utils from '../src/utils';
import { registerBidder } from '../src/adapters/bidderFactory';
import { BANNER } from '../src/mediaTypes';

const LOOPME_ENDPOINT = 'https://loopme.me/api/hb';

Expand Down
4 changes: 2 additions & 2 deletions modules/mgidBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {registerBidder} from 'src/adapters/bidderFactory';
import {registerBidder} from '../src/adapters/bidderFactory';
import * as utils from '../src/utils';
import * as urlUtils from '../src/url';
import {BANNER, NATIVE} from 'src/mediaTypes';
import {BANNER, NATIVE} from '../src/mediaTypes';
import {config} from '../src/config';
const DEFAULT_CUR = 'USD';
const BIDDER_CODE = 'mgid';
Expand Down
4 changes: 2 additions & 2 deletions modules/microadBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { registerBidder } from 'src/adapters/bidderFactory';
import { BANNER } from 'src/mediaTypes';
import { registerBidder } from '../src/adapters/bidderFactory';
import { BANNER } from '../src/mediaTypes';

const BIDDER_CODE = 'microad';

Expand Down
6 changes: 3 additions & 3 deletions modules/open8BidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Renderer } from 'src/Renderer';
import { Renderer } from '../src/Renderer';
import {ajax} from '../src/ajax';
import * as utils from 'src/utils';
import { registerBidder } from 'src/adapters/bidderFactory';
import { VIDEO, BANNER } from 'src/mediaTypes';
import { registerBidder } from '../src/adapters/bidderFactory';
import { VIDEO, BANNER } from '../src/mediaTypes';

const BIDDER_CODE = 'open8';
const URL = '//as.vt.open8.com/v1/control/prebid';
Expand Down
4 changes: 2 additions & 2 deletions modules/otmBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {BANNER} from 'src/mediaTypes';
import {registerBidder} from 'src/adapters/bidderFactory';
import {BANNER} from '../src/mediaTypes';
import {registerBidder} from '../src/adapters/bidderFactory';

export const spec = {
code: 'otm',
Expand Down
4 changes: 2 additions & 2 deletions modules/prebidmanagerAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const DEFAULT_EVENT_URL = 'https://endpoint.prebidmanager.com/endpoint'
const analyticsType = 'endpoint';
const analyticsName = 'Prebid Manager Analytics: ';

var utils = require('src/utils');
var CONSTANTS = require('src/constants.json');
var utils = require('../src/utils');
var CONSTANTS = require('../src/constants.json');
let ajax = ajaxBuilder(0);

var _VERSION = 1;
Expand Down
6 changes: 3 additions & 3 deletions modules/reklamstoreBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as utils from 'src/utils';
import { registerBidder } from 'src/adapters/bidderFactory';
import { BANNER } from 'src/mediaTypes';
import * as utils from '../src/utils';
import { registerBidder } from '../src/adapters/bidderFactory';
import { BANNER } from '../src/mediaTypes';

const BIDDER_CODE = 'reklamstore';
const ENDPOINT_URL = '//ads.rekmob.com/m/prebid';
Expand Down
6 changes: 3 additions & 3 deletions modules/slimcutBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as utils from 'src/utils';
import { registerBidder } from 'src/adapters/bidderFactory';
import { ajax } from 'src/ajax';
import * as utils from '../src/utils';
import { registerBidder } from '../src/adapters/bidderFactory';
import { ajax } from '../src/ajax';

const BIDDER_CODE = 'slimcut';
const ENDPOINT_URL = '//sb.freeskreen.com/pbr';
Expand Down
4 changes: 2 additions & 2 deletions modules/smartrtbBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as utils from 'src/utils';
import {registerBidder} from 'src/adapters/bidderFactory';
import * as utils from '../src/utils';
import {registerBidder} from '../src/adapters/bidderFactory';
const BIDDER_CODE = 'smartrtb';

function getDomain () {
Expand Down
14 changes: 7 additions & 7 deletions modules/sortableAnalyticsAdapter.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import adapter from 'src/AnalyticsAdapter';
import CONSTANTS from 'src/constants.json';
import adapterManager from 'src/adapterManager';
import * as utils from 'src/utils';
import {ajax} from 'src/ajax';
import {getGlobal} from 'src/prebidGlobal';
import { config } from 'src/config';
import adapter from '../src/AnalyticsAdapter';
import CONSTANTS from '../src/constants.json';
import adapterManager from '../src/adapterManager';
import * as utils from '../src/utils';
import {ajax} from '../src/ajax';
import {getGlobal} from '../src/prebidGlobal';
import { config } from '../src/config';

const DEFAULT_PROTOCOL = 'https';
const DEFAULT_HOST = 'pa.deployads.com';
Expand Down
6 changes: 3 additions & 3 deletions modules/timBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as utils from 'src/utils';
import {registerBidder} from 'src/adapters/bidderFactory';
import * as utils from '../src/utils';
import {registerBidder} from '../src/adapters/bidderFactory';
import * as bidfactory from '../src/bidfactory';
var CONSTANTS = require('src/constants.json');
var CONSTANTS = require('../src/constants.json');
const BIDDER_CODE = 'tim';

function parseBidRequest(bidRequest) {
Expand Down
2 changes: 1 addition & 1 deletion modules/yieldoneBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as utils from '../src/utils';
import {config} from '../src/config';
import {registerBidder} from '../src/adapters/bidderFactory';
import { Renderer } from 'src/Renderer';
import { Renderer } from '../src/Renderer';
import { BANNER, VIDEO } from '../src/mediaTypes';

const BIDDER_CODE = 'yieldone';
Expand Down

0 comments on commit 155011f

Please sign in to comment.