@golemio/pid 4.0.0-dev.1977640015 → 4.0.0-dev.1978030357
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/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/ProcessMetroRunMessagesTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/ProcessRegionalBusRunMessagesTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveArrivaCityRunsToDBTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveBusRunsToDBTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveMetroRunsToDBTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveTramRunsToDBTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/ProcessRegionalBusPositionsTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/SaveDataToDBTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateDelayTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateGtfsTripIdTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateRunsGtfsTripIdTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/helpers/UpdateDelayLimiter.d.ts +1 -1
- package/dist/output-gateway/jis/routers/v1/V1JISRouter.d.ts +3 -1
- package/dist/output-gateway/jis/routers/v1/V1JISRouter.js.map +1 -1
- package/dist/output-gateway/pid/routers/v3/V3PIDRouter.d.ts +3 -1
- package/dist/output-gateway/pid/routers/v3/V3PIDRouter.js.map +1 -1
- package/package.json +3 -4
package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { ICachedDataset } from "./helpers/HelperTypes";
|
|
4
4
|
import { CachedDatasetSchema } from "./schema/CachedDatasetSchema";
|
|
5
5
|
export declare class TransformAndSaveDataTask extends AbstractTask<ICachedDataset> {
|
package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js
CHANGED
|
@@ -99,7 +99,7 @@ class TransformAndSaveDataTask extends workers_1.AbstractTask {
|
|
|
99
99
|
this.logger.error(`Datasets: transforming and saving error (${modelName}): ${err.toString()}`);
|
|
100
100
|
errorMessage = err.message;
|
|
101
101
|
}
|
|
102
|
-
if (msgProperties?.headers[HelperTypes_1.ORIGIN_HOSTNAME_HEADER]) {
|
|
102
|
+
if (msgProperties?.headers && msgProperties?.headers[HelperTypes_1.ORIGIN_HOSTNAME_HEADER]) {
|
|
103
103
|
await this.gtfsRedisChannel.publishMessage(`${errorMessage ?? "OK"} (${modelName})`, {
|
|
104
104
|
channelSuffix: msgProperties.headers[HelperTypes_1.ORIGIN_HOSTNAME_HEADER],
|
|
105
105
|
});
|
package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransformAndSaveDataTask.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.ts"],"names":[],"mappings":";;;AAAA,2C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SAAS,CAAC,IAAI,GAAG,CAAC,CAAC;QAE1E,IAAI,SAAS,GAAG,IAAA,iCAAmB,EAAC,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;YAC3B,SAAS,GAAG,CAAC,SAAS,CAAC,CAAC;SAC3B;QAED,IAAI,YAAgC,CAAC;QACrC,IAAI;YACA,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;YAErG,IAAI,SAAS,CAAC,OAAO,KAAK,wBAAW,CAAC,SAAS,EAAE;gBAC7C,MAAM,IAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,SAAS,EAAE,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC9F,MAAM,IAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,eAAe,EAAE,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;aACvG;iBAAM;gBACH,MAAM,IAAI,CAAC,sBAAsB,CAAC,eAAe,EAAE,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;aACvF;SACJ;QAAC,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,4CAA4C,SAAS,MAAM,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;YAC/F,YAAY,GAAG,GAAG,CAAC,OAAO,CAAC;SAC9B;QAED,IAAI,aAAa,EAAE,OAAO,CAAC,oCAAsB,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"TransformAndSaveDataTask.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.ts"],"names":[],"mappings":";;;AAAA,2CAA0C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,OAAO,CAAC,oCAAsB,CAAC;aAC/D,CAAC,CAAC;SACN;QAED,IAAI,YAAY,EAAE;YACd,MAAM,IAAI,6BAAY,CAAC,YAAY,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;SAC/D;IACL,CAAC;CAoEJ;AA1HD,4DA0HC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { IProcessMetroRunsMessagesInput } from "../interfaces/IProcessMetroRunsMessagesInput";
|
|
4
4
|
import { MetroTransformedRunsValidationSchema } from "../schema/MetroTransformedRunsSchema";
|
|
5
5
|
export declare class ProcessMetroRunMessagesTask extends AbstractTask<IProcessMetroRunsMessagesInput> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
|
|
2
2
|
import { AbstractTask } from "@golemio/core/dist/integration-engine";
|
|
3
|
-
import { MessageProperties } from "amqplib";
|
|
3
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
4
4
|
import { DescriptorRepository } from "../../vehicle-descriptors/data-access/DescriptorRepository";
|
|
5
5
|
import { IGtfsLookupManager } from "../helpers/regional-bus/interfaces/IGtfsLookupManager";
|
|
6
6
|
import { ITripScheduleManager } from "../helpers/regional-bus/interfaces/ITripScheduleManager";
|
package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveArrivaCityRunsToDBTask.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { IRegionalBusRunsInput } from "../interfaces/RegionalBusRunsMessageInterfaces";
|
|
4
4
|
import { RegionalBusRunsValidationSchema } from "../schema/RegionalBusRunsSchema";
|
|
5
5
|
import { RegionalBusRunsFacade } from "../helpers/regional-bus/RegionalBusRunsFacade";
|
package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveBusRunsToDBTask.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { ICommonRunsInput } from "../interfaces/CommonRunsMessageInterfaces";
|
|
4
4
|
import { CommonRunsValidationSchema } from "../schema/CommonRunsSchema";
|
|
5
5
|
export declare class SaveBusRunsToDBTask extends AbstractTask<ICommonRunsInput> {
|
package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveMetroRunsToDBTask.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { IMetroRunsInput } from "../interfaces/MetroRunsMessageInterfaces";
|
|
4
4
|
import { MetroRunsValidationSchema } from "../schema/MetroRunsSchema";
|
|
5
5
|
import { TimestampValidator } from "../helpers/TimestampValidator";
|
package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveTramRunsToDBTask.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { ICommonRunsInput } from "../interfaces/CommonRunsMessageInterfaces";
|
|
4
4
|
import { CommonRunsValidationSchema } from "../schema/CommonRunsSchema";
|
|
5
5
|
export declare class SaveTramRunsToDBTask extends AbstractTask<ICommonRunsInput> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { IUpdateDelayInput } from "../interfaces/IUpdateDelayInput";
|
|
4
4
|
import { UpdateDelayValidationSchema } from "../schema/UpdateDelaySchema";
|
|
5
5
|
export declare class ProcessRegionalBusPositionsTask extends AbstractTask<IUpdateDelayInput> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IMpvMessageInput } from "../../../../../schema-definitions/vehicle-positions/interfaces/IMpvMessageInterfaces";
|
|
2
2
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
3
|
-
import { MessageProperties } from "amqplib";
|
|
3
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
4
4
|
import { SaveDataToDBValidationSchema } from "../schema/SaveDataToDBSchema";
|
|
5
5
|
export declare class SaveDataToDBTask extends AbstractTask<IMpvMessageInput> {
|
|
6
6
|
readonly queueName = "saveDataToDB";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { IUpdateDelayInput } from "../interfaces/IUpdateDelayInput";
|
|
4
4
|
import { UpdateDelayValidationSchema } from "../schema/UpdateDelaySchema";
|
|
5
5
|
export declare class UpdateDelayTask extends AbstractTask<IUpdateDelayInput> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { IUpdateGtfsTripIdInput } from "../interfaces/IUpdateGtfsTripIdInput";
|
|
4
4
|
import { UpdateGtfsTripIdValidationSchema } from "../schema/UpdateGtfsTripIdSchema";
|
|
5
5
|
export declare class UpdateGtfsTripIdTask extends AbstractTask<IUpdateGtfsTripIdInput> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
import { IUpdateRunsGtfsTripInput } from "../interfaces/IUpdateRunsGtfsTripInput";
|
|
4
4
|
import { UpdateRunsGtfsTripIdValidationSchema } from "../schema/UpdateRunsGtfsTripIdSchema";
|
|
5
5
|
export declare class UpdateRunsGtfsTripIdTask extends AbstractTask<IUpdateRunsGtfsTripInput> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ILogger } from "@golemio/core/dist/helpers/logger/LoggerProvider";
|
|
2
|
-
import { MessageProperties } from "amqplib";
|
|
2
|
+
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
|
|
3
3
|
export declare class UpdateDelayLimiter {
|
|
4
4
|
private name;
|
|
5
5
|
private queueTtl;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
/// <reference types="express" />
|
|
1
2
|
import { V1EventsController } from "../../controllers/v1/V1EventsController";
|
|
2
3
|
import { AbstractRouter } from "@golemio/core/dist/helpers/routing/AbstractRouter";
|
|
3
4
|
import { CacheHeaderMiddleware } from "@golemio/core/dist/output-gateway/CacheHeaderMiddleware";
|
|
5
|
+
import { Router } from "@golemio/core/dist/shared/express";
|
|
4
6
|
export declare class V1JISRouter extends AbstractRouter {
|
|
5
|
-
readonly router:
|
|
7
|
+
readonly router: Router;
|
|
6
8
|
readonly cacheHeaderMiddleware: CacheHeaderMiddleware;
|
|
7
9
|
readonly eventsController: V1EventsController;
|
|
8
10
|
constructor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1JISRouter.js","sourceRoot":"","sources":["../../../../../src/output-gateway/jis/routers/v1/V1JISRouter.ts"],"names":[],"mappings":";;;AACA,qCAAgD;AAChD,qDAAoD;AACpD,yDAAoD;AACpD,sFAAmF;AAEnF,+DAAuE;AACvE,6EAA2E;AAC3E,+DAA2D;AAC3D,mFAAoE;AAEpE,MAAa,WAAY,SAAQ,+BAAc;IAK3C;QACI,KAAK,CAAC,wBAAY,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;QALlB,WAAM,
|
|
1
|
+
{"version":3,"file":"V1JISRouter.js","sourceRoot":"","sources":["../../../../../src/output-gateway/jis/routers/v1/V1JISRouter.ts"],"names":[],"mappings":";;;AACA,qCAAgD;AAChD,qDAAoD;AACpD,yDAAoD;AACpD,sFAAmF;AAEnF,+DAAuE;AACvE,6EAA2E;AAC3E,+DAA2D;AAC3D,mFAAoE;AAEpE,MAAa,WAAY,SAAQ,+BAAc;IAK3C;QACI,KAAK,CAAC,wBAAY,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;QALlB,WAAM,GAAW,IAAA,gBAAM,GAAE,CAAC;QAUhC,eAAU,GAAG,GAAS,EAAE;YAC9B,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,uBAAuB,EACvB;gBACI,IAAA,yBAAK,EAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE;gBAClD,IAAA,yBAAK,EAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE;gBAChD,IAAA,yBAAK,EAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE;aACpD,EACD,wBAAW;YACX,yDAAyD;YACzD,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,EAC9C,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CACnD,CAAC;QACN,CAAC,CAAC;QAjBE,IAAI,CAAC,gBAAgB,GAAG,mBAAc,CAAC,OAAO,CAAqB,uBAAU,CAAC,kBAAkB,CAAC,CAAC;QAClG,IAAI,CAAC,qBAAqB,GAAG,mBAAc,CAAC,OAAO,CAAwB,oBAAc,CAAC,qBAAqB,CAAC,CAAC;QACjH,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CAeJ;AAzBD,kCAyBC;AAED,MAAM,WAAW,GAAmB,IAAI,WAAW,EAAE,CAAC;AAE7C,kCAAW"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
/// <reference types="express" />
|
|
1
2
|
import { AbstractRouter } from "@golemio/core/dist/helpers/routing/AbstractRouter";
|
|
3
|
+
import { Router } from "@golemio/core/dist/shared/express";
|
|
2
4
|
export declare class V3PIDRouter extends AbstractRouter {
|
|
3
|
-
readonly router:
|
|
5
|
+
readonly router: Router;
|
|
4
6
|
private readonly cacheHeaderMiddleware;
|
|
5
7
|
private readonly transferBoardsController;
|
|
6
8
|
private readonly infotextsController;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V3PIDRouter.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/routers/v3/V3PIDRouter.ts"],"names":[],"mappings":";;;AAGA,+EAA8E;AAC9E,qCAAgD;AAChD,qDAAoD;AACpD,yDAAoD;AACpD,sFAAmF;AAEnF,6EAA2E;AAC3E,+DAAuE;AACvE,+DAA2D;AAC3D,mFAAoE;AACpE,6CAAmD;AAEnD,MAAa,WAAY,SAAQ,+BAAc;IAO3C;QACI,KAAK,CAAC,wBAAY,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;QAPlB,WAAM,
|
|
1
|
+
{"version":3,"file":"V3PIDRouter.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/routers/v3/V3PIDRouter.ts"],"names":[],"mappings":";;;AAGA,+EAA8E;AAC9E,qCAAgD;AAChD,qDAAoD;AACpD,yDAAoD;AACpD,sFAAmF;AAEnF,6EAA2E;AAC3E,+DAAuE;AACvE,+DAA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BAAmB,EACnB,wBAAW;YACX,wDAAwD;YACxD,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,CAAC,EAChD,IAAI,CAAC,+BAA+B,CAAC,oBAAoB,CAC5D,CAAC;QACN,CAAC,CAAC;QA1CE,IAAI,CAAC,qBAAqB,GAAG,mBAAc,CAAC,OAAO,CAAwB,oBAAc,CAAC,qBAAqB,CAAC,CAAC;QACjH,IAAI,CAAC,wBAAwB,GAAG,mBAAc,CAAC,OAAO,CAA6B,uBAAU,CAAC,0BAA0B,CAAC,CAAC;QAC1H,IAAI,CAAC,mBAAmB,GAAG,mBAAc,CAAC,OAAO,CAAwB,uBAAU,CAAC,qBAAqB,CAAC,CAAC;QAC3G,IAAI,CAAC,+BAA+B,GAAG,mBAAc,CAAC,OAAO,CACzD,uBAAU,CAAC,iCAAiC,CAC/C,CAAC;QACF,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CAoCJ;AApDD,kCAoDC;AAED,MAAM,WAAW,GAAmB,IAAI,WAAW,EAAE,CAAC;AAC7C,kCAAW"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/pid",
|
|
3
|
-
"version": "4.0.0-dev.
|
|
3
|
+
"version": "4.0.0-dev.1978030357",
|
|
4
4
|
"description": "Golemio PID Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,11 +36,10 @@
|
|
|
36
36
|
"@apideck/portman": "^1.26.5",
|
|
37
37
|
"@commitlint/cli": "^11.0.0",
|
|
38
38
|
"@commitlint/config-conventional": "^11.0.0",
|
|
39
|
-
"@golemio/cli": "1.10.
|
|
40
|
-
"@golemio/core": "1.20.
|
|
39
|
+
"@golemio/cli": "1.10.1-dev.1969287611",
|
|
40
|
+
"@golemio/core": "1.20.14-dev.1977977450",
|
|
41
41
|
"@golemio/db-common": "1.2.0",
|
|
42
42
|
"@golemio/eslint-config": "1.1.2",
|
|
43
|
-
"@types/amqplib": "^0.5.17",
|
|
44
43
|
"@types/chai": "4.2.3",
|
|
45
44
|
"@types/chai-as-promised": "7.1.2",
|
|
46
45
|
"@types/mocha": "^9.1.1",
|