@xuda.io/account_module 1.2.248 → 1.2.249

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1559,7 +1559,7 @@ const removeBg = async function (inputPath, url, outputPath) {
1559
1559
  throw new Error(`Failed to fetch image URL: ${res.status} ${res.statusText}`);
1560
1560
  }
1561
1561
  const arrayBuffer = await res.arrayBuffer();
1562
- const fullImgBuffer = Buffer.from(arrayBuffer);
1562
+ imageBuffer = Buffer.from(arrayBuffer);
1563
1563
  }
1564
1564
  const blob = await removeBackground(imageBuffer);
1565
1565
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.248",
3
+ "version": "1.2.249",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {