Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
achiragaming committed Nov 19, 2024
1 parent dc0010a commit 7307f17
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
11 changes: 11 additions & 0 deletions Index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// import { NodeOption, PlayerUpdate, ShoukakuOptions, TrackExceptionEvent, WebSocketClosedEvent } from "shoukaku";
import { DamonJsTrack } from './src/Managers/Supports/DamonJsTrack';
import { DamonJsQueue } from './src/Managers/Supports/DamonJsQueue';
import { DamonJsPlayer } from './src/Managers/DamonJsPlayer';
import Plugins from './src/Modules/Plugins';
import packageJson from './package.json';
export * from './src/DamonJs';
export { DamonJsTrack, DamonJsQueue, DamonJsPlayer, Plugins };
export * from './src/Modules/Interfaces';

export const version = packageJson.version;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "damonjs",
"version": "2.0.0",
"version": "2.0.1",
"preview": false,
"description": "A modified Shoukaku wrapper with enhanced queue support.",
"main": "dist/Index.js",
Expand Down
11 changes: 0 additions & 11 deletions src/Index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/Modules/Interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DamonJs } from '../DamonJs';
import { DamonJsPlayer, DamonJsQueue } from '../Index';
import { DamonJsPlayer, DamonJsQueue } from '../../Index';
import { DamonJsTrack } from '../Managers/Supports/DamonJsTrack';
import {
PlayerUpdate,
Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/PlayerMoved.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DamonJs, Events } from '../Index';
import { DamonJs, Events } from '../../Index';
import { PlayerMovedState, DamonJsPlugin as Plugin } from '../Modules/Interfaces';

export class DamonJsPlugin extends Plugin {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"rules": {
"unified-signatures": false
},
"include": ["src"],
"include": ["src", "Index.ts"],
"exclude": ["node_modules", "**/__tests__/*", "test", "node_modules/**", "test/**", "/node_modules/", "examples"]
}

0 comments on commit 7307f17

Please sign in to comment.