From 5c99371ece60a9581f6c03e7d1c617b0d2a7cb7b Mon Sep 17 00:00:00 2001 From: youxia <243802688@qq.com> Date: Fri, 23 Feb 2024 14:38:10 +0800 Subject: [PATCH] change export modules --- package.json | 2 +- src/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index eb31024..4468978 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "feiyun", "private": false, - "version": "0.1.0", + "version": "0.1.1", "repository": "https://github.com/hxg2050/feiyun.git", "license": "MIT", "main": "./dist/index.cjs", diff --git a/src/index.ts b/src/index.ts index e3dc409..d4d28bf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,6 +2,8 @@ export { FeiyunClient } from './client/FeiyunClient' export { GameSocketClient } from './client/GameSocketClient' export { Feiyun } from './server/feiyun' +export { Server } from './server/server' +export { Socket } from './server/socket' export { GameSocket } from './server/GameSocket' export { GameSocketServer } from './server/GameSocketServer'