@discordjs/voice 0.9.0 → 0.10.0-dev.1650413400-585169f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,74 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ # [0.9.0](https://github.com/discordjs/discord.js/compare/@discordjs/voice@0.8.0...@discordjs/voice@0.9.0) (2022-04-17)
6
+
7
+ ## Bug Fixes
8
+
9
+ - Fix some typos (#7393) ([92a04f4](https://github.com/discordjs/discord.js/commit/92a04f4d98f6c6760214034cc8f5a1eaa78893c7))
10
+
11
+ ## Features
12
+
13
+ - Support sodium-native lib for voice (#7698) ([f0d0242](https://github.com/discordjs/discord.js/commit/f0d0242c76a455bb7a5ea7bd95ca62907c7e9d62))
14
+ - Add API v10 support (#7477) ([72577c4](https://github.com/discordjs/discord.js/commit/72577c4bfd02524a27afb6ff4aebba9301a690d3))
15
+ - Add support for module: NodeNext in TS and ESM (#7598) ([8f1986a](https://github.com/discordjs/discord.js/commit/8f1986a6aa98365e09b00e84ad5f9f354ab61f3d))
16
+ - **builders:** Add attachment command option type (#7203) ([ae0f35f](https://github.com/discordjs/discord.js/commit/ae0f35f51d68dfa5a7dc43d161ef9365171debdb))
17
+
18
+ ## Refactor
19
+
20
+ - PresenceUpdate and demuxProbe (#7248) ([1745973](https://github.com/discordjs/discord.js/commit/174597302408f13c5bb685e2fb02ae2137cb481d))
21
+
22
+ ## Testing
23
+
24
+ - **voice:** Fix tests ([62c74b8](https://github.com/discordjs/discord.js/commit/62c74b8333066465e5bd295b8b102b35a506751d))
25
+ - Fix voice secretbox tests ([4a2dbd6](https://github.com/discordjs/discord.js/commit/4a2dbd62382f904d596b34da0116d50e724b81c4))
26
+ - Fix voice tests ([b593bd3](https://github.com/discordjs/discord.js/commit/b593bd32a98282a92fa28f2fb0a8ef239866622c))
27
+
28
+ # [0.8.0](https://github.com/discordjs/discord.js/compare/@discordjs/voice@0.7.5...@discordjs/voice@0.8.0) (2021-12-08)
29
+
30
+ ## Refactor
31
+
32
+ - PresenceUpdate and demuxProbe (#7248) ([1745973](https://github.com/discordjs/discord.js/commit/174597302408f13c5bb685e2fb02ae2137cb481d))
33
+
34
+ ## Testing
35
+
36
+ - **voice:** Fix tests ([62c74b8](https://github.com/discordjs/discord.js/commit/62c74b8333066465e5bd295b8b102b35a506751d))
37
+ - Fix voice secretbox tests ([4a2dbd6](https://github.com/discordjs/discord.js/commit/4a2dbd62382f904d596b34da0116d50e724b81c4))
38
+ - Fix voice tests ([b593bd3](https://github.com/discordjs/discord.js/commit/b593bd32a98282a92fa28f2fb0a8ef239866622c))
39
+
40
+ # [0.7.5](https://github.com/discordjs/voice/compare/v0.7.4...v0.7.5) (2021-11-12)
41
+
42
+ ## Bug Fixes
43
+
44
+ - postbuild script ([644af95](https://github.com/discordjs/voice/commit/644af9579f02724c489514f482640b8413d2c305))
45
+
46
+ # [0.7.4](https://github.com/discordjs/voice/compare/v0.7.3...v0.7.4) (2021-11-12)
47
+
48
+ ## Bug Fixes
49
+
50
+ - conditionally apply banner only to esm build ([8c4e8c4](https://github.com/discordjs/voice/commit/8c4e8c4ba5b9013a90de0238a7f2771e9113a62d))
51
+
52
+ # [0.7.3](https://github.com/discordjs/voice/compare/v0.7.2...v0.7.3) (2021-11-11)
53
+
54
+ ## Bug Fixes
55
+
56
+ - **esm:** resolve esm imports ([#229](https://github.com/discordjs/voice/issues/229)) ([616f2bc](https://github.com/discordjs/voice/commit/616f2bcfde47e55ac7b09f4faaa07f15d78c11a5))
57
+
58
+ # [0.7.2](https://github.com/discordjs/voice/compare/v0.7.1...v0.7.2) (2021-10-30)
59
+
60
+ ## Bug Fixes
61
+
62
+ - prism imports for ems ([0bfd6d5](https://github.com/discordjs/voice/commit/0bfd6d5247f89cfc125e7645e9fb7ebfed94bb2f))
63
+
64
+ # [0.7.1](https://github.com/discordjs/voice/compare/v0.7.0...v0.7.1) (2021-10-30)
65
+
66
+ ## Bug Fixes
67
+
68
+ - prism imports for esm ([9222dbf](https://github.com/discordjs/voice/commit/9222dbfedd8bfaeb679133dfa41330ea75a03a70))
69
+
70
+ # [0.7.0](https://github.com/discordjs/voice/compare/v0.6.0...v0.7.0) (2021-10-30)
71
+
72
+ ## Features
73
+
74
+ - export some types so they render in docs ([#211](https://github.com/discordjs/voice/issues/211)) ([a6dad47](https://github.com/discordjs/voice/commit/a6dad4781fb479d22d7bff99888e42368d6d6411))
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ var require_package = __commonJS({
34
34
  "package.json"(exports, module2) {
35
35
  module2.exports = {
36
36
  name: "@discordjs/voice",
37
- version: "0.9.0",
37
+ version: "0.10.0-dev",
38
38
  description: "Implementation of the Discord Voice API for node.js",
39
39
  scripts: {
40
40
  build: "tsup && node scripts/postbuild.mjs",
package/dist/index.mjs CHANGED
@@ -22,7 +22,7 @@ var require_package = __commonJS({
22
22
  "package.json"(exports, module) {
23
23
  module.exports = {
24
24
  name: "@discordjs/voice",
25
- version: "0.9.0",
25
+ version: "0.10.0-dev",
26
26
  description: "Implementation of the Discord Voice API for node.js",
27
27
  scripts: {
28
28
  build: "tsup && node scripts/postbuild.mjs",
package/package.json CHANGED
@@ -1,88 +1,89 @@
1
1
  {
2
- "name": "@discordjs/voice",
3
- "version": "0.9.0",
4
- "description": "Implementation of the Discord Voice API for node.js",
5
- "scripts": {
6
- "build": "tsup && node scripts/postbuild.mjs",
7
- "test": "jest --pass-with-no-tests --collect-coverage",
8
- "lint": "prettier --check . && eslint src __tests__ --ext mjs,js,ts",
9
- "format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
10
- "docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
11
- "prepublishOnly": "yarn build && yarn lint && yarn test",
12
- "changelog": "git cliff --prepend ./CHANGELOG.md -l -c ./cliff.toml -r ../../ --include-path 'packages/voice/*'"
13
- },
14
- "main": "./dist/index.js",
15
- "module": "./dist/index.mjs",
16
- "typings": "./dist/index.d.ts",
17
- "exports": {
18
- "import": "./dist/index.mjs",
19
- "require": "./dist/index.js",
20
- "types": "./dist/index.d.ts"
21
- },
22
- "directories": {
23
- "lib": "src",
24
- "test": "__tests__"
25
- },
26
- "files": [
27
- "dist"
28
- ],
29
- "contributors": [
30
- "Crawl <icrawltogo@gmail.com>",
31
- "Amish Shah <amishshah.2k@gmail.com>",
32
- "SpaceEEC <spaceeec@yahoo.com>",
33
- "Vlad Frangu <kingdgrizzle@gmail.com>",
34
- "Antonio Roman <kyradiscord@gmail.com>"
35
- ],
36
- "license": "Apache-2.0",
37
- "keywords": [
38
- "discord",
39
- "discord.js",
40
- "audio",
41
- "voice",
42
- "streaming"
43
- ],
44
- "repository": {
45
- "type": "git",
46
- "url": "git+https://github.com/discordjs/discord.js.git"
47
- },
48
- "bugs": {
49
- "url": "https://github.com/discordjs/discord.js/issues"
50
- },
51
- "homepage": "https://discord.js.org",
52
- "dependencies": {
53
- "@types/ws": "^8.5.3",
54
- "discord-api-types": "^0.29.0",
55
- "prism-media": "^1.3.2",
56
- "tiny-typed-emitter": "^2.1.0",
57
- "tslib": "^2.3.1",
58
- "ws": "^8.5.0"
59
- },
60
- "devDependencies": {
61
- "@babel/core": "^7.17.9",
62
- "@babel/preset-env": "^7.16.11",
63
- "@babel/preset-typescript": "^7.16.7",
64
- "@discordjs/ts-docgen": "^0.4.1",
65
- "@types/jest": "^27.4.1",
66
- "@types/node": "^16.11.27",
67
- "@typescript-eslint/eslint-plugin": "^5.19.0",
68
- "@typescript-eslint/parser": "^5.19.0",
69
- "eslint": "^8.13.0",
70
- "eslint-config-marine": "^9.4.1",
71
- "eslint-config-prettier": "^8.5.0",
72
- "eslint-plugin-import": "^2.26.0",
73
- "jest": "^27.5.1",
74
- "jest-websocket-mock": "^2.3.0",
75
- "mock-socket": "^9.1.2",
76
- "prettier": "^2.6.2",
77
- "tsup": "^5.12.5",
78
- "tweetnacl": "^1.0.3",
79
- "typedoc": "^0.22.15",
80
- "typescript": "^4.6.3"
81
- },
82
- "engines": {
83
- "node": ">=16.9.0"
84
- },
85
- "publishConfig": {
86
- "access": "public"
87
- }
88
- }
2
+ "name": "@discordjs/voice",
3
+ "version": "0.10.0-dev.1650413400-585169f",
4
+ "description": "Implementation of the Discord Voice API for node.js",
5
+ "scripts": {
6
+ "build": "tsup && node scripts/postbuild.mjs",
7
+ "test": "jest --pass-with-no-tests --collect-coverage",
8
+ "lint": "prettier --check . && eslint src __tests__ --ext mjs,js,ts",
9
+ "format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
10
+ "docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
11
+ "prepublishOnly": "yarn build && yarn lint && yarn test",
12
+ "changelog": "git cliff --prepend ./CHANGELOG.md -l -c ./cliff.toml -r ../../ --include-path 'packages/voice/*'"
13
+ },
14
+ "main": "./dist/index.js",
15
+ "module": "./dist/index.mjs",
16
+ "typings": "./dist/index.d.ts",
17
+ "exports": {
18
+ "import": "./dist/index.mjs",
19
+ "require": "./dist/index.js",
20
+ "types": "./dist/index.d.ts"
21
+ },
22
+ "directories": {
23
+ "lib": "src",
24
+ "test": "__tests__"
25
+ },
26
+ "files": [
27
+ "dist"
28
+ ],
29
+ "contributors": [
30
+ "Crawl <icrawltogo@gmail.com>",
31
+ "Amish Shah <amishshah.2k@gmail.com>",
32
+ "SpaceEEC <spaceeec@yahoo.com>",
33
+ "Vlad Frangu <kingdgrizzle@gmail.com>",
34
+ "Antonio Roman <kyradiscord@gmail.com>"
35
+ ],
36
+ "license": "Apache-2.0",
37
+ "keywords": [
38
+ "discord",
39
+ "discord.js",
40
+ "audio",
41
+ "voice",
42
+ "streaming"
43
+ ],
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "git+https://github.com/discordjs/discord.js.git"
47
+ },
48
+ "bugs": {
49
+ "url": "https://github.com/discordjs/discord.js/issues"
50
+ },
51
+ "homepage": "https://discord.js.org",
52
+ "dependencies": {
53
+ "@types/ws": "^8.5.3",
54
+ "discord-api-types": "^0.29.0",
55
+ "prism-media": "^1.3.2",
56
+ "tiny-typed-emitter": "^2.1.0",
57
+ "tslib": "^2.3.1",
58
+ "ws": "^8.5.0"
59
+ },
60
+ "devDependencies": {
61
+ "@babel/core": "^7.17.9",
62
+ "@babel/preset-env": "^7.16.11",
63
+ "@babel/preset-typescript": "^7.16.7",
64
+ "@discordjs/ts-docgen": "^0.4.1",
65
+ "@types/jest": "^27.4.1",
66
+ "@types/node": "^16.11.27",
67
+ "@typescript-eslint/eslint-plugin": "^5.19.0",
68
+ "@typescript-eslint/parser": "^5.19.0",
69
+ "eslint": "^8.13.0",
70
+ "eslint-config-marine": "^9.4.1",
71
+ "eslint-config-prettier": "^8.5.0",
72
+ "eslint-plugin-import": "^2.26.0",
73
+ "jest": "^27.5.1",
74
+ "jest-websocket-mock": "^2.3.0",
75
+ "mock-socket": "^9.1.2",
76
+ "prettier": "^2.6.2",
77
+ "tsup": "^5.12.5",
78
+ "tweetnacl": "^1.0.3",
79
+ "typedoc": "^0.22.15",
80
+ "typescript": "^4.6.3"
81
+ },
82
+ "engines": {
83
+ "node": ">=16.9.0"
84
+ },
85
+ "publishConfig": {
86
+ "access": "public"
87
+ },
88
+ "stableVersion": "0.10.0-dev"
89
+ }