oceanic.js 1.11.3-dev.61c7380 → 1.11.3-dev.6564cdb
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 +0 -1
- package/dist/lib/Client.js +3 -1
- package/dist/lib/Constants.d.ts +61 -8
- package/dist/lib/Constants.js +70 -4
- package/dist/lib/gateway/Shard.d.ts +4 -1
- package/dist/lib/gateway/Shard.js +27 -7
- package/dist/lib/gateway/ShardManager.js +2 -2
- package/dist/lib/gateway/compression/base.d.ts +1 -0
- package/dist/lib/gateway/compression/pako.d.ts +1 -0
- package/dist/lib/gateway/compression/zlib-sync.d.ts +1 -0
- package/dist/lib/gateway/compression/zstd.d.ts +2 -5
- package/dist/lib/gateway/compression/zstd.js +5 -18
- package/dist/lib/gateway/events.d.ts +5 -0
- package/dist/lib/gateway/events.js +47 -4
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +4 -2
- package/dist/lib/routes/Applications.d.ts +20 -1
- package/dist/lib/routes/Applications.js +66 -4
- package/dist/lib/routes/Channels.d.ts +9 -1
- package/dist/lib/routes/Channels.js +21 -4
- package/dist/lib/routes/Guilds.d.ts +43 -1
- package/dist/lib/routes/Guilds.js +91 -2
- package/dist/lib/routes/Interactions.d.ts +5 -3
- package/dist/lib/routes/Interactions.js +35 -11
- package/dist/lib/routes/Miscellaneous.d.ts +6 -0
- package/dist/lib/routes/Miscellaneous.js +12 -1
- package/dist/lib/routes/Webhooks.js +14 -2
- package/dist/lib/structures/Application.d.ts +7 -1
- package/dist/lib/structures/Application.js +10 -1
- package/dist/lib/structures/ApplicationCommand.d.ts +3 -1
- package/dist/lib/structures/ApplicationCommand.js +5 -1
- package/dist/lib/structures/Attachment.d.ts +8 -0
- package/dist/lib/structures/Attachment.js +11 -1
- package/dist/lib/structures/AutocompleteInteraction.d.ts +2 -2
- package/dist/lib/structures/AutocompleteInteraction.js +2 -2
- package/dist/lib/structures/ClientApplication.d.ts +6 -1
- package/dist/lib/structures/ClientApplication.js +8 -1
- package/dist/lib/structures/CommandInteraction.d.ts +15 -12
- package/dist/lib/structures/CommandInteraction.js +26 -23
- package/dist/lib/structures/ComponentInteraction.d.ts +15 -14
- package/dist/lib/structures/ComponentInteraction.js +24 -25
- package/dist/lib/structures/Entitlement.d.ts +2 -2
- package/dist/lib/structures/Entitlement.js +5 -5
- package/dist/lib/structures/Guild.d.ts +32 -2
- package/dist/lib/structures/Guild.js +41 -1
- package/dist/lib/structures/Message.d.ts +3 -3
- package/dist/lib/structures/Message.js +25 -16
- package/dist/lib/structures/ModalSubmitInteraction.d.ts +14 -13
- package/dist/lib/structures/ModalSubmitInteraction.js +22 -18
- package/dist/lib/structures/PingInteraction.d.ts +2 -2
- package/dist/lib/structures/PingInteraction.js +2 -2
- package/dist/lib/structures/Soundboard.d.ts +42 -0
- package/dist/lib/structures/Soundboard.js +73 -0
- package/dist/lib/structures/Subscription.d.ts +25 -0
- package/dist/lib/structures/Subscription.js +38 -0
- package/dist/lib/types/applications.d.ts +89 -8
- package/dist/lib/types/channels.d.ts +351 -188
- package/dist/lib/types/client.d.ts +8 -2
- package/dist/lib/types/events.d.ts +15 -3
- package/dist/lib/types/gateway-raw.d.ts +37 -2
- package/dist/lib/types/gateway.d.ts +10 -2
- package/dist/lib/types/guilds.d.ts +28 -0
- package/dist/lib/types/interactions.d.ts +64 -7
- package/dist/lib/types/json.d.ts +23 -6
- package/dist/lib/types/webhooks.d.ts +6 -2
- package/dist/lib/util/Errors.d.ts +4 -0
- package/dist/lib/util/Errors.js +9 -2
- package/dist/lib/util/Routes.d.ts +7 -0
- package/dist/lib/util/Routes.js +18 -5
- package/dist/lib/util/Util.d.ts +10 -6
- package/dist/lib/util/Util.js +99 -12
- package/dist/lib/util/interactions/MessageInteractionResponse.d.ts +5 -2
- package/dist/lib/util/interactions/MessageInteractionResponse.js +9 -7
- package/dist/package.json +20 -20
- package/esm.mjs +2 -0
- package/package.json +19 -20
- 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.
|
3
|
+
"version": "1.11.3-dev.6564cdb",
|
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,41 @@
|
|
42
43
|
},
|
43
44
|
"homepage": "https://github.com/OceanicJS/Oceanic#readme",
|
44
45
|
"devDependencies": {
|
45
|
-
"@favware/npm-deprecate": "^
|
46
|
+
"@favware/npm-deprecate": "^2.0.0",
|
46
47
|
"@mxssfd/typedoc-theme": "^1.1.3",
|
47
|
-
"@types/node": "^
|
48
|
+
"@types/node": "^18.19.69",
|
48
49
|
"@types/pako": "^2.0.3",
|
49
|
-
"@types/ws": "^8.5.
|
50
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
51
|
-
"@typescript-eslint/parser": "^
|
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.
|
54
|
-
"eslint-plugin-import": "^2.
|
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": "^50.
|
57
|
+
"eslint-plugin-jsdoc": "^50.4.3",
|
57
58
|
"eslint-plugin-json": "^4.0.1",
|
58
59
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
59
|
-
"eslint-plugin-unicorn": "^
|
60
|
-
"eslint-plugin-unused-imports": "^4.1.
|
61
|
-
"fzstd": "^0.1.1",
|
60
|
+
"eslint-plugin-unicorn": "^56.0.0",
|
61
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
62
62
|
"pako": "^2.1.0",
|
63
63
|
"rimraf": "^6.0.1",
|
64
|
-
"typedoc": "0.25.13",
|
65
|
-
"typedoc-plugin-extras": "3.0.0",
|
66
|
-
"typedoc-plugin-mdn-links": "^3.
|
67
|
-
"typedoc-plugin-merge-modules": "
|
68
|
-
"typescript": "
|
69
|
-
"undici-types": "
|
64
|
+
"typedoc": "~0.25.13",
|
65
|
+
"typedoc-plugin-extras": "~3.0.0",
|
66
|
+
"typedoc-plugin-mdn-links": "^3.3.8",
|
67
|
+
"typedoc-plugin-merge-modules": "5.1.0",
|
68
|
+
"typescript": "~5.4.5",
|
69
|
+
"undici-types": "^5.28.4",
|
70
70
|
"zlib-sync": "^0.1.9"
|
71
71
|
},
|
72
72
|
"dependencies": {
|
73
|
-
"tslib": "^2.
|
73
|
+
"tslib": "^2.8.1",
|
74
74
|
"ws": "^8.18.0"
|
75
75
|
},
|
76
76
|
"engines": {
|
77
77
|
"node": ">=18.13.0"
|
78
78
|
},
|
79
79
|
"optionalDependencies": {
|
80
|
-
"@discordjs/voice": "^0.
|
80
|
+
"@discordjs/voice": "^0.18.0"
|
81
81
|
},
|
82
82
|
"pnpm": {
|
83
83
|
"patchedDependencies": {
|
package/esm.mjs
CHANGED
@@ -67,6 +67,7 @@ const Shard = (await import("./dist/lib/gateway/Shard.js")).default.default;
|
|
67
67
|
const ShardManager = (await import("./dist/lib/gateway/ShardManager.js")).default.default;
|
68
68
|
const StageChannel = (await import("./dist/lib/structures/StageChannel.js")).default.default;
|
69
69
|
const StageInstance = (await import("./dist/lib/structures/StageInstance.js")).default.default;
|
70
|
+
const Subscription = (await import("./dist/lib/structures/Subscription.js")).default.default;
|
70
71
|
const Team = (await import("./dist/lib/structures/Team.js")).default.default;
|
71
72
|
const TestEntitlement = (await import("./dist/lib/structures/TestEntitlement.js")).default.default;
|
72
73
|
const TextableChannel = (await import("./dist/lib/structures/TextableChannel.js")).default.default;
|
@@ -156,6 +157,7 @@ export {
|
|
156
157
|
ShardManager,
|
157
158
|
StageChannel,
|
158
159
|
StageInstance,
|
160
|
+
Subscription,
|
159
161
|
Team,
|
160
162
|
TestEntitlement,
|
161
163
|
TextableChannel,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "oceanic.js",
|
3
|
-
"version": "1.11.3-dev.
|
3
|
+
"version": "1.11.3-dev.6564cdb",
|
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,41 @@
|
|
33
33
|
},
|
34
34
|
"homepage": "https://github.com/OceanicJS/Oceanic#readme",
|
35
35
|
"devDependencies": {
|
36
|
-
"@favware/npm-deprecate": "^
|
36
|
+
"@favware/npm-deprecate": "^2.0.0",
|
37
37
|
"@mxssfd/typedoc-theme": "^1.1.3",
|
38
|
-
"@types/node": "^
|
38
|
+
"@types/node": "^18.19.69",
|
39
39
|
"@types/pako": "^2.0.3",
|
40
|
-
"@types/ws": "^8.5.
|
41
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
42
|
-
"@typescript-eslint/parser": "^
|
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.
|
45
|
-
"eslint-plugin-import": "^2.
|
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": "^50.
|
47
|
+
"eslint-plugin-jsdoc": "^50.4.3",
|
48
48
|
"eslint-plugin-json": "^4.0.1",
|
49
49
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
50
|
-
"eslint-plugin-unicorn": "^
|
51
|
-
"eslint-plugin-unused-imports": "^4.1.
|
52
|
-
"fzstd": "^0.1.1",
|
50
|
+
"eslint-plugin-unicorn": "^56.0.0",
|
51
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
53
52
|
"pako": "^2.1.0",
|
54
53
|
"rimraf": "^6.0.1",
|
55
|
-
"typedoc": "0.25.13",
|
56
|
-
"typedoc-plugin-extras": "3.0.0",
|
57
|
-
"typedoc-plugin-mdn-links": "^3.
|
58
|
-
"typedoc-plugin-merge-modules": "
|
59
|
-
"typescript": "
|
60
|
-
"undici-types": "
|
54
|
+
"typedoc": "~0.25.13",
|
55
|
+
"typedoc-plugin-extras": "~3.0.0",
|
56
|
+
"typedoc-plugin-mdn-links": "^3.3.8",
|
57
|
+
"typedoc-plugin-merge-modules": "5.1.0",
|
58
|
+
"typescript": "~5.4.5",
|
59
|
+
"undici-types": "^5.28.4",
|
61
60
|
"zlib-sync": "^0.1.9"
|
62
61
|
},
|
63
62
|
"dependencies": {
|
64
|
-
"tslib": "^2.
|
63
|
+
"tslib": "^2.8.1",
|
65
64
|
"ws": "^8.18.0"
|
66
65
|
},
|
67
66
|
"engines": {
|
68
67
|
"node": ">=18.13.0"
|
69
68
|
},
|
70
69
|
"optionalDependencies": {
|
71
|
-
"@discordjs/voice": "^0.
|
70
|
+
"@discordjs/voice": "^0.18.0"
|
72
71
|
},
|
73
72
|
"scripts": {
|
74
73
|
"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;
|