oceanic.js 1.11.3-dev.70f875f → 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.
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import type Shard from "../Shard";
3
4
  export default abstract class Compression {
4
5
  shard: Shard;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import Compression from "./base";
3
4
  import type Shard from "../Shard";
4
5
  import { Inflate } from "pako";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import Compression from "./base";
3
4
  import type Shard from "../Shard";
4
5
  import ZlibSync from "zlib-sync";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import Compression from "./base";
3
4
  import type Shard from "../Shard";
4
5
  import fzstd from "fzstd";
@@ -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";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  /** @module Guild */
3
4
  import Role from "./Role";
4
5
  import Base from "./Base";
@@ -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 { Agent } from "undici-types";
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?: Agent | null;
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\}
@@ -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.70f875f",
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.3",
47
- "@types/node": "^20.14.2",
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.0.0",
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.0",
54
- "eslint-plugin-import": "^2.29.1",
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": "^50.2.2",
57
- "eslint-plugin-json": "^4.0.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": "^4.1.3",
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.25.13",
64
+ "typedoc": "0.26.6",
65
65
  "typedoc-plugin-extras": "3.0.0",
66
- "typedoc-plugin-mdn-links": "^3.1.19",
66
+ "typedoc-plugin-mdn-links": "^3.3.4",
67
67
  "typedoc-plugin-merge-modules": "^5.1.0",
68
- "typescript": "^5.4.5",
69
- "undici-types": "~6.9.0",
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.6.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.70f875f",
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.3",
38
- "@types/node": "^20.14.2",
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.0.0",
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.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": "^50.2.2",
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
50
  "eslint-plugin-unicorn": "^55.0.0",
51
- "eslint-plugin-unused-imports": "^4.1.3",
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",
55
+ "typedoc": "0.26.6",
56
56
  "typedoc-plugin-extras": "3.0.0",
57
- "typedoc-plugin-mdn-links": "^3.1.19",
57
+ "typedoc-plugin-mdn-links": "^3.3.4",
58
58
  "typedoc-plugin-merge-modules": "^5.1.0",
59
- "typescript": "^5.4.5",
60
- "undici-types": "~6.9.0",
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.6.2",
64
+ "tslib": "^2.8.0",
65
65
  "ws": "^8.18.0"
66
66
  },
67
67
  "engines": {