@xuda.io/account_module 1.2.2007 → 1.2.2009

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 +2 -2
  2. package/package.json +1 -1
package/index_ms.mjs CHANGED
@@ -6,7 +6,7 @@
6
6
  // --- AMQP Connection & Channel ---
7
7
  const conn = await amqplib.connect('amqp://localhost');
8
8
  const channel = await conn.createChannel();
9
- await channel.assertQueue(_account_module-undefined_ch, { durable: false });
9
+ await channel.assertQueue(_account_module-`${global.module_in}_ch`, { durable: false });
10
10
 
11
11
 
12
12
 
@@ -19,7 +19,7 @@ const send_to_queue =async function(ms_method, ...args) {
19
19
  JSON.stringify({
20
20
  ms_method,
21
21
  data: args,
22
- cb:_account_module-undefined_ch
22
+ cb:_account_module-`${global.module_in}_ch`
23
23
  })
24
24
  )
25
25
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2007",
3
+ "version": "1.2.2009",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {