This commit is contained in:
熊潇 2025-06-22 15:18:44 +08:00
parent 87769076c8
commit 203fa1f103
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@kevisual/video-tools", "name": "@kevisual/video-tools",
"version": "0.0.3", "version": "0.0.4",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"basename": "/root/video-tools", "basename": "/root/video-tools",
@ -82,5 +82,8 @@
"typescript": "^5.8.3", "typescript": "^5.8.3",
"ws": "npm:@kevisual/ws" "ws": "npm:@kevisual/ws"
}, },
"exports": {
"./src/*": "./src/*"
},
"packageManager": "pnpm@10.11.1" "packageManager": "pnpm@10.11.1"
} }

View File

@ -1,6 +1,4 @@
// import WebSocket from 'ws'; // import WebSocket from 'ws';
import { initWs } from '../../../ws-adapter/index.ts';
import { logger } from '@/logger/index.ts';
import { WSServer, WSSOptions } from '../../provider/ws-server.ts'; import { WSServer, WSSOptions } from '../../provider/ws-server.ts';
export type VideoWSOptions = { export type VideoWSOptions = {