sentifyd-bot 1.4.0 → 1.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sentifyd-bot",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "Sentifyd conversational AI chatbot with 3D avatar - npm package for React, Vue, and modern web frameworks",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
@@ -53,7 +53,7 @@
53
53
  "url": "git+https://github.com/Sentifyd/Sentifyd-frontend.git",
54
54
  "directory": "npm-package"
55
55
  },
56
- "author": "Sentifyd <info@sentifyd.io>",
56
+ "author": "Sentify Technology O\u00dc <info@sentifyd.io>",
57
57
  "license": "SEE LICENSE IN LICENSE.md",
58
58
  "homepage": "https://sentifyd.io",
59
59
  "engines": {
package/src/index.d.ts CHANGED
@@ -1,3 +1,11 @@
1
+ /*
2
+ ********************************************************************************
3
+ * Company: Sentify Technology OÜ
4
+ *
5
+ * Copyright (c) 2026 Sentify Technology OÜ. All rights reserved.
6
+ ********************************************************************************
7
+ */
8
+
1
9
  /**
2
10
  * Type definitions for Sentifyd Frontend
3
11
  * @module sentifyd-frontend
@@ -18,40 +26,40 @@ export interface SentifydStorage {
18
26
  export interface SentifydBotConfig {
19
27
  /** API key for authentication (required) */
20
28
  apiKey: string;
21
-
29
+
22
30
  /** Avatar ID to use (required) */
23
31
  avatarId: string;
24
-
32
+
25
33
  /** Show toggler button (default: "true") */
26
34
  toggler?: boolean | string;
27
-
35
+
28
36
  /** Use compact layout (default: "false") */
29
37
  compact?: boolean | string;
30
-
38
+
31
39
  /** Target application type (default: "web") */
32
40
  targetApp?: "web" | "mobile";
33
-
41
+
34
42
  /** Brand name to display */
35
43
  brandName?: string;
36
-
44
+
37
45
  /** Brand logo URL */
38
46
  brandLogo?: string;
39
-
47
+
40
48
  /** Terms of service URL */
41
49
  termsHref?: string;
42
-
50
+
43
51
  /** Privacy policy URL */
44
52
  privacyHref?: string;
45
-
53
+
46
54
  /** Enable live captions (default: false) */
47
55
  enableCaptions?: boolean | string;
48
-
56
+
49
57
  /** Custom token endpoint for authentication */
50
58
  tokenEndpoint?: string;
51
-
59
+
52
60
  /** ID of container element to mount in */
53
61
  containerId?: string;
54
-
62
+
55
63
  /** Additional custom attributes */
56
64
  customAttributes?: Record<string, string | number | boolean>;
57
65
  }
@@ -1,7 +1,7 @@
1
1
  /*********************************************************************************
2
2
  * react/SentifydBot.jsx
3
- * Company: CompAI
4
- * Copyright (c) 2024 CompAI. All rights reserved.
3
+ * Company: Sentify Technology OÜ
4
+ * Copyright (c) 2026 Sentify Technology OÜ. All rights reserved.
5
5
  *
6
6
  * React wrapper component for the Sentifyd bot web component.
7
7
  * Provides idiomatic React API with proper lifecycle management.
@@ -166,3 +166,4 @@ const SentifydBot = forwardRef(({
166
166
  SentifydBot.displayName = 'SentifydBot';
167
167
 
168
168
  export default SentifydBot;
169
+
@@ -1,3 +1,11 @@
1
+ /*
2
+ ********************************************************************************
3
+ * Company: Sentify Technology OÜ
4
+ *
5
+ * Copyright (c) 2026 Sentify Technology OÜ. All rights reserved.
6
+ ********************************************************************************
7
+ */
8
+
1
9
  /**
2
10
  * React type definitions for Sentifyd Frontend
3
11
  * @module sentifyd-frontend/react
@@ -11,55 +19,55 @@ import { ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes } from
11
19
  export interface SentifydBotProps {
12
20
  /** API key for authentication (required) */
13
21
  apiKey: string;
14
-
22
+
15
23
  /** Avatar ID to use (required) */
16
24
  avatarId: string;
17
-
25
+
18
26
  /** Show toggler button (default: true) */
19
27
  toggler?: boolean;
20
-
28
+
21
29
  /** Use compact layout (default: false) */
22
30
  compact?: boolean;
23
-
31
+
24
32
  /** Target application type (default: "web") */
25
33
  targetApp?: "web" | "mobile";
26
-
34
+
27
35
  /** Brand name to display */
28
36
  brandName?: string;
29
-
37
+
30
38
  /** Brand logo URL */
31
39
  brandLogo?: string;
32
-
40
+
33
41
  /** Terms of service URL */
34
42
  termsHref?: string;
35
-
43
+
36
44
  /** Privacy policy URL */
37
45
  privacyHref?: string;
38
-
46
+
39
47
  /** Enable live captions (default: false) */
40
48
  enableCaptions?: boolean;
41
-
49
+
42
50
  /** Custom token endpoint for authentication */
43
51
  tokenEndpoint?: string;
44
-
52
+
45
53
  /** CSS class name */
46
54
  className?: string;
47
-
55
+
48
56
  /** Inline styles */
49
57
  style?: React.CSSProperties;
50
-
58
+
51
59
  /** Callback when bot is ready */
52
60
  onReady?: (bot: HTMLElement, event: Event) => void;
53
-
61
+
54
62
  /** Callback when an error occurs */
55
63
  onError?: (error: any, event: Event) => void;
56
-
64
+
57
65
  /** Callback when bot is opened */
58
66
  onOpen?: (event: Event) => void;
59
-
67
+
60
68
  /** Callback when bot is closed */
61
69
  onClose?: (event: Event) => void;
62
-
70
+
63
71
  /** Additional custom attributes */
64
72
  [key: string]: any;
65
73
  }
@@ -70,13 +78,13 @@ export interface SentifydBotProps {
70
78
  export interface SentifydBotHandle {
71
79
  /** Access the underlying web component element */
72
80
  element: HTMLElement | null;
73
-
81
+
74
82
  /** Open the chatbot */
75
83
  open: () => void;
76
-
84
+
77
85
  /** Close the chatbot */
78
86
  close: () => void;
79
-
87
+
80
88
  /** Send a message programmatically */
81
89
  sendMessage: (message: string) => void;
82
90
  }
@@ -1,9 +1,10 @@
1
1
  /*********************************************************************************
2
2
  * react/index.js
3
- * Company: CompAI
4
- * Copyright (c) 2024 CompAI. All rights reserved.
3
+ * Company: Sentify Technology OÜ
4
+ * Copyright (c) 2026 Sentify Technology OÜ. All rights reserved.
5
5
  *
6
6
  * React exports entry point.
7
7
  *********************************************************************************/
8
8
 
9
9
  export { default as SentifydBot } from './SentifydBot.jsx';
10
+
@@ -1,3 +1,11 @@
1
+ /*
2
+ ********************************************************************************
3
+ * Company: Sentify Technology OÜ
4
+ *
5
+ * Copyright (c) 2026 Sentify Technology OÜ. All rights reserved.
6
+ ********************************************************************************
7
+ */
8
+
1
9
  /**
2
10
  * Vite plugin for sentifyd-bot to handle @met4citizen/talkinghead module compatibility.
3
11
  *