@xmobitea/gn-server 2.1.1 → 2.3.0

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.
Files changed (204) hide show
  1. package/GNconfig.debug.json +30 -27
  2. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginBaseRequestHandler.d.ts +1 -1
  3. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGameCenterRequestHandler.d.ts +24 -0
  4. package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGooglePlayGameServiceRequestHandler.d.ts +19 -0
  5. package/dist/GN-app-api/handler/controller/handler/authenticate/RegisterAccountRequestHandler.d.ts +1 -6
  6. package/dist/GN-app-api/handler/controller/handler/authenticate/model/InfoRequestParam.d.ts +1 -0
  7. package/dist/GN-app-api/handler/controller/handler/base/RequestHandler.d.ts +1 -1
  8. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCreateLeaderboardRequestHandler.d.ts +23 -0
  9. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCurrencyLogRequestHandler.d.ts +22 -0
  10. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetFriendStatisticsLeaderboardRequestHandler.d.ts +2 -1
  11. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
  12. package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLogRequestHandler.d.ts +22 -0
  13. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetPlayerCurrencyRequestHandler.d.ts +1 -0
  14. package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetPlayerStatisticsRequestHandler.d.ts +1 -0
  15. package/dist/GN-app-api/handler/controller/handler/characterPlayer/model/PlayerDataParam.d.ts +0 -1
  16. package/dist/GN-app-api/handler/controller/handler/cloudScript/ExecuteFunctionRequestHandler.d.ts +1 -1
  17. package/dist/GN-app-api/handler/controller/handler/content/GetContentDataRequestHandler.d.ts +1 -1
  18. package/dist/GN-app-api/handler/controller/handler/content/GetFileUploadInfoListRequestHandler.d.ts +0 -1
  19. package/dist/GN-app-api/handler/controller/handler/dashboard/GetAnalyticsRequestHandler.d.ts +22 -0
  20. package/dist/GN-app-api/handler/controller/handler/dashboard/GetBackupStatisticsLeaderboardVersionRequestHandler.d.ts +18 -0
  21. package/dist/GN-app-api/handler/controller/handler/dashboard/GetEventCallbackCloudScriptRequestHandler.d.ts +15 -0
  22. package/dist/GN-app-api/handler/controller/handler/dashboard/GetServerGameDataRequestHandler.d.ts +34 -0
  23. package/dist/GN-app-api/handler/controller/handler/dashboard/GetServerLogRequestHandler.d.ts +2 -0
  24. package/dist/GN-app-api/handler/controller/handler/dashboard/GetUsernameAdminAccountRequestHandler.d.ts +16 -0
  25. package/dist/GN-app-api/handler/controller/handler/dashboard/GrantSecretInfoRequestHandler.d.ts +4 -1
  26. package/dist/GN-app-api/handler/controller/handler/dashboard/ResetStatisticsLeaderboardRequestHandler.d.ts +20 -0
  27. package/dist/GN-app-api/handler/controller/handler/dashboard/SetEventCallbackCloudScriptRequestHandler.d.ts +17 -0
  28. package/dist/GN-app-api/handler/controller/handler/dashboard/SetMasterGameSettingsRequestHandler.d.ts +4 -0
  29. package/dist/GN-app-api/handler/controller/handler/dashboard/model/AuthenticatePermissionRulesParam.d.ts +2 -0
  30. package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterPlayerPermissionRulesParam.d.ts +3 -0
  31. package/dist/GN-app-api/handler/controller/handler/dashboard/model/ContentPermissionRulesParam.d.ts +2 -2
  32. package/dist/GN-app-api/handler/controller/handler/dashboard/model/CurrencySettingsParam.d.ts +2 -0
  33. package/dist/GN-app-api/handler/controller/handler/dashboard/model/EmailSettingsParam.d.ts +4 -0
  34. package/dist/GN-app-api/handler/controller/handler/dashboard/model/GamePlayerPermissionRulesParam.d.ts +3 -0
  35. package/dist/GN-app-api/handler/controller/handler/dashboard/model/GroupPermissionRulesParam.d.ts +3 -0
  36. package/dist/GN-app-api/handler/controller/handler/dashboard/model/InventoryPermissionRulesParam.d.ts +2 -0
  37. package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterAdminPermissionRulesParam.d.ts +6 -0
  38. package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterPlayerPermissionRulesParam.d.ts +16 -0
  39. package/dist/GN-app-api/handler/controller/handler/dashboard/model/MatchmakingQueueSettingsParam.d.ts +4 -0
  40. package/dist/GN-app-api/handler/controller/handler/dashboard/model/MultiplayerPermissionRulesParam.d.ts +2 -0
  41. package/dist/GN-app-api/handler/controller/handler/dashboard/model/PushNotificationSettingsParam.d.ts +5 -0
  42. package/dist/GN-app-api/handler/controller/handler/dashboard/model/StatisticsSettingsParam.d.ts +3 -0
  43. package/dist/GN-app-api/handler/controller/handler/dashboard/model/StoreInventoryPermissionRulesParam.d.ts +3 -0
  44. package/dist/GN-app-api/handler/controller/handler/dashboard/model/TagSettingsParam.d.ts +1 -0
  45. package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyAppleSettingsParam.d.ts +3 -0
  46. package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyGameCenterSettingsParam.d.ts +3 -0
  47. package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyGooglePlayGameSettingsParam.d.ts +6 -0
  48. package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyGoogleSettingsParam.d.ts +3 -3
  49. package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyParam.d.ts +4 -0
  50. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCreateLeaderboardRequestHandler.d.ts +22 -0
  51. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCurrencyLogRequestHandler.d.ts +22 -0
  52. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetFriendStatisticsLeaderboardRequestHandler.d.ts +2 -1
  53. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
  54. package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLogRequestHandler.d.ts +22 -0
  55. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetPlayerCurrencyRequestHandler.d.ts +1 -0
  56. package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetPlayerStatisticsRequestHandler.d.ts +1 -0
  57. package/dist/GN-app-api/handler/controller/handler/gamePlayer/model/PlayerDataParam.d.ts +0 -1
  58. package/dist/GN-app-api/handler/controller/handler/group/GetCreateLeaderboardRequestHandler.d.ts +22 -0
  59. package/dist/GN-app-api/handler/controller/handler/group/GetCurrencyLogRequestHandler.d.ts +22 -0
  60. package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
  61. package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLogRequestHandler.d.ts +22 -0
  62. package/dist/GN-app-api/handler/controller/handler/group/GroupBaseRequestHandler.d.ts +1 -1
  63. package/dist/GN-app-api/handler/controller/handler/group/SetGroupCurrencyRequestHandler.d.ts +1 -0
  64. package/dist/GN-app-api/handler/controller/handler/group/SetGroupStatisticsRequestHandler.d.ts +1 -0
  65. package/dist/GN-app-api/handler/controller/handler/group/model/GroupDataParam.d.ts +0 -1
  66. package/dist/GN-app-api/handler/controller/handler/inventory/GetCreateLeaderboardRequestHandler.d.ts +22 -0
  67. package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
  68. package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLogRequestHandler.d.ts +22 -0
  69. package/dist/GN-app-api/handler/controller/handler/inventory/SetItemStatisticsRequestHandler.d.ts +1 -0
  70. package/dist/GN-app-api/handler/controller/handler/inventory/model/ItemDataParam.d.ts +0 -1
  71. package/dist/GN-app-api/handler/controller/handler/masterPlayer/AddPushNotificationRequestHandler.d.ts +20 -0
  72. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCreateLeaderboardRequestHandler.d.ts +22 -0
  73. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCurrencyLogRequestHandler.d.ts +22 -0
  74. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetLastLoginLeaderboardRequestHandler.d.ts +22 -0
  75. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGameCenterRequestHandler.d.ts +20 -0
  76. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGooglePlayGameServiceRequestHandler.d.ts +20 -0
  77. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPushNotificationRequestHandler.d.ts +18 -0
  78. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
  79. package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLogRequestHandler.d.ts +22 -0
  80. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGameCenterRequestHandler.d.ts +25 -0
  81. package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGooglePlayGameServiceRequestHandler.d.ts +20 -0
  82. package/dist/GN-app-api/handler/controller/handler/masterPlayer/MasterPlayerBaseRequestHandler.d.ts +1 -0
  83. package/dist/GN-app-api/handler/controller/handler/masterPlayer/RemovePushNotificationRequestHandler.d.ts +19 -0
  84. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendEmailRequestHandler.d.ts +20 -0
  85. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendPushNotificationRequestHandler.d.ts +25 -0
  86. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendSocketOperationEventRequestHandler.d.ts +22 -0
  87. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetPlayerCurrencyRequestHandler.d.ts +1 -0
  88. package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetPlayerStatisticsRequestHandler.d.ts +1 -0
  89. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGameCenterRequestHandler.d.ts +19 -0
  90. package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGooglePlayGameServiceRequestHandler.d.ts +19 -0
  91. package/dist/GN-app-api/handler/controller/handler/masterPlayer/model/InfoRequestParam.d.ts +1 -0
  92. package/dist/GN-app-api/handler/controller/handler/multiplayer/GetAllMatchRequestHandler.d.ts +20 -0
  93. package/dist/GN-app-api/handler/controller/handler/multiplayer/GetAllMatchmakingTicketRequestHandler.d.ts +21 -0
  94. package/dist/GN-app-api/handler/controller/handler/multiplayer/MatchmakingHandler.d.ts +2 -2
  95. package/dist/GN-app-api/handler/controller/handler/storeInventory/BuyStoreItemRequestHandler.d.ts +1 -0
  96. package/dist/GN-app-api/handler/controller/handler/storeInventory/GetCreateLeaderboardRequestHandler.d.ts +22 -0
  97. package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreLogRequestHandler.d.ts +22 -0
  98. package/dist/GN-app-api/handler/controller/handler/storeInventory/GrantStoreItemRequestHandler.d.ts +1 -0
  99. package/dist/GN-app-api/handler/controller/handler/storeInventory/PresentStoreItemRequestHandler.d.ts +21 -0
  100. package/dist/GN-app-api/handler/controller/handler/storeInventory/SetStoreItemInformationRequestHandler.d.ts +8 -8
  101. package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateAppleAppStoreReceiptRequestHandler.d.ts +1 -0
  102. package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateFacebookStoreReceiptRequestHandler.d.ts +1 -0
  103. package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateGooglePlayStoreReceiptRequestHandler.d.ts +1 -0
  104. package/dist/GN-app-api/handler/controller/handler/storeInventory/model/InAppPurchaseParam.d.ts +4 -3
  105. package/dist/GN-app-api/service/AnalyticsService.d.ts +4 -2
  106. package/dist/GN-app-api/service/AppleService.d.ts +16 -4
  107. package/dist/GN-app-api/service/CloudScriptService.d.ts +14 -2
  108. package/dist/GN-app-api/service/CountryIPDetailService.d.ts +11 -0
  109. package/dist/GN-app-api/service/EventCallbackService.d.ts +103 -0
  110. package/dist/GN-app-api/service/GameCenterService.d.ts +19 -0
  111. package/dist/GN-app-api/service/GenericService.d.ts +3 -2
  112. package/dist/GN-app-api/service/GooglePlayGameService.d.ts +21 -0
  113. package/dist/GN-app-api/service/IAnalyticsService.d.ts +13 -2
  114. package/dist/GN-app-api/service/ICloudScriptService.d.ts +3 -1
  115. package/dist/GN-app-api/service/ICountryIPDetailService.d.ts +20 -0
  116. package/dist/GN-app-api/service/IGameCenterService.d.ts +13 -0
  117. package/dist/GN-app-api/service/IGenericService.d.ts +6 -3
  118. package/dist/GN-app-api/service/IGooglePlayGameService.d.ts +5 -0
  119. package/dist/GN-common/constant/Commands.d.ts +1 -0
  120. package/dist/GN-common/constant/OperationCode.d.ts +29 -0
  121. package/dist/GN-common/constant/enumType/OwnerType.d.ts +2 -1
  122. package/dist/GN-common/constant/enumType/PushPlatformType.d.ts +4 -0
  123. package/dist/GN-common/constant/enumType/StoreReceiveType.d.ts +7 -0
  124. package/dist/GN-common/constant/errorCode/GNErrorCode.d.ts +2 -0
  125. package/dist/GN-common/constant/parameterCode/GNParameterCode.d.ts +120 -1
  126. package/dist/GN-common/entity/SecretInfo.d.ts +48 -1
  127. package/dist/GN-common/helper/StringUtility.d.ts +1 -1
  128. package/dist/GN-library/xcachedata/lib/xCacheData.d.ts +1 -0
  129. package/dist/GN-library/xconfig/lib/xConfig.d.ts +2 -1
  130. package/dist/GN-library/xdatabase/lib/entity/pro/ExternalItem.d.ts +10 -0
  131. package/dist/GN-library/xdatabase/lib/entity/pro/IPDetailItem.d.ts +5 -0
  132. package/dist/GN-library/xdatabase/lib/entity/pro/MasterPlayer.d.ts +13 -0
  133. package/dist/GN-library/xdatabase/lib/entity/pro/MongoObject.d.ts +2 -0
  134. package/dist/GN-library/xdatabase/lib/entity/pro/PushNotificationItem.d.ts +5 -0
  135. package/dist/GN-library/xdatabase/lib/entity/pro/StoreInventory.d.ts +1 -0
  136. package/dist/GN-library/xdatabase/lib/entity/pro/findOptions/MasterPlayerFindOptions.d.ts +2 -0
  137. package/dist/GN-library/xdatabase/lib/entity/pro/masterAdmin/MasterGameSettings.d.ts +10 -0
  138. package/dist/GN-library/xdatabase/lib/xDatabase.d.ts +113 -10
  139. package/dist/GN-library/xdebug/lib/xDebug.d.ts +1 -0
  140. package/dist/GN-library/xmail/lib/xMail.d.ts +3 -1
  141. package/dist/GN-library/xnotification/lib/xPushNotification.d.ts +27 -0
  142. package/dist/GN-library/xsettings/lib/entity/xCurrencySettings.d.ts +2 -0
  143. package/dist/GN-library/xsettings/lib/entity/xEmailSettings.d.ts +4 -0
  144. package/dist/GN-library/xsettings/lib/entity/xPushNotificationSettings.d.ts +5 -0
  145. package/dist/GN-library/xsettings/lib/entity/xStatisticsSettings.d.ts +3 -0
  146. package/dist/GN-library/xsettings/lib/entity/xTagSettings.d.ts +1 -0
  147. package/dist/GN-library/xsettings/lib/entity/xThirtPartySettings.d.ts +12 -0
  148. package/dist/GN-startup/DefaultApplicationStartup.d.ts +1 -2
  149. package/dist/GN-startup/HttpApp.d.ts +0 -3
  150. package/dist/GN-startup/ServerApplication.d.ts +0 -4
  151. package/dist/GN-startup/cloudScript/eventCallbackCloudScriptData.json +1818 -0
  152. package/dist/GN-startup/cloudScript/templateCloudScript.ts +567 -0
  153. package/dist/GN-startup/cloudScript/templateEventCallback.ts +798 -0
  154. package/dist/GN-startup/middleware/AntiDdosMiddleware.d.ts +4 -1
  155. package/dist/GN-startup/middleware/ApiMiddleware.d.ts +1 -0
  156. package/dist/GN-startup/routes/AdminAppHandler.d.ts +0 -31
  157. package/dist/GN-startup/settings/DDosSettings.d.ts +3 -0
  158. package/dist/GN-startup/settings/OtherSettings.d.ts +6 -0
  159. package/dist/GNServer.d.ts +30 -4
  160. package/dist/index.d.ts +144 -6
  161. package/dist/index.js +21329 -6740
  162. package/gn.sh +7 -10
  163. package/package.json +24 -27
  164. package/syncCode.js +341 -341
  165. package/syncCodeVer2.js +176 -0
  166. package/dist/GN-startup/cloudScript/template.ts +0 -126
  167. package/dist/GN-startup/routes/www/public/admin/debug-common.js +0 -1233
  168. package/dist/GN-startup/routes/www/public/admin/index-common.js +0 -217
  169. package/dist/GN-startup/routes/www/public/admin/log-common.js +0 -52
  170. package/dist/GN-startup/routes/www/public/admin/signin-common.js +0 -35
  171. package/dist/GN-startup/routes/www/public/assets/demo/chart-area-demo.js +0 -54
  172. package/dist/GN-startup/routes/www/public/assets/demo/chart-bar-demo.js +0 -46
  173. package/dist/GN-startup/routes/www/public/assets/demo/chart-pie-demo.js +0 -16
  174. package/dist/GN-startup/routes/www/public/assets/demo/datatables-demo.js +0 -4
  175. package/dist/GN-startup/routes/www/public/assets/img/error-404-monochrome.svg +0 -1
  176. package/dist/GN-startup/routes/www/public/css/styles.css +0 -11701
  177. package/dist/GN-startup/routes/www/public/favicon.ico +0 -0
  178. package/dist/GN-startup/routes/www/public/favicon.png +0 -0
  179. package/dist/GN-startup/routes/www/public/js/scripts.js +0 -26
  180. package/dist/GN-startup/routes/www/views/101.ejs +0 -21
  181. package/dist/GN-startup/routes/www/views/401.ejs +0 -25
  182. package/dist/GN-startup/routes/www/views/403.ejs +0 -21
  183. package/dist/GN-startup/routes/www/views/404.ejs +0 -25
  184. package/dist/GN-startup/routes/www/views/500.ejs +0 -25
  185. package/dist/GN-startup/routes/www/views/admin/change-password.ejs +0 -46
  186. package/dist/GN-startup/routes/www/views/admin/debug.ejs +0 -14
  187. package/dist/GN-startup/routes/www/views/admin/index.ejs +0 -28
  188. package/dist/GN-startup/routes/www/views/admin/log.ejs +0 -16
  189. package/dist/GN-startup/routes/www/views/admin/signin.ejs +0 -56
  190. package/dist/GN-startup/routes/www/views/layout.ejs +0 -8
  191. package/dist/GN-startup/routes/www/views/partials/areachart.ejs +0 -9
  192. package/dist/GN-startup/routes/www/views/partials/areachartccu.ejs +0 -9
  193. package/dist/GN-startup/routes/www/views/partials/barchart.ejs +0 -9
  194. package/dist/GN-startup/routes/www/views/partials/barcharttotal.ejs +0 -9
  195. package/dist/GN-startup/routes/www/views/partials/common/footer.ejs +0 -14
  196. package/dist/GN-startup/routes/www/views/partials/common/head.ejs +0 -11
  197. package/dist/GN-startup/routes/www/views/partials/dau.ejs +0 -41
  198. package/dist/GN-startup/routes/www/views/partials/debugboard.ejs +0 -90
  199. package/dist/GN-startup/routes/www/views/partials/description.ejs +0 -20
  200. package/dist/GN-startup/routes/www/views/partials/logtable.ejs +0 -50
  201. package/dist/GN-startup/routes/www/views/partials/piechart.ejs +0 -7
  202. package/dist/GN-startup/routes/www/views/partials/sidenav.ejs +0 -83
  203. package/dist/GN-startup/routes/www/views/partials/topnav.ejs +0 -53
  204. package/dist/GN-startup/settings/MailSettings.d.ts +0 -22
