@hyperone/cli-core
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -28,3 +28,3 @@ import fetch from 'node-fetch'; | ||
} | ||
const start = new Date(); | ||
if (body) { | ||
@@ -40,2 +40,4 @@ logger.debug('request body', body); | ||
logger.debug('response headers', JSON.stringify(Object.fromEntries(resp.headers), null, 2)); | ||
const duration = new Date() - start; | ||
logger.debug('response time', `${duration} ms`); | ||
@@ -42,0 +44,0 @@ if (!resp.ok) { |
{ | ||
"name": "@hyperone/cli-core", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -29,3 +29,3 @@ "main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "a3a4d4cf6ce542757ec9adbc129f9b93bea9380e" | ||
"gitHead": "faf59f0490d907f138a6f187fb053b6fe1010cce" | ||
} |
24871
625