mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-15 14:15:37 -04:00
fix: got damn fix!!!!!!
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "revolt-api",
|
||||
"version": "0.5.5-2",
|
||||
"version": "0.5.5-3",
|
||||
"description": "Revolt API Library",
|
||||
"main": "dist/index.js",
|
||||
"module": "esm/index.js",
|
||||
@@ -19,7 +19,7 @@
|
||||
"typescript": "^4.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@insertish/oapi": "0.1.17",
|
||||
"@insertish/oapi": "0.1.18",
|
||||
"axios": "^0.26.1",
|
||||
"lodash.defaultsdeep": "^4.6.1"
|
||||
},
|
||||
|
||||
+2
-2
@@ -233,7 +233,7 @@ export class API {
|
||||
* @param config Axios configuration
|
||||
* @returns Typed Response Data
|
||||
*/
|
||||
delete<Path extends DeleteRoutes['path'], Route extends DeleteRoutes & { path: Path, parts: Count<Path, '/'> }>(path: Path, config?: AxiosRequestConfig): Promise<Route['response']>;
|
||||
delete<Path extends DeleteRoutes['path'], Route extends DeleteRoutes & { path: Path, parts: Count<Path, '/'> }>(path: Path, params?: any, config?: AxiosRequestConfig): Promise<Route['response']>;
|
||||
|
||||
/**
|
||||
* Send HTTP DELETE request.
|
||||
@@ -241,7 +241,7 @@ export class API {
|
||||
* @param params Body or Query Parameters
|
||||
* @returns Typed Response Data
|
||||
*/
|
||||
delete<Path extends (DeleteRoutes & { params: undefined })['path'], Route extends DeleteRoutes & { path: Path, parts: Count<Path, '/'> }>(path: Path): Promise<Route['response']>;
|
||||
delete<Path extends (DeleteRoutes & { params: undefined })['path'], Route extends DeleteRoutes & { path: Path, parts: Count<Path, '/'> }>(path: Path, params?: any): Promise<Route['response']>;
|
||||
|
||||
delete(path: any, params?: any, config?: AxiosRequestConfig): Promise<any> {
|
||||
// @ts-ignore-next-line
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@insertish/oapi@0.1.17":
|
||||
version "0.1.17"
|
||||
resolved "https://registry.yarnpkg.com/@insertish/oapi/-/oapi-0.1.17.tgz#30c283cfed5d5a338677611a6a49c4830e3f2b84"
|
||||
integrity sha512-CzNv3SUucrqnvYKe/4JSxjrHGOohp5O4C1EFEBQrT5ZIXuzuKxmncXhJAQhIfNdxBM1vl90ZDLyrQzl8V8JuZw==
|
||||
"@insertish/oapi@0.1.18":
|
||||
version "0.1.18"
|
||||
resolved "https://registry.yarnpkg.com/@insertish/oapi/-/oapi-0.1.18.tgz#3544d021fbfe8cbe8ad4080860f1bcc97f21d0c1"
|
||||
integrity sha512-LZLUk3WmzUjCM0quensexvQx/Kk1MpFBtCLJRnRrPOiaFT37JpOmWUFlrdu0sPS6B9wi2edEBeLcsnIiq85WMA==
|
||||
dependencies:
|
||||
typescript "^4.6.2"
|
||||
optionalDependencies:
|
||||
|
||||
Reference in New Issue
Block a user