@wmfs/tymly-rest-client-plugin 1.21.0 → 1.23.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.23.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [1.23.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.22.0...v1.23.0) (2024-10-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* temporarily add logs to the PostDataToRestApi state resource ([e174315](https://github.com/wmfs/tymly-rest-client-plugin/commit/e174315aaabf4faab70467223823ecc9cce4aa3a))
|
|
7
|
+
|
|
8
|
+
# [1.22.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.21.0...v1.22.0) (2024-10-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **(pin 262) crr dd:** [sc-27550] Teams channel for Birmingham update for Fault notifications [#309](https://github.com/wmfs/tymly-rest-client-plugin/issues/309) ([6bba519](https://github.com/wmfs/tymly-rest-client-plugin/commit/6bba519f5aca6ab2f917cc4168e0d93977f429a3))
|
|
14
|
+
|
|
1
15
|
# [1.21.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.20.0...v1.21.0) (2024-07-02)
|
|
2
16
|
|
|
3
17
|
# [1.20.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.19.0...v1.20.0) (2023-09-19)
|
|
@@ -20,10 +20,19 @@ class PostDataToRestApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
async run (event, context) {
|
|
23
|
+
console.log('- PostDataToRestApi -')
|
|
24
|
+
console.log('event - ', event)
|
|
25
|
+
if (this.namespace.startsWith('$.')) {
|
|
26
|
+
this.namespace = resolvePaths(event, this.namespace)
|
|
27
|
+
}
|
|
28
|
+
console.log('this.namespace - ', this.namespace)
|
|
23
29
|
const updatedTemplateUrlRegistryKey = resolvePaths(event, this.templateUrlRegistryKey)
|
|
30
|
+
console.log('updatedTemplateUrlRegistryKey - ', updatedTemplateUrlRegistryKey)
|
|
24
31
|
// this.templateUrlRegistryKey = resolvePaths(event, this.templateUrlRegistryKey)
|
|
25
32
|
const regKey = this.namespace + '_' + updatedTemplateUrlRegistryKey
|
|
33
|
+
console.log('regKey - ', regKey)
|
|
26
34
|
this.templateUrl = this.registry.has(regKey) ? this.registry.get(regKey) : null
|
|
35
|
+
console.log('this.templateUrl - ', this.templateUrl)
|
|
27
36
|
if (!this.templateUrl || this.templateUrl === 'DISABLED') {
|
|
28
37
|
if (this.resultPath) context.sendTaskSuccess({ [this.resultPath]: [] })
|
|
29
38
|
else context.sendTaskSuccess([])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wmfs/tymly-rest-client-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.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",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"@semantic-release/changelog": "6.0.3",
|
|
29
29
|
"@semantic-release/git": "10.0.1",
|
|
30
30
|
"@semantic-release/exec": "6.0.3",
|
|
31
|
-
"chai": "4.
|
|
31
|
+
"chai": "4.5.0",
|
|
32
32
|
"codecov": "3.8.3",
|
|
33
33
|
"conventional-changelog-metahub": "4.0.1",
|
|
34
34
|
"cz-conventional-changelog": "3.3.0",
|
|
35
|
-
"express": "4.
|
|
36
|
-
"body-parser": "1.20.
|
|
37
|
-
"mocha": "10.
|
|
38
|
-
"nyc": "17.
|
|
39
|
-
"semantic-release": "24.
|
|
40
|
-
"standard": "17.1.
|
|
35
|
+
"express": "4.21.1",
|
|
36
|
+
"body-parser": "1.20.3",
|
|
37
|
+
"mocha": "10.7.3",
|
|
38
|
+
"nyc": "17.1.0",
|
|
39
|
+
"semantic-release": "24.1.2",
|
|
40
|
+
"standard": "17.1.2"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"lint": "standard",
|