raindrop-ai 0.0.54 → 0.0.55
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/otel/index.d.mts +1 -5
- package/dist/otel/index.d.ts +1 -5
- package/dist/otel/index.js +5 -4
- package/dist/otel/index.mjs +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3056,7 +3056,7 @@ var CategorizationRequestSchema = import_zod.z.object({
|
|
|
3056
3056
|
// package.json
|
|
3057
3057
|
var package_default = {
|
|
3058
3058
|
name: "raindrop-ai",
|
|
3059
|
-
version: "0.0.
|
|
3059
|
+
version: "0.0.55",
|
|
3060
3060
|
main: "dist/index.js",
|
|
3061
3061
|
module: "dist/index.mjs",
|
|
3062
3062
|
types: "dist/index.d.ts",
|
package/dist/index.mjs
CHANGED
package/dist/otel/index.d.mts
CHANGED
|
@@ -2,11 +2,7 @@ declare function metadata({ userId, convoId, eventName, }: {
|
|
|
2
2
|
userId: string;
|
|
3
3
|
convoId?: string;
|
|
4
4
|
eventName?: string;
|
|
5
|
-
}):
|
|
6
|
-
"raindrop.userId": string;
|
|
7
|
-
"raindrop.convoId": string | undefined;
|
|
8
|
-
"raindrop.eventName": string | undefined;
|
|
9
|
-
};
|
|
5
|
+
}): Record<string, string>;
|
|
10
6
|
declare const _default: {
|
|
11
7
|
metadata: typeof metadata;
|
|
12
8
|
};
|
package/dist/otel/index.d.ts
CHANGED
|
@@ -2,11 +2,7 @@ declare function metadata({ userId, convoId, eventName, }: {
|
|
|
2
2
|
userId: string;
|
|
3
3
|
convoId?: string;
|
|
4
4
|
eventName?: string;
|
|
5
|
-
}):
|
|
6
|
-
"raindrop.userId": string;
|
|
7
|
-
"raindrop.convoId": string | undefined;
|
|
8
|
-
"raindrop.eventName": string | undefined;
|
|
9
|
-
};
|
|
5
|
+
}): Record<string, string>;
|
|
10
6
|
declare const _default: {
|
|
11
7
|
metadata: typeof metadata;
|
|
12
8
|
};
|
package/dist/otel/index.js
CHANGED
|
@@ -28,11 +28,12 @@ function metadata({
|
|
|
28
28
|
convoId,
|
|
29
29
|
eventName
|
|
30
30
|
}) {
|
|
31
|
-
|
|
32
|
-
"raindrop.userId": userId
|
|
33
|
-
"raindrop.convoId": convoId,
|
|
34
|
-
"raindrop.eventName": eventName
|
|
31
|
+
const result = {
|
|
32
|
+
"raindrop.userId": userId
|
|
35
33
|
};
|
|
34
|
+
if (convoId) result["raindrop.convoId"] = convoId;
|
|
35
|
+
if (eventName) result["raindrop.eventName"] = eventName;
|
|
36
|
+
return result;
|
|
36
37
|
}
|
|
37
38
|
var otel_default = {
|
|
38
39
|
metadata
|
package/dist/otel/index.mjs
CHANGED
|
@@ -6,11 +6,12 @@ function metadata({
|
|
|
6
6
|
convoId,
|
|
7
7
|
eventName
|
|
8
8
|
}) {
|
|
9
|
-
|
|
10
|
-
"raindrop.userId": userId
|
|
11
|
-
"raindrop.convoId": convoId,
|
|
12
|
-
"raindrop.eventName": eventName
|
|
9
|
+
const result = {
|
|
10
|
+
"raindrop.userId": userId
|
|
13
11
|
};
|
|
12
|
+
if (convoId) result["raindrop.convoId"] = convoId;
|
|
13
|
+
if (eventName) result["raindrop.eventName"] = eventName;
|
|
14
|
+
return result;
|
|
14
15
|
}
|
|
15
16
|
var otel_default = {
|
|
16
17
|
metadata
|