Updated typing export/import;
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "discord-audio-stream",
|
||||
"version": "0.6.18",
|
||||
"version": "0.6.19",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "discord-audio-stream",
|
||||
"version": "0.6.18",
|
||||
"version": "0.6.19",
|
||||
"license": "LGPL-2.1-only",
|
||||
"dependencies": {
|
||||
"@discordjs/voice": "^0.19.0",
|
||||
|
||||
+4
-4
@@ -1,23 +1,23 @@
|
||||
{
|
||||
"name": "discord-audio-stream",
|
||||
"version": "0.6.18",
|
||||
"version": "0.6.19",
|
||||
"license": "LGPL-2.1-only",
|
||||
"description": "NodeJS library to make stream any audio on discord easier.",
|
||||
"exports": {
|
||||
".": {
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"types": "./dist/types.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"types": "./dist/types.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"types": "./dist/types.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
|
||||
Generated
+1058
-1061
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
import type { AudioPlayer, AudioResource, VoiceConnection } from '@discordjs/voice';
|
||||
import { createAudioPlayer, createAudioResource, joinVoiceChannel } from '@discordjs/voice';
|
||||
import { join } from 'node:path';
|
||||
import {VoiceAudioDataModel, VoiceConnectionDataModel} from "./types";
|
||||
import type { VoiceAudioDataModel, VoiceConnectionDataModel } from './types';
|
||||
|
||||
export default class AudioManager {
|
||||
public VoiceConnection?: VoiceConnection;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
export { default as AudioManager } from './audio-manager';
|
||||
export type {VoiceAudioDataModel, VoiceConnectionDataModel} from "./types";
|
||||
export type { VoiceAudioDataModel, VoiceConnectionDataModel } from './types';
|
||||
|
||||
Reference in New Issue
Block a user