@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.
- package/index.mjs +1 -1
- 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`);
|