@foxxie/centra
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -15,3 +15,3 @@ import { RequestOptions, IncomingMessage } from 'http'; | ||
declare function centra(url: string, method: HttpMethod): Centra.Request; | ||
declare function centra(url: string, method?: HttpMethod): Centra.Request; | ||
@@ -52,3 +52,3 @@ declare namespace Centra { | ||
compress(): this; | ||
send(): Promise<Centra.Response>; | ||
send(): Promise<Response>; | ||
json<T = any>(): Promise<T>; | ||
@@ -55,0 +55,0 @@ text(): Promise<string>; |
{ | ||
"name": "@foxxie/centra", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A fork of Centra to support shortcut methoods in Foxxie.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
11420