raindrop-ai 0.0.43 → 0.0.44
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-CPL3oZVf.d.mts → index-S4-ILTbE.d.mts} +1 -0
- package/dist/{index-CPL3oZVf.d.ts → index-S4-ILTbE.d.ts} +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/dist/tracing/index.d.mts +1 -1
- package/dist/tracing/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -86,8 +86,9 @@ var SignalEventSchema = import_zod.z.object({
|
|
|
86
86
|
event_id: import_zod.z.string(),
|
|
87
87
|
signal_name: import_zod.z.string(),
|
|
88
88
|
timestamp: import_zod.z.coerce.date().optional(),
|
|
89
|
-
properties: import_zod.z.record(import_zod.z.any()).optional(),
|
|
90
|
-
attachment_id: import_zod.z.string().optional(),
|
|
89
|
+
properties: import_zod.z.record(import_zod.z.any()).optional().nullable(),
|
|
90
|
+
attachment_id: import_zod.z.string().optional().nullable(),
|
|
91
|
+
sentiment: import_zod.z.enum(["POSITIVE", "NEGATIVE"]).optional().nullable(),
|
|
91
92
|
signal_type: import_zod.z.enum(["default", "feedback", "edit", "standard"]).default("default")
|
|
92
93
|
});
|
|
93
94
|
var LegacyAiTrackEventSchema = TrackEventSchema.extend({
|
|
@@ -107,7 +108,7 @@ var CategorizationRequestSchema = import_zod.z.object({
|
|
|
107
108
|
// package.json
|
|
108
109
|
var package_default = {
|
|
109
110
|
name: "raindrop-ai",
|
|
110
|
-
version: "0.0.
|
|
111
|
+
version: "0.0.44",
|
|
111
112
|
main: "dist/index.js",
|
|
112
113
|
module: "dist/index.mjs",
|
|
113
114
|
types: "dist/index.d.ts",
|
|
@@ -621,6 +622,7 @@ var Raindrop = class {
|
|
|
621
622
|
event_id: s.eventId,
|
|
622
623
|
signal_name: s.name,
|
|
623
624
|
timestamp: s.timestamp,
|
|
625
|
+
sentiment: s.sentiment,
|
|
624
626
|
properties: {
|
|
625
627
|
...s.properties,
|
|
626
628
|
..."comment" in s ? { comment: s.comment } : {},
|
package/dist/index.mjs
CHANGED
|
@@ -62,8 +62,9 @@ var SignalEventSchema = z.object({
|
|
|
62
62
|
event_id: z.string(),
|
|
63
63
|
signal_name: z.string(),
|
|
64
64
|
timestamp: z.coerce.date().optional(),
|
|
65
|
-
properties: z.record(z.any()).optional(),
|
|
66
|
-
attachment_id: z.string().optional(),
|
|
65
|
+
properties: z.record(z.any()).optional().nullable(),
|
|
66
|
+
attachment_id: z.string().optional().nullable(),
|
|
67
|
+
sentiment: z.enum(["POSITIVE", "NEGATIVE"]).optional().nullable(),
|
|
67
68
|
signal_type: z.enum(["default", "feedback", "edit", "standard"]).default("default")
|
|
68
69
|
});
|
|
69
70
|
var LegacyAiTrackEventSchema = TrackEventSchema.extend({
|
|
@@ -83,7 +84,7 @@ var CategorizationRequestSchema = z.object({
|
|
|
83
84
|
// package.json
|
|
84
85
|
var package_default = {
|
|
85
86
|
name: "raindrop-ai",
|
|
86
|
-
version: "0.0.
|
|
87
|
+
version: "0.0.44",
|
|
87
88
|
main: "dist/index.js",
|
|
88
89
|
module: "dist/index.mjs",
|
|
89
90
|
types: "dist/index.d.ts",
|
|
@@ -427,6 +428,7 @@ var Raindrop = class {
|
|
|
427
428
|
event_id: s.eventId,
|
|
428
429
|
signal_name: s.name,
|
|
429
430
|
timestamp: s.timestamp,
|
|
431
|
+
sentiment: s.sentiment,
|
|
430
432
|
properties: {
|
|
431
433
|
...s.properties,
|
|
432
434
|
..."comment" in s ? { comment: s.comment } : {},
|
package/dist/tracing/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as traceloop from '@traceloop/node-server-sdk';
|
|
2
|
-
import { R as Raindrop, P as PartialAiTrackEvent, I as Interaction } from '../index-
|
|
2
|
+
import { R as Raindrop, P as PartialAiTrackEvent, I as Interaction } from '../index-S4-ILTbE.mjs';
|
|
3
3
|
import '@dawn/schemas/ingest';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
|
package/dist/tracing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as traceloop from '@traceloop/node-server-sdk';
|
|
2
|
-
import { R as Raindrop, P as PartialAiTrackEvent, I as Interaction } from '../index-
|
|
2
|
+
import { R as Raindrop, P as PartialAiTrackEvent, I as Interaction } from '../index-S4-ILTbE.js';
|
|
3
3
|
import '@dawn/schemas/ingest';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
|