@sqb/nestjs 4.10.3 → 4.10.5
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 +3 -1
- package/esm/sqb-core.module.js +4 -2
- package/package.json +3 -3
package/cjs/sqb-core.module.js
CHANGED
|
@@ -7,6 +7,7 @@ const crypto = tslib_1.__importStar(require("crypto"));
|
|
|
7
7
|
const rxjs_1 = require("rxjs");
|
|
8
8
|
const rxjs = tslib_1.__importStar(require("rxjs"));
|
|
9
9
|
const common_1 = require("@nestjs/common");
|
|
10
|
+
const core_1 = require("@nestjs/core");
|
|
10
11
|
const connect_1 = require("@sqb/connect");
|
|
11
12
|
const sqb_constants_js_1 = require("./sqb.constants.js");
|
|
12
13
|
const sqb_utils_js_1 = require("./sqb.utils.js");
|
|
@@ -116,5 +117,6 @@ exports.SqbCoreModule = SqbCoreModule;
|
|
|
116
117
|
exports.SqbCoreModule = SqbCoreModule = SqbCoreModule_1 = tslib_1.__decorate([
|
|
117
118
|
(0, common_1.Global)(),
|
|
118
119
|
(0, common_1.Module)({}),
|
|
119
|
-
tslib_1.__param(0, (0, common_1.Inject)(sqb_constants_js_1.SQB_MODULE_OPTIONS))
|
|
120
|
+
tslib_1.__param(0, (0, common_1.Inject)(sqb_constants_js_1.SQB_MODULE_OPTIONS)),
|
|
121
|
+
tslib_1.__metadata("design:paramtypes", [Object, core_1.ModuleRef])
|
|
120
122
|
], SqbCoreModule);
|
package/esm/sqb-core.module.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
var SqbCoreModule_1;
|
|
2
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
+
import { __decorate, __metadata, __param } from "tslib";
|
|
3
3
|
import * as crypto from 'crypto';
|
|
4
4
|
import { defer } from 'rxjs';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Global, Inject, Module } from '@nestjs/common';
|
|
7
|
+
import { ModuleRef } from '@nestjs/core';
|
|
7
8
|
import { SqbClient } from '@sqb/connect';
|
|
8
9
|
import { SQB_MODULE_ID, SQB_MODULE_OPTIONS, } from './sqb.constants.js';
|
|
9
10
|
import { getSQBToken, handleRetry, } from './sqb.utils.js';
|
|
@@ -112,6 +113,7 @@ let SqbCoreModule = SqbCoreModule_1 = class SqbCoreModule {
|
|
|
112
113
|
SqbCoreModule = SqbCoreModule_1 = __decorate([
|
|
113
114
|
Global(),
|
|
114
115
|
Module({}),
|
|
115
|
-
__param(0, Inject(SQB_MODULE_OPTIONS))
|
|
116
|
+
__param(0, Inject(SQB_MODULE_OPTIONS)),
|
|
117
|
+
__metadata("design:paramtypes", [Object, ModuleRef])
|
|
116
118
|
], SqbCoreModule);
|
|
117
119
|
export { SqbCoreModule };
|
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.10.
|
|
4
|
+
"version": "4.10.5",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Eray Hanoglu <e.hanoglu@panates.com>",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@nestjs/common": ">=7.4.0",
|
|
49
49
|
"@nestjs/core": ">=7.4.0",
|
|
50
|
-
"@sqb/builder": "^4.10.
|
|
51
|
-
"@sqb/connect": "^4.10.
|
|
50
|
+
"@sqb/builder": "^4.10.5",
|
|
51
|
+
"@sqb/connect": "^4.10.5",
|
|
52
52
|
"rxjs": ">=6.6.0"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|