Skip to content

Commit 6d988b5

Browse files
committed
Bundle release 6.3.1
1 parent 4f1df40 commit 6d988b5

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

dist/chunks/xmldom-8a748e0b.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vast-client-node.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,12 +2472,12 @@ class VASTParser extends EventEmitter {
24722472
} else {
24732473
for (let index = vastResponse.ads.length - 1; index >= 0; index--) {
24742474
// - Error encountered while parsing
2475-
// - No Creative case - The parser has dealt with soma <Ad><Wrapper> or/and an <Ad><Inline> elements
2475+
// - No Creative case - The parser has dealt with some <Ad><Wrapper> or/and an <Ad><Inline> elements
24762476
// but no creative was found
24772477
const ad = vastResponse.ads[index];
24782478
const noMediaFilesAvailable = !ad.creatives.some(creative => {
2479-
var _creative$mediaFiles;
2480-
return ((_creative$mediaFiles = creative.mediaFiles) === null || _creative$mediaFiles === void 0 ? void 0 : _creative$mediaFiles.length) > 0;
2479+
var _creative$mediaFiles, _creative$variations;
2480+
return ((_creative$mediaFiles = creative.mediaFiles) === null || _creative$mediaFiles === void 0 ? void 0 : _creative$mediaFiles.length) > 0 || ((_creative$variations = creative.variations) === null || _creative$variations === void 0 ? void 0 : _creative$variations.length) > 0;
24812481
});
24822482
if ((ad.errorCode || noMediaFilesAvailable) && !ad.VASTAdTagURI) {
24832483
// If VASTAdTagURI is in the vastResponse, it means we are dealing with a Wrapper when using parseVAST from the VASTParser.

dist/vast-client-node.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vast-client.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2468,12 +2468,12 @@ class VASTParser extends EventEmitter {
24682468
} else {
24692469
for (let index = vastResponse.ads.length - 1; index >= 0; index--) {
24702470
// - Error encountered while parsing
2471-
// - No Creative case - The parser has dealt with soma <Ad><Wrapper> or/and an <Ad><Inline> elements
2471+
// - No Creative case - The parser has dealt with some <Ad><Wrapper> or/and an <Ad><Inline> elements
24722472
// but no creative was found
24732473
const ad = vastResponse.ads[index];
24742474
const noMediaFilesAvailable = !ad.creatives.some(creative => {
2475-
var _creative$mediaFiles;
2476-
return ((_creative$mediaFiles = creative.mediaFiles) === null || _creative$mediaFiles === void 0 ? void 0 : _creative$mediaFiles.length) > 0;
2475+
var _creative$mediaFiles, _creative$variations;
2476+
return ((_creative$mediaFiles = creative.mediaFiles) === null || _creative$mediaFiles === void 0 ? void 0 : _creative$mediaFiles.length) > 0 || ((_creative$variations = creative.variations) === null || _creative$variations === void 0 ? void 0 : _creative$variations.length) > 0;
24772477
});
24782478
if ((ad.errorCode || noMediaFilesAvailable) && !ad.VASTAdTagURI) {
24792479
// If VASTAdTagURI is in the vastResponse, it means we are dealing with a Wrapper when using parseVAST from the VASTParser.

dist/vast-client.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)