@xuda.io/drive_module 1.1.1227 → 1.1.1229

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -23,8 +23,8 @@ const require = createRequire(import.meta.url);
23
23
  // Load Globals
24
24
  global._conf = require(path.join(process.env.XUDA_HOME, process.env.XUDA_CONFIG));
25
25
 
26
- const _common = require(path.join(process.env.XUDA_HOME, 'common', 'xuda_node_common.mjs'));
27
- const _utils = require(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi-utils.mjs'));
26
+ const _common = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda_node_common.mjs'));
27
+ const _utils = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi-utils.mjs'));
28
28
 
29
29
  const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ? '/node_modules/@xuda.io' : '');
30
30
  const fs_module = require(`${module_path}/fs_module`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1227",
3
+ "version": "1.1.1229",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {