@qelos/api-kit 3.6.1 → 3.6.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/LICENSE +31 -21
- package/dist/app.js.map +1 -1
- package/dist/router.js.map +1 -1
- package/package.json +4 -4
- package/src/app.ts +3 -3
- package/src/router.ts +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
copies of the
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
## Community Use - Apache License 2.0
|
|
4
|
+
|
|
5
|
+
This project is licensed under the **Apache License 2.0**. You are free to:
|
|
6
|
+
|
|
7
|
+
- **Use** the software for personal, educational, or community purposes.
|
|
8
|
+
- **Modify** the software as needed.
|
|
9
|
+
- **Distribute** copies of the software or modified versions.
|
|
10
|
+
|
|
11
|
+
### Key Conditions:
|
|
12
|
+
- You are not required to share modifications you make.
|
|
13
|
+
- You may use this software internally, including within commercial settings, without any restrictions.
|
|
14
|
+
|
|
15
|
+
For full license details, see [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
|
16
|
+
|
|
17
|
+
## Restriction on Managed Services - Custom Clause
|
|
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 Qelos LTD.
|
|
20
|
+
|
|
21
|
+
### Key Restriction:
|
|
22
|
+
- You **may not** sell, offer, or commercialize this software as a managed service, SaaS, or any similar hosted service.
|
|
23
|
+
|
|
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 Qelos LTD. Please contact us at [support@qelos.io](mailto:support@qelos.io) for details.
|
|
26
|
+
|
|
27
|
+
## Additional Notes
|
|
28
|
+
|
|
29
|
+
This license ensures the software remains free for personal use and community development, while protecting Qelos LTD’s right to control the commercialization of managed services based on the software.
|
|
30
|
+
|
|
31
|
+
For any questions regarding the license, feel free to reach out at [support@qelos.io].
|
package/dist/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA2C;AAG3C,0DAAkC;AAG3B,MAAM,MAAM,GAAG,CAAC,gBAAqB,OAAO,EAAa,EAAE;IAChE,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,aAAa,EAAE,CAAC;IAC3C,OAAO,OAAO,CAAC;AACjB,CAAC,CAAA;AAHY,QAAA,MAAM,UAGlB;AACM,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC,IAAI,IAAI,SAAS,EAAE,CAAC;AAAhC,QAAA,GAAG,OAA6B;AAChC,QAAA,KAAK,GAAG,QAAQ,CAAC;AAE9B,IAAI,IAAa,CAAC;AAClB,IAAI,OAAO,GAAc;IACvB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,KAAK;IACrC,UAAU,EAAG,OAAO,CAAC,GAAG,CAAC,eAAkC,IAAI,MAAM;IACrE,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS;IACjC,IAAI,EAAE,OAAO,CAAC,GAAG,EAAE,IAAI,IAAI,MAAM;IACjC,EAAE,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE,IAAI,WAAW;CAClC,CAAC;AAEF,SAAS,SAAS;IAChB,IAAI,GAAG,IAA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CAAC;YACzD,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;gBACrB,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;YACpC,CAAC;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
package/dist/router.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.js","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"router.js","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":";;;AAAA,qCAAiC;AAEjC,SAAgB,SAAS;IACvB,OAAO,IAAA,gBAAM,GAAE,CAAC;AAClB,CAAC;AAFD,8BAEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qelos/api-kit",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.6",
|
|
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",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"access": "public"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"axios": "^1.
|
|
16
|
+
"axios": "^1.7.7",
|
|
17
17
|
"cors": "^2.8.5",
|
|
18
|
-
"express": "
|
|
18
|
+
"express": "4.19.2",
|
|
19
19
|
"morgan": "^1.10.0"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "1359351ce7a1092614382cc6ff0db6400855e73b",
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^20.12.8",
|
|
24
24
|
"typescript": "^5.4.5"
|
package/src/app.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import express, {Express} from 'express';
|
|
1
|
+
import express, { Express } from 'express';
|
|
2
2
|
|
|
3
|
-
import type {ApiConfig, BodyParserType} from './types';
|
|
3
|
+
import type { ApiConfig, BodyParserType } from './types';
|
|
4
4
|
import shutdown from './shutdown';
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export const config = (updatedConfig: any = _config): ApiConfig => {
|
|
8
|
-
_config = {..._config, ...updatedConfig};
|
|
8
|
+
_config = { ..._config, ...updatedConfig };
|
|
9
9
|
return _config;
|
|
10
10
|
}
|
|
11
11
|
export const app = () => _app || createApp();
|
package/src/router.ts
CHANGED