@xuda.io/notification_module 1.1.86 → 1.1.87

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -11,7 +11,7 @@ const require = createRequire(import.meta.url);
11
11
  // Load Globals
12
12
  global._conf = require(path.join(process.env.XUDA_HOME, process.env.XUDA_CONFIG));
13
13
 
14
- const _common = require(path.join(process.env.XUDA_HOME, 'common', 'xuda_node_common.mjs'));
14
+ const _common = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda_node_common.mjs'));
15
15
  const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ? '/node_modules/@xuda.io' : '');
16
16
  const db_module = require(`${module_path}/db_module`);
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/notification_module",
3
- "version": "1.1.86",
3
+ "version": "1.1.87",
4
4
  "description": "Xuda Notification Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {