@golemio/core 3.3.0-dev.2636931178 → 3.3.0-dev.2644036130

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.
@@ -29,7 +29,7 @@ class AbstractWorker {
29
29
  const queueArguments = { "x-queue-type": task.queueType };
30
30
  // Only declare x-consumer-timeout when set, so untimed queues keep an undefined-free argument table.
31
31
  if (task.queueConsumerTimeout !== undefined) {
32
- this.warnIfConsumerTimeoutOutOfBounds(task.queueName, task.queueConsumerTimeout, task.queueTtl);
32
+ this.warnIfConsumerTimeoutOutOfBounds(`${this.getQueuePrefix()}.${task.queueName}`, task.queueConsumerTimeout, task.queueTtl);
33
33
  queueArguments["x-consumer-timeout"] = task.queueConsumerTimeout;
34
34
  }
35
35
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractWorker.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/AbstractWorker.ts"],"names":[],"mappings":";;;AAAA,sCAAoC;AACpC,wCAAkC;AAIlC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,WAAW;AAC/D,MAAM,mCAAmC,GAAG,SAAS,CAAC,CAAC,UAAU;AAEjE,MAAsB,cAAc;IAApC;QAEY,WAAM,GAAiB,EAAE,CAAC;IAyDtC,CAAC;IAvDU,YAAY,CAAC,IAAW;QAC3B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACI,kBAAkB;QACrB,OAAO;YACH,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,cAAc,EAAE;YAClC,MAAM,EAAE,IAAI,CAAC,MAAM;SACtB,CAAC;IACN,CAAC;IAEM,cAAc;QACjB,OAAO,eAAM,CAAC,oBAAoB,GAAG,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;IACvE,CAAC;IAEO,YAAY,CA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AAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;SACnC,CAAC;IACN,CAAC;IAEO,gCAAgC,CAAC,SAAiB,EAAE,eAAuB,EAAE,QAAiB;QAClG,IAAI,eAAe,GAAG,mCAAmC,IAAI,eAAe,GAAG,mCAAmC,EAAE,CAAC;YACjH,aAAG,CAAC,IAAI,CACJ,SAAS,SAAS,0BAA0B,eAAe,uCAAuC;gBAC9F,IAAI,mCAAmC,KAAK,mCAAmC,OAAO,CAC7F,CAAC;QACN,CAAC;QAED,IAAI,QAAQ,KAAK,SAAS,IAAI,eAAe,GAAG,QAAQ,EAAE,CAAC;YACvD,aAAG,CAAC,IAAI,CACJ,SAAS,SAAS,0BAA0B,eAAe,oCAAoC;gBAC3F,GAAG,QAAQ,kEAAkE,CACpF,CAAC;QACN,CAAC;IACL,CAAC;CACJ;AA/DD,wCA+DC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/core",
3
- "version": "3.3.0-dev.2636931178",
3
+ "version": "3.3.0-dev.2644036130",
4
4
  "description": "Golemio Core Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "build": "rimraf ./dist && tspc -p ./tsconfig.build.json",
9
9
  "build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
10
10
  "build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
11
- "test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register --file 'test/setup.ts' -r dotenv/config 'test/**/*.test.ts'",
11
+ "test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r @swc-node/register --file 'test/setup.ts' -r dotenv/config 'test/**/*.test.ts'",
12
12
  "test-debug": "run-s 'test -- --inspect-brk=9230'",
13
13
  "code-coverage": "nyc run-s test",
14
14
  "generate-docs": "typedoc --out docs/typedoc src",
@@ -32,6 +32,7 @@
32
32
  "@commitlint/cli": "^19.3.0",
33
33
  "@commitlint/config-conventional": "^16.2.1",
34
34
  "@golemio/eslint-config": "1.1.4",
35
+ "@swc-node/register": "^1.11.1",
35
36
  "@swc/core": "^1.15.33",
36
37
  "@types/chai": "^5.2.3",
37
38
  "@types/chai-as-promised": "^8.0.2",
@@ -62,9 +63,7 @@
62
63
  "sinon": "^21.0.1",
63
64
  "source-map-support": "0.5.21",
64
65
  "supertest": "^7.1.4",
65
- "ts-node": "^10.9.1",
66
66
  "ts-patch": "^4.0.1",
67
- "tsconfig-paths": "^4.2.0",
68
67
  "typedoc": "^0.24.8",
69
68
  "typescript": "6.0.3",
70
69
  "typescript-transform-paths": "^4.0.0"
@@ -131,16 +130,8 @@
131
130
  "yauzl": "^2.10.0"
132
131
  },
133
132
  "overrides": {
134
- "lodash": "^4.18.1",
135
133
  "lightship": {
136
- "fast-uri": "^3.1.2",
137
134
  "fastify": "^5.8.5"
138
- },
139
- "@google-cloud/storage": {
140
- "fast-xml-builder": "^1.2.0"
141
- },
142
- "ajv": {
143
- "fast-uri": "^3.1.2"
144
135
  }
145
136
  }
146
137
  }
@@ -4,6 +4,7 @@
4
4
  "target": "ES2021",
5
5
  "lib": ["ES2021", "DOM"],
6
6
  "module": "CommonJS",
7
+ "types": ["node", "mocha"],
7
8
  "strict": true,
8
9
  "declaration": true,
9
10
  "allowSyntheticDefaultImports": true,
@@ -13,25 +14,25 @@
13
14
  "sourceMap": true,
14
15
  "useUnknownInCatchVariables": false,
15
16
  "paths": {
16
- "#helpers": ["./src/helpers"],
17
+ "#helpers": ["./src/helpers/index"],
17
18
  "#helpers/*": ["./src/helpers/*"],
18
19
 
19
- "#monitoring": ["./src/monitoring"],
20
+ "#monitoring": ["./src/monitoring/index"],
20
21
  "#monitoring/*": ["./src/monitoring/*"],
21
22
 
22
- "#ig/": ["./src/input-gateway"],
23
+ "#ig/": ["./src/input-gateway/index"],
23
24
  "#ig/*": ["./src/input-gateway/*"],
24
25
 
25
- "#ie": ["./src/integration-engine"],
26
+ "#ie": ["./src/integration-engine/index"],
26
27
  "#ie/*": ["./src/integration-engine/*"],
27
28
 
28
- "#og": ["./src/output-gateway"],
29
+ "#og": ["./src/output-gateway/index"],
29
30
  "#og/*": ["./src/output-gateway/*"],
30
31
 
31
- "#sch": ["./src/schema-definitions"],
32
+ "#sch": ["./src/schema-definitions/index"],
32
33
  "#sch/*": ["./src/schema-definitions/*"],
33
34
 
34
- "src": ["./src"],
35
+ "src": ["./src/index"],
35
36
  "src/*": ["./src/*"]
36
37
  }
37
38
  }