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

discord-api-types

Package Overview
Dependencies
Maintainers
3
Versions
971
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-api-types - npm Package Compare versions

Comparing version 0.37.103 to 0.37.104-next.736479c.1730842637

6

package.json
{
"name": "discord-api-types",
"version": "0.37.103",
"version": "0.37.104-next.736479c.1730842637",
"description": "Discord API typings that are kept up to date for use in bot library creation.",

@@ -134,3 +134,3 @@ "homepage": "https://discord-api-types.dev",

"@commitlint/config-angular": "^19.0.3",
"@favware/npm-deprecate": "^1.0.7",
"@favware/npm-deprecate": "^2.0.0",
"@octokit/action": "^7.0.0",

@@ -152,3 +152,3 @@ "@octokit/webhooks-types": "^7.3.2",

"lint-staged": "^15.2.2",
"npm-run-all2": "^6.0.0",
"npm-run-all2": "^7.0.0",
"prettier": "^3.2.5",

@@ -155,0 +155,0 @@ "pretty-quick": "^4.0.0",

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

function isInteractionButton(component) {
return component.style !== index_1.ButtonStyle.Link;
return ![index_1.ButtonStyle.Link, index_1.ButtonStyle.Premium].includes(component.style);
}

@@ -94,0 +94,0 @@ // Message Components

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

function isInteractionButton(component) {
return component.style !== index_1.ButtonStyle.Link;
return ![index_1.ButtonStyle.Link, index_1.ButtonStyle.Premium].includes(component.style);
}

@@ -94,0 +94,0 @@ // Message Components

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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