@transai/connector-runner-ez-mes 0.17.0 → 0.18.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 0.18.0 (2026-04-02)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated @transai/connector-runtime-sdk to 0.12.0
|
|
6
|
+
|
|
7
|
+
## 0.17.0 (2026-03-19)
|
|
8
|
+
|
|
9
|
+
### 🧱 Updated Dependencies
|
|
10
|
+
|
|
11
|
+
- Updated @transai/connector-runtime-sdk to 0.11.0
|
|
12
|
+
|
|
1
13
|
## 0.16.0 (2026-03-16)
|
|
2
14
|
|
|
3
15
|
### 🧱 Updated Dependencies
|
|
@@ -5,6 +5,11 @@ export interface Metric {
|
|
|
5
5
|
export type Metadata = {
|
|
6
6
|
[key: string]: string;
|
|
7
7
|
};
|
|
8
|
+
export type SenderMetadata = {
|
|
9
|
+
collection?: string;
|
|
10
|
+
incrementalField?: string;
|
|
11
|
+
keyField?: string;
|
|
12
|
+
};
|
|
8
13
|
export interface Context {
|
|
9
14
|
timestamp?: Date;
|
|
10
15
|
ttl?: number;
|
|
@@ -16,7 +21,7 @@ export type Result = boolean | {
|
|
|
16
21
|
[index: number]: boolean;
|
|
17
22
|
};
|
|
18
23
|
export interface SenderSDKInterface {
|
|
19
|
-
metrics(metrics: Array<Metric>, metadata?: Metadata, context?: Context): Promise<Result>;
|
|
20
|
-
metricsLegacy<T = never>(metrics: Array<T>, metadata?: Metadata, context?: Context, topic?: string): Promise<Result>;
|
|
21
|
-
documents<T = object>(documents: Array<T>, metadata?: Metadata, context?: Context): Promise<Result>;
|
|
24
|
+
metrics(metrics: Array<Metric>, metadata?: Metadata & SenderMetadata, context?: Context): Promise<Result>;
|
|
25
|
+
metricsLegacy<T = never>(metrics: Array<T>, metadata?: Metadata & SenderMetadata, context?: Context, topic?: string): Promise<Result>;
|
|
26
|
+
documents<T = object>(documents: Array<T>, metadata?: Metadata & SenderMetadata, context?: Context): Promise<Result>;
|
|
22
27
|
}
|