@eloquentai/chat-sdk 0.31.4-dev → 0.31.5-dev
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/hooks/use-typed-text.d.ts +11 -0
- package/dist/{index-CsCNaNxk.js → index-BAwLz-aa.js} +2 -2
- package/dist/{index-CsCNaNxk.js.map → index-BAwLz-aa.js.map} +1 -1
- package/dist/{index-Ctggd6zT.js → index-Bshmu3Q1.js} +5274 -4965
- package/dist/index-Bshmu3Q1.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +13 -2
- package/dist/components/chat-interface/footer.test.d.ts +0 -1
- package/dist/index-Ctggd6zT.js.map +0 -1
- package/dist/lib/http.test.d.ts +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reveals `text` one character at a time, restarting whenever the text changes.
|
|
3
|
+
*
|
|
4
|
+
* Distinct from `useTypewriter`, which reveals whole messages at once: cognition
|
|
5
|
+
* labels are a few words that replace each other, so typing them in is what
|
|
6
|
+
* makes the swap read as the agent moving on to the next step rather than the
|
|
7
|
+
* text glitching.
|
|
8
|
+
*
|
|
9
|
+
* Returns the full text immediately when the reader prefers reduced motion.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useTypedText(text: string, isEnabled?: boolean): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Oe from "react";
|
|
2
2
|
import { version as Zu } from "react";
|
|
3
|
-
import { g as Rp } from "./index-
|
|
3
|
+
import { g as Rp } from "./index-Bshmu3Q1.js";
|
|
4
4
|
try {
|
|
5
5
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e912b1ab-8839-4e6c-90b8-c20d1854ba0f", e._sentryDebugIdIdentifier = "sentry-dbid-e912b1ab-8839-4e6c-90b8-c20d1854ba0f");
|
|
@@ -18790,4 +18790,4 @@ export {
|
|
|
18790
18790
|
iR as wrapUseRoutesV7,
|
|
18791
18791
|
ik as zodErrorsIntegration
|
|
18792
18792
|
};
|
|
18793
|
-
//# sourceMappingURL=index-
|
|
18793
|
+
//# sourceMappingURL=index-BAwLz-aa.js.map
|