diff --git a/package.json b/package.json index a96d2fa..c9ba4f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ztimson/utils", - "version": "0.15.4", + "version": "0.15.5", "description": "Utility library", "author": "Zak Timson", "license": "MIT", diff --git a/src/http.ts b/src/http.ts index b8ef55a..a6b5531 100644 --- a/src/http.ts +++ b/src/http.ts @@ -10,7 +10,7 @@ export type HttpRequestOptions = { decode?: boolean; fragment?: string; headers?: {[key: string | symbol]: string | null | undefined}; - method?: 'GET' | 'POST' | 'PATCH' | 'DELETE'; + method?: 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE'; query?: {key: string, value: string}[] | {[key: string]: string}; url?: string; [key: string]: any;