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

discord-slim

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-slim - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

4

dist/actions.js

@@ -6,3 +6,3 @@ "use strict";

const url_1 = require("url");
const QueryString = (params) => params ? '?' + String(new url_1.URLSearchParams(params)) : '';
const ParamString = (params) => String(new url_1.URLSearchParams(params)), QueryString = (params) => params ? '?' + ParamString(params) : '';
let defaultRequestOptions;

@@ -180,3 +180,3 @@ const setDefaultRequestOptions = (requestOptions) => defaultRequestOptions = requestOptions;

exports.OAuth2 = {
TokenExchange: (params, requestOptions) => request_1.Request("POST", "/oauth2" + "/token", requestOptions ?? defaultRequestOptions, QueryString(params)),
TokenExchange: (params, requestOptions) => request_1.Request("POST", "/oauth2" + "/token", requestOptions ?? defaultRequestOptions, ParamString(params)),
GetCurrentApplicationInformation: (requestOptions) => request_1.Request("GET", "/oauth2" + "/applications" + "/@me", requestOptions ?? defaultRequestOptions),

@@ -183,0 +183,0 @@ GetCurrentAuthorizationInformation: (requestOptions) => request_1.Request("GET", "/oauth2" + "/@me", requestOptions ?? defaultRequestOptions),

{
"name": "discord-slim",
"version": "2.1.8",
"version": "2.1.9",
"description": "Lightweight Discord API library for Node.js.",

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

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