@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.
- package/GNconfig.debug.json +30 -27
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginBaseRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGameCenterRequestHandler.d.ts +24 -0
- package/dist/GN-app-api/handler/controller/handler/authenticate/LoginByGooglePlayGameServiceRequestHandler.d.ts +19 -0
- package/dist/GN-app-api/handler/controller/handler/authenticate/RegisterAccountRequestHandler.d.ts +1 -6
- package/dist/GN-app-api/handler/controller/handler/authenticate/model/InfoRequestParam.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/base/RequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCreateLeaderboardRequestHandler.d.ts +23 -0
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCurrencyLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetFriendStatisticsLeaderboardRequestHandler.d.ts +2 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetPlayerCurrencyRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetPlayerStatisticsRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/model/PlayerDataParam.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/cloudScript/ExecuteFunctionRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/GetContentDataRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/content/GetFileUploadInfoListRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetAnalyticsRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetBackupStatisticsLeaderboardVersionRequestHandler.d.ts +18 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetEventCallbackCloudScriptRequestHandler.d.ts +15 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetServerGameDataRequestHandler.d.ts +34 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetServerLogRequestHandler.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/GetUsernameAdminAccountRequestHandler.d.ts +16 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/GrantSecretInfoRequestHandler.d.ts +4 -1
- package/dist/GN-app-api/handler/controller/handler/dashboard/ResetStatisticsLeaderboardRequestHandler.d.ts +20 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetEventCallbackCloudScriptRequestHandler.d.ts +17 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetMasterGameSettingsRequestHandler.d.ts +4 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/AuthenticatePermissionRulesParam.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterPlayerPermissionRulesParam.d.ts +3 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/ContentPermissionRulesParam.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/CurrencySettingsParam.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/EmailSettingsParam.d.ts +4 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/GamePlayerPermissionRulesParam.d.ts +3 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/GroupPermissionRulesParam.d.ts +3 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/InventoryPermissionRulesParam.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterAdminPermissionRulesParam.d.ts +6 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/MasterPlayerPermissionRulesParam.d.ts +16 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/MatchmakingQueueSettingsParam.d.ts +4 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/MultiplayerPermissionRulesParam.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/PushNotificationSettingsParam.d.ts +5 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/StatisticsSettingsParam.d.ts +3 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/StoreInventoryPermissionRulesParam.d.ts +3 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/TagSettingsParam.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyAppleSettingsParam.d.ts +3 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyGameCenterSettingsParam.d.ts +3 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyGooglePlayGameSettingsParam.d.ts +6 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyGoogleSettingsParam.d.ts +3 -3
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/ThirtPartyParam.d.ts +4 -0
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCreateLeaderboardRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCurrencyLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetFriendStatisticsLeaderboardRequestHandler.d.ts +2 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetPlayerCurrencyRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/SetPlayerStatisticsRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/model/PlayerDataParam.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetCreateLeaderboardRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/group/GetCurrencyLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/group/GroupBaseRequestHandler.d.ts +1 -1
- package/dist/GN-app-api/handler/controller/handler/group/SetGroupCurrencyRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/group/SetGroupStatisticsRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/group/model/GroupDataParam.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetCreateLeaderboardRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/inventory/SetItemStatisticsRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/inventory/model/ItemDataParam.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/AddPushNotificationRequestHandler.d.ts +20 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCreateLeaderboardRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCurrencyLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetLastLoginLeaderboardRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGameCenterRequestHandler.d.ts +20 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPlayersWithGooglePlayGameServiceRequestHandler.d.ts +20 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetPushNotificationRequestHandler.d.ts +18 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGameCenterRequestHandler.d.ts +25 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/LinkGooglePlayGameServiceRequestHandler.d.ts +20 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/MasterPlayerBaseRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/RemovePushNotificationRequestHandler.d.ts +19 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendEmailRequestHandler.d.ts +20 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendPushNotificationRequestHandler.d.ts +25 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SendSocketOperationEventRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetPlayerCurrencyRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/SetPlayerStatisticsRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGameCenterRequestHandler.d.ts +19 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/UnlinkGooglePlayGameServiceRequestHandler.d.ts +19 -0
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/model/InfoRequestParam.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/multiplayer/GetAllMatchRequestHandler.d.ts +20 -0
- package/dist/GN-app-api/handler/controller/handler/multiplayer/GetAllMatchmakingTicketRequestHandler.d.ts +21 -0
- package/dist/GN-app-api/handler/controller/handler/multiplayer/MatchmakingHandler.d.ts +2 -2
- package/dist/GN-app-api/handler/controller/handler/storeInventory/BuyStoreItemRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GetCreateLeaderboardRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreLogRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GrantStoreItemRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/PresentStoreItemRequestHandler.d.ts +21 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/SetStoreItemInformationRequestHandler.d.ts +8 -8
- package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateAppleAppStoreReceiptRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateFacebookStoreReceiptRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/ValidateGooglePlayStoreReceiptRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/model/InAppPurchaseParam.d.ts +4 -3
- package/dist/GN-app-api/service/AnalyticsService.d.ts +4 -2
- package/dist/GN-app-api/service/AppleService.d.ts +16 -4
- package/dist/GN-app-api/service/CloudScriptService.d.ts +14 -2
- package/dist/GN-app-api/service/CountryIPDetailService.d.ts +11 -0
- package/dist/GN-app-api/service/EventCallbackService.d.ts +103 -0
- package/dist/GN-app-api/service/GameCenterService.d.ts +19 -0
- package/dist/GN-app-api/service/GenericService.d.ts +3 -2
- package/dist/GN-app-api/service/GooglePlayGameService.d.ts +21 -0
- package/dist/GN-app-api/service/IAnalyticsService.d.ts +13 -2
- package/dist/GN-app-api/service/ICloudScriptService.d.ts +3 -1
- package/dist/GN-app-api/service/ICountryIPDetailService.d.ts +20 -0
- package/dist/GN-app-api/service/IGameCenterService.d.ts +13 -0
- package/dist/GN-app-api/service/IGenericService.d.ts +6 -3
- package/dist/GN-app-api/service/IGooglePlayGameService.d.ts +5 -0
- package/dist/GN-common/constant/Commands.d.ts +1 -0
- package/dist/GN-common/constant/OperationCode.d.ts +29 -0
- package/dist/GN-common/constant/enumType/OwnerType.d.ts +2 -1
- package/dist/GN-common/constant/enumType/PushPlatformType.d.ts +4 -0
- package/dist/GN-common/constant/enumType/StoreReceiveType.d.ts +7 -0
- package/dist/GN-common/constant/errorCode/GNErrorCode.d.ts +2 -0
- package/dist/GN-common/constant/parameterCode/GNParameterCode.d.ts +120 -1
- package/dist/GN-common/entity/SecretInfo.d.ts +48 -1
- package/dist/GN-common/helper/StringUtility.d.ts +1 -1
- package/dist/GN-library/xcachedata/lib/xCacheData.d.ts +1 -0
- package/dist/GN-library/xconfig/lib/xConfig.d.ts +2 -1
- package/dist/GN-library/xdatabase/lib/entity/pro/ExternalItem.d.ts +10 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/IPDetailItem.d.ts +5 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/MasterPlayer.d.ts +13 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/MongoObject.d.ts +2 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/PushNotificationItem.d.ts +5 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/StoreInventory.d.ts +1 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/findOptions/MasterPlayerFindOptions.d.ts +2 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/masterAdmin/MasterGameSettings.d.ts +10 -0
- package/dist/GN-library/xdatabase/lib/xDatabase.d.ts +113 -10
- package/dist/GN-library/xdebug/lib/xDebug.d.ts +1 -0
- package/dist/GN-library/xmail/lib/xMail.d.ts +3 -1
- package/dist/GN-library/xnotification/lib/xPushNotification.d.ts +27 -0
- package/dist/GN-library/xsettings/lib/entity/xCurrencySettings.d.ts +2 -0
- package/dist/GN-library/xsettings/lib/entity/xEmailSettings.d.ts +4 -0
- package/dist/GN-library/xsettings/lib/entity/xPushNotificationSettings.d.ts +5 -0
- package/dist/GN-library/xsettings/lib/entity/xStatisticsSettings.d.ts +3 -0
- package/dist/GN-library/xsettings/lib/entity/xTagSettings.d.ts +1 -0
- package/dist/GN-library/xsettings/lib/entity/xThirtPartySettings.d.ts +12 -0
- package/dist/GN-startup/DefaultApplicationStartup.d.ts +1 -2
- package/dist/GN-startup/HttpApp.d.ts +0 -3
- package/dist/GN-startup/ServerApplication.d.ts +0 -4
- package/dist/GN-startup/cloudScript/eventCallbackCloudScriptData.json +1818 -0
- package/dist/GN-startup/cloudScript/templateCloudScript.ts +567 -0
- package/dist/GN-startup/cloudScript/templateEventCallback.ts +798 -0
- package/dist/GN-startup/middleware/AntiDdosMiddleware.d.ts +4 -1
- package/dist/GN-startup/middleware/ApiMiddleware.d.ts +1 -0
- package/dist/GN-startup/routes/AdminAppHandler.d.ts +0 -31
- package/dist/GN-startup/settings/DDosSettings.d.ts +3 -0
- package/dist/GN-startup/settings/OtherSettings.d.ts +6 -0
- package/dist/GNServer.d.ts +30 -4
- package/dist/index.d.ts +144 -6
- package/dist/index.js +21329 -6740
- package/gn.sh +7 -10
- package/package.json +24 -27
- package/syncCode.js +341 -341
- package/syncCodeVer2.js +176 -0
- package/dist/GN-startup/cloudScript/template.ts +0 -126
- package/dist/GN-startup/routes/www/public/admin/debug-common.js +0 -1233
- package/dist/GN-startup/routes/www/public/admin/index-common.js +0 -217
- package/dist/GN-startup/routes/www/public/admin/log-common.js +0 -52
- package/dist/GN-startup/routes/www/public/admin/signin-common.js +0 -35
- package/dist/GN-startup/routes/www/public/assets/demo/chart-area-demo.js +0 -54
- package/dist/GN-startup/routes/www/public/assets/demo/chart-bar-demo.js +0 -46
- package/dist/GN-startup/routes/www/public/assets/demo/chart-pie-demo.js +0 -16
- package/dist/GN-startup/routes/www/public/assets/demo/datatables-demo.js +0 -4
- package/dist/GN-startup/routes/www/public/assets/img/error-404-monochrome.svg +0 -1
- package/dist/GN-startup/routes/www/public/css/styles.css +0 -11701
- package/dist/GN-startup/routes/www/public/favicon.ico +0 -0
- package/dist/GN-startup/routes/www/public/favicon.png +0 -0
- package/dist/GN-startup/routes/www/public/js/scripts.js +0 -26
- package/dist/GN-startup/routes/www/views/101.ejs +0 -21
- package/dist/GN-startup/routes/www/views/401.ejs +0 -25
- package/dist/GN-startup/routes/www/views/403.ejs +0 -21
- package/dist/GN-startup/routes/www/views/404.ejs +0 -25
- package/dist/GN-startup/routes/www/views/500.ejs +0 -25
- package/dist/GN-startup/routes/www/views/admin/change-password.ejs +0 -46
- package/dist/GN-startup/routes/www/views/admin/debug.ejs +0 -14
- package/dist/GN-startup/routes/www/views/admin/index.ejs +0 -28
- package/dist/GN-startup/routes/www/views/admin/log.ejs +0 -16
- package/dist/GN-startup/routes/www/views/admin/signin.ejs +0 -56
- package/dist/GN-startup/routes/www/views/layout.ejs +0 -8
- package/dist/GN-startup/routes/www/views/partials/areachart.ejs +0 -9
- package/dist/GN-startup/routes/www/views/partials/areachartccu.ejs +0 -9
- package/dist/GN-startup/routes/www/views/partials/barchart.ejs +0 -9
- package/dist/GN-startup/routes/www/views/partials/barcharttotal.ejs +0 -9
- package/dist/GN-startup/routes/www/views/partials/common/footer.ejs +0 -14
- package/dist/GN-startup/routes/www/views/partials/common/head.ejs +0 -11
- package/dist/GN-startup/routes/www/views/partials/dau.ejs +0 -41
- package/dist/GN-startup/routes/www/views/partials/debugboard.ejs +0 -90
- package/dist/GN-startup/routes/www/views/partials/description.ejs +0 -20
- package/dist/GN-startup/routes/www/views/partials/logtable.ejs +0 -50
- package/dist/GN-startup/routes/www/views/partials/piechart.ejs +0 -7
- package/dist/GN-startup/routes/www/views/partials/sidenav.ejs +0 -83
- package/dist/GN-startup/routes/www/views/partials/topnav.ejs +0 -53
- 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.
|
|
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
|
|
11
|
-
"
|
|
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.
|
|
21
|
-
"@types/express": "^
|
|
22
|
-
"@types/
|
|
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.
|
|
27
|
-
"@types/multer": "^1.4.
|
|
28
|
-
"mocha": "^
|
|
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.
|
|
33
|
-
"typescript": "^5.
|
|
34
|
-
"webpack": "^5.
|
|
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.
|
|
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
|
-
"@
|
|
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.
|
|
46
|
+
"axios": "^1.7.9",
|
|
48
47
|
"bcrypt": "^5.1.1",
|
|
49
|
-
"cookie-parser": "^1.4.
|
|
48
|
+
"cookie-parser": "^1.4.7",
|
|
50
49
|
"cors": "^2.8.5",
|
|
51
50
|
"crypto-js": "^4.2.0",
|
|
52
|
-
"
|
|
53
|
-
"express": "^
|
|
54
|
-
"
|
|
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.
|
|
59
|
+
"mongodb": "^6.12.0",
|
|
63
60
|
"multer": "^1.4.5-lts.1",
|
|
64
|
-
"reflect-metadata": "^0.
|
|
65
|
-
"socket.io": "^4.
|
|
61
|
+
"reflect-metadata": "^0.2.2",
|
|
62
|
+
"socket.io": "^4.8.1"
|
|
66
63
|
},
|
|
67
64
|
"repository": {
|
|
68
65
|
"type": "git",
|