Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Oct 5, 2017
1 parent d9869f8 commit 0b50888
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
**Note**: Gaps between patch versions are faulty/broken releases.

## v0.3.2

- **New Feature**
- `registerFormat` can now accept a tcomb type other than a predicate, closes #29 (@alvaromb)

## v0.3.1

- **Bug fix**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var TcombType = transform({
});
```

## registerFormat(format: string, predicate: (x: any) => boolean): void
## registerFormat(format: string, predicateOrType: (x: any) => boolean | Type): void

Registers a new format.

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": "tcomb-json-schema",
"version": "0.3.1",
"version": "0.3.2",
"description": "Transforms a JSON Schema to a tcomb type",
"main": "index.js",
"files": ["index.js", "util.js"],
Expand Down

0 comments on commit 0b50888

Please sign in to comment.