@wireai/activation 0.9.0 → 0.9.2

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.
@@ -856,7 +856,8 @@ var fetchQuestionnaireDecision = async (target, options = {}) => {
856
856
  const res = await fetch(url, { headers });
857
857
  if (!res || !res.ok) return null;
858
858
  const json = await res.json();
859
- return json != null ? json : null;
859
+ if (!json || typeof json.fire !== "boolean") return null;
860
+ return json;
860
861
  } catch {
861
862
  return null;
862
863
  }