package/gn.sh CHANGED
@@ -103,7 +103,7 @@ init_create_GNConfigDebugJson() {
103
103
  "allowOrigin": "*",
104
104
  "credentials": true,
105
105
  "allowMethods": ["GET", "POST"],
106
- "allowHeaders": ["a", "content-type"],
106
+ "allowHeaders": ["a", "content-type", "s", "g", "content-length", "user-agent"],
107
107
  "enableSendAndReceiveDebug": true,
108
108
  "enablePostViaMsgPack": true,
109
109
  "enablePostViaJson": true
@@ -137,13 +137,9 @@ init_create_GNConfigDebugJson() {
137
137
  },
138
138
 
139
139
  "otherSettings": {
140
- "headerIP": "x-ip"
141
- },
142
-
143
- "mailSettings": {
144
- "enable": false,
145
- "sendFrom": "changx@xmobitea.com",
146
- "sendGridApiKey": "SG."
140
+ "headerIP": "x-ip",
141
+ "idTypeCase": 0,
142
+ "ipApiUrl": "http://127.0.0.1:2555/json"
147
143
  },
148
144
 
149
145
  "logSettings": {
@@ -162,7 +158,8 @@ init_create_GNConfigDebugJson() {
162
158
  "httpMaxPendingRequest": 1000,
163
159
  "httpMaxRequestSize": 1024,
164
160
  "maxUploadPendingRequest": 200,
165
- "maxDownloadPendingRequest": 200
161
+ "maxDownloadPendingRequest": 200,
162
+ "ipWhiteList": ["127.0.0.1"]
166
163
  }
167
164
  }
168
165
  }' > GNconfig.debug.json
