Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

revolt-api

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

revolt-api - npm Package Compare versions

Comparing version 0.5.5-1 to 0.5.5-2

1

dist/index.d.ts

@@ -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 @@ */

4

dist/index.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc