kazagumo-bun 3.4.0-d → 3.4.0-e

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
@@ -4,8 +4,6 @@
4
4
  [![PayPal](https://img.shields.io/badge/💖-Support-ff69b4)](https://paypal.me/l0g4n7)
5
5
  [![npm](https://img.shields.io/npm/v/kazagumo-bun?style=flat-square)](https://www.npmjs.com/package/kazagumo-bun)
6
6
  ![Github Stars](https://img.shields.io/github/stars/LuigiColantuono/Kazagumo-Bun?style=flat-square)
7
- ![GitHub issues](https://img.shields.io/github/issues-raw/LuigiColantuono/Kazagumo-Bun?style=flat-square)
8
- ![NPM](https://img.shields.io/npm/l/Kazagumo-Bun?style=flat-square)
9
7
 
10
8
  #### A [Shoukaku-Bun](https://github.com/LuigiColantuono/Shoukaku-Bun) wrapper with built in queue system
11
9
 
@@ -124,7 +122,9 @@ Note:
124
122
  ⚠️ Please read the docs first before asking question ⚠️
125
123
  > Kazagumo support server: https://discord.gg/nPPW2Gzqg2 (anywhere lmao)
126
124
  > Shoukaku support server: https://discord.gg/FVqbtGu (#development)
127
- > Brucius support server: https://discord.gg/XqJw52d35R
125
+ >
126
+ > Brucius support server: https://discord.gg/XqJw52d35R
127
+ >
128
128
  > Report if you found a bug here https://github.com/Takiyo0/Kazagumo/issues/new/choose
129
129
 
130
130
  ## Enable playerMoved event
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kazagumo-bun",
3
- "version": "3.4.0-d",
3
+ "version": "3.4.0-e",
4
4
  "description": "Bun-native high-performance Kazagumo fork. Node legacy purged.",
5
5
  "main": "src/Index.ts",
6
6
  "types": "src/Index.ts",
package/src/Index.ts CHANGED
@@ -1,11 +1,11 @@
1
- // import { NodeOption, PlayerUpdate, ShoukakuOptions, TrackExceptionEvent, WebSocketClosedEvent } from "shoukaku";
1
+
2
2
  import { KazagumoTrack } from './Managers/Supports/KazagumoTrack';
3
3
  import { KazagumoQueue } from './Managers/Supports/KazagumoQueue';
4
4
  import { KazagumoPlayer } from './Managers/KazagumoPlayer';
5
5
  import Plugins from './Modules/Plugins';
6
6
  // import KazagumoPlayer from "./Managers/KazagumoPlayer";
7
7
  // import { KazagumoOptions } from "./Modules/Interfaces";
8
- // import { Connector } from "shoukaku/dist/src/connectors/Connector";
8
+
9
9
 
10
10
  export * from './Kazagumo';
11
11
  export { KazagumoTrack, KazagumoQueue, KazagumoPlayer, Plugins };
package/src/Kazagumo.ts CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  VoiceChannelOptions,
28
28
  WebSocketClosedEvent,
29
29
  Constants,
30
- } from 'shoukaku';
30
+ } from 'shoukaku-bun';
31
31
  const { State, VoiceState } = Constants;
32
32
  type VoiceStateType = (typeof VoiceState)[keyof typeof VoiceState];
33
33
 
@@ -8,7 +8,7 @@ import {
8
8
  TrackExceptionEvent,
9
9
  TrackStuckEvent,
10
10
  WebSocketClosedEvent,
11
- } from 'shoukaku';
11
+ } from 'shoukaku-bun';
12
12
  import {
13
13
  Events,
14
14
  KazagumoError,
@@ -8,7 +8,7 @@ import {
8
8
  SourceIDs,
9
9
  SupportedSources,
10
10
  } from '../../Modules/Interfaces';
11
- import { Track } from 'shoukaku';
11
+ import { Track } from 'shoukaku-bun';
12
12
  import { KazagumoPlayer } from '../KazagumoPlayer';
13
13
 
14
14
  export class KazagumoTrack {
@@ -2,7 +2,7 @@ import { Kazagumo } from '../Kazagumo';
2
2
  import { KazagumoPlayer, KazagumoQueue } from '../Index';
3
3
  import { KazagumoTrack } from '../Managers/Supports/KazagumoTrack';
4
4
  import { Constructor } from './Utils';
5
- import { Track } from 'shoukaku';
5
+ import { Track } from 'shoukaku-bun';
6
6
 
7
7
  export interface KazagumoOptions {
8
8
  /** Default search engine if no engine was provided. Default to youtube. If defaultSource is provided, this will be ignored */
@@ -1,4 +1,4 @@
1
- import { Track } from 'shoukaku';
1
+ import { Track } from 'shoukaku-bun';
2
2
  import { KazagumoTrack } from '../Managers/Supports/KazagumoTrack';
3
3
 
4
4
  export class KazagumoUtils {