@robylon/web-react-sdk 1.1.36-staging.4 → 1.1.36

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.
Files changed (57) hide show
  1. package/README.md +195 -256
  2. package/dist/cjs/index.js +1 -1
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/types/components/ChatbotContainer/ChatbotContainer.d.ts +5 -0
  5. package/dist/cjs/types/components/ChatbotFloatingButton.d.ts +3 -0
  6. package/dist/cjs/types/components/ChatbotIframe.d.ts +2 -0
  7. package/dist/cjs/types/components/RobylonChatbot.d.ts +7 -3
  8. package/dist/cjs/types/constants/fontStyles.d.ts +2 -0
  9. package/dist/cjs/types/index.d.ts +3 -1
  10. package/dist/cjs/types/types/events.d.ts +8 -1
  11. package/dist/cjs/types/types.d.ts +46 -0
  12. package/dist/cjs/types/utils/fetchData.d.ts +17 -0
  13. package/dist/cjs/types/utils/proactive.d.ts +4 -0
  14. package/dist/cjs/types/vanilla/components/ChatbotContainer.d.ts +3 -1
  15. package/dist/cjs/types/vanilla/components/ChatbotFloatingButton.d.ts +8 -0
  16. package/dist/cjs/types/vanilla/components/ChatbotIframe.d.ts +2 -0
  17. package/dist/cjs/types/vanilla/index.d.ts +7 -4
  18. package/dist/esm/index.js +1 -1
  19. package/dist/esm/index.js.map +1 -1
  20. package/dist/esm/types/components/ChatbotContainer/ChatbotContainer.d.ts +5 -0
  21. package/dist/esm/types/components/ChatbotFloatingButton.d.ts +3 -0
  22. package/dist/esm/types/components/ChatbotIframe.d.ts +2 -0
  23. package/dist/esm/types/components/RobylonChatbot.d.ts +7 -3
  24. package/dist/esm/types/constants/fontStyles.d.ts +2 -0
  25. package/dist/esm/types/index.d.ts +3 -1
  26. package/dist/esm/types/types/events.d.ts +8 -1
  27. package/dist/esm/types/types.d.ts +46 -0
  28. package/dist/esm/types/utils/fetchData.d.ts +17 -0
  29. package/dist/esm/types/utils/proactive.d.ts +4 -0
  30. package/dist/esm/types/vanilla/components/ChatbotContainer.d.ts +3 -1
  31. package/dist/esm/types/vanilla/components/ChatbotFloatingButton.d.ts +8 -0
  32. package/dist/esm/types/vanilla/components/ChatbotIframe.d.ts +2 -0
  33. package/dist/esm/types/vanilla/index.d.ts +7 -4
  34. package/dist/index.d.ts +66 -7
  35. package/dist/umd/robylon-chatbot.js +1 -1
  36. package/dist/umd/robylon-chatbot.js.map +1 -1
  37. package/dist/umd/types/components/ChatbotContainer/ChatbotContainer.d.ts +5 -0
  38. package/dist/umd/types/components/ChatbotFloatingButton.d.ts +3 -0
  39. package/dist/umd/types/components/ChatbotIframe.d.ts +2 -0
  40. package/dist/umd/types/components/RobylonChatbot.d.ts +7 -3
  41. package/dist/umd/types/constants/fontStyles.d.ts +2 -0
  42. package/dist/umd/types/index.d.ts +3 -1
  43. package/dist/umd/types/types/events.d.ts +8 -1
  44. package/dist/umd/types/types.d.ts +46 -0
  45. package/dist/umd/types/utils/fetchData.d.ts +17 -0
  46. package/dist/umd/types/utils/proactive.d.ts +4 -0
  47. package/dist/umd/types/vanilla/components/ChatbotContainer.d.ts +3 -1
  48. package/dist/umd/types/vanilla/components/ChatbotFloatingButton.d.ts +8 -0
  49. package/dist/umd/types/vanilla/components/ChatbotIframe.d.ts +2 -0
  50. package/dist/umd/types/vanilla/index.d.ts +7 -4
  51. package/package.json +2 -2
  52. package/dist/cjs/types/types/config.d.ts +0 -33
  53. package/dist/cjs/types/types/index.d.ts +0 -16
  54. package/dist/esm/types/types/config.d.ts +0 -33
  55. package/dist/esm/types/types/index.d.ts +0 -16
  56. package/dist/umd/types/types/config.d.ts +0 -33
  57. package/dist/umd/types/types/index.d.ts +0 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robylon/web-react-sdk",
3
- "version": "1.1.36-staging.4",
3
+ "version": "1.1.36",
4
4
  "description": "React SDK for Robylon AI Chatbot",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -26,7 +26,7 @@
26
26
  "version:staging": "npm version prerelease --preid=staging",
27
27
  "version:production": "npm version patch",
28
28
  "trigger:staging": "node scripts/trigger-staging-workflow.js",
