@wmfs/tymly-rest-client-plugin 1.22.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,10 @@
|
|
|
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
|
+
|
|
1
8
|
# [1.22.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.21.0...v1.22.0) (2024-10-10)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -20,13 +20,19 @@ class PostDataToRestApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
async run (event, context) {
|
|
23
|
+
console.log('- PostDataToRestApi -')
|
|
24
|
+
console.log('event - ', event)
|
|
23
25
|
if (this.namespace.startsWith('$.')) {
|
|
24
26
|
this.namespace = resolvePaths(event, this.namespace)
|
|
25
27
|
}
|
|
28
|
+
console.log('this.namespace - ', this.namespace)
|
|
26
29
|
const updatedTemplateUrlRegistryKey = resolvePaths(event, this.templateUrlRegistryKey)
|
|
30
|
+
console.log('updatedTemplateUrlRegistryKey - ', updatedTemplateUrlRegistryKey)
|
|
27
31
|
// this.templateUrlRegistryKey = resolvePaths(event, this.templateUrlRegistryKey)
|
|
28
32
|
const regKey = this.namespace + '_' + updatedTemplateUrlRegistryKey
|
|
33
|
+
console.log('regKey - ', regKey)
|
|
29
34
|
this.templateUrl = this.registry.has(regKey) ? this.registry.get(regKey) : null
|
|
35
|
+
console.log('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