@fluxerjs/core 1.2.4 → 1.3.0

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/README.md CHANGED
@@ -24,3 +24,13 @@ await client.login(process.env.FLUXER_BOT_TOKEN);
24
24
  ```
25
25
 
26
26
  For voice, add `@fluxerjs/voice`. For embeds, use `EmbedBuilder`.
27
+
28
+ ## Subpath imports (tree-shaking)
29
+
30
+ Bundlers can pull smaller graphs when you import only what you need:
31
+
32
+ - `@fluxerjs/core/client` — `Client`, `Events`, `ClientOptions`
33
+ - `@fluxerjs/core/errors` — `FluxerError`, `ErrorCodes`
34
+ - `@fluxerjs/core/message` — `Message`, `PartialMessage`, send/edit types
35
+
36
+ Related: `@fluxerjs/types/routes` (route builders only), `@fluxerjs/rest/request-manager` (HTTP layer without the full `REST` facade).
@@ -0,0 +1,8 @@
1
+ export { C as CacheSizeLimits, f as Client, g as ClientEventMethods, h as ClientEvents, i as ClientOptions, E as Events } from './subpath-message-b43enjDT.mjs';
2
+ import 'events';
3
+ import '@fluxerjs/rest';
4
+ import '@fluxerjs/ws';
5
+ import '@fluxerjs/types';
6
+ import '@fluxerjs/collection';
7
+ import '@fluxerjs/builders';
8
+ import '@fluxerjs/util';
@@ -0,0 +1,8 @@
1
+ export { C as CacheSizeLimits, f as Client, g as ClientEventMethods, h as ClientEvents, i as ClientOptions, E as Events } from './subpath-message-b43enjDT.js';
2
+ import 'events';
3
+ import '@fluxerjs/rest';
4
+ import '@fluxerjs/ws';
5
+ import '@fluxerjs/types';
6
+ import '@fluxerjs/collection';
7
+ import '@fluxerjs/builders';
8
+ import '@fluxerjs/util';