Socket
Socket
Sign inDemoInstall

discord-slim

Package Overview
Dependencies
4
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-dev.12 to 2.0.0-dev.13

4

dist/actions.d.ts

@@ -409,3 +409,3 @@ /// <reference types="node" />

export declare const OAuth2: {
TokenExchange: (params: {
TokenExchange: (params: ({
client_id: string;

@@ -421,3 +421,3 @@ client_secret: string;

refresh_token: string;
})) => Promise<{
})), requestOptions?: RequestOptions | undefined) => Promise<{
access_token: string;

@@ -424,0 +424,0 @@ token_type: TokenTypes.BEARER;

@@ -169,5 +169,5 @@ "use strict";

exports.OAuth2 = {
TokenExchange: (params) => request_1.Request("POST", "/oauth2" + "/token?" + querystring_1.default.stringify(params)),
TokenExchange: (params, requestOptions) => request_1.Request("POST", "/oauth2" + "/token", requestOptions ?? defaultRequestOptions, querystring_1.default.stringify(params)),
GetCurrentApplicationInformation: (requestOptions) => request_1.Request("GET", "/oauth2" + "/applications" + "/@me", requestOptions ?? defaultRequestOptions),
GetCurrentAuthorizationInformation: (requestOptions) => request_1.Request("GET", "/oauth2" + "/@me", requestOptions ?? defaultRequestOptions),
};

@@ -534,3 +534,3 @@ import type * as helpers from './helpers';

name: string;
value?: string | number | boolean | User | Channel | Role;
value?: string | number | boolean;
options?: ApplicationCommandInteractionDataOption[];

@@ -537,0 +537,0 @@ };

{
"name": "discord-slim",
"version": "2.0.0-dev.12",
"version": "2.0.0-dev.13",
"description": "Lightweight Discord bot API for Node.js.",

@@ -5,0 +5,0 @@ "author": "Hanabishi",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc