@xmobitea/gn-server 2.6.10 → 2.6.13
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/LICENSE +1 -1
- package/dist/GN-app-api/service/CacheService.d.ts +3 -1
- package/dist/GN-app-api/service/EventCallbackService.d.ts +6 -0
- package/dist/GN-common/constant/parameterCode/ParameterCode.d.ts +0 -1
- package/dist/GN-common/helper/StringUtility.d.ts +1 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/Group.d.ts +4 -2
- package/dist/GN-library/xdatabase/lib/entity/pro/Inventory.d.ts +2 -1
- package/dist/GN-library/xdatabase/lib/entity/pro/MongoObject.d.ts +1 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/PlayerBase.d.ts +4 -2
- package/dist/GN-library/xdatabase/lib/entity/pro/TradeInventory.d.ts +2 -1
- package/dist/GN-library/xdatabase/lib/xDatabase.d.ts +4 -4
- package/dist/GN-startup/cloudScript/CloudScriptAdmin.js +52 -0
- package/dist/GN-startup/cloudScript/CloudScriptDatabase.js +7 -0
- package/dist/GN-startup/cloudScript/CloudScriptDatabase.ts +3 -92
- package/dist/GN-startup/cloudScript/CloudScriptEvent.js +27 -0
- package/dist/GN-startup/cloudScript/CloudScriptHttp.js +61 -0
- package/dist/GN-startup/cloudScript/CloudScriptMail.js +27 -0
- package/dist/GN-startup/cloudScript/CloudScriptMatchmaking.js +15 -0
- package/dist/GN-startup/cloudScript/CloudScriptPushNotification.js +63 -0
- package/dist/GN-startup/cloudScript/CloudScriptSocket.js +60 -0
- package/dist/GN-startup/cloudScript/eventCallbackCloudScriptData.json +1 -1
- package/dist/GN-startup/cloudScript/templateEventCallback.ts +9 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3559 -3191
- package/package.json +25 -22
package/package.json
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmobitea/gn-server",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.13",
|
|
4
4
|
"description": "GearN Server by XmobiTea (Pro)",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "npm run build && npm run debug",
|
|
9
9
|
"debug": "node index.js",
|
|
10
|
-
"build": "rm -rf ./dist && webpack --mode production --stats-modules && npm run
|
|
11
|
-
"build:
|
|
12
|
-
"
|
|
10
|
+
"build": "rm -rf ./dist && webpack --mode production --stats-modules && npm run copy:cloudScriptTemplate",
|
|
11
|
+
"build:tsc": "rm -rf ./dist && tsc",
|
|
12
|
+
"build:cloudScript": "tsc -p ./src/GN-startup/cloudScript/tsconfig.json",
|
|
13
|
+
"copy:cloudScriptTemplate": "node ./syncCodeVer2.js && cp -R ./src/GN-startup/cloudScript ./dist/GN-startup/cloudScript",
|
|
13
14
|
"push": "npm run build && npm publish && git push"
|
|
14
15
|
},
|
|
15
16
|
"author": "Chang X <changx.develop@gmail.com> (https://xmobitea.com)",
|
|
16
17
|
"license": "Apache-2.0",
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@types/bcrypt": "^5.0.2",
|
|
19
|
-
"@types/express": "^
|
|
20
|
-
"@types/jsonwebtoken": "^9.0.
|
|
21
|
-
"@types/multer": "^
|
|
20
|
+
"@types/express": "^4.17.21",
|
|
21
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
22
|
+
"@types/multer": "^2.0.0",
|
|
22
23
|
"@types/node": "^22.10.5",
|
|
23
|
-
"@types/nodemailer": "^
|
|
24
|
+
"@types/nodemailer": "^7.0.5",
|
|
24
25
|
"terser-webpack-plugin": "^5.3.10",
|
|
25
26
|
"ts-loader": "^9.5.1",
|
|
26
27
|
"typescript": "^5.7.2",
|
|
@@ -29,24 +30,26 @@
|
|
|
29
30
|
"webpack-node-externals": "^3.0.0"
|
|
30
31
|
},
|
|
31
32
|
"dependencies": {
|
|
32
|
-
"@msgpack/msgpack": "^
|
|
33
|
-
"@socket.io/mongo-adapter": "^0.
|
|
33
|
+
"@msgpack/msgpack": "^3.1.3",
|
|
34
|
+
"@socket.io/mongo-adapter": "^0.4.0",
|
|
34
35
|
"@socket.io/mongo-emitter": "^0.2.0",
|
|
35
|
-
"@xmobitea/gn-typescript-client": "^2.6.
|
|
36
|
-
"axios": "^1.
|
|
37
|
-
"bcrypt": "^
|
|
36
|
+
"@xmobitea/gn-typescript-client": "^2.6.13",
|
|
37
|
+
"axios": "^1.13.2",
|
|
38
|
+
"bcrypt": "^6.0.0",
|
|
38
39
|
"cors": "^2.8.5",
|
|
39
|
-
"express": "^4.
|
|
40
|
-
"firebase-admin": "^13.
|
|
41
|
-
"jsonwebtoken": "^9.0.
|
|
42
|
-
"jwks-rsa": "^3.1
|
|
40
|
+
"express": "^4.22.1",
|
|
41
|
+
"firebase-admin": "^13.6.1",
|
|
42
|
+
"jsonwebtoken": "^9.0.3",
|
|
43
|
+
"jwks-rsa": "^3.2.1",
|
|
43
44
|
"log4js": "^6.9.1",
|
|
44
|
-
"mongodb": "^6.
|
|
45
|
-
"multer": "^
|
|
46
|
-
"nodemailer": "^7.0.
|
|
45
|
+
"mongodb": "^6.21.0",
|
|
46
|
+
"multer": "^2.0.2",
|
|
47
|
+
"nodemailer": "^7.0.12",
|
|
47
48
|
"reflect-metadata": "^0.2.2",
|
|
48
|
-
"socket.io": "^4.8.
|
|
49
|
-
"systeminformation": "^5.
|
|
49
|
+
"socket.io": "^4.8.3",
|
|
50
|
+
"systeminformation": "^5.30.5",
|
|
51
|
+
"body-parser": "1.20.4",
|
|
52
|
+
"node-forge": "1.3.3"
|
|
50
53
|
},
|
|
51
54
|
"repository": {
|
|
52
55
|
"type": "git",
|