@xmobitea/gn-server 2.0.5 → 2.0.6

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 (2) hide show
  1. package/dist/index.js +3 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -179,7 +179,7 @@ class LoginBaseRequestHandler extends RequestHandler_1.RequestHandler {
179
179
  answer.countryCode = infoRequestParam.countryCode;
180
180
  if (infoRequestParam.email)
181
181
  answer.email = infoRequestParam.email;
182
- infoRequestParam.playerBan = true;
182
+ answer.playerBan = true;
183
183
  return answer;
184
184
  }
185
185
  generateInfoRequestParamForOwner(secretInfo, infoRequestParam) {
@@ -70250,9 +70250,8 @@ class xDatabase {
70250
70250
  let answer = {};
70251
70251
  let keys = Object.keys(findOptions);
70252
70252
  keys.forEach((key) => {
70253
- let value = findOptions[key];
70254
- if (value == true)
70255
- answer[key] = value;
70253
+ if (findOptions[key] == true)
70254
+ answer[key] = true;
70256
70255
  });
70257
70256
  return answer;
70258
70257
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmobitea/gn-server",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Game Networking Server by XmobiTea (Pro)",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",