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.1.2 to 10.2.0

Resources/AutoModeration.d.ts

1

index.d.ts

@@ -7,2 +7,3 @@ export * from "./Interactions/ApplicationCommands";

export * from "./Resources/AuditLog";
export * from "./Resources/AutoModeration";
export * from "./Resources/Channel";

@@ -9,0 +10,0 @@ export * from "./Resources/Emoji";

6

Interactions/ApplicationCommands.d.ts

@@ -16,4 +16,4 @@ import { Snowflake, Locale } from "../Reference";

options?: Array<ApplicationCommandOption>;
default_member_permissions?: string | null;
dm_permission?: boolean | null;
default_member_permissions: string | null;
dm_permission?: boolean;
}

@@ -119,2 +119,4 @@

max_value?: number;
min_length?: number;
max_length?: number;
autocomplete?: boolean;

@@ -121,0 +123,0 @@ }

@@ -17,2 +17,3 @@ import { Snowflake } from "../Reference";

version: number;
app_permisions?: string;
message?: import("../Resources/Channel").Message;

@@ -19,0 +20,0 @@ locale?: import("../Reference").Locale;

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

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

@@ -340,3 +340,3 @@ import { Snowflake } from "../Reference";

*/
export type MessageType = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23;
export type MessageType = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;

@@ -343,0 +343,0 @@ /**

@@ -78,3 +78,3 @@ import { Snowflake } from "../Reference";

*/
export type GuildFeature = "ANIMATED_ICON" | "BANNER" | "COMMERCE" | "COMMUNITY" | "DISCOVERABLE" | "FEATURABLE" | "INVITE_SPLASH" | "MEMBER_VERIFICATION_GATE_ENABLED" | "MONETIZATION_ENABLED" | "MORE_STICKERS" | "NEWS" | "PARTNERED" | "PREVIEW_ENABLED" | "PRIVATE_THREADS" | "ROLE_ICONS" | "SEVEN_DAY_THREAD_ARCHIVE" | "THREE_DAY_THREAD_ARCHIVE" | "TICKETED_EVENTS_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "WELCOME_SCREEN_ENABLED";
export type GuildFeature = "ANIMATION_BANNER" | "ANIMATED_ICON" | "AUTO_MODERATION" | "BANNER" | "COMMERCE" | "COMMUNITY" | "DISCOVERABLE" | "FEATURABLE" | "INVITE_SPLASH" | "MEMBER_VERIFICATION_GATE_ENABLED" | "MONETIZATION_ENABLED" | "MORE_STICKERS" | "NEWS" | "PARTNERED" | "PREVIEW_ENABLED" | "PRIVATE_THREADS" | "ROLE_ICONS" | "SEVEN_DAY_THREAD_ARCHIVE" | "THREE_DAY_THREAD_ARCHIVE" | "TICKETED_EVENTS_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "WELCOME_SCREEN_ENABLED";

@@ -81,0 +81,0 @@ /**

@@ -19,2 +19,6 @@ import { Snowflake } from "../Reference";

| "APPLICATION_COMMAND_PERMISSIONS_UPDATE"
| "AUTO_MODERATION_RULE_CREATE"
| "AUTO_MODERATION_RULE_UPDATE"
| "AUTO_MODERATION_RULE_DELETE"
| "AUTO_MODERATION_BLOCK_MESSAGE"
| "CHANNEL_CREATE"

@@ -90,5 +94,5 @@ | "CHANNEL_UPDATE"

export type IdentifyConnectionProperties = {
$os: string;
$browser: string;
$device: string;
os: string;
browser: string;
device: string;
}

@@ -95,0 +99,0 @@

@@ -14,2 +14,3 @@ /**

| "connections"
| "dm_channels.read"
| "email"

@@ -28,2 +29,3 @@ | "gdm.join"

| "rpc.voice.write"
| "voice"
| "webhook.incoming"
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