Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 969ab5a

Browse files
feat: removes "isValid" from public API
BREAKING CHANGE: Gavel no longer exports "isValid" method from public API. Pleae use "gavel.validate" instead.
1 parent 807a879 commit 969ab5a

File tree

2 files changed

+1
-60
lines changed

2 files changed

+1
-60
lines changed

lib/gavel.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const { HttpRequest, ExpectedHttpRequest } = require('./model/http-request');
22
const { HttpResponse, ExpectedHttpResponse } = require('./model/http-response');
3-
const { isValid } = require('./validate');
43

54
const validate = require('./next/validate');
65

@@ -12,6 +11,5 @@ module.exports = {
1211
HttpRequest,
1312
HttpResponse,
1413
ExpectedHttpRequest,
15-
ExpectedHttpResponse,
16-
isValid
14+
ExpectedHttpResponse
1715
};

lib/validate.js

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)