dot-store-message
Advanced tools
Comparing version 2.2.6 to 2.2.8
@@ -28,3 +28,3 @@ "use strict"; | ||
var _ref2 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(options) { | ||
var divId, meta, op, prop, value, message, el, target; | ||
var divId, meta, op, prop, value, valid, message, el, target; | ||
return _regenerator2.default.wrap(function _callee$(_context) { | ||
@@ -35,5 +35,6 @@ while (1) { | ||
divId = options.divId, meta = options.meta, op = options.op, prop = options.prop, value = options.value; | ||
valid = value && !value.dfp; | ||
if (!(meta.fromWindow || value.dfp)) { | ||
_context.next = 3; | ||
if (!(!valid || meta.fromWindow)) { | ||
_context.next = 4; | ||
break; | ||
@@ -44,3 +45,3 @@ } | ||
case 3: | ||
case 4: | ||
message = { dotStore: true, op: op, prop: prop, value: value }; | ||
@@ -55,3 +56,3 @@ el = document.getElementById(divId); | ||
case 7: | ||
case 8: | ||
case "end": | ||
@@ -58,0 +59,0 @@ return _context.stop(); |
{ | ||
"name": "dot-store-message", | ||
"version": "2.2.6", | ||
"version": "2.2.8", | ||
"description": "Store sync using window.postMessage", | ||
@@ -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
6287
61