@invrs/ads
Advanced tools
Comparing version 0.8.13 to 0.8.14
@@ -230,2 +230,3 @@ "use strict"; | ||
_regenerator.default.mark(function _callee4(id) { | ||
var targets, parent_section; | ||
return _regenerator.default.wrap(function _callee4$(_context4) { | ||
@@ -243,14 +244,16 @@ while (1) { | ||
case 2: | ||
_context4.next = 4; | ||
targets = _flatironStore.store.getSync("inverse.dfp.targets"); | ||
parent_section = targets.parent_section; | ||
_context4.next = 6; | ||
return _flatironStore.store.set("iframes.".concat(id), { | ||
active: true, | ||
divId: id, | ||
url: (0, _url.archUrl)("/poll"), | ||
url: (0, _url.archUrl)("/poll?id=".concat(id, "§ion=").concat(parent_section)), | ||
width: "100%" | ||
}); | ||
case 4: | ||
case 6: | ||
return _context4.abrupt("return", _context4.sent); | ||
case 5: | ||
case 7: | ||
case "end": | ||
@@ -257,0 +260,0 @@ return _context4.stop(); |
{ | ||
"name": "@invrs/ads", | ||
"version": "0.8.13", | ||
"version": "0.8.14", | ||
"description": "Inverse ad code", | ||
@@ -17,5 +17,5 @@ "keywords": [ | ||
"scripts": { | ||
"build": "rimraf dist; babel lib --out-dir dist --source-maps", | ||
"build": "babel lib --out-dir dist --source-maps", | ||
"fix": "npm run lint -- --fix", | ||
"prepublishOnly": "npm run build", | ||
"prepublishOnly": "rimraf dist; npm run build", | ||
"pretty": "prettier --write **/*.css **/*.json **/*.md", | ||
@@ -28,3 +28,3 @@ "lint": "eslint --ignore-path .gitignore --ext=js .", | ||
"@babel/runtime": "7.0.0-beta.42", | ||
"@invrs/flatiron-store": "^0.8.13" | ||
"@invrs/flatiron-store": "^0.8.14" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
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
52266
575