@xuda.io/account_module 1.2.166 → 1.2.167

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.mjs +7 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -511,7 +511,8 @@ export const get_account_name = async function (req) {
511
511
  username: '',
512
512
  };
513
513
  if ((data.data.account_info, email, phone, profile_picture, username)) {
514
- const { first_name, last_name, website, country, bio } = data.data.account_info;
514
+ const { first_name, last_name, website, country, bio, industry } = data.data.account_info;
515
+ const { membership_plan, support_plan, storage_plan, date_created } = data.data;
515
516
  obj = {
516
517
  first_name,
517
518
  last_name,
@@ -522,6 +523,11 @@ export const get_account_name = async function (req) {
522
523
  website,
523
524
  country,
524
525
  bio,
526
+ industry,
527
+ membership_plan,
528
+ support_plan,
529
+ storage_plan,
530
+ date_created,
525
531
  };
526
532
  }
527
533
  return { code: 1, data: obj };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.166",
3
+ "version": "1.2.167",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {