@xuda.io/account_module 1.2.2053 → 1.2.2054

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_ms.mjs +3 -1
  2. package/package.json +1 -1
package/index_ms.mjs CHANGED
@@ -5,9 +5,11 @@
5
5
 
6
6
  import path from 'node:path';
7
7
 
8
- global.queueName = 'account_module';
8
+ // global.queueName="account_module";
9
9
  const _ms_broker = await import(path.join(process.env.XUDA_HOME, 'common', 'ms_broker.mjs'));
10
10
 
11
+ _ms_broker.init({ queueName });
12
+
11
13
  export const update_account_info = async function (...args) {
12
14
  return await _ms_broker.send_to_queue('update_account_info', ...args);
13
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2053",
3
+ "version": "1.2.2054",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {