@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.
@@ -862,8 +862,7 @@ 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
- if (!json || typeof json.fire !== "boolean") return null;
866
- return json;
865
+ return json != null ? json : null;
867
866
  } catch {
868
867
  return null;
869
868
  }