Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Commit

Permalink
feat: update discord-api-types from API v6 to API v9 (#39)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Updated discord-api-types version from API v6 to API v9
  • Loading branch information
kyranet authored Aug 2, 2021
1 parent eb319f5 commit 640e33c
Show file tree
Hide file tree
Showing 5 changed files with 219 additions and 125 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,36 +38,36 @@
"dependencies": {
"backoff": "^2.5.0",
"tslib": "^2.3.0",
"ws": "^7.5.3"
"ws": "^8.0.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@sapphire/eslint-config": "^3.2.3",
"@sapphire/prettier-config": "^1.1.6",
"@sapphire/ts-config": "^2.3.2",
"@sapphire/ts-config": "^3.0.0",
"@types/backoff": "^2.5.2",
"@types/jest": "^26.0.24",
"@types/node": "^15.14.0",
"@types/node": "^16.4.10",
"@types/ws": "^7.4.7",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.5",
"cz-conventional-changelog": "^3.3.0",
"discord-api-types": "^0.18.1",
"eslint": "^7.31.0",
"discord-api-types": "^0.22.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"gen-esm-wrapper": "^1.1.2",
"husky": "^6.0.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"jest-circus": "^27.0.6",
"lint-staged": "^11.0.1",
"lint-staged": "^11.1.1",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"standard-version": "^9.3.1",
"ts-jest": "^27.0.4",
"ts-node": "^10.1.0",
"typedoc": "^0.21.4",
"typedoc": "^0.21.5",
"typedoc-plugin-nojekyll": "^1.0.1",
"typescript": "^4.3.5"
},
Expand Down
2 changes: 1 addition & 1 deletion src/base/BaseCluster.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GatewaySendPayload } from 'discord-api-types/v6';
import type { GatewaySendPayload } from 'discord-api-types/v9';
import { EventEmitter } from 'events';
import { ClusterNode, ClusterNodeOptions } from '../ClusterNode';
import type { Player } from '../core/Player';
Expand Down
2 changes: 1 addition & 1 deletion src/base/BaseNode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GatewaySendPayload, GatewayVoiceServerUpdateDispatch, GatewayVoiceState } from 'discord-api-types/v6';
import type { GatewaySendPayload, GatewayVoiceServerUpdateDispatch, GatewayVoiceState } from 'discord-api-types/v9';
import { EventEmitter } from 'events';
import type { IncomingMessage } from 'http';
import * as WebSocket from 'ws';
Expand Down
2 changes: 1 addition & 1 deletion src/core/Player.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { GatewayVoiceStateUpdate } from 'discord-api-types/v6';
import type { GatewayVoiceStateUpdate } from 'discord-api-types/v9';
import { EventEmitter } from 'events';
import type { BaseNode, VoiceServerUpdate, VoiceStateUpdate } from '../base/BaseNode';
import type { IncomingEventPayload, IncomingPlayerUpdatePayload, IncomingPlayerUpdatePayloadState } from '../types/IncomingPayloads';
Expand Down
Loading

0 comments on commit 640e33c

Please sign in to comment.