Skip to content

Commit a271e9b

Browse files
authored
build: Upgrade discord-api-types (#10991)
build: Upgrade dependencies
1 parent 8ac0e1e commit a271e9b

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"@discordjs/ws": "workspace:^",
7171
"@sapphire/snowflake": "^3.5.3",
7272
"@vladfrangu/async_event_emitter": "^2.4.6",
73-
"discord-api-types": "^0.38.1"
73+
"discord-api-types": "^0.38.16"
7474
},
7575
"devDependencies": {
7676
"@discordjs/api-extractor": "workspace:^",

packages/core/src/api/oauth2.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class OAuth2API {
4444
{ signal }: Pick<RequestData, 'signal'> = {},
4545
) {
4646
return this.rest.post(Routes.oauth2TokenExchange(), {
47-
body: makeURLSearchParams(body),
47+
body: makeURLSearchParams<RESTPostOAuth2AccessTokenURLEncodedData>(body),
4848
passThroughBody: true,
4949
headers: {
5050
'Content-Type': 'application/x-www-form-urlencoded',
@@ -66,7 +66,7 @@ export class OAuth2API {
6666
{ signal }: Pick<RequestData, 'signal'> = {},
6767
) {
6868
return this.rest.post(Routes.oauth2TokenExchange(), {
69-
body: makeURLSearchParams(body),
69+
body: makeURLSearchParams<RESTPostOAuth2RefreshTokenURLEncodedData>(body),
7070
passThroughBody: true,
7171
headers: {
7272
'Content-Type': 'application/x-www-form-urlencoded',

packages/discord.js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@discordjs/util": "workspace:^",
7474
"@discordjs/ws": "^1.2.3",
7575
"@sapphire/snowflake": "3.5.3",
76-
"discord-api-types": "^0.38.1",
76+
"discord-api-types": "^0.38.16",
7777
"fast-deep-equal": "3.1.3",
7878
"lodash.snakecase": "4.1.1",
7979
"magic-bytes.js": "^1.10.0",

packages/formatters/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"homepage": "https://discord.js.org",
5656
"funding": "https://github.com/discordjs/discord.js?sponsor",
5757
"dependencies": {
58-
"discord-api-types": "^0.37.119"
58+
"discord-api-types": "^0.38.16"
5959
},
6060
"devDependencies": {
6161
"@discordjs/api-extractor": "workspace:^",

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@discordjs/rest": "workspace:^",
7373
"@discordjs/util": "workspace:^",
7474
"@discordjs/ws": "workspace:^",
75-
"discord-api-types": "^0.37.119"
75+
"discord-api-types": "^0.38.16"
7676
},
7777
"devDependencies": {
7878
"@discordjs/api-extractor": "workspace:^",

packages/rest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"@sapphire/async-queue": "^1.5.3",
8989
"@sapphire/snowflake": "^3.5.3",
9090
"@vladfrangu/async_event_emitter": "^2.4.6",
91-
"discord-api-types": "^0.38.1",
91+
"discord-api-types": "^0.38.16",
9292
"magic-bytes.js": "^1.10.0",
9393
"tslib": "^2.6.3",
9494
"undici": "6.21.3"

packages/voice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"funding": "https://github.com/discordjs/discord.js?sponsor",
6565
"dependencies": {
6666
"@types/ws": "^8.5.12",
67-
"discord-api-types": "^0.37.119",
67+
"discord-api-types": "^0.38.16",
6868
"prism-media": "^1.3.5",
6969
"tslib": "^2.6.3",
7070
"ws": "^8.18.0"

packages/ws/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@sapphire/async-queue": "^1.5.3",
8080
"@types/ws": "^8.5.12",
8181
"@vladfrangu/async_event_emitter": "^2.4.6",
82-
"discord-api-types": "^0.38.1",
82+
"discord-api-types": "^0.38.16",
8383
"tslib": "^2.6.3",
8484
"ws": "^8.18.0"
8585
},

pnpm-lock.yaml

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)