@humeai/voice-embed 0.1.4 → 0.1.5-beta.2
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.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -295,6 +295,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
295
295
|
end: number;
|
|
296
296
|
} | null | undefined;
|
|
297
297
|
}>;
|
|
298
|
+
from_text: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
298
299
|
}, "strip", z.ZodTypeAny, {
|
|
299
300
|
type: "user_message";
|
|
300
301
|
message: {
|
|
@@ -310,6 +311,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
310
311
|
end: number;
|
|
311
312
|
} | null | undefined;
|
|
312
313
|
};
|
|
314
|
+
from_text?: boolean | null | undefined;
|
|
313
315
|
}, {
|
|
314
316
|
type: "user_message";
|
|
315
317
|
message: {
|
|
@@ -325,6 +327,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
325
327
|
end: number;
|
|
326
328
|
} | null | undefined;
|
|
327
329
|
};
|
|
330
|
+
from_text?: unknown;
|
|
328
331
|
}>, {
|
|
329
332
|
type: "user_message";
|
|
330
333
|
message: {
|
|
@@ -340,6 +343,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
340
343
|
end: number;
|
|
341
344
|
} | null | undefined;
|
|
342
345
|
};
|
|
346
|
+
from_text?: boolean | null | undefined;
|
|
343
347
|
} & {
|
|
344
348
|
receivedAt: Date;
|
|
345
349
|
}, {
|
|
@@ -357,6 +361,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
357
361
|
end: number;
|
|
358
362
|
} | null | undefined;
|
|
359
363
|
};
|
|
364
|
+
from_text?: unknown;
|
|
360
365
|
}>, z.ZodEffects<z.ZodObject<{
|
|
361
366
|
type: z.ZodLiteral<"assistant_message">;
|
|
362
367
|
id: z.ZodString;
|
|
@@ -494,6 +499,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
494
499
|
end: number;
|
|
495
500
|
} | null | undefined;
|
|
496
501
|
};
|
|
502
|
+
from_text?: boolean | null | undefined;
|
|
497
503
|
} & {
|
|
498
504
|
receivedAt: Date;
|
|
499
505
|
}) | ({
|
|
@@ -533,6 +539,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
533
539
|
end: number;
|
|
534
540
|
} | null | undefined;
|
|
535
541
|
};
|
|
542
|
+
from_text?: unknown;
|
|
536
543
|
} | {
|
|
537
544
|
type: "assistant_message";
|
|
538
545
|
message: {
|
|
@@ -606,6 +613,7 @@ declare const TRANSCRIPT_MESSAGE_ACTION: (message: UserTranscriptMessage | Assis
|
|
|
606
613
|
end: number;
|
|
607
614
|
} | null | undefined;
|
|
608
615
|
};
|
|
616
|
+
from_text?: boolean | null | undefined;
|
|
609
617
|
} & {
|
|
610
618
|
receivedAt: Date;
|
|
611
619
|
}) | ({
|
package/dist/index.d.ts
CHANGED
|
@@ -295,6 +295,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
295
295
|
end: number;
|
|
296
296
|
} | null | undefined;
|
|
297
297
|
}>;
|
|
298
|
+
from_text: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
|
|
298
299
|
}, "strip", z.ZodTypeAny, {
|
|
299
300
|
type: "user_message";
|
|
300
301
|
message: {
|
|
@@ -310,6 +311,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
310
311
|
end: number;
|
|
311
312
|
} | null | undefined;
|
|
312
313
|
};
|
|
314
|
+
from_text?: boolean | null | undefined;
|
|
313
315
|
}, {
|
|
314
316
|
type: "user_message";
|
|
315
317
|
message: {
|
|
@@ -325,6 +327,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
325
327
|
end: number;
|
|
326
328
|
} | null | undefined;
|
|
327
329
|
};
|
|
330
|
+
from_text?: unknown;
|
|
328
331
|
}>, {
|
|
329
332
|
type: "user_message";
|
|
330
333
|
message: {
|
|
@@ -340,6 +343,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
340
343
|
end: number;
|
|
341
344
|
} | null | undefined;
|
|
342
345
|
};
|
|
346
|
+
from_text?: boolean | null | undefined;
|
|
343
347
|
} & {
|
|
344
348
|
receivedAt: Date;
|
|
345
349
|
}, {
|
|
@@ -357,6 +361,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
357
361
|
end: number;
|
|
358
362
|
} | null | undefined;
|
|
359
363
|
};
|
|
364
|
+
from_text?: unknown;
|
|
360
365
|
}>, z.ZodEffects<z.ZodObject<{
|
|
361
366
|
type: z.ZodLiteral<"assistant_message">;
|
|
362
367
|
id: z.ZodString;
|
|
@@ -494,6 +499,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
494
499
|
end: number;
|
|
495
500
|
} | null | undefined;
|
|
496
501
|
};
|
|
502
|
+
from_text?: boolean | null | undefined;
|
|
497
503
|
} & {
|
|
498
504
|
receivedAt: Date;
|
|
499
505
|
}) | ({
|
|
@@ -533,6 +539,7 @@ declare const FrameToClientActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
533
539
|
end: number;
|
|
534
540
|
} | null | undefined;
|
|
535
541
|
};
|
|
542
|
+
from_text?: unknown;
|
|
536
543
|
} | {
|
|
537
544
|
type: "assistant_message";
|
|
538
545
|
message: {
|
|
@@ -606,6 +613,7 @@ declare const TRANSCRIPT_MESSAGE_ACTION: (message: UserTranscriptMessage | Assis
|
|
|
606
613
|
end: number;
|
|
607
614
|
} | null | undefined;
|
|
608
615
|
};
|
|
616
|
+
from_text?: boolean | null | undefined;
|
|
609
617
|
} & {
|
|
610
618
|
receivedAt: Date;
|
|
611
619
|
}) | ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@humeai/voice-embed",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5-beta.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"tsup": "^8.0.2",
|
|
24
24
|
"typescript": "^5.4.3",
|
|
25
25
|
"vitest": "^1.4.0",
|
|
26
|
-
"@humeai/
|
|
27
|
-
"@humeai/
|
|
26
|
+
"@humeai/typescript-config": "0.0.0",
|
|
27
|
+
"@humeai/eslint-config": "0.0.1"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"zod": "^3.22.4",
|
|
31
|
-
"@humeai/voice": "0.1.
|
|
31
|
+
"@humeai/voice": "0.1.5-beta.2"
|
|
32
32
|
},
|
|
33
33
|
"browserslist": [
|
|
34
34
|
"last 2 Chrome versions, last 2 iOS major versions, Firefox ESR, not dead"
|