Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayFrantsev committed Dec 21, 2020
1 parent 9e15add commit 80a08d6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion audienceproject-data-web.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const moduleName = 'AudienceProjectData';
export const packageName = '@audienceproject/data-web';
export const packageVersion = '1.0.1';
export const packageVersion = '1.0.2';

const cacheMemory = {};

Expand Down
17 changes: 10 additions & 7 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.0.1';
var packageVersion = '1.0.2';
_exports.packageVersion = packageVersion;
var cacheMemory = {};
var fetchCodeRunning = 'RUNNING';
Expand Down Expand Up @@ -229,9 +229,9 @@
options.consentString = model.tcString || '';

if (options.gdprApplies) {
var _model$vendors, _model$vendors$consen, _model$purpose, _model$purpose$consen, _model$purpose2, _model$purpose2$conse;
var _model$vendor, _model$vendor$consent, _model$purpose, _model$purpose$consen, _model$purpose2, _model$purpose2$conse;

var hasVendor = (_model$vendors = model.vendors) == null ? void 0 : (_model$vendors$consen = _model$vendors.consents) == null ? void 0 : _model$vendors$consen[vendorId];
var hasVendor = (_model$vendor = model.vendor) == null ? void 0 : (_model$vendor$consent = _model$vendor.consents) == null ? void 0 : _model$vendor$consent[vendorId];
options.allowStorageAccess = Boolean(hasVendor && ((_model$purpose = model.purpose) == null ? void 0 : (_model$purpose$consen = _model$purpose.consents) == null ? void 0 : _model$purpose$consen[1]));
options.allowPersonalisation = Boolean(hasVendor && ((_model$purpose2 = model.purpose) == null ? void 0 : (_model$purpose2$conse = _model$purpose2.consents) == null ? void 0 : _model$purpose2$conse[3]));
}
Expand Down Expand Up @@ -486,14 +486,17 @@
dataUsed = true;
clearTimeout(timeout);
saveDataStatusKey(data, statusCode.code);

var result = _extends({
type: statusCode.value
}, data);

_exports.fetchStatus = fetchStatus = {
state: statusCode.code > 0 ? fetchCodeReady : fetchCodeFailed,
options: options,
result: _extends({
type: resultCache.value
}, data)
result: result
};
resolve(data);
resolve(result);
};

useCmp(function () {
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.0.1",
"version": "1.0.2",
"description": "AudienceProject Data services for your websites",
"main": "dist/audienceproject-data-web.js",
"type": "module",
Expand Down

0 comments on commit 80a08d6

Please sign in to comment.