@xuda.io/account_module 1.2.148 → 1.2.150
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.
- package/index.mjs +2 -2
- package/package.json +1 -1
- package/index copy.js +0 -1467
package/index.mjs
CHANGED
|
@@ -8,8 +8,8 @@ const require = createRequire(import.meta.url);
|
|
|
8
8
|
// Load Globals and Config
|
|
9
9
|
global._conf = require(path.join(process.env.XUDA_HOME, process.env.XUDA_CONFIG));
|
|
10
10
|
|
|
11
|
-
const _common =
|
|
12
|
-
const _utils = require(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi-utils.
|
|
11
|
+
const _common = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda_node_common.mjs'));
|
|
12
|
+
const _utils = require(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi-utils.mjs'));
|
|
13
13
|
|
|
14
14
|
// Module Paths
|
|
15
15
|
const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ? '/node_modules/@xuda.io' : '');
|