@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.
@@ -862,7 +862,8 @@ var fetchQuestionnaireDecision = async (target, options = {}) => {
862
862
  const res = await fetch(url, { headers });
863
863
  if (!res || !res.ok) return null;
864
864
  const json = await res.json();
865
- return json != null ? json : null;
865
+ if (!json || typeof json.fire !== "boolean") return null;
866
+ return json;
866
867
  } catch {
867
868
  return null;
868
869
  }