@qelos/api-kit 3.7.7 → 3.8.0
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/LICENSE
CHANGED
|
@@ -16,16 +16,16 @@ For full license details, see [Apache License 2.0](https://www.apache.org/licens
|
|
|
16
16
|
|
|
17
17
|
## Restriction on Managed Services - Custom Clause
|
|
18
18
|
|
|
19
|
-
While the software is open and free to use for internal or personal purposes, **you are not permitted to offer this software or any derivative of it as a paid managed service** or **Software as a Service (SaaS)** without explicit permission from
|
|
19
|
+
While the software is open and free to use for internal or personal purposes, **you are not permitted to offer this software or any derivative of it as a paid managed service** or **Software as a Service (SaaS)** without explicit permission from Velocitech LTD.
|
|
20
20
|
|
|
21
21
|
### Key Restriction:
|
|
22
22
|
- You **may not** sell, offer, or commercialize this software as a managed service, SaaS, or any similar hosted service.
|
|
23
23
|
|
|
24
24
|
### How to Obtain Permission:
|
|
25
|
-
If you wish to offer a managed or commercial version of this software, you must obtain a **commercial license** from
|
|
25
|
+
If you wish to offer a managed or commercial version of this software, you must obtain a **commercial license** from Velocitech LTD. Please contact us at [support@qelos.io](mailto:support@qelos.io) for details.
|
|
26
26
|
|
|
27
27
|
## Additional Notes
|
|
28
28
|
|
|
29
|
-
This license ensures the software remains free for personal use and community development, while protecting
|
|
29
|
+
This license ensures the software remains free for personal use and community development, while protecting Velocitech LTD’s right to control the commercialization of managed services based on the software.
|
|
30
30
|
|
|
31
31
|
For any questions regarding the license, feel free to reach out at [support@qelos.io].
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.emitPlatformEvent = void 0;
|
|
4
4
|
const internal_service_1 = require("./internal-service");
|
|
5
|
-
const callPluginsService = (0, internal_service_1.service)('PLUGINS', { port: 9006 });
|
|
5
|
+
const callPluginsService = (0, internal_service_1.service)('PLUGINS', { port: process.env.PLUGINS_SERVICE_PORT || 9006 });
|
|
6
6
|
function emitPlatformEvent(platformEvent) {
|
|
7
7
|
return callPluginsService({
|
|
8
8
|
method: 'POST',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emit-internal-event.js","sourceRoot":"","sources":["../src/emit-internal-event.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"emit-internal-event.js","sourceRoot":"","sources":["../src/emit-internal-event.ts"],"names":[],"mappings":";;;AAAA,yDAA6C;AAE7C,MAAM,kBAAkB,GAAG,IAAA,0BAAO,EAAC,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,IAAI,EAAE,CAAC,CAAA;AAajG,SAAgB,iBAAiB,CAAC,aAA4B;IAC5D,OAAO,kBAAkB,CAAC;QACxB,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,sBAAsB;QAC3B,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,aAAa,CAAC,MAAM;SAC7B;KACF,CAAC;SACC,KAAK,EAAE,CAAA;AACZ,CAAC;AAVD,8CAUC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qelos/api-kit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "API-Kit package to help with qelos infrastructure and reuse capabilities across services",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"express": "4.19.2",
|
|
19
19
|
"morgan": "^1.10.0"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "cb6281585059df8baa9b2ce388fb00577b2cf99b",
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^20.12.8",
|
|
24
24
|
"typescript": "^5.4.5"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {service} from './internal-service';
|
|
1
|
+
import { service } from './internal-service';
|
|
2
2
|
|
|
3
|
-
const callPluginsService = service('PLUGINS', {port: 9006})
|
|
3
|
+
const callPluginsService = service('PLUGINS', { port: process.env.PLUGINS_SERVICE_PORT || 9006 })
|
|
4
4
|
|
|
5
5
|
export interface PlatformEvent {
|
|
6
6
|
tenant: string;
|