Skip to content

Commit

Permalink
1.5.1
Browse files Browse the repository at this point in the history
- Added missing export for `BodyguardFormConfig` interface
  • Loading branch information
miunau committed Apr 3, 2024
1 parent 6218d33 commit dd57258
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.5.1 (2024-04-03)

- Added missing export for `BodyguardFormConfig` interface

## 1.5.0 (2024-02-20)

### New Features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@auth70/bodyguard",
"version": "1.5.0",
"version": "1.5.1",
"description": "Fetch API compatible streaming JSON and form data body parser and guard",
"keywords": [
"request",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { BodyguardValidator, JSONLike, BodyguardConfig, BodyguardError, Bod
import { ERRORS, MAX_DEPTH, MAX_KEYS, MAX_KEY_LENGTH, MAX_SIZE } from "./lib.js";
import { FormDataParser, JSONParser, TextParser, URLParamsParser } from "./parser.js";

export type { BodyguardError, BodyguardResult, BodyguardSuccess, BodyguardConfig, BodyguardValidator, JSONLike };
export type { BodyguardError, BodyguardResult, BodyguardSuccess, BodyguardConfig, BodyguardFormConfig, BodyguardValidator, JSONLike };
export { ERRORS, MAX_DEPTH, MAX_KEYS, MAX_KEY_LENGTH, MAX_SIZE, FormDataParser, JSONParser, TextParser, URLParamsParser};

export class Bodyguard {
Expand Down

0 comments on commit dd57258

Please sign in to comment.