Added PUT method to http helper
All checks were successful
Build / Build NPM Project (push) Successful in 30s
Build / Tag Version (push) Successful in 7s

This commit is contained in:
Zakary Timson 2024-09-11 17:34:56 -04:00
parent afb6ca0803
commit adcd6eaf79
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@ztimson/utils",
"version": "0.15.4",
"version": "0.15.5",
"description": "Utility library",
"author": "Zak Timson",
"license": "MIT",

View File

@ -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;