Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "okoze", | ||
"description": "Okoze is stub server that returns a response using a snapshot of the real server's response.", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"repository": "https://github.com/mya-ake/okoze.git", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -33,3 +33,3 @@ "use strict"; | ||
if (process.env.OKOZE_DEBUG === 'true') { | ||
consola_1.default.debug(response); | ||
consola_1.default.info(response); | ||
} | ||
@@ -40,3 +40,3 @@ return response; | ||
if (process.env.OKOZE_DEBUG === 'true') { | ||
consola_1.default.debug(err); | ||
consola_1.default.info(err); | ||
} | ||
@@ -43,0 +43,0 @@ return err.response || {}; |
@@ -11,5 +11,5 @@ "use strict"; | ||
const { method, url } = req; | ||
consola_1.default.debug(`${method} ${path_1.join(baseURL, url)}`); | ||
consola_1.default.info(`${method} ${path_1.join(baseURL, url)}`); | ||
next(); | ||
}; | ||
}; |
{ | ||
"name": "okoze", | ||
"description": "Okoze is stub server that returns a response using a snapshot of the real server's response.", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"repository": "https://github.com/mya-ake/okoze.git", | ||
@@ -6,0 +6,0 @@ "bugs": { |
17602