feat(core): http-only wrapper (#9281)

This commit is contained in:
Noel
2023-04-02 01:44:19 +02:00
committed by GitHub
parent 9d69bba47c
commit 11e682cfe3
5 changed files with 38 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
export * from '../api/index.js';
export * from '../util/index.js';
export * from 'discord-api-types/v10';
/**
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/core/#readme | @discordjs/core} 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;

View File

@@ -3,3 +3,10 @@ export * from './client.js';
export * from './util/index.js';
export * from 'discord-api-types/v10';
/**
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/core/#readme | @discordjs/core} 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;