@l7mp/tivadar-ai-chat-widget 1.0.2 → 1.0.3
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 +1 -1
- package/widget-webcomponent.js +1 -1
- package/widget.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@l7mp/tivadar-ai-chat-widget",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "AI-powered chat widget for websites. Works with React, Angular, Vue, Next.js, and vanilla HTML. Integrates with Azure OpenAI and RAG-based responses.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
package/widget-webcomponent.js
CHANGED
|
@@ -688,7 +688,7 @@ class TivadarAIChatWidget extends HTMLElement {
|
|
|
688
688
|
const url = new URL(this.config.apiEndpoint);
|
|
689
689
|
url.searchParams.set('apiKey', this.config.apiKey);
|
|
690
690
|
if (this.sessionId) {
|
|
691
|
-
url.searchParams.set('
|
|
691
|
+
url.searchParams.set('sessionId', this.sessionId);
|
|
692
692
|
}
|
|
693
693
|
|
|
694
694
|
const response = await fetch(url.toString(), {
|
package/widget.js
CHANGED
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
const url = new URL(this.config.apiEndpoint);
|
|
614
614
|
url.searchParams.set('apiKey', this.config.apiKey);
|
|
615
615
|
if (this.sessionId) {
|
|
616
|
-
url.searchParams.set('
|
|
616
|
+
url.searchParams.set('sessionId', this.sessionId);
|
|
617
617
|
}
|
|
618
618
|
|
|
619
619
|
const response = await fetch(url.toString(), {
|