diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 7cfbe27..ce294ba 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartwhois', - version: '1.0.9', + version: '1.0.10', description: 'a package for dealing with whois requests' } diff --git a/ts/index.ts b/ts/index.ts index 2e65659..8341872 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -68,8 +68,8 @@ export class SmartWhois { return { httpStatus: httpResult.statusCode, httpsStatus: httpsResult.statusCode, - httpContentType: httpResult.headers['content-type'], - httpsContentType: httpsResult.headers['content-type'], + httpHeaders: httpResult.headers, + httpsHeaders: httpsResult.headers, } }