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.
Files changed (78) hide show
  1. package/lib/api/Routes/guilds.d.ts +1 -1
  2. package/lib/api/api.d.ts +1 -1
  3. package/lib/api/api.js +1 -1
  4. package/lib/api/index.d.ts +1 -1
  5. package/lib/api/index.js +1 -1
  6. package/lib/builders/Container.d.ts +1 -1
  7. package/lib/builders/Container.js +1 -1
  8. package/lib/builders/Section.d.ts +1 -1
  9. package/lib/builders/Section.js +1 -1
  10. package/lib/cache/index.d.ts +4 -4
  11. package/lib/cache/index.js +2 -2
  12. package/lib/cache/resources/guilds.d.ts +1 -1
  13. package/lib/client/base.d.ts +1 -1
  14. package/lib/client/base.js +3 -3
  15. package/lib/client/index.d.ts +1 -1
  16. package/lib/client/index.js +1 -1
  17. package/lib/client/transformers.d.ts +1 -1
  18. package/lib/client/workerclient.d.ts +4 -4
  19. package/lib/client/workerclient.js +1 -1
  20. package/lib/commands/applications/menucontext.js +0 -1
  21. package/lib/commands/applications/options.d.ts +1 -1
  22. package/lib/commands/applications/shared.d.ts +1 -1
  23. package/lib/commands/handle.d.ts +2 -2
  24. package/lib/commands/handle.js +1 -1
  25. package/lib/commands/handler.d.ts +1 -1
  26. package/lib/commands/index.d.ts +3 -3
  27. package/lib/commands/index.js +3 -3
  28. package/lib/common/index.d.ts +8 -8
  29. package/lib/common/index.js +12 -12
  30. package/lib/common/it/utils.d.ts +1 -1
  31. package/lib/common/it/utils.js +1 -3
  32. package/lib/common/shorters/messages.d.ts +1 -1
  33. package/lib/common/shorters/messages.js +1 -1
  34. package/lib/common/shorters/threads.d.ts +3 -2
  35. package/lib/common/shorters/threads.js +23 -12
  36. package/lib/common/types/options.d.ts +1 -1
  37. package/lib/common/types/resolvables.d.ts +1 -1
  38. package/lib/components/Container.d.ts +1 -1
  39. package/lib/components/componentcommand.d.ts +1 -1
  40. package/lib/components/componentcommand.js +5 -2
  41. package/lib/components/handler.d.ts +1 -0
  42. package/lib/components/handler.js +17 -0
  43. package/lib/events/hooks/channel.d.ts +1 -1
  44. package/lib/events/hooks/guild.d.ts +1 -1
  45. package/lib/events/hooks/index.d.ts +1 -1
  46. package/lib/events/hooks/index.js +1 -1
  47. package/lib/events/hooks/interactions.d.ts +1 -1
  48. package/lib/events/hooks/presence.d.ts +1 -1
  49. package/lib/events/hooks/soundboard.d.ts +1 -1
  50. package/lib/events/hooks/thread.d.ts +1 -1
  51. package/lib/index.d.ts +3 -3
  52. package/lib/index.js +10 -10
  53. package/lib/langs/router.d.ts +1 -1
  54. package/lib/langs/router.js +3 -1
  55. package/lib/structures/Guild.d.ts +2 -1
  56. package/lib/structures/Guild.js +5 -2
  57. package/lib/structures/GuildBan.d.ts +1 -1
  58. package/lib/structures/Interaction.d.ts +2 -2
  59. package/lib/structures/Interaction.js +1 -2
  60. package/lib/structures/Message.d.ts +1 -1
  61. package/lib/structures/Message.js +1 -2
  62. package/lib/structures/channels.d.ts +2 -2
  63. package/lib/structures/index.d.ts +5 -5
  64. package/lib/structures/index.js +5 -5
  65. package/lib/types/index.d.ts +1 -1
  66. package/lib/types/index.js +1 -1
  67. package/lib/types/payloads/_interactions/base.d.ts +1 -1
  68. package/lib/types/payloads/application.d.ts +2 -2
  69. package/lib/types/payloads/components.d.ts +1 -1
  70. package/lib/types/payloads/index.d.ts +4 -4
  71. package/lib/types/payloads/index.js +4 -4
  72. package/lib/types/rest/index.d.ts +2 -2
  73. package/lib/types/rest/index.js +2 -2
  74. package/lib/websocket/SharedTypes.d.ts +1 -1
  75. package/lib/websocket/discord/shard.js +0 -1
  76. package/lib/websocket/index.d.ts +1 -1
  77. package/lib/websocket/index.js +1 -1
  78. 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);
@@ -1,3 +1,3 @@
1
- export * from './SharedTypes';
2
1
  export * from './constants';
3
2
  export * from './discord';
3
+ export * from './SharedTypes';
@@ -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-dev-15624887796.0",
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": "1.9.4",
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.1",
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.3"
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",