Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayFrantsev committed Oct 12, 2021
1 parent 9a14aa7 commit 987a7d5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion audienceproject-data-web.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const moduleName = 'AudienceProjectData';

export const packageName = '@audienceproject/data-web';
export const packageVersion = '1.1.1';
export const packageVersion = '1.3.0';

export const fetchCache = {};

Expand Down
16 changes: 12 additions & 4 deletions dist/audienceproject-data-web.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
_exports.moduleName = moduleName;
var packageName = '@audienceproject/data-web';
_exports.packageName = packageName;
var packageVersion = '1.1.1';
var packageVersion = '1.3.0';
_exports.packageVersion = packageVersion;
var fetchCache = {};
_exports.fetchCache = fetchCache;
Expand Down Expand Up @@ -267,7 +267,6 @@

if (typeof __tcfapi !== 'function') {
debugInfo('No TCF 2.0 API found…');
resolve();
return;
}

Expand Down Expand Up @@ -617,11 +616,20 @@
window.googletag = window.googletag || {
cmd: []
};
window.googletag.cmd.push(function () {

var setTargeting = function setTargeting() {
Object.keys(data.keyValues).forEach(function (key) {
window.googletag.pubads().setTargeting(key, data.keyValues[key]);
});
});
};

if (window.googletag.cmd.unshift) {
// put in front of queue when possible
window.googletag.cmd.unshift(setTargeting);
} else {
// native array method is not available if queue was processed
window.googletag.cmd.push(setTargeting);
}
}
};
_exports.utils = utils;
Expand Down
2 changes: 1 addition & 1 deletion dist/audienceproject-data-web.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@audienceproject/data-web",
"version": "1.1.1",
"version": "1.3.0",
"description": "AudienceProject Data services for your websites",
"main": "dist/audienceproject-data-web.js",
"type": "module",
Expand Down

0 comments on commit 987a7d5

Please sign in to comment.