@transai/connector-runner-mqtt 0.35.3 → 0.35.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 0.35.4 (2026-11-27)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated @transai/connector-runtime-sdk to 0.24.4
6
+
7
+ ## 0.35.3 (2026-11-27)
8
+
9
+ ### 🧱 Updated Dependencies
10
+
11
+ - Updated @transai/connector-runtime-sdk to 0.24.3
12
+
1
13
  ## 0.35.2 (2026-11-25)
2
14
 
3
15
  ### 🧱 Updated Dependencies
@@ -24,4 +24,9 @@ export type Result = boolean | {
24
24
  export interface SenderSDKInterface {
25
25
  metrics<T = never>(metrics: Array<T>, metadata?: Metadata & SenderMetadata, context?: Context, topic?: string): Promise<Result>;
26
26
  documents<T = object>(documents: Array<T>, metadata?: Metadata & SenderMetadata, context?: Context): Promise<Result>;
27
+ /**
28
+ * Moves this runner's documents and metrics to the ingestion api for tenants that have it enabled.
29
+ * Without it, or for other tenants, they keep going to Kafka.
30
+ */
31
+ useIngestionApi(): void;
27
32
  }
@@ -2,6 +2,12 @@ export declare enum ConnectorOrigin {
2
2
  from_template = "from_template",
3
3
  manual = "manual"
4
4
  }
5
+ export declare enum ActionOrigin {
6
+ manual = "manual",
7
+ from_template = "from_template",
8
+ overridden = "overridden",
9
+ custom = "custom"
10
+ }
5
11
  export interface LegacyOutputParameterInterface {
6
12
  [key: string]: string;
7
13
  }
@@ -57,7 +63,7 @@ export interface ActionInterface {
57
63
  };
58
64
  inputParameters: Array<InputParameterInterface>;
59
65
  outputParameters: LegacyOutputParameterInterface | OutputParameterInterface;
60
- mode?: ConnectorOrigin;
66
+ mode?: ActionOrigin;
61
67
  createdAt: Date;
62
68
  }
63
69
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-mqtt",
3
- "version": "0.35.3",
3
+ "version": "0.35.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "handlebars": "^4.7.10",
15
- "handlebars-helpers": "^0.10",
15
+ "handlebars-helpers": "^0.10.0",
16
16
  "mqtt": "^5.16.1"
17
17
  },
18
18
  "type": "commonjs",