@xuda.io/ai_module 1.1.4555 → 1.1.4557

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 +11 -11
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5255,16 +5255,16 @@ setTimeout(async () => {
5255
5255
  // },
5256
5256
  // });
5257
5257
 
5258
- ret = await get_profile_picture(
5259
- uid,
5260
- 'business',
5261
- 'docxsite',
5262
- {
5263
- email: '',
5264
- body: '',
5265
- },
5266
- account_profile_info,
5267
- );
5258
+ // ret = await get_profile_picture(
5259
+ // uid,
5260
+ // 'business',
5261
+ // 'docxsite',
5262
+ // {
5263
+ // email: '',
5264
+ // body: '',
5265
+ // },
5266
+ // account_profile_info,
5267
+ // );
5268
5268
 
5269
5269
  // ret =await get_business_info(uid, 'docxsite', 'info@docxsite.com', account_profile_info);
5270
5270
 
@@ -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.4557",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",