Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Change remaining decision.reason.isSpoofed() examples #401

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

blaine-arcjet
Copy link
Contributor

This changes the remaining calls to decision.reason.isSpoofed(). While these are possible to use, they only make sense in a 1-rule context but all our examples show multiple rules being configured. To reduce footguns in our exampels, Spoofed and Verified checks should always be done against results.

Ref arcjet/arcjet-js#3066 (comment)

Copy link

vercel bot commented Feb 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
arcjet-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 3, 2025 8:23pm

@davidmytton davidmytton merged commit ca4ba84 into main Feb 4, 2025
4 checks passed
@davidmytton davidmytton deleted the phated/getting-started-spoofed branch February 4, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants