@iai-lib/any-chat-widget 0.1.0-alpha.18 → 0.1.0-alpha.20

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.
@@ -1 +1 @@
1
- export { AnyChatWidget } from "./modules/iaiChatWidget/iaiChatWidget";
1
+ export { AnyChatWidget } from './modules/iaiChatWidget/iaiChatWidget';
@@ -1,4 +1,4 @@
1
- import { Five9Types } from "../../types/five9Types";
1
+ import { Five9Types } from '../../types/five9Types';
2
2
  export declare class Five9Manager {
3
3
  #private;
4
4
  private readonly _emitter;
@@ -1,2 +1,2 @@
1
- import { FunctionCallParams } from "@iai-lib/chat-widget/dist/types/schema/WidgetOptions";
1
+ import { FunctionCallParams } from '@iai-lib/chat-widget/dist/types/schema/WidgetOptions';
2
2
  export declare function generateShowScheduleTourWidgetHandler(schedulerUrl: string): (params: FunctionCallParams) => void;
@@ -1,6 +1,6 @@
1
- import { Five9Manager } from "../../five9/five9Manager";
2
- import { ChatWindowApi } from "@iai-lib/chat-widget/dist/types/types/widget";
3
- import { FunctionCallParams } from "@iai-lib/chat-widget/dist/types/schema/WidgetOptions";
1
+ import { FunctionCallParams } from '@iai-lib/chat-widget/dist/types/schema/WidgetOptions';
2
+ import { ChatWindowApi } from '@iai-lib/chat-widget/dist/types/types/widget';
3
+ import { Five9Manager } from '../../five9/five9Manager';
4
4
  export declare function getChatSessionKey(historyKey: string | null): string;
5
5
  export declare function transferToLiveAgent({ id, params, chatWindow, html, }: FunctionCallParams): Promise<void>;
6
6
  export declare function hijackChatForLiveAgent(chatWindow: ChatWindowApi, five9Manager: Five9Manager): void;
@@ -1,5 +1,5 @@
1
- import { WidgetOptions } from "@iai-lib/chat-widget/dist/types/schema/WidgetOptions";
2
- import { IAIChatWidget } from "@iai-lib/chat-widget";
1
+ import { IAIChatWidget } from '@iai-lib/chat-widget';
2
+ import { WidgetOptions } from '@iai-lib/chat-widget/dist/types/schema/WidgetOptions';
3
3
  export declare class AnyChatWidget {
4
4
  chatWidget: IAIChatWidget;
5
5
  constructor(widgetOptions: Partial<WidgetOptions>, anyOptions: AnyOptions);
@@ -1,4 +1,3 @@
1
-
2
1
  type ChatMessage = UserMessage | AgentMessage | SystemMessage;
3
2
 
4
3
  type Five9Events = {
@@ -14,4 +13,4 @@ type Five9Events = {
14
13
  typing: boolean;
15
14
  },
16
15
  event: Five9Event
17
- }
16
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iai-lib/any-chat-widget",
3
3
  "license": "SEE LICENSE IN LICENSE.md",
4
- "version": "0.1.0-alpha.18",
4
+ "version": "0.1.0-alpha.20",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -11,8 +11,8 @@
11
11
  "dev:build": "vite build --watch",
12
12
  "dev:build:delayed": "delay 10 && yarn dev:build",
13
13
  "build": "vite build",
14
- "lint": "eslint \"src/**/*.{js}\"",
15
- "lint:fix": "npm run lint -- --fix"
14
+ "lint": "eslint . --ignore-path .gitignore",
15
+ "lint:fix": "yarn lint --fix"
16
16
  },
17
17
  "main": "./dist/any-chat-widget.umd.js",
18
18
  "module": "./dist/any-chat-widget.es.js",
@@ -34,8 +34,8 @@
34
34
  "vite-plugin-static-copy": "^1.0.1"
35
35
  },
36
36
  "dependencies": {
37
- "@iai-lib/chat-widget": "^1.0.0-alpha.24",
37
+ "@iai-lib/chat-widget": "^1.0.0-alpha.26",
38
38
  "mitt": "^3.0.1"
39
39
  },
40
- "gitHead": "1845151c8a89d312ed6c29011bcad5cd751cff43"
40
+ "gitHead": "9faa5242e5fafb7ad995330219280039b2f13f96"
41
41
  }