@akanjs/service 0.0.151 → 0.0.152
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/src/base.service.js
CHANGED
|
@@ -31,8 +31,8 @@ __export(base_service_exports, {
|
|
|
31
31
|
});
|
|
32
32
|
module.exports = __toCommonJS(base_service_exports);
|
|
33
33
|
var import_nest = require("@akanjs/nest");
|
|
34
|
-
var
|
|
35
|
-
let BaseService = class extends (0,
|
|
34
|
+
var import_serviceDecorators = require("./serviceDecorators");
|
|
35
|
+
let BaseService = class extends (0, import_serviceDecorators.LogService)("BaseService") {
|
|
36
36
|
onCleanup;
|
|
37
37
|
websocket;
|
|
38
38
|
intervalPing() {
|
|
@@ -45,16 +45,16 @@ let BaseService = class extends (0, import_service.LogService)("BaseService") {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
__decorateClass([
|
|
48
|
-
(0,
|
|
48
|
+
(0, import_serviceDecorators.Use)()
|
|
49
49
|
], BaseService.prototype, "onCleanup", 2);
|
|
50
50
|
__decorateClass([
|
|
51
|
-
(0,
|
|
51
|
+
(0, import_serviceDecorators.Websocket)()
|
|
52
52
|
], BaseService.prototype, "websocket", 2);
|
|
53
53
|
__decorateClass([
|
|
54
54
|
(0, import_nest.Interval)(5e3)
|
|
55
55
|
], BaseService.prototype, "intervalPing", 1);
|
|
56
56
|
BaseService = __decorateClass([
|
|
57
|
-
(0,
|
|
57
|
+
(0, import_serviceDecorators.Service)("BaseService")
|
|
58
58
|
], BaseService);
|
|
59
59
|
const allSrvs = { BaseService };
|
|
60
60
|
// Annotate the CommonJS export names for ESM import in node:
|
package/esm/src/base.service.js
CHANGED
|
@@ -10,7 +10,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
10
10
|
return result;
|
|
11
11
|
};
|
|
12
12
|
import { Interval } from "@akanjs/nest";
|
|
13
|
-
import { LogService, Service, Use, Websocket } from "
|
|
13
|
+
import { LogService, Service, Use, Websocket } from "./serviceDecorators";
|
|
14
14
|
let BaseService = class extends LogService("BaseService") {
|
|
15
15
|
onCleanup;
|
|
16
16
|
websocket;
|
package/package.json
CHANGED
package/src/base.service.d.ts
CHANGED