oceanic.js 1.11.3-dev.7104364 → 1.11.3-dev.8479bd4
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/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 +1 -0
- package/dist/lib/routes/Guilds.d.ts +1 -0
- package/dist/lib/structures/Guild.d.ts +1 -0
- package/dist/lib/types/client.d.ts +2 -2
- package/dist/lib/util/Util.d.ts +1 -0
- package/dist/package.json +14 -14
- package/package.json +14 -14
@@ -1,4 +1,5 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
+
/// <reference types="node" />
|
2
3
|
/** @module REST/Guilds */
|
3
4
|
import type { CreateGuildEmojiOptions, CreateGuildOptions, EditGuildEmojiOptions, EditGuildOptions, GuildEmoji, ModifyChannelPositionsEntry, GetActiveThreadsResponse, GetMembersOptions, SearchMembersOptions, AddMemberOptions, EditMemberOptions, EditCurrentMemberOptions, GetBansOptions, Ban, CreateBanOptions, CreateRoleOptions, EditRolePositionsEntry, EditRoleOptions, GetPruneCountOptions, BeginPruneOptions, WidgetSettings, RawWidget, Widget, WidgetImageStyle, WelcomeScreen, EditWelcomeScreenOptions, GetVanityURLResponse, EditUserVoiceStateOptions, EditCurrentUserVoiceStateOptions, CreateChannelOptions, EditMFALevelOptions, Sticker, CreateStickerOptions, EditStickerOptions, Onboarding, EditOnboardingOptions, EditIncidentActionsOptions, IncidentActions, BulkBanOptions, BulkBanResponse, MemberSearchOptions, MemberSearchResults } from "../types/guilds";
|
4
5
|
import type { CreateAutoModerationRuleOptions, EditAutoModerationRuleOptions } from "../types/auto-moderation";
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import type { AllowedMentions } from "./channels";
|
3
3
|
import type { GatewayOptions } from "./gateway";
|
4
4
|
import type { ImageFormat } from "../Constants";
|
5
|
-
import type {
|
5
|
+
import type { Dispatcher } from "undici-types";
|
6
6
|
|
7
7
|
export interface ClientOptions {
|
8
8
|
/**
|
@@ -51,7 +51,7 @@ export interface RESTOptions {
|
|
51
51
|
* The agent to use for requests.
|
52
52
|
* @defaultValue null
|
53
53
|
*/
|
54
|
-
agent?:
|
54
|
+
agent?: Dispatcher | null;
|
55
55
|
/**
|
56
56
|
* The base URL to use for requests - must be a fully qualified url.
|
57
57
|
* @defaultValue https://discordapp.com/api/v\{REST_VERSION\}
|
package/dist/lib/util/Util.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
+
/// <reference types="node" />
|
2
3
|
import type Client from "../Client";
|
3
4
|
import { type ImageFormat, type PrivilegedIntentNames } from "../Constants";
|
4
5
|
import type { AllowedMentions, AnyChannel, AnyThreadChannel, Component, Embed, EmbedOptions, MessageActionRow, ModalActionRow, RawAllowedMentions, RawChannel, RawComponent, RawEmbed, RawEmbedOptions, RawMessageActionRow, RawModalActionRow, RawThreadChannel, ToComponentFromRaw, ToRawFromComponent } from "../types/channels";
|
package/dist/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.8479bd4",
|
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",
|
@@ -43,34 +43,34 @@
|
|
43
43
|
"homepage": "https://github.com/OceanicJS/Oceanic#readme",
|
44
44
|
"devDependencies": {
|
45
45
|
"@favware/npm-deprecate": "^1.0.7",
|
46
|
-
"@mxssfd/typedoc-theme": "^1.1.
|
47
|
-
"@types/node": "^20.
|
46
|
+
"@mxssfd/typedoc-theme": "^1.1.7",
|
47
|
+
"@types/node": "^20.17.1",
|
48
48
|
"@types/pako": "^2.0.3",
|
49
49
|
"@types/ws": "^8.5.12",
|
50
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
50
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
51
51
|
"@typescript-eslint/parser": "^6.21.0",
|
52
52
|
"erlpack": "^0.1.4",
|
53
|
-
"eslint": "^8.57.
|
54
|
-
"eslint-plugin-import": "^2.
|
53
|
+
"eslint": "^8.57.1",
|
54
|
+
"eslint-plugin-import": "^2.31.0",
|
55
55
|
"eslint-plugin-import-newlines": "^1.4.0",
|
56
|
-
"eslint-plugin-jsdoc": "^
|
57
|
-
"eslint-plugin-json": "^4.0.
|
56
|
+
"eslint-plugin-jsdoc": "^50.4.3",
|
57
|
+
"eslint-plugin-json": "^4.0.1",
|
58
58
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
59
59
|
"eslint-plugin-unicorn": "^55.0.0",
|
60
|
-
"eslint-plugin-unused-imports": "^
|
60
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
61
61
|
"fzstd": "^0.1.1",
|
62
62
|
"pako": "^2.1.0",
|
63
63
|
"rimraf": "^6.0.1",
|
64
|
-
"typedoc": "0.
|
64
|
+
"typedoc": "0.26.6",
|
65
65
|
"typedoc-plugin-extras": "3.0.0",
|
66
|
-
"typedoc-plugin-mdn-links": "^3.
|
66
|
+
"typedoc-plugin-mdn-links": "^3.3.4",
|
67
67
|
"typedoc-plugin-merge-modules": "^5.1.0",
|
68
|
-
"typescript": "
|
69
|
-
"undici-types": "
|
68
|
+
"typescript": "~5.4.5",
|
69
|
+
"undici-types": "^6.20.0",
|
70
70
|
"zlib-sync": "^0.1.9"
|
71
71
|
},
|
72
72
|
"dependencies": {
|
73
|
-
"tslib": "^2.
|
73
|
+
"tslib": "^2.8.0",
|
74
74
|
"ws": "^8.18.0"
|
75
75
|
},
|
76
76
|
"engines": {
|
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.8479bd4",
|
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",
|
@@ -34,34 +34,34 @@
|
|
34
34
|
"homepage": "https://github.com/OceanicJS/Oceanic#readme",
|
35
35
|
"devDependencies": {
|
36
36
|
"@favware/npm-deprecate": "^1.0.7",
|
37
|
-
"@mxssfd/typedoc-theme": "^1.1.
|
38
|
-
"@types/node": "^20.
|
37
|
+
"@mxssfd/typedoc-theme": "^1.1.7",
|
38
|
+
"@types/node": "^20.17.1",
|
39
39
|
"@types/pako": "^2.0.3",
|
40
40
|
"@types/ws": "^8.5.12",
|
41
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
41
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
42
42
|
"@typescript-eslint/parser": "^6.21.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": "^
|
48
|
-
"eslint-plugin-json": "^4.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
50
|
"eslint-plugin-unicorn": "^55.0.0",
|
51
|
-
"eslint-plugin-unused-imports": "^
|
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.
|
55
|
+
"typedoc": "0.26.6",
|
56
56
|
"typedoc-plugin-extras": "3.0.0",
|
57
|
-
"typedoc-plugin-mdn-links": "^3.
|
57
|
+
"typedoc-plugin-mdn-links": "^3.3.4",
|
58
58
|
"typedoc-plugin-merge-modules": "^5.1.0",
|
59
|
-
"typescript": "
|
60
|
-
"undici-types": "
|
59
|
+
"typescript": "~5.4.5",
|
60
|
+
"undici-types": "^6.20.0",
|
61
61
|
"zlib-sync": "^0.1.9"
|
62
62
|
},
|
63
63
|
"dependencies": {
|
64
|
-
"tslib": "^2.
|
64
|
+
"tslib": "^2.8.0",
|
65
65
|
"ws": "^8.18.0"
|
66
66
|
},
|
67
67
|
"engines": {
|