@wmfs/tymly-rest-client-plugin 1.36.0 → 1.38.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/.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION=1.
|
|
1
|
+
VERSION=1.38.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## [1.38.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.37.0...v1.38.0) (2026-05-20)
|
|
2
|
+
|
|
3
|
+
### New Feature(s) :rocket:
|
|
4
|
+
|
|
5
|
+
* [sc-32975] added connection timout to post-data-to-rest-api ([#387](https://github.com/wmfs/tymly-rest-client-plugin/issues/387)) ([baa9fab](https://github.com/wmfs/tymly-rest-client-plugin/commit/baa9fabe18c1b50d2865fd966a2171294a5df7a0))
|
|
6
|
+
|
|
7
|
+
### Build system dependencies :hammer:
|
|
8
|
+
|
|
9
|
+
* **deps-dev:** update dependency @semantic-release/release-notes-generator to v14.1.1 ([#389](https://github.com/wmfs/tymly-rest-client-plugin/issues/389)) ([a837c53](https://github.com/wmfs/tymly-rest-client-plugin/commit/a837c53770a1ee0d940815dc1d3311857af29e3c))
|
|
10
|
+
|
|
11
|
+
## [1.37.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.36.0...v1.37.0) (2026-04-10)
|
|
12
|
+
|
|
13
|
+
### Build system dependencies :hammer:
|
|
14
|
+
|
|
15
|
+
* **deps-dev:** update dependency conventional-changelog-conventionalcommits to v9.2.0 ([#381](https://github.com/wmfs/tymly-rest-client-plugin/issues/381)) ([83655bd](https://github.com/wmfs/tymly-rest-client-plugin/commit/83655bddfb5077eb51412b6b59943cb423aebe5c))
|
|
16
|
+
* **deps-dev:** update dependency conventional-changelog-conventionalcommits to v9.3.0 ([#382](https://github.com/wmfs/tymly-rest-client-plugin/issues/382)) ([7427420](https://github.com/wmfs/tymly-rest-client-plugin/commit/74274206669bf48c5f18a148834fa093113b08f4))
|
|
17
|
+
* **deps-dev:** update dependency conventional-changelog-conventionalcommits to v9.3.1 ([#385](https://github.com/wmfs/tymly-rest-client-plugin/issues/385)) ([09fc466](https://github.com/wmfs/tymly-rest-client-plugin/commit/09fc4667cd2ba5fa1fdff5c6db9ec80cbcaae045))
|
|
18
|
+
* **deps-dev:** update dependency nyc to v18 ([#380](https://github.com/wmfs/tymly-rest-client-plugin/issues/380)) ([fa04a22](https://github.com/wmfs/tymly-rest-client-plugin/commit/fa04a221a3a4505a64375584b24556149b223489))
|
|
19
|
+
* **deps:** bump axios ([1d2fadd](https://github.com/wmfs/tymly-rest-client-plugin/commit/1d2fadda021cb21330176749b12f778e5505736d))
|
|
20
|
+
|
|
1
21
|
## [1.36.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.35.0...v1.36.0) (2026-02-02)
|
|
2
22
|
|
|
3
23
|
### New Feature(s) :rocket:
|
|
@@ -14,7 +14,7 @@ class PostDataToRestApi {
|
|
|
14
14
|
if (resourceConfig.authTokenRegistryKey) this.authToken = this.registry.get(resourceConfig.namespace + '_' + resourceConfig.authTokenRegistryKey)
|
|
15
15
|
if (resourceConfig.resultPath) this.resultPath = resourceConfig.resultPath
|
|
16
16
|
if (resourceConfig.paramPath) this.paramPath = resourceConfig.paramPath
|
|
17
|
-
this.webAPITimeoutInMilliseconds = (process.env.WEB_API_TIMEOUT_IN_MS ||
|
|
17
|
+
this.webAPITimeoutInMilliseconds = (process.env.WEB_API_TIMEOUT_IN_MS || 5000)
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
async run (event, context) {
|
|
@@ -40,7 +40,8 @@ class PostDataToRestApi {
|
|
|
40
40
|
const options = {
|
|
41
41
|
headers: {},
|
|
42
42
|
method: 'post',
|
|
43
|
-
timeout:
|
|
43
|
+
timeout: this.webAPITimeoutInMilliseconds, // configure a response timeout
|
|
44
|
+
signal: AbortSignal.timeout(this.webAPITimeoutInMilliseconds), // configure a connection timeout (https://axios-http.com/docs/cancellation)
|
|
44
45
|
url: this.templateUrl,
|
|
45
46
|
data: event[this.payloadPath]
|
|
46
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wmfs/tymly-rest-client-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"description": "A REST API client for Tymly",
|
|
5
5
|
"homepage": "https://github.com/wmfs/tymly-rest-client-plugin#readme",
|
|
6
6
|
"author": "West Midlands Fire Service",
|
|
@@ -22,21 +22,21 @@
|
|
|
22
22
|
"lodash.isobject": "3.0.2",
|
|
23
23
|
"lodash.isstring": "4.0.1",
|
|
24
24
|
"jsonpath": "1.1.1",
|
|
25
|
-
"axios": "1.
|
|
25
|
+
"axios": "1.15.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@semantic-release/changelog": "6.0.3",
|
|
29
|
-
"@semantic-release/release-notes-generator": "14.1.
|
|
29
|
+
"@semantic-release/release-notes-generator": "14.1.1",
|
|
30
30
|
"@semantic-release/git": "10.0.1",
|
|
31
31
|
"@semantic-release/exec": "7.1.0",
|
|
32
32
|
"chai": "4.5.0",
|
|
33
33
|
"codecov": "3.8.3",
|
|
34
|
-
"conventional-changelog-conventionalcommits": "9.1
|
|
34
|
+
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
35
35
|
"cz-conventional-changelog": "3.3.0",
|
|
36
36
|
"express": "5.2.1",
|
|
37
37
|
"body-parser": "2.2.2",
|
|
38
38
|
"mocha": "11.7.5",
|
|
39
|
-
"nyc": "
|
|
39
|
+
"nyc": "18.0.0",
|
|
40
40
|
"semantic-release": "25.0.3",
|
|
41
41
|
"standard": "17.1.2"
|
|
42
42
|
},
|