@wmfs/tymly-rest-client-plugin 1.22.0 → 1.23.1
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.1
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.23.1](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.23.0...v1.23.1) (2024-10-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update logs for debugging ([1538418](https://github.com/wmfs/tymly-rest-client-plugin/commit/15384189c144b763703c062a6ab3cb84e33341a3))
|
|
7
|
+
|
|
8
|
+
# [1.23.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.22.0...v1.23.0) (2024-10-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* temporarily add logs to the PostDataToRestApi state resource ([e174315](https://github.com/wmfs/tymly-rest-client-plugin/commit/e174315aaabf4faab70467223823ecc9cce4aa3a))
|
|
14
|
+
|
|
1
15
|
# [1.22.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.21.0...v1.22.0) (2024-10-10)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -20,13 +20,19 @@ class PostDataToRestApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
async run (event, context) {
|
|
23
|
+
console.log('PostDataToRestApi >> event - ', JSON.stringify(event, null, 2))
|
|
24
|
+
console.log('PostDataToRestApi >> this.namespace BEFORE - ', this.namespace)
|
|
23
25
|
if (this.namespace.startsWith('$.')) {
|
|
24
26
|
this.namespace = resolvePaths(event, this.namespace)
|
|
25
27
|
}
|
|
28
|
+
console.log('PostDataToRestApi >> this.namespace AFTER - ', this.namespace)
|
|
26
29
|
const updatedTemplateUrlRegistryKey = resolvePaths(event, this.templateUrlRegistryKey)
|
|
30
|
+
console.log('PostDataToRestApi >> updatedTemplateUrlRegistryKey - ', updatedTemplateUrlRegistryKey)
|
|
27
31
|
// this.templateUrlRegistryKey = resolvePaths(event, this.templateUrlRegistryKey)
|
|
28
32
|
const regKey = this.namespace + '_' + updatedTemplateUrlRegistryKey
|
|
33
|
+
console.log('PostDataToRestApi >> regKey - ', regKey)
|
|
29
34
|
this.templateUrl = this.registry.has(regKey) ? this.registry.get(regKey) : null
|
|
35
|
+
console.log('PostDataToRestApi >> this.templateUrl - ', this.templateUrl)
|
|
30
36
|
if (!this.templateUrl || this.templateUrl === 'DISABLED') {
|
|
31
37
|
if (this.resultPath) context.sendTaskSuccess({ [this.resultPath]: [] })
|
|
32
38
|
else context.sendTaskSuccess([])
|
package/package.json
CHANGED