29
- "trigger:production": "gh workflow run deploy-sdk-production.yml",
29
+ "trigger:production": "gh workflow run deploy-sdk.yml",
30
30
  "deploy:staging": "npm run version:staging && npm run trigger:staging",
31
31
  "deploy:production": "npm run version:production && npm run trigger:production",
32
32
  "update-changelog": "node scripts/update-changelog.js",
@@ -1,33 +0,0 @@
1
- export interface UserProfile {
2
- email: string;
3
- name: string;
4
- platform?: string;
5
- OS?: string;
6
- browser?: string;
7
- sdkVersion?: string;
8
- }
9
- export interface ChatbotStyles {
10
- buttonPosition?: "bottom-right" | "bottom-left";
11
- primaryColor?: string;
12
- buttonSize?: "small" | "medium" | "large";
13
- }
14
- export interface ChatbotConfig {
15
- chatbotId: string;
16
- userId: string;
17
- token: string;
18
- userProfile?: Record<string, any>;
19
- domain: string;
20
- brand_colour: string;
21
- image_url?: string;
22
- chat_interface_config?: {
23
- chat_bubble_prompts?: string[];
24
- display_name?: string;
25
- welcome_message?: string;
26
- };
27
- }
28
- export interface RobylonSdkConfig {
29
- chatbot_id: string;
30
- user_id: string;
31
- token?: string;
32
- userProfile: UserProfile;
33
- }
@@ -1,16 +0,0 @@
1
- export * from "./config";
2
- export * from "./state";
3
- export interface ChatbotConfig {
4
- chatbotId: string;
5
- userId: string;
6
- token: string;
7
- userProfile?: Record<string, any>;
8
- domain: string;
9
- brand_colour: string;
10
- image_url?: string;
11
- }
12
- export interface ChatbotState {
13
- isLoading: boolean;
14
- isInitialized: boolean;
15
- error: string | null;
16
- }
@@ -1,33 +0,0 @@
1
- export interface UserProfile {
2
- email: string;
3
- name: string;
4
- platform?: string;
5
- OS?: string;
6
- browser?: string;
7
- sdkVersion?: string;
8
- }
9
- export interface ChatbotStyles {
10
- buttonPosition?: "bottom-right" | "bottom-left";
11
- primaryColor?: string;
12
- buttonSize?: "small" | "medium" | "large";
13
- }
14
- export interface ChatbotConfig {
15
- chatbotId: string;
16
- userId: string;
17
- token: string;
18
- userProfile?: Record<string, any>;
19
- domain: string;
20
- brand_colour: string;
21
- image_url?: string;
22
- chat_interface_config?: {
23
- chat_bubble_prompts?: string[];
24
- display_name?: string;
25
- welcome_message?: string;
26
- };
27
- }
28
- export interface RobylonSdkConfig {
29
- chatbot_id: string;
30
- user_id: string;
31
- token?: string;
32
- userProfile: UserProfile;
33
- }
@@ -1,16 +0,0 @@
1
- export * from "./config";
2
- export * from "./state";
3
- export interface ChatbotConfig {
4
- chatbotId: string;
5
- userId: string;
6
- token: string;
7
- userProfile?: Record<string, any>;
8
- domain: string;
9
- brand_colour: string;
10
- image_url?: string;
11
- }
12
- export interface ChatbotState {
13
- isLoading: boolean;
14
- isInitialized: boolean;
15
- error: string | null;
16
- }
@@ -1,33 +0,0 @@
1
- export interface UserProfile {
2
- email: string;
3
- name: string;
4
- platform?: string;
5
- OS?: string;
6
- browser?: string;
7
- sdkVersion?: string;
8
- }
9
- export interface ChatbotStyles {
10
- buttonPosition?: "bottom-right" | "bottom-left";
11
- primaryColor?: string;
12
- buttonSize?: "small" | "medium" | "large";
13
- }
14
- export interface ChatbotConfig {
15
- chatbotId: string;
16
- userId: string;
17
- token: string;
18
- userProfile?: Record<string, any>;
19
- domain: string;
20
- brand_colour: string;
21
- image_url?: string;
22
- chat_interface_config?: {
23
- chat_bubble_prompts?: string[];
24
- display_name?: string;
25
- welcome_message?: string;
26
- };
27
- }
28
- export interface RobylonSdkConfig {
29
- chatbot_id: string;
30
- user_id: string;
31
- token?: string;
32
- userProfile: UserProfile;
33
- }
@@ -1,16 +0,0 @@
1
- export * from "./config";
2
- export * from "./state";
3
- export interface ChatbotConfig {
4
- chatbotId: string;
5
- userId: string;
6
- token: string;
7
- userProfile?: Record<string, any>;
8
- domain: string;
9
- brand_colour: string;
10
- image_url?: string;
11
- }
12
- export interface ChatbotState {
13
- isLoading: boolean;
14
- isInitialized: boolean;
15
- error: string | null;
16
- }