multi-db-orm 2.1.0 → 2.1.1

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.
@@ -28,12 +28,12 @@ class OracleDB extends MultiDbORM {
28
28
  net_service_name,
29
29
  wallet_dir,
30
30
  connection_pool_name,
31
- walletPassword }) {
31
+ wallet_password }) {
32
32
  super()
33
33
  const oracledb = require('oracledb')
34
34
  const oracleInstantClient = require("oracle-instantclient");
35
- if (!walletPassword)
36
- walletPassword = password
35
+ if (!wallet_password)
36
+ wallet_password = password
37
37
  process.env.LD_LIBRARY_PATH = oracleInstantClient.path
38
38
  process.env.TS_ADMIN = wallet_dir
39
39
  oracledb.initOracleClient({
@@ -62,7 +62,7 @@ class OracleDB extends MultiDbORM {
62
62
  password: password,
63
63
  configDir: wallet_dir,
64
64
  walletLocation: wallet_dir,
65
- walletPassword: password,
65
+ walletPassword: wallet_password,
66
66
  connectString: net_service_name,
67
67
  poolAlias: this.connection_pool_name
68
68
  }).then(async (pool) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-db-orm",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "CRUD , Backup , Restore and Migration library for multiple databases",
5
5
  "main": "index.js",
6
6
  "dependencies": {