seyfert 3.2.1-dev-15624887796.0 → 3.2.1
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/lib/api/Routes/guilds.d.ts +1 -1
- package/lib/api/api.d.ts +1 -1
- package/lib/api/api.js +1 -1
- package/lib/api/index.d.ts +1 -1
- package/lib/api/index.js +1 -1
- package/lib/builders/Container.d.ts +1 -1
- package/lib/builders/Container.js +1 -1
- package/lib/builders/Section.d.ts +1 -1
- package/lib/builders/Section.js +1 -1
- package/lib/cache/index.d.ts +4 -4
- package/lib/cache/index.js +2 -2
- package/lib/cache/resources/guilds.d.ts +1 -1
- package/lib/client/base.d.ts +1 -1
- package/lib/client/base.js +3 -3
- package/lib/client/index.d.ts +1 -1
- package/lib/client/index.js +1 -1
- package/lib/client/transformers.d.ts +1 -1
- package/lib/client/workerclient.d.ts +4 -4
- package/lib/client/workerclient.js +1 -1
- package/lib/commands/applications/menucontext.js +0 -1
- package/lib/commands/applications/options.d.ts +1 -1
- package/lib/commands/applications/shared.d.ts +1 -1
- package/lib/commands/handle.d.ts +2 -2
- package/lib/commands/handle.js +1 -1
- package/lib/commands/handler.d.ts +1 -1
- package/lib/commands/index.d.ts +3 -3
- package/lib/commands/index.js +3 -3
- package/lib/common/index.d.ts +8 -8
- package/lib/common/index.js +12 -12
- package/lib/common/it/utils.d.ts +1 -1
- package/lib/common/it/utils.js +1 -3
- package/lib/common/shorters/messages.d.ts +1 -1
- package/lib/common/shorters/messages.js +1 -1
- package/lib/common/shorters/threads.d.ts +3 -2
- package/lib/common/shorters/threads.js +23 -12
- package/lib/common/types/options.d.ts +1 -1
- package/lib/common/types/resolvables.d.ts +1 -1
- package/lib/components/Container.d.ts +1 -1
- package/lib/components/componentcommand.d.ts +1 -1
- package/lib/components/componentcommand.js +5 -2
- package/lib/components/handler.d.ts +1 -0
- package/lib/components/handler.js +17 -0
- package/lib/events/hooks/channel.d.ts +1 -1
- package/lib/events/hooks/guild.d.ts +1 -1
- package/lib/events/hooks/index.d.ts +1 -1
- package/lib/events/hooks/index.js +1 -1
- package/lib/events/hooks/interactions.d.ts +1 -1
- package/lib/events/hooks/presence.d.ts +1 -1
- package/lib/events/hooks/soundboard.d.ts +1 -1
- package/lib/events/hooks/thread.d.ts +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +10 -10
- package/lib/langs/router.d.ts +1 -1
- package/lib/langs/router.js +3 -1
- package/lib/structures/Guild.d.ts +2 -1
- package/lib/structures/Guild.js +5 -2
- package/lib/structures/GuildBan.d.ts +1 -1
- package/lib/structures/Interaction.d.ts +2 -2
- package/lib/structures/Interaction.js +1 -2
- package/lib/structures/Message.d.ts +1 -1
- package/lib/structures/Message.js +1 -2
- package/lib/structures/channels.d.ts +2 -2
- package/lib/structures/index.d.ts +5 -5
- package/lib/structures/index.js +5 -5
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.js +1 -1
- package/lib/types/payloads/_interactions/base.d.ts +1 -1
- package/lib/types/payloads/application.d.ts +2 -2
- package/lib/types/payloads/components.d.ts +1 -1
- package/lib/types/payloads/index.d.ts +4 -4
- package/lib/types/payloads/index.js +4 -4
- package/lib/types/rest/index.d.ts +2 -2
- package/lib/types/rest/index.js +2 -2
- package/lib/websocket/SharedTypes.d.ts +1 -1
- package/lib/websocket/discord/shard.js +0 -1
- package/lib/websocket/index.d.ts +1 -1
- package/lib/websocket/index.js +1 -1
- package/package.json +4 -10
|
@@ -83,7 +83,6 @@ class Shard {
|
|
|
83
83
|
this.debugger?.debug(`[Shard #${this.id}] Connecting to ${this.currentGatewayURL}`);
|
|
84
84
|
this.connectionTimeout = setTimeout(() => this.reconnect(shared_1.ShardSocketCloseCodes.Timeout), this.options.connectionTimeout);
|
|
85
85
|
// @ts-expect-error Use native websocket when using Bun
|
|
86
|
-
// biome-ignore lint/correctness/noUndeclaredVariables: /\
|
|
87
86
|
this.websocket = new basesocket_1.BaseSocket(typeof Bun === 'undefined' ? 'ws' : 'bun', this.currentGatewayURL);
|
|
88
87
|
this.websocket.onmessage = ({ data }) => {
|
|
89
88
|
this.handleMessage(data);
|
package/lib/websocket/index.d.ts
CHANGED
package/lib/websocket/index.js
CHANGED
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./SharedTypes"), exports);
|
|
18
17
|
__exportStar(require("./constants"), exports);
|
|
19
18
|
__exportStar(require("./discord"), exports);
|
|
19
|
+
__exportStar(require("./SharedTypes"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seyfert",
|
|
3
|
-
"version": "3.2.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "The most advanced framework for discord bots",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -21,15 +21,14 @@
|
|
|
21
21
|
"author": "MARCROCK22",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@biomejs/biome": "
|
|
24
|
+
"@biomejs/biome": "2.0.0",
|
|
25
25
|
"@changesets/cli": "^2.29.4",
|
|
26
26
|
"@commitlint/cli": "^19.8.1",
|
|
27
27
|
"@commitlint/config-conventional": "^19.8.1",
|
|
28
|
-
"@types/node": "^24.0.
|
|
28
|
+
"@types/node": "^24.0.3",
|
|
29
29
|
"husky": "^9.1.7",
|
|
30
|
-
"lint-staged": "^15.5.1",
|
|
31
30
|
"typescript": "^5.8.3",
|
|
32
|
-
"vitest": "^3.2.
|
|
31
|
+
"vitest": "^3.2.4"
|
|
33
32
|
},
|
|
34
33
|
"homepage": "https://seyfert.dev",
|
|
35
34
|
"repository": {
|
|
@@ -65,11 +64,6 @@
|
|
|
65
64
|
"url": "https://github.com/Drylozu"
|
|
66
65
|
}
|
|
67
66
|
],
|
|
68
|
-
"lint-staged": {
|
|
69
|
-
"*.ts": [
|
|
70
|
-
"biome check --write"
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
67
|
"pnpm": {
|
|
74
68
|
"onlyBuiltDependencies": [
|
|
75
69
|
"@biomejs/biome",
|