@wireai/activation 0.9.2 → 0.10.0

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,8 +856,7 @@ 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
- if (!json || typeof json.fire !== "boolean") return null;
860
- return json;
859
+ return json != null ? json : null;
861
860
  } catch {
862
861
  return null;
863
862
  }