@xuda.io/account_module 1.2.54 → 1.2.56

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/index.js +6 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1462,6 +1462,12 @@ exports.get_prices = async function (uid, item) {
1462
1462
  price = 0;
1463
1463
  break;
1464
1464
  }
1465
+
1466
+ if (_conf.PRICE_OBJ.server_slugs[item]) {
1467
+ price = _conf.PRICE_OBJ.server_slugs[item].price;
1468
+ }
1469
+
1470
+ return price;
1465
1471
  };
1466
1472
  // setTimeout(async () => {
1467
1473
  // const uid = "0489f946c213947316647b468f029ed9"; //"aecc740881fd0a35098c738652000fab";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.54",
3
+ "version": "1.2.56",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {