@samet-it/be-couchbase-common 1.3.2 → 1.3.3

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.
@@ -66,21 +66,21 @@ class CbConnection extends be_db_common_1.DbConnection {
66
66
  * Read configuration by variant
67
67
  * */
68
68
  _readEnv() {
69
- var _a, _b, _c, _d, _e, _f, _g, _h;
69
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
70
70
  const { _props: props } = this;
71
71
  let env = config_1.couchbaseCommonConfig.value;
72
72
  if (props.envVariant) {
73
73
  env = config_1.couchbaseCommonConfig.configure.getVariation(props.envVariant).value;
74
74
  }
75
- props.isEnabled = props.isEnabled == env.ENABLED;
76
- props.protocol = (_a = props.protocol) !== null && _a !== void 0 ? _a : env.PROTOCOL;
77
- props.host = (_b = props.host) !== null && _b !== void 0 ? _b : env.HOST;
78
- props.port = (_c = props.port) !== null && _c !== void 0 ? _c : env.PORT;
79
- props.username = (_d = props.username) !== null && _d !== void 0 ? _d : env.USER;
80
- props.password = (_e = props.password) !== null && _e !== void 0 ? _e : env.PASS;
81
- props.bucketName = (_f = props.bucketName) !== null && _f !== void 0 ? _f : env.BUCKET;
82
- props.scopeName = (_g = props.scopeName) !== null && _g !== void 0 ? _g : env.SCOPE;
83
- props.createIndices = (_h = props.createIndices) !== null && _h !== void 0 ? _h : env.CREATE_INDICES;
75
+ props.isEnabled = (_a = props.isEnabled) !== null && _a !== void 0 ? _a : env.ENABLED;
76
+ props.protocol = (_b = props.protocol) !== null && _b !== void 0 ? _b : env.PROTOCOL;
77
+ props.host = (_c = props.host) !== null && _c !== void 0 ? _c : env.HOST;
78
+ props.port = (_d = props.port) !== null && _d !== void 0 ? _d : env.PORT;
79
+ props.username = (_e = props.username) !== null && _e !== void 0 ? _e : env.USER;
80
+ props.password = (_f = props.password) !== null && _f !== void 0 ? _f : env.PASS;
81
+ props.bucketName = (_g = props.bucketName) !== null && _g !== void 0 ? _g : env.BUCKET;
82
+ props.scopeName = (_h = props.scopeName) !== null && _h !== void 0 ? _h : env.SCOPE;
83
+ props.createIndices = (_j = props.createIndices) !== null && _j !== void 0 ? _j : env.CREATE_INDICES;
84
84
  }
85
85
  get _connectionDelay() {
86
86
  return this._delayWithJitter(this._props.connectTryCount, CbConnection.CONN_BASE_DELAY, CbConnection.CONN_MAX_DELAY);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samet-it/be-couchbase-common",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Couchbase common component",
5
5
  "keywords": [
6
6
  "Couchbase"