-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Separate ArcjetRequest and ArcjetRequestDetails types to accep…
…t record of headers (#228) This separates our `ArcjetRequest` type, which users provide to the SDK's `protect()` function, and the `ArcjetRequestDetails`, which is an implementation detail of the protocol. This allows us to support various definitions for headers (and other fields in the future) while still normalizing for consumption by local and remote rules internally. Closes #33
- Loading branch information
1 parent
95c7abd
commit 4950364
Showing
3 changed files
with
420 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.