@invrs/ads
Advanced tools
Comparing version 0.11.1 to 0.13.1
@@ -233,3 +233,3 @@ "use strict"; | ||
_regenerator.default.mark(function _callee4(_ref2) { | ||
var id, targets, parent_section, section; | ||
var id, targets, parent_section, section, atype; | ||
return _regenerator.default.wrap(function _callee4$(_context4) { | ||
@@ -250,2 +250,3 @@ while (1) { | ||
parent_section = targets.parent_section, section = targets.section; | ||
atype = targets.atype; | ||
@@ -263,6 +264,10 @@ _flatironStore.store.on("iframes.".concat(id, ".loaded"), function (options) { | ||
if (atype === "long") { | ||
store.set("iframes.".concat(id, ".props.longform"), true); | ||
} | ||
store.set("iframes.".concat(id, ".props.section"), parent_section || section || ""); | ||
}); | ||
_context4.next = 7; | ||
_context4.next = 8; | ||
return _flatironStore.store.set("iframes.".concat(id), { | ||
@@ -275,6 +280,6 @@ active: true, | ||
case 7: | ||
case 8: | ||
return _context4.abrupt("return", _context4.sent); | ||
case 8: | ||
case 9: | ||
case "end": | ||
@@ -281,0 +286,0 @@ return _context4.stop(); |
{ | ||
"name": "@invrs/ads", | ||
"version": "0.11.1", | ||
"version": "0.13.1", | ||
"description": "Inverse ad code", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53975
593