@sqb/connect 5.0.5 → 5.0.6

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.
@@ -20,6 +20,7 @@ export declare class SqbClient extends SqbClient_base {
20
20
  private readonly _pool;
21
21
  private readonly _defaults;
22
22
  private readonly _entities;
23
+ readonly config: ClientConfiguration;
23
24
  constructor(config: ClientConfiguration);
24
25
  get defaults(): ClientDefaults;
25
26
  /**
@@ -13,10 +13,12 @@ export class SqbClient extends TypedEventEmitterClass(AsyncEventEmitter) {
13
13
  _pool;
14
14
  _defaults;
15
15
  _entities = {};
16
+ config;
16
17
  constructor(config) {
17
18
  super();
18
19
  if (!(config && typeof config === 'object'))
19
20
  throw new TypeError('Configuration object required');
21
+ this.config = config;
20
22
  let adapter;
21
23
  if (config.driver) {
22
24
  adapter = AdapterRegistry.findDriver(config.driver);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sqb/connect",
3
3
  "description": "Multi-dialect database connection framework written with TypeScript",
4
- "version": "5.0.5",
4
+ "version": "5.0.6",
5
5
  "author": "Panates",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {
@@ -21,7 +21,7 @@
21
21
  "tslib": "^2.8.1"
22
22
  },
23
23
  "peerDependencies": {
24
- "@sqb/builder": "^5.0.5",
24
+ "@sqb/builder": "^5.0.6",
25
25
  "reflect-metadata": "^0.2.2"
26
26
  },
27
27
  "type": "module",