Compare View
Commits (2)
Changes
Showing 4 changed files Side-by-side Diff
CHANGELOG.md
| ... | ... | @@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d |
| 4 | 4 | |
| 5 | 5 | Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). |
| 6 | 6 | |
| 7 | +#### [v1.46.17](https://gitlab.intranet.kodesumber.com/komodo/komodo-sdk/compare/v1.46.16...v1.46.17) | |
| 8 | + | |
| 9 | +- Only listen for push advice if there is partner function [`6276a9f`](https://gitlab.intranet.kodesumber.com/komodo/komodo-sdk/commit/6276a9f75c54436331dca3103fef6d07abba3846) | |
| 10 | + | |
| 7 | 11 | #### [v1.46.16](https://gitlab.intranet.kodesumber.com/komodo/komodo-sdk/compare/v1.46.15...v1.46.16) |
| 8 | 12 | |
| 13 | +> 6 November 2025 | |
| 14 | + | |
| 9 | 15 | - Bump axios from 1.12.2 to 1.13.2 [`26cc2d4`](https://gitlab.intranet.kodesumber.com/komodo/komodo-sdk/commit/26cc2d4e17d94519282f1109033469c116f26420) |
| 10 | 16 | |
| 11 | 17 | #### [v1.46.15](https://gitlab.intranet.kodesumber.com/komodo/komodo-sdk/compare/v1.46.14...v1.46.15) |
gateway/advice-push-server.js
| ... | ... | @@ -24,6 +24,11 @@ function setPartner(_partner) { |
| 24 | 24 | return; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + if (!partner.advice || typeof partner !== 'function') { | |
| 28 | + logger.info(`${MODULE_NAME} 1E342CCE: No advice funtion detected, skip listening`); | |
| 29 | + return; | |
| 30 | + } | |
| 31 | + | |
| 27 | 32 | app.listen(config.push_server.advice.port, () => { |
| 28 | 33 | logger.info(`${MODULE_NAME} 7C994547: Listening`, { |
| 29 | 34 | port: config.push_server.advice.port, |
package-lock.json
| 1 | 1 | { |
| 2 | 2 | "name": "komodo-sdk", |
| 3 | - "version": "1.46.16", | |
| 3 | + "version": "1.46.17", | |
| 4 | 4 | "lockfileVersion": 2, |
| 5 | 5 | "requires": true, |
| 6 | 6 | "packages": { |
| 7 | 7 | "": { |
| 8 | 8 | "name": "komodo-sdk", |
| 9 | - "version": "1.46.16", | |
| 9 | + "version": "1.46.17", | |
| 10 | 10 | "license": "ISC", |
| 11 | 11 | "dependencies": { |
| 12 | 12 | "array-unique": "^0.3.2", |