New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-typings

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-typings - npm Package Compare versions

Comparing version 10.4.0 to 10.4.1

7

Interactions/MessageComponents.d.ts

@@ -0,1 +1,3 @@

import { ChannelType } from "../Resources/Channel";
export type Component = ActionRow | Button | SelectMenu | TextInput;

@@ -6,3 +8,3 @@

*/
export type ComponentType = 1 | 2 | 3 | 4;
export type ComponentType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;

@@ -53,3 +55,3 @@ export type ActionRow = {

export type SelectMenu = {
type: 3;
type: 3 | 5 | 6 | 7 | 8;
/** 1-100 chars */

@@ -59,2 +61,3 @@ custom_id: string;

options?: Array<SelectOption>;
channel_types?: Array<ChannelType>;
/** 1-150 chars */

@@ -61,0 +64,0 @@ placeholder?: string;

{
"name": "discord-typings",
"version": "10.4.0",
"version": "10.4.1",
"description": "Typings for data returned by Discord (unofficial)",

@@ -5,0 +5,0 @@ "main": "index.js",

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