Skip to content

Commit

Permalink
chore: bump types
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Dec 15, 2022
1 parent f6e989b commit ad0accc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Expand Up @@ -48,7 +48,7 @@
"@discordjs/rest": "workspace:^",
"@discordjs/ws": "workspace:^",
"@vladfrangu/async_event_emitter": "^2.1.2",
"discord-api-types": "next"
"discord-api-types": "0.37.23"
},
"devDependencies": {
"@favware/cliff-jumper": "^1.9.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/core/src/api/user.ts
Expand Up @@ -145,6 +145,13 @@ export class UsersAPI {
) as Promise<RESTGetAPICurrentUserApplicationRoleConnectionResult>;
}

/**
* Updates the current user's application role connection
*
* @see {@link https://discord.com/developers/docs/resources/user#update-user-application-role-connection}
* @param applicationId - The id of the application
* @param options - The options to use when updating the application role connection
*/
public async updateApplicationRoleConnection(
applicationId: Snowflake,
options: RESTPutAPICurrentUserApplicationRoleConnectionJSONBody,
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Expand Up @@ -2102,7 +2102,7 @@ __metadata:
"@vitest/coverage-c8": ^0.25.3
"@vladfrangu/async_event_emitter": ^2.1.2
cross-env: ^7.0.3
discord-api-types: next
discord-api-types: 0.37.23
eslint: ^8.28.0
eslint-config-neon: ^0.1.40
eslint-formatter-pretty: ^4.1.0
Expand Down Expand Up @@ -8457,20 +8457,20 @@ __metadata:
languageName: node
linkType: hard

"discord-api-types@npm:0.37.23":
version: 0.37.23
resolution: "discord-api-types@npm:0.37.23"
checksum: 68c385366ccec523c35db4048f2c0d1fcd979fefb620ba57707dc648d0e647b817047a03682d9cac2e9e9a1642f2129ad343ac66a7a9b1e0d6bf53bc5eb11f37
languageName: node
linkType: hard

"discord-api-types@npm:^0.37.20":
version: 0.37.20
resolution: "discord-api-types@npm:0.37.20"
checksum: 88ebed85aada3483e83ac46a1b4574c0d59948060ac72f451d658fa646b20d62bd6f21792043621dcc5a9e9353d95c25de70646b8d2a93f0022154345800b26c
languageName: node
linkType: hard

"discord-api-types@npm:next":
version: 0.37.23-next.2b75d13.1671054341
resolution: "discord-api-types@npm:0.37.23-next.2b75d13.1671054341"
checksum: dd1bedf7a7bc590d51128ec54541a4f6c8abe2aee1babdbd1d9856b2e1e421d8c6529c39cc929c0efb6e7c0876919caa31f10d8fa5fa00a1e65db77f85f6347e
languageName: node
linkType: hard

"discord.js@workspace:packages/discord.js":
version: 0.0.0-use.local
resolution: "discord.js@workspace:packages/discord.js"
Expand Down

0 comments on commit ad0accc

Please sign in to comment.