@xuda.io/account_module 1.2.33 → 1.2.35

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 +5 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1393,7 +1393,11 @@ exports.get_account_rt_info = async function (uid) {
1393
1393
  return account_info;
1394
1394
  };
1395
1395
 
1396
- exports.validate_account_topup = async function (uid) {};
1396
+ exports.validate_account_topup = async function (uid) {
1397
+ const account_module = require(`${module_path}/account_module`);
1398
+
1399
+ const billing_metrics_ret = await account_module.get_billing_metrics({ uid });
1400
+ };
1397
1401
 
1398
1402
  // setTimeout(async () => {
1399
1403
  // 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.33",
3
+ "version": "1.2.35",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {