@xuda.io/account_module 1.2.32 → 1.2.34

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
@@ -1393,6 +1393,12 @@ 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) {
1397
+ const account_module = require(`${module_path}/account_module`);
1398
+
1399
+ const billing_metrics_ret = await account_module.get_billing_metrics({ uid });
1400
+ };
1401
+
1396
1402
  // setTimeout(async () => {
1397
1403
  // const uid = "0489f946c213947316647b468f029ed9"; //"aecc740881fd0a35098c738652000fab";
1398
1404
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.32",
3
+ "version": "1.2.34",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {