@uns-kit/temporal 0.0.4 → 0.0.5
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.
|
@@ -24,7 +24,7 @@ export default class UnsTemporalProxy extends UnsProxy {
|
|
|
24
24
|
this.instanceName = instanceName;
|
|
25
25
|
this.processName = processName;
|
|
26
26
|
// Create the topic builder using packageJson values and the processName.
|
|
27
|
-
this.topicBuilder = new MqttTopicBuilder(`uns-infra/${packageJson.name}/${packageJson.version}/${processName}/`);
|
|
27
|
+
this.topicBuilder = new MqttTopicBuilder(`uns-infra/${MqttTopicBuilder.sanitizeTopicPart(packageJson.name)}/${MqttTopicBuilder.sanitizeTopicPart(packageJson.version)}/${MqttTopicBuilder.sanitizeTopicPart(processName)}/`);
|
|
28
28
|
// Generate the processStatusTopic using the builder.
|
|
29
29
|
this.processStatusTopic = this.topicBuilder.getProcessStatusTopic();
|
|
30
30
|
// Derive the instanceStatusTopic by appending the instance name.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/temporal",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Temporal.io integration plugin for UnsProxyProcess, wiring workflows into the UNS.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"types": "dist/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@temporalio/client": "^1.13.0",
|
|
31
|
-
"@uns-kit/core": "0.0.
|
|
31
|
+
"@uns-kit/core": "0.0.16"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsc -p tsconfig.build.json",
|