@xuda.io/ai_module 1.1.4555 → 1.1.4556

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
@@ -6474,7 +6474,7 @@ function normalizeFilename(name) {
6474
6474
  .replace(/^_+|_+$/g, ''); // trim leading/trailing underscores
6475
6475
  }
6476
6476
 
6477
- export const get_profile_picture = async function (uid, account_type = 'business', name, metadata = {}, account_profile_info, job_id, headers) {
6477
+ export const get_profile_picture = async function (uid, account_type = 'business', name, metadata = {}, account_profile_info, job_id, headers = {}) {
6478
6478
  const tempDir = os.tmpdir();
6479
6479
  const uniqueId = Date.now() + '_' + Math.random().toString(36).substring(7);
6480
6480
  const tempOutputPath = path.join(tempDir, `output_${uniqueId}.png`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4555",
3
+ "version": "1.1.4556",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",