@robylon/web-react-sdk 1.1.47 → 1.1.48-staging.6

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.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Detects if text contains RTL (Right-to-Left) characters
3
+ * Supports Arabic, Hebrew, Persian/Farsi, Urdu, Yiddish, and other RTL scripts
4
+ * @param text - The text to analyze
5
+ * @returns "rtl" if RTL characters are dominant, "ltr" otherwise
6
+ */
7
+ export declare function detectTextDirection(text?: string): 'rtl' | 'ltr';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robylon/web-react-sdk",
3
- "version": "1.1.47",
3
+ "version": "1.1.48-staging.6",
4
4
  "description": "React SDK for Robylon AI Chatbot",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",