disgroove 2.1.3 → 2.2.0-dev.301452e

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 (43) hide show
  1. package/dist/lib/Client.d.ts +649 -204
  2. package/dist/lib/Client.js +917 -716
  3. package/dist/lib/constants.d.ts +1 -1
  4. package/dist/lib/constants.js +7 -7
  5. package/dist/lib/gateway/Shard.d.ts +2 -1
  6. package/dist/lib/gateway/Shard.js +279 -62
  7. package/dist/lib/index.d.ts +25 -1
  8. package/dist/lib/index.js +25 -1
  9. package/dist/lib/rest/CDN.d.ts +21 -20
  10. package/dist/lib/rest/Endpoints.d.ts +82 -81
  11. package/dist/lib/rest/RequestManager.d.ts +7 -0
  12. package/dist/lib/rest/RequestManager.js +1 -5
  13. package/dist/lib/types/application-command.d.ts +19 -92
  14. package/dist/lib/types/application-role-connection-metadata.d.ts +1 -1
  15. package/dist/lib/types/application.d.ts +10 -19
  16. package/dist/lib/types/audit-log.d.ts +21 -14
  17. package/dist/lib/types/auto-moderation.d.ts +13 -32
  18. package/dist/lib/types/channel.d.ts +91 -186
  19. package/dist/lib/types/common.d.ts +4 -0
  20. package/dist/lib/types/common.js +2 -0
  21. package/dist/lib/types/emoji.d.ts +6 -14
  22. package/dist/lib/types/entitlements.d.ts +17 -21
  23. package/dist/lib/types/gateway-events.d.ts +158 -149
  24. package/dist/lib/types/guild-scheduled-event.d.ts +19 -40
  25. package/dist/lib/types/guild-template.d.ts +11 -21
  26. package/dist/lib/types/guild.d.ts +64 -217
  27. package/dist/lib/types/interaction.d.ts +37 -31
  28. package/dist/lib/types/invite.d.ts +9 -4
  29. package/dist/lib/types/message-components.d.ts +4 -3
  30. package/dist/lib/types/role.d.ts +9 -8
  31. package/dist/lib/types/sku.d.ts +5 -4
  32. package/dist/lib/types/stage-instance.d.ts +9 -19
  33. package/dist/lib/types/sticker.d.ts +18 -29
  34. package/dist/lib/types/team.d.ts +8 -7
  35. package/dist/lib/types/user.d.ts +10 -32
  36. package/dist/lib/types/voice.d.ts +12 -11
  37. package/dist/lib/types/webhook.d.ts +13 -44
  38. package/dist/lib/utils/Util.d.ts +88 -2
  39. package/dist/lib/utils/Util.js +2137 -29
  40. package/dist/package.json +3 -3
  41. package/package.json +1 -1
  42. package/dist/lib/types/index.d.ts +0 -26
  43. package/dist/lib/types/index.js +0 -40
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "disgroove",
3
- "version": "2.1.3-dev.837d772",
3
+ "version": "2.2.0-dev.301452e",
4
4
  "description": "A module to interface with Discord",
5
5
  "main": "./dist/lib/index.js",
6
6
  "types": "./dist/lib/index.d.ts",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/XenKys/disgroove#readme",
24
24
  "devDependencies": {
25
- "@types/node": "^20.13.0",
25
+ "@types/node": "^20.14.6",
26
26
  "@types/ws": "^8.5.10",
27
27
  "typescript": "^5.4.5"
28
28
  },
29
29
  "dependencies": {
30
- "ws": "^8.17.0"
30
+ "ws": "^8.17.1"
31
31
  }
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "disgroove",
3
- "version": "2.1.3",
3
+ "version": "2.2.0-dev.301452e",
4
4
  "description": "A module to interface with Discord",
5
5
  "main": "./dist/lib/index.js",
6
6
  "types": "./dist/lib/index.d.ts",
@@ -1,26 +0,0 @@
1
- import type { Locales } from "../constants";
2
- export * from "./application-command";
3
- export * from "./application-role-connection-metadata";
4
- export * from "./application";
5
- export * from "./audit-log";
6
- export * from "./auto-moderation";
7
- export * from "./channel";
8
- export * from "./emoji";
9
- export * from "./entitlements";
10
- export * from "./gateway-events";
11
- export * from "./guild-scheduled-event";
12
- export * from "./guild-template";
13
- export * from "./guild";
14
- export * from "./interaction";
15
- export * from "./invite";
16
- export * from "./message-components";
17
- export * from "./poll";
18
- export * from "./role";
19
- export * from "./sku";
20
- export * from "./stage-instance";
21
- export * from "./sticker";
22
- export * from "./team";
23
- export * from "./user";
24
- export * from "./voice";
25
- export * from "./webhook";
26
- export type LocaleMap = Partial<Record<Locales, string>>;
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./application-command"), exports);
18
- __exportStar(require("./application-role-connection-metadata"), exports);
19
- __exportStar(require("./application"), exports);
20
- __exportStar(require("./audit-log"), exports);
21
- __exportStar(require("./auto-moderation"), exports);
22
- __exportStar(require("./channel"), exports);
23
- __exportStar(require("./emoji"), exports);
24
- __exportStar(require("./entitlements"), exports);
25
- __exportStar(require("./gateway-events"), exports);
26
- __exportStar(require("./guild-scheduled-event"), exports);
27
- __exportStar(require("./guild-template"), exports);
28
- __exportStar(require("./guild"), exports);
29
- __exportStar(require("./interaction"), exports);
30
- __exportStar(require("./invite"), exports);
31
- __exportStar(require("./message-components"), exports);
32
- __exportStar(require("./poll"), exports);
33
- __exportStar(require("./role"), exports);
34
- __exportStar(require("./sku"), exports);
35
- __exportStar(require("./stage-instance"), exports);
36
- __exportStar(require("./sticker"), exports);
37
- __exportStar(require("./team"), exports);
38
- __exportStar(require("./user"), exports);
39
- __exportStar(require("./voice"), exports);
40
- __exportStar(require("./webhook"), exports);