Updated typing export/import;

This commit is contained in:
Lechner Julian - FrauJulian
2025-10-10 18:27:43 +02:00
parent f712ea73d7
commit 96ee35c1e4
5 changed files with 1066 additions and 1069 deletions
+2 -2
View File
@@ -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
View File
@@ -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"
],
+1058 -1061
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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
View File
@@ -1,2 +1,2 @@
export { default as AudioManager } from './audio-manager';
export type {VoiceAudioDataModel, VoiceConnectionDataModel} from "./types";
export type { VoiceAudioDataModel, VoiceConnectionDataModel } from './types';