oceanic.js 1.11.3-dev.85d6538 → 1.11.3-dev.9b252f0

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 (38) hide show
  1. package/dist/lib/Client.js +3 -1
  2. package/dist/lib/Constants.d.ts +13 -2
  3. package/dist/lib/Constants.js +14 -2
  4. package/dist/lib/gateway/Shard.d.ts +4 -1
  5. package/dist/lib/gateway/Shard.js +20 -1
  6. package/dist/lib/gateway/compression/base.d.ts +1 -0
  7. package/dist/lib/gateway/compression/pako.d.ts +1 -0
  8. package/dist/lib/gateway/compression/zlib-sync.d.ts +1 -0
  9. package/dist/lib/gateway/compression/zstd.d.ts +1 -0
  10. package/dist/lib/gateway/events.d.ts +5 -0
  11. package/dist/lib/gateway/events.js +47 -4
  12. package/dist/lib/rest/RequestHandler.js +4 -2
  13. package/dist/lib/routes/Channels.d.ts +9 -1
  14. package/dist/lib/routes/Channels.js +17 -3
  15. package/dist/lib/routes/Guilds.d.ts +43 -1
  16. package/dist/lib/routes/Guilds.js +91 -2
  17. package/dist/lib/routes/Miscellaneous.d.ts +6 -0
  18. package/dist/lib/routes/Miscellaneous.js +12 -1
  19. package/dist/lib/structures/Guild.d.ts +32 -2
  20. package/dist/lib/structures/Guild.js +41 -1
  21. package/dist/lib/structures/Soundboard.d.ts +42 -0
  22. package/dist/lib/structures/Soundboard.js +73 -0
  23. package/dist/lib/types/channels.d.ts +18 -0
  24. package/dist/lib/types/client.d.ts +9 -3
  25. package/dist/lib/types/events.d.ts +15 -3
  26. package/dist/lib/types/gateway-raw.d.ts +37 -2
  27. package/dist/lib/types/gateway.d.ts +9 -1
  28. package/dist/lib/types/guilds.d.ts +28 -0
  29. package/dist/lib/types/json.d.ts +10 -0
  30. package/dist/lib/util/Errors.d.ts +2 -1
  31. package/dist/lib/util/Errors.js +4 -2
  32. package/dist/lib/util/Routes.d.ts +4 -0
  33. package/dist/lib/util/Routes.js +12 -5
  34. package/dist/lib/util/Util.d.ts +4 -0
  35. package/dist/lib/util/Util.js +35 -1
  36. package/dist/package.json +21 -20
  37. package/package.json +20 -20
  38. package/patches/typedoc-plugin-merge-modules@5.1.0.patch +1 -1
package/dist/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "oceanic.js",
3
- "version": "1.11.3-dev.85d6538",
3
+ "version": "1.11.3-dev.9b252f0",
4
4
  "description": "A NodeJS library for interfacing with Discord.",
5
+ "packageManager": "pnpm@9.6.0",
5
6
  "main": "./dist/lib/index.js",
6
7
  "types": "./dist/lib/index.d.ts",
7
8
  "module": "./esm.mjs",
@@ -42,42 +43,42 @@
42
43
  },
43
44
  "homepage": "https://github.com/OceanicJS/Oceanic#readme",
44
45
  "devDependencies": {
45
- "@favware/npm-deprecate": "^1.0.7",
46
+ "@favware/npm-deprecate": "^2.0.0",
46
47
  "@mxssfd/typedoc-theme": "^1.1.3",
47
- "@types/node": "^20.14.2",
48
+ "@types/node": "^18.19.69",
48
49
  "@types/pako": "^2.0.3",
49
- "@types/ws": "^8.5.12",
50
- "@typescript-eslint/eslint-plugin": "^7.0.0",
51
- "@typescript-eslint/parser": "^6.21.0",
50
+ "@types/ws": "^8.5.13",
51
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
52
+ "@typescript-eslint/parser": "^7.18.0",
52
53
  "erlpack": "^0.1.4",
53
- "eslint": "^8.57.0",
54
- "eslint-plugin-import": "^2.29.1",
54
+ "eslint": "^8.57.1",
55
+ "eslint-plugin-import": "^2.31.0",
55
56
  "eslint-plugin-import-newlines": "^1.4.0",
56
- "eslint-plugin-jsdoc": "^48.2.11",
57
- "eslint-plugin-json": "^4.0.0",
57
+ "eslint-plugin-jsdoc": "^50.4.3",
58
+ "eslint-plugin-json": "^4.0.1",
58
59
  "eslint-plugin-prefer-arrow": "^1.2.3",
59
- "eslint-plugin-unicorn": "^55.0.0",
60
- "eslint-plugin-unused-imports": "^3.2.0",
60
+ "eslint-plugin-unicorn": "^56.0.0",
61
+ "eslint-plugin-unused-imports": "^4.1.4",
61
62
  "fzstd": "^0.1.1",
62
63
  "pako": "^2.1.0",
63
64
  "rimraf": "^6.0.1",
64
- "typedoc": "0.25.13",
65
- "typedoc-plugin-extras": "3.0.0",
66
- "typedoc-plugin-mdn-links": "^3.1.19",
67
- "typedoc-plugin-merge-modules": "^5.1.0",
68
- "typescript": "^5.4.5",
69
- "undici-types": "~6.9.0",
65
+ "typedoc": "~0.25.13",
66
+ "typedoc-plugin-extras": "~3.0.0",
67
+ "typedoc-plugin-mdn-links": "^3.3.8",
68
+ "typedoc-plugin-merge-modules": "5.1.0",
69
+ "typescript": "~5.4.5",
70
+ "undici-types": "^5.28.4",
70
71
  "zlib-sync": "^0.1.9"
71
72
  },
