@xuda.io/account_module 1.2.276 → 1.2.278

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1124,7 +1124,7 @@ export const merge_contact = async function (req) {
1124
1124
  };
1125
1125
 
1126
1126
  export const get_contacts = async function (req) {
1127
- const { uid, name, limit, skip, bookmark, search } = req;
1127
+ const { uid, name, limit, skip, bookmark, search, with_requests } = req;
1128
1128
  var opt = {
1129
1129
  selector: {
1130
1130
  docType: 'contact',
@@ -1617,7 +1617,6 @@ export const get_user_name = async function (uid) {
1617
1617
  // };
1618
1618
 
1619
1619
  const removeBg = async function (req, job_id, headers) {
1620
- debugger;
1621
1620
  // 1. Load your drive module
1622
1621
  const drive_module = await import(`${module_path}/drive_module/index.mjs`);
1623
1622
 
@@ -1651,6 +1650,7 @@ const removeBg = async function (req, job_id, headers) {
1651
1650
  // 6. EXECUTE REMBG via CLI
1652
1651
  // "rembg i [input] [output]"
1653
1652
  console.log(`Processing with rembg: ${tempInputPath} -> ${tempOutputPath}`);
1653
+ debugger;
1654
1654
  await execAsync(`rembg i "${tempInputPath}" "${tempOutputPath}"`);
1655
1655
 
1656
1656
  // 7. Prepare File Object for Drive Upload
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.276",
3
+ "version": "1.2.278",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {