@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.
Files changed (25) hide show
  1. package/LICENSE +1 -1
  2. package/dist/GN-app-api/service/CacheService.d.ts +3 -1
  3. package/dist/GN-app-api/service/EventCallbackService.d.ts +6 -0
  4. package/dist/GN-common/constant/parameterCode/ParameterCode.d.ts +0 -1
  5. package/dist/GN-common/helper/StringUtility.d.ts +1 -0
  6. package/dist/GN-library/xdatabase/lib/entity/pro/Group.d.ts +4 -2
  7. package/dist/GN-library/xdatabase/lib/entity/pro/Inventory.d.ts +2 -1
  8. package/dist/GN-library/xdatabase/lib/entity/pro/MongoObject.d.ts +1 -0
  9. package/dist/GN-library/xdatabase/lib/entity/pro/PlayerBase.d.ts +4 -2
  10. package/dist/GN-library/xdatabase/lib/entity/pro/TradeInventory.d.ts +2 -1
  11. package/dist/GN-library/xdatabase/lib/xDatabase.d.ts +4 -4
  12. package/dist/GN-startup/cloudScript/CloudScriptAdmin.js +52 -0
  13. package/dist/GN-startup/cloudScript/CloudScriptDatabase.js +7 -0
  14. package/dist/GN-startup/cloudScript/CloudScriptDatabase.ts +3 -92
  15. package/dist/GN-startup/cloudScript/CloudScriptEvent.js +27 -0
  16. package/dist/GN-startup/cloudScript/CloudScriptHttp.js +61 -0
  17. package/dist/GN-startup/cloudScript/CloudScriptMail.js +27 -0
  18. package/dist/GN-startup/cloudScript/CloudScriptMatchmaking.js +15 -0
  19. package/dist/GN-startup/cloudScript/CloudScriptPushNotification.js +63 -0
  20. package/dist/GN-startup/cloudScript/CloudScriptSocket.js +60 -0
  21. package/dist/GN-startup/cloudScript/eventCallbackCloudScriptData.json +1 -1
  22. package/dist/GN-startup/cloudScript/templateEventCallback.ts +9 -3
  23. package/dist/index.d.ts +2 -0
  24. package/dist/index.js +3559 -3191
  25. 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.10",
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 copyCloudScriptTemplate",
11
- "build:withoutwebpack": "rm -rf ./dist && tsc",
12
- "copyCloudScriptTemplate": "node ./syncCodeVer2.js && cp -R ./src/GN-startup/cloudScript ./dist/GN-startup/cloudScript",
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": "^5.0.0",
20
- "@types/jsonwebtoken": "^9.0.7",
21
- "@types/multer": "^1.4.12",
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": "^6.4.17",
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": "^2.8.0",
33
- "@socket.io/mongo-adapter": "^0.3.2",
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.10",
36
- "axios": "^1.10.0",
37
- "bcrypt": "^5.1.1",
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.21.2",
40
- "firebase-admin": "^13.0.2",
41
- "jsonwebtoken": "^9.0.2",
42
- "jwks-rsa": "^3.1.0",
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.12.0",
45
- "multer": "^1.4.5-lts.1",
46
- "nodemailer": "^7.0.5",
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.1",
49
- "systeminformation": "^5.25.11"
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",