From c33ee3f52c7f661b5c3686479547ccbc673ac042 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 19 Apr 2023 18:41:54 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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, } }