@xuda.io/account_module 1.2.2201 → 1.2.2203

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1793,6 +1793,16 @@ export const onboarding_completed = async function (req, job_id, headers) {
1793
1793
  account_doc.isBoarded = true;
1794
1794
  const save_ret = await db_module.save_couch_doc('xuda_accounts', account_doc);
1795
1795
 
1796
+ return notification_msa.submit_notification({
1797
+ type: 'account',
1798
+ app_id: null,
1799
+ uid_arr: [id],
1800
+ topic,
1801
+ params,
1802
+ ref: null,
1803
+ email: null,
1804
+ });
1805
+
1796
1806
  return save_ret;
1797
1807
  } catch (err) {
1798
1808
  return { code: -44, data: err.message };
@@ -1903,7 +1913,7 @@ setTimeout(async () => {
1903
1913
  const uid = 'd39126e0e2c51ffbd1aad10709fc8335';
1904
1914
 
1905
1915
  let ret;
1906
- read_accounts_emails();
1916
+ // read_accounts_emails();
1907
1917
  // ret = await get_account_ai_usage({ uid }, 111);
1908
1918
  // ret = await set_deep_research_contact({ uid, contact_id: 'cnt_c07049718613a11d164e90450d5f9902' });
1909
1919
  // ret = await generate_contact_avatar({ uid, contact_id: 'cnt_c07049718613a11d164e90450d5f2742' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2201",
3
+ "version": "1.2.2203",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {