mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
* feat(ws): custom workers * chore: typo * refactor(WebSocketShard): expose shard id * chore: remove outdated readme comment * chore: nits * chore: remove unnecessary mutation * feat: fancier resolution * chore: remove unnecessary exports * chore: apply suggestions * refactor: use range errors Co-authored-by: Aura Román <kyradiscord@gmail.com>
23 lines
995 B
TypeScript
23 lines
995 B
TypeScript
export * from './strategies/context/IContextFetchingStrategy.js';
|
|
export * from './strategies/context/SimpleContextFetchingStrategy.js';
|
|
export * from './strategies/context/WorkerContextFetchingStrategy.js';
|
|
|
|
export * from './strategies/sharding/IShardingStrategy.js';
|
|
export * from './strategies/sharding/SimpleShardingStrategy.js';
|
|
export * from './strategies/sharding/WorkerShardingStrategy.js';
|
|
|
|
export * from './utils/constants.js';
|
|
export * from './utils/IdentifyThrottler.js';
|
|
export * from './utils/WorkerBootstrapper.js';
|
|
|
|
export * from './ws/WebSocketManager.js';
|
|
export * from './ws/WebSocketShard.js';
|
|
|
|
/**
|
|
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/ws/#readme | @discordjs/ws} version
|
|
* that you are currently using.
|
|
*/
|
|
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
|
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
export const version: string = '[VI]{{inject}}[/VI]';
|