@onlineapps/service-wrapper 2.3.5 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/service-wrapper",
3
- "version": "2.3.5",
3
+ "version": "2.3.6",
4
4
  "description": "Thin orchestration layer for microservices - delegates all infrastructure concerns to specialized connectors",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1407,10 +1407,7 @@ class ServiceWrapper {
1407
1407
  logger: this.logger
1408
1408
  });
1409
1409
 
1410
- const timeout = this.config.wrapper?.timeout;
1411
- if (!timeout || typeof timeout !== 'number') {
1412
- throw new Error('[ServiceWrapper] config.wrapper.timeout is required — Expected number (ms)');
1413
- }
1410
+ const timeout = this.config.wrapper?.timeout || 30000;
1414
1411
 
1415
1412
  this.orchestrator = OrchestratorConnector.create({
1416
1413
  mqClient: this.mqClient,