@bcc-code/vue-bcc-chat-ui 4.3.1 → 4.4.0

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,17 +1,4 @@
1
- export type LogEntry = {
2
- logUid: string;
3
- correlationUid?: string;
4
- message: String;
5
- severity: LogSeverity;
6
- userMetadata?: Record<string, any>;
7
- timestamp: string;
8
- };
9
- export declare enum LogSeverity {
10
- DEBUG = "Debug",
11
- INFO = "Info",
12
- WARN = "Warn",
13
- ERROR = "Error"
14
- }
1
+ import { LogEntry } from './types';
15
2
  declare class Logger {
16
3
  #private;
17
4
  constructor();
@@ -1,6 +1,5 @@
1
1
  import { BaseMessage, Group } from '@cometchat/chat-sdk-javascript';
2
2
  import { Ref } from 'vue';
3
- import { LogEntry } from './logger';
4
3
  export interface ChatInstallOptions {
5
4
  environment: Environment;
6
5
  language?: Language;
@@ -74,3 +73,17 @@ export interface DispatchData {
74
73
  messageId: number;
75
74
  }
76
75
  export type ThemeMode = 'dark' | 'light';
76
+ export type LogEntry = {
77
+ logUid: string;
78
+ correlationUid?: string;
79
+ message: String;
80
+ severity: LogSeverity;
81
+ userMetadata?: Record<string, any>;
82
+ timestamp: string;
83
+ };
84
+ export declare enum LogSeverity {
85
+ DEBUG = "Debug",
86
+ INFO = "Info",
87
+ WARN = "Warn",
88
+ ERROR = "Error"
89
+ }