Comparing version 5.0.0-rc4 to 5.0.0-rc5
@@ -56,3 +56,3 @@ 'use strict'; | ||
Hoek.assert(realm.manager, 'Cannot render view without a views manager configured'); | ||
return this.wrap(realm.manager._response(template, context, options, this.request)); | ||
return this.response(realm.manager._response(template, context, options, this.request)); | ||
}); | ||
@@ -59,0 +59,0 @@ }; |
@@ -551,3 +551,3 @@ 'use strict'; | ||
if (err) { | ||
return callback(Boom.wrap(err)); | ||
return callback(Boom.boomify(err)); | ||
} | ||
@@ -554,0 +554,0 @@ |
{ | ||
"name": "vision", | ||
"description": "Templates rendering plugin support for hapi.js", | ||
"version": "5.0.0-rc4", | ||
"version": "5.0.0-rc5", | ||
"repository": "git://github.com/hapijs/vision", | ||
@@ -23,3 +23,3 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"hapi": ">=17.0.0-0" | ||
"hapi": "17.0.0-rc5" | ||
}, | ||
@@ -32,3 +32,3 @@ "devDependencies": { | ||
"handlebars": "4.x.x", | ||
"hapi": "^17.0.0-rc4", | ||
"hapi": "^17.0.0-rc5", | ||
"hapi-react-views": "6.x.x", | ||
@@ -35,0 +35,0 @@ "pug": ">=2.0.0-beta6", |
Sorry, the diff of this file is not supported yet
76264