Added PUT method to http helper
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	"name": "@ztimson/utils",
 | 
						"name": "@ztimson/utils",
 | 
				
			||||||
	"version": "0.15.4",
 | 
						"version": "0.15.5",
 | 
				
			||||||
	"description": "Utility library",
 | 
						"description": "Utility library",
 | 
				
			||||||
	"author": "Zak Timson",
 | 
						"author": "Zak Timson",
 | 
				
			||||||
	"license": "MIT",
 | 
						"license": "MIT",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10,7 +10,7 @@ export type HttpRequestOptions = {
 | 
				
			|||||||
	decode?: boolean;
 | 
						decode?: boolean;
 | 
				
			||||||
	fragment?: string;
 | 
						fragment?: string;
 | 
				
			||||||
	headers?: {[key: string | symbol]: string | null | undefined};
 | 
						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};
 | 
						query?: {key: string, value: string}[] | {[key: string]: string};
 | 
				
			||||||
	url?: string;
 | 
						url?: string;
 | 
				
			||||||
	[key: string]: any;
 | 
						[key: string]: any;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user