@uns-kit/temporal 0.0.17 → 0.0.19
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ClientOptions, ConnectionOptions } from "@temporalio/client";
|
|
2
|
-
import UnsProxyProcess, { type UnsProxyProcessPlugin } from "@uns-kit/core/uns/uns-proxy-process";
|
|
2
|
+
import UnsProxyProcess, { type UnsProxyProcessPlugin } from "@uns-kit/core/uns/uns-proxy-process.js";
|
|
3
3
|
import UnsTemporalProxy from "./uns-temporal-proxy.js";
|
|
4
4
|
declare const unsTemporalPlugin: UnsProxyProcessPlugin;
|
|
5
5
|
export default unsTemporalPlugin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import UnsProxyProcess from "@uns-kit/core/uns/uns-proxy-process";
|
|
1
|
+
import UnsProxyProcess from "@uns-kit/core/uns/uns-proxy-process.js";
|
|
2
2
|
import UnsTemporalProxy from "./uns-temporal-proxy.js";
|
|
3
3
|
const temporalProxyRegistry = new WeakMap();
|
|
4
4
|
const getTemporalProxies = (instance) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import UnsProxy from "@uns-kit/core/uns/uns-proxy";
|
|
1
|
+
import UnsProxy from "@uns-kit/core/uns/uns-proxy.js";
|
|
2
2
|
import { ConnectionOptions, ClientOptions, Workflow } from '@temporalio/client';
|
|
3
3
|
import { ITemporalTopic } from "./temporal-interfaces.js";
|
|
4
4
|
export default class UnsTemporalProxy extends UnsProxy {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import UnsProxy from "@uns-kit/core/uns/uns-proxy";
|
|
2
|
-
import logger from "@uns-kit/core/logger";
|
|
3
|
-
import { MqttTopicBuilder } from "@uns-kit/core/uns-mqtt/mqtt-topic-builder";
|
|
1
|
+
import UnsProxy from "@uns-kit/core/uns/uns-proxy.js";
|
|
2
|
+
import logger from "@uns-kit/core/logger.js";
|
|
3
|
+
import { MqttTopicBuilder } from "@uns-kit/core/uns-mqtt/mqtt-topic-builder.js";
|
|
4
4
|
import * as path from "path";
|
|
5
|
-
import { basePath } from "@uns-kit/core/base-path";
|
|
5
|
+
import { basePath } from "@uns-kit/core/base-path.js";
|
|
6
6
|
import { readFileSync } from "fs";
|
|
7
7
|
import { Connection, Client } from '@temporalio/client';
|
|
8
|
-
import { UnsPacket } from "@uns-kit/core/uns/uns-packet";
|
|
8
|
+
import { UnsPacket } from "@uns-kit/core/uns/uns-packet.js";
|
|
9
9
|
const packageJsonPath = path.join(basePath, "package.json");
|
|
10
10
|
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf8"));
|
|
11
11
|
export default class UnsTemporalProxy extends UnsProxy {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/temporal",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"description": "Temporal.io integration plugin for UnsProxyProcess, wiring workflows into the UNS.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"types": "dist/index.d.ts",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@temporalio/client": "^1.13.0",
|
|
35
|
-
"@uns-kit/core": "0.0.
|
|
35
|
+
"@uns-kit/core": "0.0.37"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsc -p tsconfig.build.json",
|