Comparing version 6.1.0 to 6.1.1
@@ -160,5 +160,5 @@ 'use strict'; | ||
Schema.types.uuid = () => Joi.string().guid().default(nodeUUID.v4, 'uuid v4'); | ||
Schema.types.uuid = () => Joi.string().guid().default(() => nodeUUID.v4(), 'uuid v4'); | ||
Schema.types.timeUUID = () => Joi.string().guid().default(nodeUUID.v1, 'uuid v1'); | ||
Schema.types.timeUUID = () => Joi.string().guid().default(() => nodeUUID.v1(), 'uuid v1'); | ||
@@ -165,0 +165,0 @@ Schema.prototype.validate = function (params, options) { |
{ | ||
"name": "dynogels", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"author": "Ryan Fitzgerald <ryan@codebrewstudios.com>", | ||
@@ -33,3 +33,3 @@ "contributors": [ | ||
"bunyan": "^1.8.1", | ||
"joi": "^9.0.1", | ||
"joi": "^9.2.0", | ||
"lodash": "^4.13.1", | ||
@@ -36,0 +36,0 @@ "node-uuid": "^1.4.7" |
@@ -83,3 +83,3 @@ 'use strict'; | ||
schema: { | ||
id: Joi.string().required().default(uuid.v4), | ||
id: Joi.string().required().default(() => uuid.v4(), 'uuid'), | ||
email: Joi.string().required(), | ||
@@ -86,0 +86,0 @@ name: Joi.string().allow(''), |
321690
Updatedjoi@^9.2.0