@player-ui/player 0.8.0-next.5 → 0.8.0-next.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2409,7 +2409,7 @@ function hasTemplateValues(obj, localKey) {
2409
2409
  return Object.hasOwnProperty.call(obj, "template") && Array.isArray(obj?.template) && obj.template.length && obj.template.find((tmpl) => tmpl.output === localKey);
2410
2410
  }
2411
2411
  function hasSwitchKey(localKey) {
2412
- return localKey === "staticSwitch";
2412
+ return localKey === "staticSwitch" || localKey === "dynamicSwitch";
2413
2413
  }
2414
2414
  function hasTemplateKey(localKey) {
2415
2415
  return localKey === "template";
package/dist/index.mjs CHANGED
@@ -2409,7 +2409,7 @@ function hasTemplateValues(obj, localKey) {
2409
2409
  return Object.hasOwnProperty.call(obj, "template") && Array.isArray(obj?.template) && obj.template.length && obj.template.find((tmpl) => tmpl.output === localKey);
2410
2410
  }
2411
2411
  function hasSwitchKey(localKey) {
2412
- return localKey === "staticSwitch";
2412
+ return localKey === "staticSwitch" || localKey === "dynamicSwitch";
2413
2413
  }
2414
2414
  function hasTemplateKey(localKey) {
2415
2415
  return localKey === "template";