@telia-ace/widget-conversation-flamingo 1.1.45-rc.2 → 1.1.45-rc.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,9 +12,11 @@ export declare class ConversationProvider {
12
12
  session: ConversationSessionState;
13
13
  private print$;
14
14
  private typingState$;
15
+ private complete$;
15
16
  protected system: System;
16
17
  constructor(name: string, session: ConversationSessionState);
17
- connect(): void;
18
+ connect(_conversationOptions?: Record<string, any>): void;
19
+ disconnected(): void;
18
20
  onUserSubmit(action: UserSubmitEvent): void;
19
21
  print(type: ConversationMessageType, text: string): ConversationEntry;
20
22
  printEntry(entry: ConversationEntry): ConversationEntry;
@@ -25,7 +27,8 @@ export declare class ConversationProvider {
25
27
  setToastMessage(message: string | null): void;
26
28
  isTyping(): import("rxjs").Observable<boolean>;
27
29
  actions(): import("rxjs").Observable<ConversationEntry>;
28
- complete(): void;
29
30
  playNotification(): void;
31
+ onComplete: () => import("rxjs").Observable<void>;
32
+ complete(): void;
30
33
  }
31
34
  export {};
@@ -10,13 +10,12 @@ export declare class ConversationSessionState {
10
10
  entries$: BehaviorSubject<ConversationEntry[]>;
11
11
  private kill$;
12
12
  private provider?;
13
- private queue;
13
+ private isTyping$;
14
14
  constructor(id: string, component: Conversation, platform: ConversationPlatform);
15
15
  private write;
16
16
  entries(): Observable<ConversationEntry[]>;
17
- setProvider(provider: ConversationProvider): void;
18
- handover(providerKey: string): void;
17
+ setProvider(provider: ConversationProvider, options?: Record<string, any>): void;
18
+ handover(providerKey: string, handoverOptions?: Record<string, any>): Observable<void>;
19
19
  addEntryRemoveHandler(entry: ConversationEntry): void;
20
- completeProvider(): void;
21
20
  isTyping(): Observable<boolean>;
22
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-conversation-flamingo",
3
- "version": "1.1.45-rc.2",
3
+ "version": "1.1.45-rc.4",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "@lit-labs/motion": "^1.0.4",
10
10
  "@teliads/icons": "^8.4.0",
11
11
  "@teliads/components": "^22.1.1",
12
- "@telia-ace/widget-core-flamingo": "1.1.45-rc.2",
12
+ "@telia-ace/widget-core-flamingo": "1.1.45-rc.4",
13
13
  "uuid": "^9.0.1",
14
14
  "lit-html": "^3.0.2",
15
15
  "rxjs": "^7.8.1"