@seedcord/gateway 0.7.1 → 0.7.2
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
|
-
<h3>The whole Discord bot,
|
|
9
|
+
<h3>The whole Discord bot, typed end to end</h3>
|
|
10
10
|
<a href="https://seedcord.org">Website</a> ·
|
|
11
11
|
<a href="https://guide.seedcord.org">Guide</a> ·
|
|
12
12
|
<a href="https://docs.seedcord.org">Reference</a> ·
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seedcord/gateway",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.2",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.11"
|
|
7
7
|
},
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@discordjs/builders": "^1.14.1",
|
|
49
49
|
"@discordjs/rest": "^2.6.3",
|
|
50
|
-
"@seedcord/core": "^0.9.
|
|
51
|
-
"@seedcord/custom-id": "^0.2.
|
|
52
|
-
"@seedcord/errors": "^0.11.
|
|
53
|
-
"@seedcord/event-emitter": "^0.1.
|
|
54
|
-
"@seedcord/logger": "^0.4.
|
|
55
|
-
"@seedcord/rate-limiter": "^0.1.
|
|
56
|
-
"@seedcord/types": "^0.14.
|
|
57
|
-
"@seedcord/utils": "^0.8.
|
|
50
|
+
"@seedcord/core": "^0.9.2",
|
|
51
|
+
"@seedcord/custom-id": "^0.2.5",
|
|
52
|
+
"@seedcord/errors": "^0.11.1",
|
|
53
|
+
"@seedcord/event-emitter": "^0.1.6",
|
|
54
|
+
"@seedcord/logger": "^0.4.2",
|
|
55
|
+
"@seedcord/rate-limiter": "^0.1.10",
|
|
56
|
+
"@seedcord/types": "^0.14.1",
|
|
57
|
+
"@seedcord/utils": "^0.8.15",
|
|
58
58
|
"reflect-metadata": "^0.2.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@seedcord/eslint-config": "^2.2.
|
|
62
|
-
"@seedcord/tsconfig": "^2.0.
|
|
61
|
+
"@seedcord/eslint-config": "^2.2.2",
|
|
62
|
+
"@seedcord/tsconfig": "^2.0.4",
|
|
63
63
|
"@seedcord/tsdown-config": "^2.0.1",
|
|
64
64
|
"@seedcord/vitest-config": "^0.0.1",
|
|
65
65
|
"discord.js": "^14.27.0",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"test:watch": "vitest dev",
|
|
83
83
|
"coverage": "vitest run --coverage"
|
|
84
84
|
},
|
|
85
|
-
"readme": "<div align=\"center\">\n <picture>\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.seedcord.org/assets/wordmark-dark.webp\" />\n <img src=\"https://cdn.seedcord.org/assets/wordmark-light.webp\" alt=\"seedcord\" width=\"440\" />\n </picture>\n</div>\n\n<div align=\"center\">\n <h3>The whole Discord bot,
|
|
85
|
+
"readme": "<div align=\"center\">\n <picture>\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.seedcord.org/assets/wordmark-dark.webp\" />\n <img src=\"https://cdn.seedcord.org/assets/wordmark-light.webp\" alt=\"seedcord\" width=\"440\" />\n </picture>\n</div>\n\n<div align=\"center\">\n <h3>The whole Discord bot, typed end to end</h3>\n <a href=\"https://seedcord.org\">Website</a> ·\n <a href=\"https://guide.seedcord.org\">Guide</a> ·\n <a href=\"https://docs.seedcord.org\">Reference</a> ·\n <a href=\"https://discord.gg/DzFxY58WXf\">Discord</a>\n</div>\n\n<br />\n\n<div align=\"center\">\n\n[](https://www.npmjs.com/package/@seedcord/gateway) [](https://nodejs.org) [](LICENSE)\n\n</div>\n\n## About\n\n`@seedcord/gateway` runs a seedcord bot over a websocket connection, built on discord.js. A gateway connection carries message, member, voice, and reaction events. Discord never posts those to an interactions endpoint. Pick this transport when the bot reacts to any of them.\n\nUntil v1.0.0, minor versions can break.\n\n## Installation\n\n```sh\npnpm add @seedcord/gateway discord.js\n```\n\n`discord.js`, `envapt`, and `typescript` are peer dependencies. `pnpm create seedcord` sets all of it up.\n\n## What it adds over the core\n\nEverything in `@seedcord/core`, plus the parts that use a live connection:\n\n- `Seedcord`, the class that connects and holds the discord.js client\n- event subscribers, through `Subscriber` and `WebhookLog`\n- `getConfirmation`, which waits on a button press and returns the answer\n- pagination sources bound to the gateway\n"
|
|
86
86
|
}
|