@discordjs/ws 0.3.0 → 0.4.0-dev.1661256239-28bc4f4.0
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/README.md +15 -12
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
<br />
|
|
3
|
+
<p>
|
|
4
|
+
<a href="https://discord.js.org"><img src="https://discord.js.org/static/logo.svg" width="546" alt="discord.js" /></a>
|
|
5
|
+
</p>
|
|
6
|
+
<br />
|
|
7
|
+
<p>
|
|
8
|
+
<a href="https://discord.gg/djs"><img src="https://img.shields.io/discord/222078108977594368?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a>
|
|
9
|
+
<a href="https://www.npmjs.com/package/@discordjs/ws"><img src="https://img.shields.io/npm/v/@discordjs/ws.svg?maxAge=3600" alt="npm version" /></a>
|
|
10
|
+
<a href="https://www.npmjs.com/package/@discordjs/ws"><img src="https://img.shields.io/npm/dt/@discordjs/ws.svg?maxAge=3600" alt="npm downloads" /></a>
|
|
11
|
+
<a href="https://github.com/discordjs/discord.js/actions"><img src="https://github.com/discordjs/discord.js/actions/workflows/test.yml/badge.svg" alt="Build status" /></a>
|
|
12
|
+
<a href="https://codecov.io/gh/discordjs/discord.js" ><img src="https://codecov.io/gh/discordjs/discord.js/branch/main/graph/badge.svg?precision=2&flag=ws" alt="Code coverage" /></a>
|
|
13
|
+
</p>
|
|
14
|
+
<p>
|
|
15
|
+
<a href="https://vercel.com/?utm_source=discordjs&utm_campaign=oss"><img src="https://raw.githubusercontent.com/discordjs/discord.js/main/.github/powered-by-vercel.svg" alt="Vercel" /></a>
|
|
16
|
+
</p>
|
|
14
17
|
</div>
|
|
15
18
|
|
|
16
19
|
## About
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@discordjs/ws",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0-dev.1661256239-28bc4f4.0",
|
|
4
4
|
"description": "Wrapper around Discord's gateway",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "vitest run",
|
|
7
7
|
"build": "unbuild",
|
|
8
8
|
"lint": "prettier --check . && TIMING=1 eslint src __tests__ --ext mjs,js,ts",
|
|
9
9
|
"format": "prettier --write . && TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix",
|
|
10
|
-
"docs": "docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
|
|
10
|
+
"docs": "downlevel-dts dist docs/dist --to=3.7 && docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
|
|
11
11
|
"prepack": "yarn build && yarn lint",
|
|
12
12
|
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/ws/*'",
|
|
13
13
|
"release": "cliff-jumper"
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://discord.js.org",
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@discordjs/collection": "^1.0
|
|
56
|
-
"@discordjs/rest": "^1.0
|
|
55
|
+
"@discordjs/collection": "^1.1.0",
|
|
56
|
+
"@discordjs/rest": "^1.1.0",
|
|
57
57
|
"@sapphire/async-queue": "^1.5.0",
|
|
58
58
|
"@types/ws": "^8.5.3",
|
|
59
59
|
"@vladfrangu/async_event_emitter": "^2.0.1",
|
|
60
|
-
"discord-api-types": "^0.37.
|
|
60
|
+
"discord-api-types": "^0.37.4",
|
|
61
61
|
"tslib": "^2.4.0",
|
|
62
62
|
"ws": "^8.8.1"
|
|
63
63
|
},
|
|
@@ -66,13 +66,14 @@
|
|
|
66
66
|
"@favware/cliff-jumper": "^1.8.7",
|
|
67
67
|
"@microsoft/api-extractor": "^7.29.3",
|
|
68
68
|
"@types/node": "^16.11.52",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
70
|
-
"@typescript-eslint/parser": "^5.
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^5.34.0",
|
|
70
|
+
"@typescript-eslint/parser": "^5.34.0",
|
|
71
71
|
"@vitest/coverage-c8": "^0.22.1",
|
|
72
|
+
"downlevel-dts": "^0.10.0",
|
|
72
73
|
"eslint": "^8.22.0",
|
|
73
74
|
"eslint-config-marine": "^9.4.1",
|
|
74
75
|
"eslint-config-prettier": "^8.5.0",
|
|
75
|
-
"eslint-import-resolver-typescript": "^3.
|
|
76
|
+
"eslint-import-resolver-typescript": "^3.5.0",
|
|
76
77
|
"eslint-plugin-import": "^2.26.0",
|
|
77
78
|
"eslint-plugin-tsdoc": "^0.2.16",
|
|
78
79
|
"mock-socket": "^9.1.5",
|