@@ -465,7 +462,7 @@ init_create_packageJson() {
465
462
  "author": "GN-Server-author",
466
463
  "license": "ISC",
467
464
  "devDependencies": {
468
- "typescript": "*"
465
+ "typescript": "^5.7.2"
469
466
  },
470
467
  "dependencies": {
471
468
  "@xmobitea/gn-server": "*",
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@xmobitea/gn-server",
3
- "version": "2.1.1",
3
+ "version": "2.3.0",
4
4
  "description": "Game Networking Server by XmobiTea (Pro)",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
8
+ "dev": "npm run build && npm run debug",
8
9
  "debug": "node index.js",
9
10
  "test": "mocha -r ts-node/register ./test/**/*.test.ts",
10
- "build": "rm -rf ./dist && webpack --mode production --stats-modules && npm run copyDebugView && npm run copyCloudScriptTemplate",
11
- "copyDebugView": "cp -R ./src/GN-startup/routes/www ./dist/GN-startup/routes/www",
12
- "copyCloudScriptTemplate": "cp -R ./src/GN-startup/cloudScript ./dist/GN-startup/cloudScript",
11
+ "build": "rm -rf ./dist && webpack --mode production --stats-modules && npm run copyCloudScriptTemplate",
12
+ "copyCloudScriptTemplate": "node ./syncCodeVer2.js && cp -R ./src/GN-startup/cloudScript ./dist/GN-startup/cloudScript",
13
13
  "push": "npm run build && npm publish && git push"
14
14
  },
15
15
  "author": "changx.develop@gmail.com (https://xmobitea.com)",
@@ -17,52 +17,49 @@
17
17
  "devDependencies": {
18
18
  "@types/async-lock": "^1.4.2",
19
19
  "@types/bcrypt": "^5.0.2",
20
- "@types/cookie-parser": "^1.4.6",
21
- "@types/express": "^4.17.21",
22
- "@types/express-ejs-layouts": "^2.5.4",
23
- "@types/express-session": "^1.17.10",
24
- "@types/jsonwebtoken": "^9.0.5",
20
+ "@types/cookie-parser": "^1.4.8",
21
+ "@types/express": "^5.0.0",
22
+ "@types/jsonwebtoken": "^9.0.7",
25
23
  "@types/md5": "^2.3.5",
26
- "@types/mocha": "^10.0.6",
27
- "@types/multer": "^1.4.11",
28
- "mocha": "^10.3.0",
24
+ "@types/mocha": "^10.0.10",
25
+ "@types/multer": "^1.4.12",
26
+ "mocha": "^11.0.1",
29
27
  "terser-webpack-plugin": "^5.3.10",
30
28
  "ts-loader": "^9.5.1",
31
29
  "ts-node": "^10.9.2",
32
- "tslib": "^2.6.2",
33
- "typescript": "^5.3.3",
34
- "webpack": "^5.90.1",
30
+ "tslib": "^2.8.1",
31
+ "typescript": "^5.7.2",
32
+ "webpack": "^5.97.1",
35
33
  "webpack-cli": "^5.1.4",
36
34
  "webpack-node-externals": "^3.0.0"
37
35
  },
38
36
  "dependencies": {
39
37
  "@msgpack/msgpack": "^2.8.0",
40
- "@sendgrid/mail": "^8.1.1",
38
+ "@sendgrid/mail": "^8.1.4",
41
39
  "@socket.io/mongo-adapter": "^0.3.2",
42
40
  "@socket.io/mongo-emitter": "^0.2.0",
43
41
  "@types/crypto-js": "^4.2.2",
44
- "@xmobitea/gn-typescript-client": "^2.1.0",
42
+ "@types/node": "^22.10.5",
43
+ "@xmobitea/gn-typescript-client": "^2.3.3",
45
44
  "async-lock": "^1.4.1",
46
45
  "async-middleware": "^1.2.1",
47
- "axios": "^1.6.7",
46
+ "axios": "^1.7.9",
48
47
  "bcrypt": "^5.1.1",
49
- "cookie-parser": "^1.4.6",
48
+ "cookie-parser": "^1.4.7",
50
49
  "cors": "^2.8.5",
51
50
  "crypto-js": "^4.2.0",
52
- "ejs": "^3.1.9",
53
- "express": "^4.18.2",
54
- "express-ejs-layouts": "^2.5.1",
55
- "express-msgpack": "^5.0.0",
56
- "express-session": "^1.18.0",
51
+ "express": "^4.21.2",
52
+ "express-msgpack": "^5.1.2",
53
+ "firebase-admin": "^13.0.2",
57
54
  "fs": "^0.0.1-security",
58
55
  "jsonwebtoken": "^9.0.2",
59
56
  "jwks-rsa": "^3.1.0",
60
57
  "log4js": "^6.9.1",
61
58
  "md5": "^2.3.0",
62
- "mongodb": "^6.3.0",
59
+ "mongodb": "^6.12.0",
63
60
  "multer": "^1.4.5-lts.1",
64
- "reflect-metadata": "^0.1.14",
65
- "socket.io": "^4.7.4"
61
+ "reflect-metadata": "^0.2.2",
62
+ "socket.io": "^4.8.1"
66
63
  },
67
64
  "repository": {
68
65
  "type": "git",