@xuda.io/account_module 1.2.519 → 1.2.521

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 +3 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,11 +1,9 @@
1
1
  import path from 'path';
2
2
  import _ from 'lodash';
3
- // import { removeBackground } from '@imgly/background-removal-node';
4
- // import fs from 'node:fs';
5
-
6
- // import os from 'os';
7
3
  import { exec } from 'child_process';
8
4
  import util from 'util';
5
+ import { parsePhoneNumber } from 'libphonenumber-js';
6
+ import { countryCodeEmoji } from 'country-code-emoji';
9
7
 
10
8
  // Convert exec to a promise for cleaner async/await usage
11
9
  const execAsync = util.promisify(exec);
@@ -1278,7 +1276,7 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
1278
1276
 
1279
1277
  doc.telephone = account_info_ret.data.phone;
1280
1278
 
1281
- doc.online = true;
1279
+ // doc.online = true;
1282
1280
  if (doc.team_req_id) {
1283
1281
  try {
1284
1282
  const req_doc = await db_module.get_couch_doc_native('xuda_team', doc.team_req_id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.519",
3
+ "version": "1.2.521",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {