@l7mp/tivadar-ai-chat-widget 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @l7mp/ai-chat-widget
1
+ # @l7mp/tivadar-ai-chat-widget
2
2
 
3
3
  AI-powered chat widget for websites. Works with React, Angular, Vue, Next.js, and vanilla HTML.
4
4
 
@@ -70,7 +70,7 @@ export default function Page() {
70
70
  #### React wrapper component (with TypeScript support)
71
71
 
72
72
  ```jsx
73
- import AIChatWidget from '@l7mp/ai-chat-widget/react'
73
+ import AIChatWidget from '@l7mp/tivadar-ai-chat-widget/react'
74
74
 
75
75
  export default function Page() {
76
76
  return (
@@ -220,7 +220,7 @@ TypeScript definitions are included via `index.d.ts`.
220
220
  ### Publish to npm
221
221
 
222
222
  ```bash
223
- cd packages/chat-widget-ts
223
+ cd packages/tivadar-chat-widget
224
224
 
225
225
  # Bump version
226
226
  npm version patch # or minor/major
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@l7mp/tivadar-ai-chat-widget",
3
- "version": "1.0.2",
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.",
3
+ "version": "1.0.4",
4
+ "description": "AI-powered chat widget for websites. Works with React, Angular, Vue, Next.js, and vanilla HTML. Integrates with Tivadar.ai from L7mp.io.",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -52,12 +52,12 @@
52
52
  "license": "SEE LICENSE IN LICENSE",
53
53
  "repository": {
54
54
  "type": "git",
55
- "url": "https://github.com/l7mp/tivadar-ai-chat-widget.git"
55
+ "url": "https://github.com/l7mp/tivadar-ai-langchain.git"
56
56
  },
57
57
  "bugs": {
58
- "url": "https://github.com/l7mp/tivadar-ai-chat-widget/issues"
58
+ "url": "https://github.com/l7mp/tivadar-ai-langchain/issues"
59
59
  },
60
- "homepage": "https://github.com/l7mp/tivadar-ai-chat-widget#readme",
60
+ "homepage": "https://github.com/l7mp/tivadar-ai-langchain/blob/master/packages/tivadar-chat-widget/README.md",
61
61
  "engines": {
62
62
  "node": ">=14.0.0"
63
63
  },
@@ -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('session_id', this.sessionId);
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('session_id', this.sessionId);
616
+ url.searchParams.set('sessionId', this.sessionId);
617
617
  }
618
618
 
619
619
  const response = await fetch(url.toString(), {