revolt-api
Advanced tools
Comparing version 0.5.5-1 to 0.5.5-2
@@ -145,2 +145,3 @@ import type { AxiosRequestConfig } from 'axios'; | ||
* @param path Path | ||
* @param params Body or Query Parameters | ||
* @returns Typed Response Data | ||
@@ -147,0 +148,0 @@ */ |
@@ -142,5 +142,5 @@ "use strict"; | ||
} | ||
delete(path, config) { | ||
delete(path, params, config) { | ||
// @ts-ignore-next-line | ||
return this.req('delete', path, undefined, config); | ||
return this.req('delete', path, params, config); | ||
} | ||
@@ -147,0 +147,0 @@ post(path, params, config) { |
@@ -145,2 +145,3 @@ import type { AxiosRequestConfig } from 'axios'; | ||
* @param path Path | ||
* @param params Body or Query Parameters | ||
* @returns Typed Response Data | ||
@@ -147,0 +148,0 @@ */ |
@@ -132,5 +132,5 @@ // This file was auto-generated by @insertish/oapi! | ||
} | ||
delete(path, config) { | ||
delete(path, params, config) { | ||
// @ts-ignore-next-line | ||
return this.req('delete', path, undefined, config); | ||
return this.req('delete', path, params, config); | ||
} | ||
@@ -137,0 +137,0 @@ post(path, params, config) { |
{ | ||
"name": "revolt-api", | ||
"version": "0.5.5-1", | ||
"version": "0.5.5-2", | ||
"description": "Revolt API Library", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@insertish/oapi": "0.1.16", | ||
"@insertish/oapi": "0.1.17", | ||
"axios": "^0.26.1", | ||
@@ -25,0 +25,0 @@ "lodash.defaultsdeep": "^4.6.1" |
@@ -241,2 +241,3 @@ // This file was auto-generated by @insertish/oapi! | ||
* @param path Path | ||
* @param params Body or Query Parameters | ||
* @returns Typed Response Data | ||
@@ -246,5 +247,5 @@ */ | ||
delete(path: any, config?: AxiosRequestConfig): Promise<any> { | ||
delete(path: any, params?: any, config?: AxiosRequestConfig): Promise<any> { | ||
// @ts-ignore-next-line | ||
return this.req('delete', path, undefined, config); | ||
return this.req('delete', path, params, config); | ||
} | ||
@@ -251,0 +252,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
847919
26883
+ Added@insertish/oapi@0.1.17(transitive)
- Removed@insertish/oapi@0.1.16(transitive)
Updated@insertish/oapi@0.1.17