@xuda.io/account_module 1.2.520 → 1.2.522
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.
- package/index.mjs +2 -4
- package/package.json +3 -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);
|
package/package.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xuda.io/account_module",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.522",
|
|
4
4
|
"description": "Xuda Account Server Module",
|
|
5
5
|
"main": "index.mjs",
|
|
6
6
|
"dependencies": {
|
|
7
|
+
"country-code-emoji": "^2.3.0",
|
|
8
|
+
"libphonenumber-js": "^1.12.31",
|
|
7
9
|
"lodash": "^4.17.21",
|
|
8
10
|
"validator": "^13.1.1"
|
|
9
11
|
},
|