72
73
  "dependencies": {
73
- "tslib": "^2.6.2",
74
+ "tslib": "^2.8.1",
74
75
  "ws": "^8.18.0"
75
76
  },
76
77
  "engines": {
77
78
  "node": ">=18.13.0"
78
79
  },
79
80
  "optionalDependencies": {
80
- "@discordjs/voice": "^0.17.0"
81
+ "@discordjs/voice": "^0.18.0"
81
82
  },
82
83
  "pnpm": {
83
84
  "patchedDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oceanic.js",
3
- "version": "1.11.3-dev.85d6538",
3
+ "version": "1.11.3-dev.9b252f0",
4
4
  "description": "A NodeJS library for interfacing with Discord.",
5
5
  "main": "./dist/lib/index.js",
6
6
  "types": "./dist/lib/index.d.ts",
@@ -33,42 +33,42 @@
33
33
  },
34
34
  "homepage": "https://github.com/OceanicJS/Oceanic#readme",
35
35
  "devDependencies": {
36
- "@favware/npm-deprecate": "^1.0.7",
36
+ "@favware/npm-deprecate": "^2.0.0",
37
37
  "@mxssfd/typedoc-theme": "^1.1.3",
38
- "@types/node": "^20.14.2",
38
+ "@types/node": "^18.19.69",
39
39
  "@types/pako": "^2.0.3",
40
- "@types/ws": "^8.5.12",
41
- "@typescript-eslint/eslint-plugin": "^7.0.0",
42
- "@typescript-eslint/parser": "^6.21.0",
40
+ "@types/ws": "^8.5.13",
41
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
42
+ "@typescript-eslint/parser": "^7.18.0",
43
43
  "erlpack": "^0.1.4",
44
- "eslint": "^8.57.0",
45
- "eslint-plugin-import": "^2.29.1",
44
+ "eslint": "^8.57.1",
45
+ "eslint-plugin-import": "^2.31.0",
46
46
  "eslint-plugin-import-newlines": "^1.4.0",
47
- "eslint-plugin-jsdoc": "^48.2.11",
48
- "eslint-plugin-json": "^4.0.0",
47
+ "eslint-plugin-jsdoc": "^50.4.3",
48
+ "eslint-plugin-json": "^4.0.1",
49
49
  "eslint-plugin-prefer-arrow": "^1.2.3",
50
- "eslint-plugin-unicorn": "^55.0.0",
51
- "eslint-plugin-unused-imports": "^3.2.0",
50
+ "eslint-plugin-unicorn": "^56.0.0",
51
+ "eslint-plugin-unused-imports": "^4.1.4",
52
52
  "fzstd": "^0.1.1",
53
53
  "pako": "^2.1.0",
54
54
  "rimraf": "^6.0.1",
55
- "typedoc": "0.25.13",
56
- "typedoc-plugin-extras": "3.0.0",
57
- "typedoc-plugin-mdn-links": "^3.1.19",
58
- "typedoc-plugin-merge-modules": "^5.1.0",
59
- "typescript": "^5.4.5",
60
- "undici-types": "~6.9.0",
55
+ "typedoc": "~0.25.13",
56
+ "typedoc-plugin-extras": "~3.0.0",
57
+ "typedoc-plugin-mdn-links": "^3.3.8",
58
+ "typedoc-plugin-merge-modules": "5.1.0",
59
+ "typescript": "~5.4.5",
60
+ "undici-types": "^5.28.4",
61
61
  "zlib-sync": "^0.1.9"
62
62
  },
63
63
  "dependencies": {
64
- "tslib": "^2.6.2",
64
+ "tslib": "^2.8.1",
65
65
  "ws": "^8.18.0"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=18.13.0"
69
69
  },
70
70
  "optionalDependencies": {
71
- "@discordjs/voice": "^0.17.0"
71
+ "@discordjs/voice": "^0.18.0"
72
72
  },
73
73
  "scripts": {
74
74
  "lint": "eslint lib --ext .ts",
@@ -15,4 +15,4 @@ index bf66c8ba53fdf558d6fc775f32241e9ca285d9be..6d5862adba2c0ace184de2ff5d36bb5c
15
15
  + if(mod.name.startsWith("REST/")) ref.name = `REST/${ref.name}`;
16
16
  // Drop aliases
17
17
  if (!ref.kindOf(typedoc_1.ReflectionKind.Reference)) {
18
- ref.parent = this.project;
18
+ ref.parent = this.project;