@xiaoguomeiyitian/core 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,14 +5,14 @@
5
5
  ## 特性
6
6
 
7
7
  - 🔄 **热更新**: 支持通过 loadfile 动态更新实体类
8
- - 🚀 **自动同步**: 后端实体数据自动同步至前端
9
- - 💾 **自动存储**: 带有 @save 标记的属性自动保存至数据库
10
8
  - 🔗 **双向调用**: 支持前后端之间的实体方法互相调用
11
9
  - 📝 **声明式配置**: 通过注释标记实现属性的配置管理
10
+ - 🚀 **自动同步**: 后端实体数据自动同步至前端
11
+ - 💾 **自动存储**: 带有 @save 标记的属性自动保存至数据库
12
12
  - 🌐 **分布式部署**: 基于 RPC 调用的分布式架构
13
13
  - 📦 **数据持久化**: 支持 MongoDB 存储和 Redis 缓存
14
14
  - 💽 **进程缓存**: 使用 LevelDB 进程实体数据保存,支持进程崩溃后数据恢复
15
- - ⚖️ 弹性伸缩: 支持服务进程根据负载自动扩缩容
15
+ - ⚖️ **弹性伸缩**: 支持服务进程根据负载自动扩缩容
16
16
  - 🔍 **在线调试**: 支持实时调试和性能分析
17
17
  - HeapProfiler: 查看 V8 引擎内存快照
18
18
  - Profiler: 统计 CPU 调用信息
@@ -145,7 +145,7 @@ export class RoomManager extends BaseEntity implements RoomManagerRpc {
145
145
  #### 热更新实体
146
146
 
147
147
  ```typescript
148
- G.loadfile("./server/hall/Player.ts");
148
+ G.loadfile("./server/hall/Player.js");
149
149
  ```
150
150
 
151
151
  #### API
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiaoguomeiyitian/core",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "types/lib.d.ts",
6
6
  "bin": {