Skip to content

Commit

Permalink
Adding object to allowed types and bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
geek committed Feb 7, 2013
1 parent a7b4b25 commit 2805865
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/types/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var StringType = require('./string');
var NumberType = require('./number');
var BooleanType = require('./boolean');
var ArrayType = require('./array');
var ObjectType = require('./object');


// Declare internals
Expand All @@ -21,6 +22,7 @@ internals.Types = function () {
this.Number = NumberType;
this.Boolean = BooleanType;
this.Array = ArrayType;
this.Object = ObjectType;

return this;
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "joi",
"description": "Object schema validation",
"version": "0.0.7",
"version": "0.0.8",
"author": "Van Nguyen <the.gol.effect@gmail.com>",
"contributors": [
"Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)",
Expand Down

0 comments on commit 2805865

Please sign in to comment.