@sqb/nestjs 4.5.5 → 4.5.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.
- package/cjs/sqb-core.module.js +1 -7
- package/esm/sqb-core.module.js +1 -7
- package/esm/sqb.interface.d.ts +1 -1
- package/package.json +10 -10
package/cjs/sqb-core.module.js
CHANGED
|
@@ -37,13 +37,7 @@ let SqbCoreModule = SqbCoreModule_1 = class SqbCoreModule {
|
|
|
37
37
|
const connectionProvider = {
|
|
38
38
|
provide: (0, sqb_utils_js_1.getSQBToken)(options.name),
|
|
39
39
|
inject: [sqb_constants_js_1.SQB_MODULE_OPTIONS],
|
|
40
|
-
useFactory: async (sqbOptions) =>
|
|
41
|
-
const name = options.name || sqbOptions.name;
|
|
42
|
-
return this.createConnection({
|
|
43
|
-
...sqbOptions,
|
|
44
|
-
name
|
|
45
|
-
});
|
|
46
|
-
}
|
|
40
|
+
useFactory: async (sqbOptions) => this.createConnection(sqbOptions)
|
|
47
41
|
};
|
|
48
42
|
const asyncProviders = this.createAsyncProviders(options);
|
|
49
43
|
return {
|
package/esm/sqb-core.module.js
CHANGED
|
@@ -34,13 +34,7 @@ let SqbCoreModule = SqbCoreModule_1 = class SqbCoreModule {
|
|
|
34
34
|
const connectionProvider = {
|
|
35
35
|
provide: getSQBToken(options.name),
|
|
36
36
|
inject: [SQB_MODULE_OPTIONS],
|
|
37
|
-
useFactory: async (sqbOptions) =>
|
|
38
|
-
const name = options.name || sqbOptions.name;
|
|
39
|
-
return this.createConnection({
|
|
40
|
-
...sqbOptions,
|
|
41
|
-
name
|
|
42
|
-
});
|
|
43
|
-
}
|
|
37
|
+
useFactory: async (sqbOptions) => this.createConnection(sqbOptions)
|
|
44
38
|
};
|
|
45
39
|
const asyncProviders = this.createAsyncProviders(options);
|
|
46
40
|
return {
|
package/esm/sqb.interface.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqb/nestjs",
|
|
3
3
|
"description": "Nestjs module for data connection using SQB",
|
|
4
|
-
"version": "4.5.
|
|
4
|
+
"version": "4.5.6",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Eray Hanoglu <e.hanoglu@panates.com>",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"reflect-metadata": "^0.1.13"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@nestjs/common": "^9.
|
|
36
|
-
"@nestjs/core": "^9.
|
|
37
|
-
"@nestjs/platform-express": "^9.
|
|
38
|
-
"@nestjs/testing": "^9.
|
|
39
|
-
"postgresql-client": "^2.5.
|
|
40
|
-
"rxjs": "^7.
|
|
41
|
-
"supertest": "^6.3.
|
|
35
|
+
"@nestjs/common": "^9.3.8",
|
|
36
|
+
"@nestjs/core": "^9.3.8",
|
|
37
|
+
"@nestjs/platform-express": "^9.3.8",
|
|
38
|
+
"@nestjs/testing": "^9.3.8",
|
|
39
|
+
"postgresql-client": "^2.5.2",
|
|
40
|
+
"rxjs": "^7.8.0",
|
|
41
|
+
"supertest": "^6.3.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@nestjs/common": ">=7.4.0",
|
|
45
45
|
"@nestjs/core": ">=7.4.0",
|
|
46
|
-
"@sqb/builder": "^4.5.
|
|
47
|
-
"@sqb/connect": "^4.5.
|
|
46
|
+
"@sqb/builder": "^4.5.6",
|
|
47
|
+
"@sqb/connect": "^4.5.6",
|
|
48
48
|
"rxjs": ">=6.6.0"
|
|
49
49
|
},
|
|
50
50
|
"type": "module",
|