build: Bump dependencies (#11333)

* build: bump dependencies

* fix: guide build

* build: amend package.json.hbs

* build: create-discord-bot

* style: formatting

* build: final change

---------

Co-authored-by: almeidx <github@almeidx.dev>
This commit is contained in:
Jiralite
2025-12-06 22:55:07 +00:00
committed by GitHub
parent 0aaba0305f
commit 5e6bd4b3d7
83 changed files with 6148 additions and 5493 deletions

View File

@@ -48,69 +48,69 @@
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@opennextjs/cloudflare": "^1.11.0",
"@opennextjs/cloudflare": "^1.14.4",
"@react-icons/all-files": "^4.1.0",
"@vercel/analytics": "^1.5.0",
"@vercel/analytics": "^1.6.1",
"cmdk": "^1.1.1",
"cva": "1.0.0-beta.3",
"fumadocs-core": "^16.0.6",
"fumadocs-mdx": "^13.0.3",
"fumadocs-twoslash": "^3.1.9",
"fumadocs-ui": "^16.0.6",
"fumadocs-core": "^16.2.3",
"fumadocs-mdx": "^14.1.0",
"fumadocs-twoslash": "^3.1.10",
"fumadocs-ui": "16.1.0",
"geist": "^1.5.1",
"immer": "^10.2.0",
"jotai": "^2.15.0",
"jotai": "^2.15.2",
"jotai-immer": "^0.4.1",
"lucide-react": "^0.548.0",
"mermaid": "^11.12.1",
"motion": "^12.23.24",
"next": "^16.0.1",
"mermaid": "^11.12.2",
"motion": "^12.23.25",
"next": "^16.0.7",
"next-mdx-remote-client": "^2.1.7",
"next-themes": "^0.4.6",
"nuqs": "^2.7.2",
"nuqs": "^2.8.3",
"p-retry": "^7.1.0",
"react": "^19.2.0",
"react": "^19.2.1",
"react-aria": "^3.44.0",
"react-aria-components": "^1.13.0",
"react-dom": "^19.2.0",
"react-dom": "^19.2.1",
"react-error-boundary": "^6.0.0",
"safe-mdx": "^1.3.8",
"sharp": "^0.34.4",
"tailwind-merge": "^3.3.1",
"safe-mdx": "^1.3.9",
"sharp": "^0.34.5",
"tailwind-merge": "^3.4.0",
"tw-animate-css": "^1.4.0",
"twoslash": "^0.3.4",
"usehooks-ts": "^3.1.1"
},
"devDependencies": {
"@next/env": "^16.0.1",
"@shikijs/rehype": "^3.14.0",
"@tailwindcss/postcss": "^4.1.16",
"@next/env": "^16.0.7",
"@shikijs/rehype": "^3.19.0",
"@tailwindcss/postcss": "^4.1.17",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.16",
"@tailwindcss/vite": "^4.1.17",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"autoprefixer": "^10.4.21",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.22",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"cpy-cli": "^6.0.0",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0",
"git-describe": "^4.1.1",
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.7.1",
"prettier": "^3.7.4",
"prettier-plugin-tailwindcss": "^0.7.2",
"remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2",
"shiki": "^3.14.0",
"tailwindcss": "^4.1.16",
"shiki": "^3.19.0",
"tailwindcss": "^4.1.17",
"tailwindcss-react-aria-components": "^2.0.1",
"turbo": "^2.5.8",
"turbo": "^2.6.3",
"typescript": "^5.9.3",
"vercel": "^48.7.1",
"wrangler": "^4.45.3"
"vercel": "^48.12.1",
"wrangler": "^4.53.0"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -1,7 +1,7 @@
import { loader } from 'fumadocs-core/source';
import { icons } from 'lucide-react';
import { createElement } from 'react';
import { docs } from '../../.source';
import { docs } from '../../.source/server';
export const source = loader({
icon(icon) {

View File

@@ -51,11 +51,11 @@
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@opennextjs/cloudflare": "^1.11.0",
"@opennextjs/cloudflare": "^1.14.4",
"@radix-ui/react-collapsible": "^1.1.12",
"@react-icons/all-files": "^4.1.0",
"@tanstack/react-query": "^5.90.5",
"@vercel/analytics": "^1.5.0",
"@tanstack/react-query": "^5.90.12",
"@vercel/analytics": "^1.6.1",
"@vercel/edge-config": "^1.4.3",
"@vercel/postgres": "^0.10.0",
"cloudflare": "^5.2.0",
@@ -63,57 +63,57 @@
"cva": "1.0.0-beta.3",
"geist": "^1.5.1",
"immer": "^10.2.0",
"jotai": "^2.15.0",
"jotai": "^2.15.2",
"jotai-immer": "^0.4.1",
"lucide-react": "^0.548.0",
"meilisearch": "^0.53.0",
"motion": "^12.23.24",
"next": "^16.0.1",
"motion": "^12.23.25",
"next": "^16.0.7",
"next-mdx-remote-client": "^2.1.7",
"next-themes": "^0.4.6",
"nuqs": "^2.7.2",
"overlayscrollbars": "^2.12.0",
"nuqs": "^2.8.3",
"overlayscrollbars": "^2.13.0",
"overlayscrollbars-react": "^0.5.6",
"react": "^19.2.0",
"react": "^19.2.1",
"react-aria": "^3.44.0",
"react-aria-components": "^1.13.0",
"react-dom": "^19.2.0",
"react-dom": "^19.2.1",
"react-error-boundary": "^6.0.0",
"safe-mdx": "^1.3.8",
"sharp": "^0.34.4",
"tailwind-merge": "^3.3.1",
"safe-mdx": "^1.3.9",
"sharp": "^0.34.5",
"tailwind-merge": "^3.4.0",
"tw-animate-css": "^1.4.0",
"usehooks-ts": "^3.1.1"
},
"devDependencies": {
"@next/env": "^16.0.1",
"@shikijs/rehype": "^3.14.0",
"@tailwindcss/postcss": "^4.1.16",
"@next/env": "^16.0.7",
"@shikijs/rehype": "^3.19.0",
"@tailwindcss/postcss": "^4.1.17",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.16",
"@types/node": "^24.9.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"autoprefixer": "^10.4.21",
"@tailwindcss/vite": "^4.1.17",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.22",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"cpy-cli": "^6.0.0",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0",
"git-describe": "^4.1.1",
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.7.1",
"prettier": "^3.7.4",
"prettier-plugin-tailwindcss": "^0.7.2",
"remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2",
"shiki": "^3.14.0",
"tailwindcss": "^4.1.16",
"shiki": "^3.19.0",
"tailwindcss": "^4.1.17",
"tailwindcss-react-aria-components": "^2.0.1",
"turbo": "^2.5.8",
"turbo": "^2.6.3",
"typescript": "^5.9.3",
"vercel": "^48.7.1",
"wrangler": "^4.45.3"
"vercel": "^48.12.1",
"wrangler": "^4.53.0"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -27,7 +27,6 @@ async function loadGoogleFont(font: string, text: string) {
export default async function Image() {
return new ImageResponse(
(
<div tw="flex bg-[#121214] h-full w-full">
<div tw="mx-auto flex items-center h-full">
<div tw="flex">
@@ -42,8 +41,7 @@ export default async function Image() {
</div>
</div>
</div>
</div>
),
</div>,
{
...size,
fonts: [

View File

@@ -51,33 +51,33 @@
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-angular": "^20.0.0",
"@commitlint/cli": "^20.2.0",
"@commitlint/config-angular": "^20.2.0",
"@favware/cliff-jumper": "^6.0.0",
"@favware/npm-deprecate": "^2.0.0",
"@types/lodash.merge": "^4.6.9",
"@unocss/eslint-plugin": "^66.5.4",
"@unocss/eslint-plugin": "^66.5.10",
"@vitest/coverage-v8": "^3.2.4",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-react-compiler": "19.1.0-rc.2",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"lint-staged": "^16.2.6",
"lint-staged": "^16.2.7",
"lodash.merge": "^4.6.2",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.2",
"unocss": "^66.5.4",
"vercel": "^48.7.1",
"typescript-eslint": "^8.48.1",
"unocss": "^66.5.10",
"vercel": "^48.12.1",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=22.12.0"
},
"packageManager": "pnpm@10.20.0"
"packageManager": "pnpm@10.24.0"
}

View File

@@ -44,30 +44,30 @@
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.1",
"@actions/glob": "^0.5.0",
"@aws-sdk/client-s3": "^3.921.0",
"@aws-sdk/client-s3": "^3.946.0",
"@discordjs/scripts": "workspace:^",
"cloudflare": "^5.2.0",
"commander": "^14.0.2",
"meilisearch": "^0.38.0",
"p-limit": "^7.2.0",
"p-queue": "^9.0.0",
"p-queue": "^9.0.1",
"tslib": "^2.8.1",
"undici": "7.16.0"
},
"devDependencies": {
"@npm/types": "^2.1.0",
"@types/bun": "^1.3.1",
"@types/node": "^22.18.13",
"@types/bun": "^1.3.3",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"terser": "^5.44.0",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"terser": "^5.44.1",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -36,16 +36,16 @@
"@rushstack/node-core-library": "5.13.1"
},
"devDependencies": {
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"terser": "^5.44.0",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"terser": "^5.44.1",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3"
}
}

View File

@@ -15,7 +15,8 @@ import { type IApiDeclaredItemOptions, ApiDeclaredItem, type IApiDeclaredItemJso
* @public
*/
export interface IApiPropertyItemOptions
extends IApiNameMixinOptions,
extends
IApiNameMixinOptions,
IApiReleaseTagMixinOptions,
IApiOptionalMixinOptions,
IApiReadonlyMixinOptions,

View File

@@ -18,7 +18,8 @@ import {
* @public
*/
export interface IApiCallSignatureOptions
extends IApiTypeParameterListMixinOptions,
extends
IApiTypeParameterListMixinOptions,
IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions,
IApiReturnTypeMixinOptions,

View File

@@ -32,7 +32,8 @@ import { HeritageType } from './HeritageType.js';
* @public
*/
export interface IApiClassOptions
extends IApiItemContainerMixinOptions,
extends
IApiItemContainerMixinOptions,
IApiNameMixinOptions,
IApiAbstractMixinOptions,
IApiReleaseTagMixinOptions,
@@ -48,10 +49,7 @@ export interface IExcerptTokenRangeWithTypeParameters extends IExcerptTokenRange
}
export interface IApiClassJson
extends IApiDeclaredItemJson,
IApiAbstractMixinJson,
IApiTypeParameterListMixinJson,
IApiExportedMixinJson {
extends IApiDeclaredItemJson, IApiAbstractMixinJson, IApiTypeParameterListMixinJson, IApiExportedMixinJson {
extendsTokenRange?: IExcerptTokenRangeWithTypeParameters | undefined;
implementsTokenRanges: IExcerptTokenRangeWithTypeParameters[];
}

View File

@@ -18,7 +18,8 @@ import {
* @public
*/
export interface IApiConstructSignatureOptions
extends IApiTypeParameterListMixinOptions,
extends
IApiTypeParameterListMixinOptions,
IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions,
IApiReturnTypeMixinOptions,

View File

@@ -14,7 +14,8 @@ import { type IApiReleaseTagMixinOptions, ApiReleaseTagMixin } from '../mixins/A
* @public
*/
export interface IApiConstructorOptions
extends IApiParameterListMixinOptions,
extends
IApiParameterListMixinOptions,
IApiProtectedMixinOptions,
IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions {}

View File

@@ -16,7 +16,8 @@ import type { ApiEnumMember } from './ApiEnumMember.js';
* @public
*/
export interface IApiEnumOptions
extends IApiItemContainerMixinOptions,
extends
IApiItemContainerMixinOptions,
IApiNameMixinOptions,
IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions,

View File

@@ -14,10 +14,7 @@ import { ApiReleaseTagMixin, type IApiReleaseTagMixinOptions } from '../mixins/A
* @public
*/
export interface IApiEnumMemberOptions
extends IApiNameMixinOptions,
IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions,
IApiInitializerMixinOptions {}
extends IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiInitializerMixinOptions {}
/**
* Options for customizing the sort order of {@link ApiEnum} members.

View File

@@ -14,10 +14,7 @@ import { type IApiReleaseTagMixinOptions, ApiReleaseTagMixin } from '../mixins/A
* @public
*/
export interface IApiEventOptions
extends IApiNameMixinOptions,
IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions {}
extends IApiNameMixinOptions, IApiParameterListMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions {}
/**
* Represents a TypeScript event declaration that belongs to an `ApiClass`.

View File

@@ -20,7 +20,8 @@ import {
* @public
*/
export interface IApiFunctionOptions
extends IApiNameMixinOptions,
extends
IApiNameMixinOptions,
IApiTypeParameterListMixinOptions,
IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions,

View File

@@ -15,7 +15,8 @@ import { type IApiReturnTypeMixinOptions, ApiReturnTypeMixin } from '../mixins/A
* @public
*/
export interface IApiIndexSignatureOptions
extends IApiParameterListMixinOptions,
extends
IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions,
IApiReturnTypeMixinOptions,
IApiReadonlyMixinOptions,

View File

@@ -35,7 +35,8 @@ import { HeritageType } from './HeritageType.js';
* @public
*/
export interface IApiInterfaceOptions
extends IApiItemContainerMixinOptions,
extends
IApiItemContainerMixinOptions,
IApiNameMixinOptions,
IApiTypeParameterListMixinOptions,
IApiReleaseTagMixinOptions,
@@ -45,7 +46,8 @@ export interface IApiInterfaceOptions
}
export interface IApiInterfaceJson
extends IApiItemContainerJson,
extends
IApiItemContainerJson,
IApiNameMixinJson,
IApiTypeParameterListMixinJson,
IApiReleaseTagMixinJson,

View File

@@ -23,7 +23,8 @@ import {
* @public
*/
export interface IApiMethodOptions
extends IApiNameMixinOptions,
extends
IApiNameMixinOptions,
IApiAbstractMixinOptions,
IApiOptionalMixinOptions,
IApiParameterListMixinOptions,

View File

@@ -18,7 +18,8 @@ import {
* @public
*/
export interface IApiMethodSignatureOptions
extends IApiNameMixinOptions,
extends
IApiNameMixinOptions,
IApiTypeParameterListMixinOptions,
IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions,

View File

@@ -15,7 +15,8 @@ import { ApiReleaseTagMixin, type IApiReleaseTagMixinOptions } from '../mixins/A
* @public
*/
export interface IApiNamespaceOptions
extends IApiItemContainerMixinOptions,
extends
IApiItemContainerMixinOptions,
IApiNameMixinOptions,
IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions,

View File

@@ -28,9 +28,7 @@ import { DeserializerContext, ApiJsonSchemaVersion } from './DeserializerContext
* @public
*/
export interface IApiPackageOptions
extends IApiItemContainerMixinOptions,
IApiNameMixinOptions,
IApiDocumentedItemOptions {
extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiDocumentedItemOptions {
dependencies?: Record<string, string> | undefined;
projectFolderUrl?: string | undefined;
tsdocConfiguration: TSDocConfiguration;

View File

@@ -15,7 +15,8 @@ import { ApiStaticMixin, type IApiStaticMixinOptions } from '../mixins/ApiStatic
* @public
*/
export interface IApiPropertyOptions
extends IApiPropertyItemOptions,
extends
IApiPropertyItemOptions,
IApiAbstractMixinOptions,
IApiProtectedMixinOptions,
IApiStaticMixinOptions,

View File

@@ -25,7 +25,8 @@ import type { DeserializerContext } from './DeserializerContext.js';
* @public
*/
export interface IApiTypeAliasOptions
extends IApiNameMixinOptions,
extends
IApiNameMixinOptions,
IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions,
IApiTypeParameterListMixinOptions,

View File

@@ -22,7 +22,8 @@ import type { DeserializerContext } from './DeserializerContext.js';
* @public
*/
export interface IApiVariableOptions
extends IApiNameMixinOptions,
extends
IApiNameMixinOptions,
IApiReleaseTagMixinOptions,
IApiReadonlyMixinOptions,
IApiDeclaredItemOptions,

View File

@@ -267,7 +267,8 @@ function mapParam(
}
interface IApiMethodJson
extends IApiAbstractMixinJson,
extends
IApiAbstractMixinJson,
IApiDeclaredItemJson,
IApiNameMixinJson,
IApiOptionalMixinJson,
@@ -279,10 +280,7 @@ interface IApiMethodJson
IApiTypeParameterListMixinJson {}
interface IApiConstructorJson
extends IApiParameterListJson,
IApiProtectedMixinJson,
IApiReleaseTagMixinJson,
IApiDeclaredItemJson {}
extends IApiParameterListJson, IApiProtectedMixinJson, IApiReleaseTagMixinJson, IApiDeclaredItemJson {}
function mapMethod(method: DocgenMethodJson, _package: string, parent?: DocgenClassJson): IApiMethodJson {
const excerptTokens: IExcerptToken[] = [];

View File

@@ -50,16 +50,16 @@
"@microsoft/tsdoc": "~0.15.1"
},
"devDependencies": {
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"terser": "^5.44.0",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"terser": "^5.44.1",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3"
},
"engines": {

View File

@@ -77,10 +77,7 @@ export interface ApiParameterListJSON {
}
export interface ApiMethodSignatureJSON
extends ApiItemJSON,
ApiTypeParameterListJSON,
ApiParameterListJSON,
ApiInheritableJSON {
extends ApiItemJSON, ApiTypeParameterListJSON, ApiParameterListJSON, ApiInheritableJSON {
mergedSiblings: ApiMethodSignatureJSON[];
optional: boolean;
overloadIndex: number;

View File

@@ -63,19 +63,19 @@
"typescript": "~5.5.4"
},
"devDependencies": {
"@types/lodash": "^4.17.20",
"@types/node": "^22.18.13",
"@types/lodash": "^4.17.21",
"@types/node": "^22.19.1",
"@types/resolve": "^1.20.6",
"@types/semver": "^7.7.1",
"cpy-cli": "^6.0.0",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"terser": "^5.44.0",
"tsup": "^8.5.0",
"turbo": "^2.5.8"
"prettier": "^3.7.4",
"terser": "^5.44.1",
"tsup": "^8.5.1",
"turbo": "^2.6.3"
}
}

View File

@@ -75,17 +75,17 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -54,8 +54,7 @@ export interface IBaseBroker<TEvents extends {}> {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface IPubSubBroker<TEvents extends {}>
extends IBaseBroker<TEvents>,
AsyncEventEmitter<ToEventMap<TEvents>> {
extends IBaseBroker<TEvents>, AsyncEventEmitter<ToEventMap<TEvents>> {
/**
* Publishes an event
*/
@@ -63,8 +62,7 @@ export interface IPubSubBroker<TEvents extends {}>
}
export interface IRPCBroker<TEvents extends Record<string, any[]>, TResponses extends Record<keyof TEvents, any>>
extends IBaseBroker<TEvents>,
AsyncEventEmitter<ToEventMap<TEvents, TResponses>> {
extends IBaseBroker<TEvents>, AsyncEventEmitter<ToEventMap<TEvents, TResponses>> {
/**
* Makes an RPC call
*/

View File

@@ -83,7 +83,7 @@ export const DefaultRedisBrokerOptions = {
export abstract class BaseRedisBroker<
TEvents extends Record<string, any[]>,
TResponses extends Record<keyof TEvents, any> | undefined = undefined,
>
>
extends AsyncEventEmitter<ToEventMap<TEvents, TResponses>>
implements IBaseBroker<TEvents>
{

View File

@@ -66,26 +66,26 @@
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@discordjs/util": "workspace:^",
"discord-api-types": "^0.38.31",
"discord-api-types": "^0.38.36",
"ts-mixer": "^6.0.4",
"tslib": "^2.8.1",
"zod": "^4.1.12"
"zod": "^4.1.13"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -34,8 +34,9 @@ import { StringSelectMenuBuilder } from './selectMenu/StringSelectMenu.js';
import { UserSelectMenuBuilder } from './selectMenu/UserSelectMenu.js';
import { TextInputBuilder } from './textInput/TextInput.js';
export interface ActionRowBuilderData
extends Partial<Omit<APIActionRowComponent<APIComponentInActionRow>, 'components'>> {
export interface ActionRowBuilderData extends Partial<
Omit<APIActionRowComponent<APIComponentInActionRow>, 'components'>
> {
components: AnyActionRowComponentBuilder[];
}

View File

@@ -10,9 +10,9 @@ export interface ComponentBuilderBaseData {
*
* @typeParam Component - The type of API data that is stored within the builder
*/
export abstract class ComponentBuilder<Component extends APIBaseComponent<ComponentType>>
implements JSONEncodable<Component>
{
export abstract class ComponentBuilder<
Component extends APIBaseComponent<ComponentType>,
> implements JSONEncodable<Component> {
/**
* @internal
*/

View File

@@ -1,7 +1,9 @@
import type { APIButtonComponent, APIButtonComponentWithSKUId, APIMessageComponentEmoji } from 'discord-api-types/v10';
export interface EmojiOrLabelButtonData
extends Pick<Exclude<APIButtonComponent, APIButtonComponentWithSKUId>, 'emoji' | 'label'> {}
export interface EmojiOrLabelButtonData extends Pick<
Exclude<APIButtonComponent, APIButtonComponentWithSKUId>,
'emoji' | 'label'
> {}
/**
* A mixin that adds emoji and label symbols to a button builder.

View File

@@ -8,20 +8,16 @@ import type {
import type { RestOrArray } from '../../util/normalizeArray.js';
import { normalizeArray } from '../../util/normalizeArray.js';
export interface CommandData
extends Partial<
Pick<
RESTPostAPIApplicationCommandsJSONBody,
'contexts' | 'default_member_permissions' | 'integration_types' | 'nsfw'
>
> {}
export interface CommandData extends Partial<
Pick<RESTPostAPIApplicationCommandsJSONBody, 'contexts' | 'default_member_permissions' | 'integration_types' | 'nsfw'>
> {}
/**
* The base class for all command builders.
*/
export abstract class CommandBuilder<Command extends RESTPostAPIApplicationCommandsJSONBody>
implements JSONEncodable<Command>
{
export abstract class CommandBuilder<
Command extends RESTPostAPIApplicationCommandsJSONBody,
> implements JSONEncodable<Command> {
/**
* The API data associated with this command.
*

View File

@@ -1,7 +1,8 @@
import type { Locale, RESTPostAPIApplicationCommandsJSONBody } from 'discord-api-types/v10';
export interface SharedNameData
extends Partial<Pick<RESTPostAPIApplicationCommandsJSONBody, 'name_localizations' | 'name'>> {}
export interface SharedNameData extends Partial<
Pick<RESTPostAPIApplicationCommandsJSONBody, 'name_localizations' | 'name'>
> {}
/**
* This mixin holds name and description symbols for chat input commands.

View File

@@ -3,8 +3,7 @@ import type { SharedNameData } from './SharedName.js';
import { SharedName } from './SharedName.js';
export interface SharedNameAndDescriptionData
extends SharedNameData,
Partial<Pick<APIApplicationCommand, 'description_localizations' | 'description'>> {}
extends SharedNameData, Partial<Pick<APIApplicationCommand, 'description_localizations' | 'description'>> {}
/**
* This mixin holds name and description symbols for chat input commands.

View File

@@ -1,7 +1,9 @@
import type { APIApplicationCommandIntegerOption } from 'discord-api-types/v10';
export interface ApplicationCommandNumericOptionMinMaxValueData
extends Pick<APIApplicationCommandIntegerOption, 'max_value' | 'min_value'> {}
export interface ApplicationCommandNumericOptionMinMaxValueData extends Pick<
APIApplicationCommandIntegerOption,
'max_value' | 'min_value'
> {}
/**
* This mixin holds minimum and maximum symbols used for options.

View File

@@ -19,8 +19,10 @@ export const ApplicationCommandOptionAllowedChannelTypes = [
*/
export type ApplicationCommandOptionAllowedChannelType = (typeof ApplicationCommandOptionAllowedChannelTypes)[number];
export interface ApplicationCommandOptionChannelTypesData
extends Pick<APIApplicationCommandChannelOption, 'channel_types'> {}
export interface ApplicationCommandOptionChannelTypesData extends Pick<
APIApplicationCommandChannelOption,
'channel_types'
> {}
/**
* This mixin holds channel type symbols used for options.

View File

@@ -38,13 +38,12 @@ import { MessageReferenceBuilder } from './MessageReference.js';
import { EmbedBuilder } from './embed/Embed.js';
import { PollBuilder } from './poll/Poll.js';
export interface MessageBuilderData
extends Partial<
export interface MessageBuilderData extends Partial<
Omit<
RESTPostAPIChannelMessageJSONBody,
'allowed_mentions' | 'attachments' | 'components' | 'embeds' | 'message_reference' | 'poll'
>
> {
> {
allowed_mentions?: AllowedMentionsBuilder;
attachments: AttachmentBuilder[];
components: MessageTopLevelComponentBuilder[];

View File

@@ -64,17 +64,17 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -70,23 +70,23 @@
"@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "^3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31"
"discord-api-types": "^0.38.36"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -16,8 +16,7 @@ import {
import type { WebhooksAPI } from './webhook.js';
export interface CreateInteractionResponseOptions
extends APIInteractionResponseCallbackData,
RESTPostAPIInteractionCallbackQuery {
extends APIInteractionResponseCallbackData, RESTPostAPIInteractionCallbackQuery {
files?: RawFile[];
}

View File

@@ -57,17 +57,17 @@
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@types/prompts": "^2.4.9",
"@types/validate-npm-package-name": "^4.0.2",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"terser": "^5.44.0",
"tsup": "^8.5.0",
"prettier": "^3.7.4",
"terser": "^5.44.1",
"tsup": "^8.5.1",
"typescript": "~5.9.3"
},
"engines": {

View File

@@ -11,14 +11,14 @@
"start": "bun run src/index.[REPLACE_IMPORT_EXT]"
},
"dependencies": {
"@discordjs/core": "^2.3.0",
"discord.js": "^14.24.2"
"@discordjs/core": "^2.4.0",
"discord.js": "^14.25.1"
},
"devDependencies": {
"eslint": "^9.38.0",
"eslint": "^9.38.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"zod": "^4.1.12"
"prettier": "^3.7.4",
"zod": "^4.1.13"
}
}

View File

@@ -11,17 +11,17 @@
"start": "bun run src/index.[REPLACE_IMPORT_EXT]"
},
"dependencies": {
"@discordjs/core": "^2.3.0",
"discord.js": "^14.24.2"
"@discordjs/core": "^2.4.0",
"discord.js": "^14.25.1"
},
"devDependencies": {
"@sapphire/ts-config": "^5.0.1",
"@types/bun": "^1.3.1",
"eslint": "^9.38.0",
"@sapphire/ts-config": "^5.0.3",
"@types/bun": "^1.3.3",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"typescript": "~5.9.3",
"zod": "^4.1.12"
"zod": "^4.1.13"
}
}

View File

@@ -11,15 +11,15 @@
"deploy": "node --env-file=.env src/util/deploy.js"
},
"dependencies": {
"@discordjs/core": "^2.3.0",
"discord.js": "^14.24.2"
"@discordjs/core": "^2.4.0",
"discord.js": "^14.25.1"
},
"devDependencies": {
"eslint": "^9.38.0",
"eslint": "^9.38.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"zod": "^4.1.12"
"prettier": "^3.7.4",
"zod": "^4.1.13"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -12,18 +12,18 @@
"start": "node --env-file=.env dist/index.js"
},
"dependencies": {
"@discordjs/core": "^2.3.0",
"discord.js": "^14.24.2"
"@discordjs/core": "^2.4.0",
"discord.js": "^14.25.1"
},
"devDependencies": {
"@sapphire/ts-config": "^5.0.1",
"@types/node": "^22.18.13",
"eslint": "^9.38.0",
"@sapphire/ts-config": "^5.0.3",
"@types/node": "^22.19.1",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"typescript": "~5.9.3",
"zod": "^4.1.12"
"zod": "^4.1.13"
},
"engines": {
"node": ">=22.12.0"

View File

@@ -74,7 +74,7 @@
"@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31",
"discord-api-types": "^0.38.36",
"fast-deep-equal": "3.1.3",
"lodash.snakecase": "4.1.1",
"magic-bytes.js": "^1.12.1",
@@ -86,17 +86,17 @@
"@discordjs/docgen": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^54.7.0",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"tsd": "^0.33.0",
"turbo": "^2.5.8",
"turbo": "^2.6.3",
"typescript": "~5.9.3"
},
"engines": {

View File

@@ -266,8 +266,9 @@ export type ActionRowComponentData = MessageActionRowComponentData;
export type ActionRowComponent = MessageActionRowComponent;
export interface ActionRowData<ComponentType extends ActionRowComponentData | JSONEncodable<APIComponentInActionRow>>
extends BaseComponentData {
export interface ActionRowData<
ComponentType extends ActionRowComponentData | JSONEncodable<APIComponentInActionRow>,
> extends BaseComponentData {
components: readonly ComponentType[];
}
@@ -603,7 +604,8 @@ export class BaseGuildEmoji extends Emoji {
}
export interface BaseGuildTextChannel
extends TextBasedChannelFields<true>,
extends
TextBasedChannelFields<true>,
PinnableChannelFields,
WebhookChannelFields,
BulkDeleteMethod,
@@ -630,7 +632,8 @@ export class BaseGuildTextChannel extends GuildChannel {
}
export interface BaseGuildVoiceChannel
extends TextBasedChannelFields<true>,
extends
TextBasedChannelFields<true>,
WebhookChannelFields,
BulkDeleteMethod,
SetRateLimitPerUserMethod,
@@ -1282,10 +1285,7 @@ export class PrimaryEntryPointCommandInteraction<
}
export interface DMChannel
extends TextBasedChannelFields<false, true>,
PinnableChannelFields,
MessageChannelFields,
SendMethod<false> {}
extends TextBasedChannelFields<false, true>, PinnableChannelFields, MessageChannelFields, SendMethod<false> {}
export class DMChannel extends BaseChannel {
private constructor(client: Client<true>, data?: RawDMChannelData);
public flags: Readonly<ChannelFlagsBitField>;
@@ -2558,14 +2558,13 @@ export interface TextInputModalData extends BaseModalData<ComponentType.TextInpu
value: string;
}
export interface SelectMenuModalData<Cached extends CacheType = CacheType>
extends BaseModalData<
export interface SelectMenuModalData<Cached extends CacheType = CacheType> extends BaseModalData<
| ComponentType.ChannelSelect
| ComponentType.MentionableSelect
| ComponentType.RoleSelect
| ComponentType.StringSelect
| ComponentType.UserSelect
> {
> {
channels?: ReadonlyCollection<
Snowflake,
CacheTypeReducer<Cached, GuildBasedChannel, APIInteractionDataResolvedChannel>
@@ -2660,8 +2659,9 @@ export class ModalComponentResolver<Cached extends CacheType = CacheType> {
public getUploadedFiles(customId: string, required?: boolean): ReadonlyCollection<Snowflake, Attachment> | null;
}
export interface ModalMessageModalSubmitInteraction<Cached extends CacheType = CacheType>
extends ModalSubmitInteraction<Cached> {
export interface ModalMessageModalSubmitInteraction<
Cached extends CacheType = CacheType,
> extends ModalSubmitInteraction<Cached> {
channelId: Snowflake;
inCachedGuild(): this is ModalMessageModalSubmitInteraction<'cached'>;
inGuild(): this is ModalMessageModalSubmitInteraction<'cached' | 'raw'>;
@@ -3514,7 +3514,8 @@ export interface PrivateThreadChannel extends ThreadChannel<false> {
}
export interface ThreadChannel<ThreadOnly extends boolean = boolean>
extends TextBasedChannelFields<true>,
extends
TextBasedChannelFields<true>,
PinnableChannelFields,
BulkDeleteMethod,
SetRateLimitPerUserMethod,
@@ -5061,15 +5062,17 @@ export interface ApplicationCommandAutocompleteStringOptionData extends BaseAppl
type: ApplicationCommandOptionType.String;
}
export interface ApplicationCommandChoicesData<Type extends number | string = number | string>
extends BaseApplicationCommandOptionsData {
export interface ApplicationCommandChoicesData<
Type extends number | string = number | string,
> extends BaseApplicationCommandOptionsData {
autocomplete?: false;
choices?: readonly ApplicationCommandOptionChoiceData<Type>[];
type: CommandOptionChoiceResolvableType;
}
export interface ApplicationCommandChoicesOption<Type extends number | string = number | string>
extends BaseApplicationCommandOptionsData {
export interface ApplicationCommandChoicesOption<
Type extends number | string = number | string,
> extends BaseApplicationCommandOptionsData {
autocomplete?: false;
choices?: readonly ApplicationCommandOptionChoiceData<Type>[];
type: CommandOptionChoiceResolvableType;
@@ -5252,13 +5255,15 @@ export interface AutoModerationTriggerMetadata {
regexPatterns: readonly string[];
}
export interface AwaitMessageComponentOptions<Interaction extends CollectedMessageInteraction>
extends CollectorOptions<[Interaction, Collection<Snowflake, Interaction>]> {
export interface AwaitMessageComponentOptions<Interaction extends CollectedMessageInteraction> extends CollectorOptions<
[Interaction, Collection<Snowflake, Interaction>]
> {
componentType?: ComponentType;
}
export interface AwaitModalSubmitOptions
extends CollectorOptions<[ModalSubmitInteraction, Collection<Snowflake, ModalSubmitInteraction>]> {
export interface AwaitModalSubmitOptions extends CollectorOptions<
[ModalSubmitInteraction, Collection<Snowflake, ModalSubmitInteraction>]
> {
time: number;
}
@@ -5631,8 +5636,9 @@ export interface BaseInteractionResolvedData<Cached extends CacheType = CacheTyp
users?: ReadonlyCollection<Snowflake, User>;
}
export interface CommandInteractionResolvedData<Cached extends CacheType = CacheType>
extends BaseInteractionResolvedData<Cached> {
export interface CommandInteractionResolvedData<
Cached extends CacheType = CacheType,
> extends BaseInteractionResolvedData<Cached> {
messages?: ReadonlyCollection<Snowflake, CacheTypeReducer<Cached, Message, APIMessage>>;
}
@@ -6618,8 +6624,9 @@ export type CollectedMessageInteraction<Cached extends CacheType = CacheType> =
ModalSubmitInteraction
>;
export interface MessageComponentCollectorOptions<Interaction extends CollectedMessageInteraction>
extends AwaitMessageComponentOptions<Interaction> {
export interface MessageComponentCollectorOptions<
Interaction extends CollectedMessageInteraction,
> extends AwaitMessageComponentOptions<Interaction> {
max?: number;
maxComponents?: number;
maxUsers?: number;
@@ -6658,8 +6665,7 @@ export interface MessageMentionOptions {
export type MessageMentionTypes = 'everyone' | 'roles' | 'users';
export interface MessageSnapshot
extends Partialize<
export interface MessageSnapshot extends Partialize<
Message,
null,
Exclude<
@@ -6676,7 +6682,7 @@ export interface MessageSnapshot
| 'stickers'
| 'type'
>
> {}
> {}
export interface BaseMessageOptions {
allowedMentions?: MessageMentionOptions;
@@ -6724,11 +6730,7 @@ export interface MessageOptionsStickers {
}
export interface BaseMessageCreateOptions
extends BaseMessageOptions,
MessageOptionsPoll,
MessageOptionsFlags,
MessageOptionsTTS,
MessageOptionsStickers {
extends BaseMessageOptions, MessageOptionsPoll, MessageOptionsFlags, MessageOptionsTTS, MessageOptionsStickers {
enforceNonce?: boolean;
nonce?: number | string;
}
@@ -6738,9 +6740,7 @@ export interface MessageCreateOptions extends BaseMessageCreateOptions {
}
export interface GuildForumThreadMessageCreateOptions
extends BaseMessageOptions,
MessageOptionsFlags,
MessageOptionsStickers {}
extends BaseMessageOptions, MessageOptionsFlags, MessageOptionsStickers {}
export interface MessageEditAttachmentData {
id: Snowflake;
@@ -6943,18 +6943,20 @@ export interface PartialDMChannel extends Partialize<DMChannel, null, null, 'las
export interface PartialGuildMember extends Partialize<GuildMember, 'joinedAt' | 'joinedTimestamp' | 'pending'> {}
export interface PartialMessage<InGuild extends boolean = boolean>
extends Partialize<Message<InGuild>, 'pinned' | 'system' | 'tts' | 'type', 'author' | 'cleanContent' | 'content'> {}
export interface PartialMessage<InGuild extends boolean = boolean> extends Partialize<
Message<InGuild>,
'pinned' | 'system' | 'tts' | 'type',
'author' | 'cleanContent' | 'content'
> {}
export interface PartialMessageReaction extends Partialize<MessageReaction, 'count'> {}
export interface PartialPoll
extends Partialize<
export interface PartialPoll extends Partialize<
Poll,
'allowMultiselect' | 'expiresTimestamp' | 'layoutType',
null,
'answers' | 'message' | 'question'
> {
> {
// eslint-disable-next-line no-restricted-syntax
answers: Collection<number, PartialPollAnswer>;
message: PartialMessage;
@@ -6965,8 +6967,11 @@ export interface PartialPollAnswer extends Partialize<PollAnswer, 'emoji' | 'tex
readonly poll: PartialPoll;
}
export interface PartialGuildScheduledEvent
extends Partialize<GuildScheduledEvent, 'userCount', 'entityType' | 'name' | 'privacyLevel' | 'status'> {}
export interface PartialGuildScheduledEvent extends Partialize<
GuildScheduledEvent,
'userCount',
'entityType' | 'name' | 'privacyLevel' | 'status'
> {}
export interface PartialThreadMember extends Partialize<ThreadMember, 'flags' | 'joinedAt' | 'joinedTimestamp'> {}
@@ -7261,10 +7266,7 @@ export interface WebhookFetchMessageOptions {
}
export interface WebhookMessageCreateOptions
extends BaseMessageOptions,
MessageOptionsPoll,
MessageOptionsFlags,
MessageOptionsTTS {
extends BaseMessageOptions, MessageOptionsPoll, MessageOptionsFlags, MessageOptionsTTS {
appliedTags?: readonly Snowflake[];
avatarURL?: string;
threadId?: Snowflake;

View File

@@ -67,16 +67,16 @@
},
"devDependencies": {
"@types/jsdoc-to-markdown": "^7.0.6",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"terser": "^5.44.0",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"terser": "^5.44.1",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3"
},
"engines": {

View File

@@ -55,23 +55,23 @@
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"discord-api-types": "^0.38.31"
"discord-api-types": "^0.38.36"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -72,23 +72,23 @@
"@discordjs/rest": "workspace:^",
"@discordjs/util": "workspace:^",
"@discordjs/ws": "workspace:^",
"discord-api-types": "^0.38.31"
"discord-api-types": "^0.38.36"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -50,16 +50,16 @@
"tslib": "^2.8.1"
},
"devDependencies": {
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"terser": "^5.44.0",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"terser": "^5.44.1",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3"
},
"engines": {

View File

@@ -74,19 +74,19 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"supertest": "^7.1.4",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -88,7 +88,7 @@
"@sapphire/async-queue": "^1.5.5",
"@sapphire/snowflake": "^3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31",
"discord-api-types": "^0.38.36",
"magic-bytes.js": "^1.12.1",
"tslib": "^2.8.1",
"undici": "7.16.0",
@@ -98,17 +98,17 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -260,8 +260,10 @@ export interface APIRequest {
route: string;
}
export interface ResponseLike
extends Pick<Response, 'arrayBuffer' | 'bodyUsed' | 'headers' | 'json' | 'ok' | 'status' | 'statusText' | 'text'> {
export interface ResponseLike extends Pick<
Response,
'arrayBuffer' | 'bodyUsed' | 'headers' | 'json' | 'ok' | 'status' | 'statusText' | 'text'
> {
body: Readable | ReadableStream | null;
}

View File

@@ -70,20 +70,20 @@
"commander": "^14.0.2",
"tslib": "^2.8.1",
"undici": "7.16.0",
"yaml": "^2.8.1"
"yaml": "^2.8.2"
},
"devDependencies": {
"@turbo/gen": "^2.5.8",
"@types/node": "^22.18.13",
"@turbo/gen": "^2.6.3",
"@types/node": "^22.19.1",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"terser": "^5.44.0",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"terser": "^5.44.1",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3"
},
"engines": {

View File

@@ -59,17 +59,17 @@
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -63,24 +63,24 @@
"dependencies": {
"@discordjs/formatters": "workspace:^",
"@sapphire/snowflake": "^3.5.5",
"discord-api-types": "^0.38.31"
"discord-api-types": "^0.38.36"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cpy-cli": "^6.0.0",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -10,8 +10,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
export interface AnnouncementChannel<Omitted extends keyof APINewsChannel | '' = ''>
extends MixinTypes<
export interface AnnouncementChannel<Omitted extends keyof APINewsChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.GuildAnnouncement>,
[
TextChannelMixin<ChannelType.GuildAnnouncement>,
@@ -21,7 +20,7 @@ export interface AnnouncementChannel<Omitted extends keyof APINewsChannel | '' =
ChannelSlowmodeMixin<ChannelType.GuildAnnouncement>,
ChannelTopicMixin<ChannelType.GuildAnnouncement>,
]
> {}
> {}
/**
* Sample Implementation of a structure for announcement channels, usable by direct end consumers.

View File

@@ -11,8 +11,9 @@ import { GuildChannelMixin } from './mixins/GuildChannelMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
export interface AnnouncementThreadChannel<Omitted extends keyof APIAnnouncementThreadChannel | '' = ''>
extends MixinTypes<
export interface AnnouncementThreadChannel<
Omitted extends keyof APIAnnouncementThreadChannel | '' = '',
> extends MixinTypes<
Channel<ChannelType.AnnouncementThread>,
[
TextChannelMixin<ChannelType.AnnouncementThread>,
@@ -23,7 +24,7 @@ export interface AnnouncementThreadChannel<Omitted extends keyof APIAnnouncement
GuildChannelMixin<ChannelType.AnnouncementThread>,
ThreadChannelMixin<ChannelType.AnnouncementThread>,
]
> {}
> {}
/**
* Sample Implementation of a structure for announcement threads, usable by direct end consumers.

View File

@@ -6,11 +6,10 @@ import { Channel } from './Channel.js';
import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
import { GuildChannelMixin } from './mixins/GuildChannelMixin.js';
export interface CategoryChannel<Omitted extends keyof APIGuildCategoryChannel | '' = ''>
extends MixinTypes<
export interface CategoryChannel<Omitted extends keyof APIGuildCategoryChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.GuildCategory>,
[ChannelPermissionMixin<ChannelType.GuildCategory>, GuildChannelMixin<ChannelType.GuildCategory>]
> {}
> {}
/**
* Sample Implementation of a structure for category channels, usable by direct end consumers.

View File

@@ -7,11 +7,10 @@ import { ChannelPinMixin } from './mixins/ChannelPinMixin.js';
import { DMChannelMixin } from './mixins/DMChannelMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
export interface DMChannel<Omitted extends keyof APIDMChannel | '' = ''>
extends MixinTypes<
export interface DMChannel<Omitted extends keyof APIDMChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.DM>,
[DMChannelMixin<ChannelType.DM>, TextChannelMixin<ChannelType.DM>, ChannelPinMixin<ChannelType.DM>]
> {}
> {}
/**
* Sample Implementation of a structure for dm channels, usable by direct end consumers.

View File

@@ -9,8 +9,7 @@ import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
import { ThreadOnlyChannelMixin } from './mixins/ThreadOnlyChannelMixin.js';
export interface ForumChannel<Omitted extends keyof APIGuildForumChannel | '' = ''>
extends MixinTypes<
export interface ForumChannel<Omitted extends keyof APIGuildForumChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.GuildForum>,
[
ChannelParentMixin<ChannelType.GuildForum>,
@@ -18,7 +17,7 @@ export interface ForumChannel<Omitted extends keyof APIGuildForumChannel | '' =
ChannelTopicMixin<ChannelType.GuildForum>,
ThreadOnlyChannelMixin<ChannelType.GuildForum>,
]
> {}
> {}
/**
* Sample Implementation of a structure for forum channels, usable by direct end consumers.

View File

@@ -8,8 +8,7 @@ import { DMChannelMixin } from './mixins/DMChannelMixin.js';
import { GroupDMMixin } from './mixins/GroupDMMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
export interface GroupDMChannel<Omitted extends keyof APIGroupDMChannel | '' = ''>
extends MixinTypes<
export interface GroupDMChannel<Omitted extends keyof APIGroupDMChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.GroupDM>,
[
DMChannelMixin<ChannelType.GroupDM>,
@@ -17,7 +16,7 @@ export interface GroupDMChannel<Omitted extends keyof APIGroupDMChannel | '' = '
ChannelOwnerMixin<ChannelType.GroupDM>,
GroupDMMixin,
]
> {}
> {}
/**
* Sample Implementation of a structure for group dm channels, usable by direct end consumers.

View File

@@ -8,8 +8,7 @@ import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
import { ThreadOnlyChannelMixin } from './mixins/ThreadOnlyChannelMixin.js';
export interface MediaChannel<Omitted extends keyof APIGuildMediaChannel | '' = ''>
extends MixinTypes<
export interface MediaChannel<Omitted extends keyof APIGuildMediaChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.GuildMedia>,
[
ChannelParentMixin<ChannelType.GuildMedia>,
@@ -17,7 +16,7 @@ export interface MediaChannel<Omitted extends keyof APIGuildMediaChannel | '' =
ChannelTopicMixin<ChannelType.GuildMedia>,
ThreadOnlyChannelMixin<ChannelType.GuildMedia>,
]
> {}
> {}
/**
* Sample Implementation of a structure for media channels, usable by direct end consumers.

View File

@@ -10,8 +10,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
export interface PrivateThreadChannel<Omitted extends keyof APIPrivateThreadChannel | '' = ''>
extends MixinTypes<
export interface PrivateThreadChannel<Omitted extends keyof APIPrivateThreadChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.PrivateThread>,
[
TextChannelMixin<ChannelType.PrivateThread>,
@@ -21,7 +20,7 @@ export interface PrivateThreadChannel<Omitted extends keyof APIPrivateThreadChan
ChannelSlowmodeMixin<ChannelType.PrivateThread>,
ThreadChannelMixin<ChannelType.PrivateThread>,
]
> {}
> {}
/**
* Sample Implementation of a structure for private thread channels, usable by direct end consumers.

View File

@@ -11,8 +11,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
export interface PublicThreadChannel<Omitted extends keyof APIPublicThreadChannel | '' = ''>
extends MixinTypes<
export interface PublicThreadChannel<Omitted extends keyof APIPublicThreadChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.PublicThread>,
[
TextChannelMixin<ChannelType.PublicThread>,
@@ -23,7 +22,7 @@ export interface PublicThreadChannel<Omitted extends keyof APIPublicThreadChanne
ThreadChannelMixin<ChannelType.PublicThread>,
AppliedTagsMixin,
]
> {}
> {}
/**
* Sample Implementation of a structure for public thread channels, usable by direct end consumers.

View File

@@ -9,8 +9,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { ChannelWebhookMixin } from './mixins/ChannelWebhookMixin.js';
import { VoiceChannelMixin } from './mixins/VoiceChannelMixin.js';
export interface StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''>
extends MixinTypes<
export interface StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.GuildStageVoice>,
[
ChannelParentMixin<ChannelType.GuildStageVoice>,
@@ -19,7 +18,7 @@ export interface StageChannel<Omitted extends keyof APIGuildStageVoiceChannel |
ChannelWebhookMixin<ChannelType.GuildStageVoice>,
VoiceChannelMixin<ChannelType.GuildStageVoice>,
]
> {}
> {}
export class StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''> extends Channel<
ChannelType.GuildStageVoice,

View File

@@ -10,8 +10,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
export interface TextChannel<Omitted extends keyof APITextChannel | '' = ''>
extends MixinTypes<
export interface TextChannel<Omitted extends keyof APITextChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.GuildText>,
[
TextChannelMixin<ChannelType.GuildText>,
@@ -21,7 +20,7 @@ export interface TextChannel<Omitted extends keyof APITextChannel | '' = ''>
ChannelSlowmodeMixin<ChannelType.GuildText>,
ChannelTopicMixin<ChannelType.GuildText>,
]
> {}
> {}
export class TextChannel<Omitted extends keyof APITextChannel | '' = ''> extends Channel<
ChannelType.GuildText,

View File

@@ -9,8 +9,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { ChannelWebhookMixin } from './mixins/ChannelWebhookMixin.js';
import { VoiceChannelMixin } from './mixins/VoiceChannelMixin.js';
export interface VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''>
extends MixinTypes<
export interface VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''> extends MixinTypes<
Channel<ChannelType.GuildVoice>,
[
ChannelParentMixin<ChannelType.GuildVoice>,
@@ -19,7 +18,7 @@ export interface VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' =
ChannelWebhookMixin<ChannelType.GuildVoice>,
VoiceChannelMixin<ChannelType.GuildVoice>,
]
> {}
> {}
export class VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''> extends Channel<
ChannelType.GuildVoice,

View File

@@ -52,10 +52,10 @@
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@ariakit/react": "^0.4.19",
"@ariakit/react": "^0.4.20",
"@react-icons/all-files": "^4.1.0",
"react": "^19.2.0",
"react-dom": "^19.2.0"
"react": "^19.2.1",
"react-dom": "^19.2.1"
},
"devDependencies": {
"@favware/cliff-jumper": "^6.0.0",
@@ -68,25 +68,25 @@
"@storybook/react": "^8.6.14",
"@storybook/react-vite": "^8.6.14",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^22.18.13",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@unocss/eslint-plugin": "^66.5.4",
"@unocss/reset": "^66.5.4",
"@vitejs/plugin-react": "^5.1.0",
"@types/node": "^22.19.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@unocss/eslint-plugin": "^66.5.10",
"@unocss/reset": "^66.5.10",
"@vitejs/plugin-react": "^5.1.1",
"chromatic": "^11.29.0",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"prop-types": "^15.8.1",
"storybook": "^8.6.14",
"turbo": "^2.5.8",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"unocss": "^66.5.4",
"vite": "^7.1.12",
"unocss": "^66.5.10",
"vite": "^7.2.6",
"vite-plugin-dts": "^4.5.4"
},
"engines": {

View File

@@ -62,23 +62,23 @@
"homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"discord-api-types": "^0.38.31"
"discord-api-types": "^0.38.36"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4"
},

View File

@@ -64,7 +64,7 @@
"funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": {
"@types/ws": "^8.18.1",
"discord-api-types": "^0.38.31",
"discord-api-types": "^0.38.36",
"prism-media": "^1.3.5",
"tslib": "^2.8.1",
"ws": "^8.18.3"
@@ -75,18 +75,18 @@
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@noble/ciphers": "^1.3.0",
"@snazzah/davey": "^0.1.7",
"@types/node": "^22.18.13",
"@snazzah/davey": "^0.1.8",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4",
"vitest-websocket-mock": "^0.5.0"

View File

@@ -78,7 +78,7 @@
"@sapphire/async-queue": "^1.5.5",
"@types/ws": "^8.18.1",
"@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31",
"discord-api-types": "^0.38.36",
"tslib": "^2.8.1",
"ws": "^8.18.3"
},
@@ -86,18 +86,18 @@
"@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0",
"mock-socket": "^9.3.1",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"turbo": "^2.5.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"turbo": "^2.6.3",
"typescript": "~5.9.3",
"vitest": "^3.2.4",
"zlib-sync": "^0.1.10"

View File

@@ -2,8 +2,7 @@ import type { Awaitable } from '@discordjs/util';
import type { APIGatewayBotInfo } from 'discord-api-types/v10';
import type { SessionInfo, WebSocketManager, WebSocketManagerOptions } from '../../ws/WebSocketManager.js';
export interface FetchingStrategyOptions
extends Pick<
export interface FetchingStrategyOptions extends Pick<
WebSocketManagerOptions,
| 'compression'
| 'encoding'
@@ -17,7 +16,7 @@ export interface FetchingStrategyOptions
| 'token'
| 'useIdentifyCompression'
| 'version'
> {
> {
readonly gatewayInformation: APIGatewayBotInfo;
readonly shardCount: number;
}

View File

@@ -205,8 +205,7 @@ export interface OptionalWebSocketManagerOptions {
export interface WebSocketManagerOptions extends OptionalWebSocketManagerOptions, RequiredWebSocketManagerOptions {}
export interface CreateWebSocketManagerOptions
extends Partial<OptionalWebSocketManagerOptions>,
RequiredWebSocketManagerOptions {}
extends Partial<OptionalWebSocketManagerOptions>, RequiredWebSocketManagerOptions {}
export interface ManagerShardEventsMap {
[WebSocketShardEvents.Closed]: [code: number, shardId: number];

10524
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff