Skip to content

Commit

Permalink
cpex Id module: Remove window reference (prebid#8440)
Browse files Browse the repository at this point in the history
* Remove window reference

* Changed version to string
  • Loading branch information
EskelCz authored and renebaudisch committed Jun 28, 2022
1 parent 8bac0a2 commit 1f9b6ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/cpexIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import { submodule } from '../src/hook.js'
import { getStorageManager } from '../src/storageManager.js'

window.top.cpexIdVersion = '0.0.3'

// Returns StorageManager
export const storage = getStorageManager({ gvlid: 570, moduleName: 'cpexId' })

Expand All @@ -18,6 +16,7 @@ const getId = () => { return storage.getCookie('caid') || storage.getDataFromLoc

/** @type {Submodule} */
export const cpexIdSubmodule = {
version: '0.0.4',
/**
* used to link submodule with config
* @type {string}
Expand Down

0 comments on commit 1f9b6ab

Please sign in to comment.