mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
* refactor(REST): remove double classing BREAKING CHANGE: `REST` and `RequestManager` have been combined, most of the properties, methods, and events from both classes can now be found on `REST` BREAKING CHANGE: `REST#raw` has been removed in favor of `REST#queueRequest` BREAKING CHANGE: `REST#getAgent` has been removed in favor of `REST#agent` * chore: update for /rest changes
16 lines
709 B
TypeScript
16 lines
709 B
TypeScript
export * from './lib/CDN.js';
|
|
export * from './lib/errors/DiscordAPIError.js';
|
|
export * from './lib/errors/HTTPError.js';
|
|
export * from './lib/errors/RateLimitError.js';
|
|
export * from './lib/REST.js';
|
|
export * from './lib/utils/constants.js';
|
|
export * from './lib/utils/types.js';
|
|
export { calculateUserDefaultAvatarIndex, makeURLSearchParams, parseResponse } from './lib/utils/utils.js';
|
|
|
|
/**
|
|
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/rest/#readme | @discordjs/rest} 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
|
|
export const version = '[VI]{{inject}}[/VI]' as string;
|