arcjet / arcjet-js

Arcjet JS SDKs. Rate limiting, bot protection, email verification & attack defense for Node.js, Next.js, Bun & SvelteKit.
https://arcjet.com
Apache License 2.0
253 stars 5 forks source link

ARCJET_ENV and default timeout #997

Closed davidmytton closed 3 months ago

davidmytton commented 3 months ago

If ARCJET_ENV is not set then it should default to the production mode settings:

Reasoning is that it is better to default to the production mode settings if no value is set.