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
-3
@@ -5,7 +5,6 @@ settings:
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
importers:
|
||||
|
||||
.:
|
||||
dependencies:
|
||||
'@discordjs/voice':
|
||||
@@ -68,7 +67,6 @@ importers:
|
||||
version: 5.9.3
|
||||
|
||||
packages:
|
||||
|
||||
'@babel/code-frame@7.27.1':
|
||||
resolution: { integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg== }
|
||||
engines: { node: '>=6.9.0' }
|
||||
@@ -2819,7 +2817,6 @@ packages:
|
||||
engines: { node: '>=10' }
|
||||
|
||||
snapshots:
|
||||
|
||||
'@babel/code-frame@7.27.1':
|
||||
dependencies:
|
||||
'@babel/helper-validator-identifier': 7.27.1
|
||||
|
||||
@@ -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