debugbear
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -383,3 +383,8 @@ import * as queryString from "querystring"; | ||
date, | ||
}: { title: string; description: string; pageFilter: string; date: string } | ||
}: { | ||
title: string; | ||
description: string; | ||
pageFilter: string; | ||
date: string | Date; | ||
} | ||
) { | ||
@@ -393,3 +398,3 @@ return await callApi({ | ||
pageFilter, | ||
date, | ||
date: typeof date === "string" ? date : date.toISOString(), | ||
}, | ||
@@ -396,0 +401,0 @@ explicitApiKeyParam: this.apiKey, |
@@ -141,5 +141,5 @@ import { AnalysisResultObject } from "./ResponseTypes"; | ||
pageFilter: string; | ||
date: string; | ||
date: string | Date; | ||
}): Promise<any>; | ||
} | ||
export {}; |
@@ -408,3 +408,3 @@ "use strict"; | ||
pageFilter: pageFilter, | ||
date: date, | ||
date: typeof date === "string" ? date : date.toISOString(), | ||
}, | ||
@@ -411,0 +411,0 @@ explicitApiKeyParam: this.apiKey, |
{ | ||
"name": "debugbear", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Use DebugBear to test web performance as part of your Continuous Integration process.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
76555
2117