@xuda.io/ai_module 1.1.5331 → 1.1.5333

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2102,6 +2102,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
2102
2102
  doc.reference_doc = reference_doc;
2103
2103
  doc.stat = reference_doc.stat;
2104
2104
  }
2105
+ debugger;
2105
2106
  // purchased
2106
2107
  if (doc.studio_meta.installed_from_uid && doc.studio_meta.installed_from_app_id) {
2107
2108
  reference_doc = _.cloneDeep(doc);
@@ -5441,6 +5442,7 @@ export const create_avatar = async function (req, job_id, headers) {
5441
5442
  const account_info = account_obj.account_info;
5442
5443
 
5443
5444
  // check credits
5445
+ await validate_credits_limit(uid);
5444
5446
 
5445
5447
  if (!metadata) {
5446
5448
  metadata = account_info;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5331",
3
+ "version": "1.1.5333",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",