diff --git a/API.md b/API.md index 6abeba827..246975876 100644 --- a/API.md +++ b/API.md @@ -1,5 +1,5 @@ -# 14.1.1 API Reference +# 14.2.0 API Reference @@ -46,7 +46,7 @@ - [`any.label(name)`](#anylabelname) - [`any.raw(isRaw)`](#anyrawisraw) - [`any.empty(schema)`](#anyemptyschema) - - [`any.error(err)`](#anyerrorerr) + - [`any.error(err, [options])`](#anyerrorerr-options) - [`any.describe()`](#anydescribe) - [`array` - inherits from `Any`](#array---inherits-from-any) - [`array.sparse([enabled])`](#arraysparseenabled) diff --git a/README.md b/README.md index 587cb0894..8c27efd06 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Imagine you run facebook and you want visitors to sign up on the website with re This is joi, joi allows you to create *blueprints* or *schemas* for JavaScript objects (an object that stores information) to ensure *validation* of key information. # API -See the detailed [API Reference](https://github.com/hapijs/joi/blob/v14.1.1/API.md). +See the detailed [API Reference](https://github.com/hapijs/joi/blob/v14.2.0/API.md). # Example diff --git a/package.json b/package.json index ed6b8b1db..8a5fc3ba5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "joi", "description": "Object schema validation", - "version": "14.1.1", + "version": "14.2.0", "homepage": "https://github.com/hapijs/joi", "repository": "git://github.com/hapijs/joi", "main": "lib/index.js",