@discordjs/core 1.2.0-dev.1703462992-0f1e02b3d → 1.2.0-dev.1703981459-136c66c21

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/index.d.mts CHANGED
@@ -1763,6 +1763,11 @@ declare class API {
1763
1763
  constructor(rest: REST);
1764
1764
  }
1765
1765
 
1766
+ /**
1767
+ * Gateway-like structure that can be used to interact with an actual WebSocket connection.
1768
+ * You can provide a custom implementation, useful for running a message broker between your app and your gateway,
1769
+ * or you can simply use the {@link @discordjs/ws#(WebSocketManager:class)}.
1770
+ */
1766
1771
  interface Gateway {
1767
1772
  getShardCount(): Awaitable<number>;
1768
1773
  on(event: WebSocketShardEvents.Dispatch, listener: (...params: ManagerShardEventsMap$1[WebSocketShardEvents.Dispatch]) => Awaitable<void>): this;
@@ -1967,4 +1972,4 @@ declare function withFiles(files: DescriptiveRawFile[], options: APIInteractionR
1967
1972
  */
1968
1973
  declare const version: string;
1969
1974
 
1970
- export { API, ApplicationCommandsAPI, ApplicationsAPI, ChannelsAPI, Client, ClientOptions, DescriptiveRawFile, GuildsAPI, InteractionsAPI, IntrinsicProps, InvitesAPI, ManagerShardEventsMap, MappedEvents, MonetizationAPI, OAuth2API, RequestGuildMembersResult, RoleConnectionsAPI, StageInstancesAPI, StartForumThreadOptions, StickersAPI, ThreadsAPI, UsersAPI, VoiceAPI, WebhooksAPI, WithIntrinsicProps, version, withFiles };
1975
+ export { API, ApplicationCommandsAPI, ApplicationsAPI, ChannelsAPI, Client, ClientOptions, DescriptiveRawFile, Gateway, GuildsAPI, InteractionsAPI, IntrinsicProps, InvitesAPI, ManagerShardEventsMap, MappedEvents, MonetizationAPI, OAuth2API, RequestGuildMembersResult, RoleConnectionsAPI, StageInstancesAPI, StartForumThreadOptions, StickersAPI, ThreadsAPI, UsersAPI, VoiceAPI, WebhooksAPI, WithIntrinsicProps, version, withFiles };
package/dist/index.d.ts CHANGED
@@ -1763,6 +1763,11 @@ declare class API {
1763
1763
  constructor(rest: REST);
1764
1764
  }
1765
1765
 
1766
+ /**
1767
+ * Gateway-like structure that can be used to interact with an actual WebSocket connection.
1768
+ * You can provide a custom implementation, useful for running a message broker between your app and your gateway,
1769
+ * or you can simply use the {@link @discordjs/ws#(WebSocketManager:class)}.
1770
+ */
1766
1771
  interface Gateway {
1767
1772
  getShardCount(): Awaitable<number>;
1768
1773
  on(event: WebSocketShardEvents.Dispatch, listener: (...params: ManagerShardEventsMap$1[WebSocketShardEvents.Dispatch]) => Awaitable<void>): this;
@@ -1967,4 +1972,4 @@ declare function withFiles(files: DescriptiveRawFile[], options: APIInteractionR
1967
1972
  */
1968
1973
  declare const version: string;
1969
1974
 
1970
- export { API, ApplicationCommandsAPI, ApplicationsAPI, ChannelsAPI, Client, ClientOptions, DescriptiveRawFile, GuildsAPI, InteractionsAPI, IntrinsicProps, InvitesAPI, ManagerShardEventsMap, MappedEvents, MonetizationAPI, OAuth2API, RequestGuildMembersResult, RoleConnectionsAPI, StageInstancesAPI, StartForumThreadOptions, StickersAPI, ThreadsAPI, UsersAPI, VoiceAPI, WebhooksAPI, WithIntrinsicProps, version, withFiles };
1975
+ export { API, ApplicationCommandsAPI, ApplicationsAPI, ChannelsAPI, Client, ClientOptions, DescriptiveRawFile, Gateway, GuildsAPI, InteractionsAPI, IntrinsicProps, InvitesAPI, ManagerShardEventsMap, MappedEvents, MonetizationAPI, OAuth2API, RequestGuildMembersResult, RoleConnectionsAPI, StageInstancesAPI, StartForumThreadOptions, StickersAPI, ThreadsAPI, UsersAPI, VoiceAPI, WebhooksAPI, WithIntrinsicProps, version, withFiles };
package/dist/index.js CHANGED
@@ -2793,7 +2793,7 @@ __name(withFiles, "withFiles");
2793
2793
 
2794
2794
  // src/index.ts
2795
2795
  __reExport(src_exports, require("discord-api-types/v10"), module.exports);
2796
- var version = "1.2.0-dev.1703462992-0f1e02b3d";
2796
+ var version = "1.2.0-dev.1703981459-136c66c21";
2797
2797
  // Annotate the CommonJS export names for ESM import in node:
2798
2798
  0 && (module.exports = {
2799
2799
  API,