@connectycube/chat-widget 0.30.0 → 0.30.2

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.
@@ -17,7 +17,7 @@ export declare const createSession: (userId?: string, userName?: string, userAva
17
17
  export declare const destroyUserSession: () => Promise<void>;
18
18
  export declare const userSignup: (login: string, password: string, name?: string, externalId?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
19
19
  export declare const upsertConnectyCubeConfig: (config?: Config.Options) => void;
20
- export declare const autoconnect: (connect: (credentials: Chat.ConnectionParams) => Promise<void>, session?: Auth.Session | null) => Promise<void>;
20
+ export declare const autoconnect: (connect: (credentials: Chat.ConnectionParams) => Promise<boolean>, session?: Auth.Session | null) => Promise<boolean>;
21
21
  export declare const updateUserProfileIfNeeded: (session: Auth.Session, name?: string, externalId?: string, avatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
22
22
  export declare const setSessionToLocalStorage: (session: Auth.Session) => void;
23
23
  export declare const getSessionFromLocalStorage: () => Auth.Session | null;
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  "Busy": "Απασχολημένος/η",
64
64
  "Away": "Απουσιάζω",
65
65
  "Online": "Συνδεδεμένος/η",
66
+ "IncomingCall": "Εισερχόμενη κλήση",
66
67
  "IncomingAudioCall": "Εισερχόμενη κλήση ήχου από τον χρήστη {{name}}",
67
68
  "IncomingVideoCall": "Εισερχόμενη κλήση βίντεο από τον χρήστη {{name}}",
68
69
  "Accept": "Αποδοχή",
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  "Busy": "Busy",
64
64
  "Away": "Away",
65
65
  "Online": "Online",
66
+ "IncomingCall": "Incoming call",
66
67
  "IncomingAudioCall": "Incoming audio call from {{name}}",
67
68
  "IncomingVideoCall": "Incoming video call from {{name}}",
68
69
  "Accept": "Accept",
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  "Busy": "Зайнятий",
64
64
  "Away": "Відсутній",
65
65
  "Online": "В мережі",
66
+ "IncomingCall": "Вхідний виклик",
66
67
  "IncomingAudioCall": "Вхідний аудіо виклик від {{name}}",
67
68
  "IncomingVideoCall": "Вхідний відео виклик від {{name}}",
68
69
  "Accept": "Прийняти",
@@ -17,7 +17,7 @@ export declare const createSession: (userId?: string, userName?: string, userAva
17
17
  export declare const destroyUserSession: () => Promise<void>;
18
18
  export declare const userSignup: (login: string, password: string, name?: string, externalId?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
19
19
  export declare const upsertConnectyCubeConfig: (config?: Config.Options) => void;
20
- export declare const autoconnect: (connect: (credentials: Chat.ConnectionParams) => Promise<void>, session?: Auth.Session | null) => Promise<void>;
20
+ export declare const autoconnect: (connect: (credentials: Chat.ConnectionParams) => Promise<boolean>, session?: Auth.Session | null) => Promise<boolean>;
21
21
  export declare const updateUserProfileIfNeeded: (session: Auth.Session, name?: string, externalId?: string, avatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
22
22
  export declare const setSessionToLocalStorage: (session: Auth.Session) => void;
23
23
  export declare const getSessionFromLocalStorage: () => Auth.Session | null;
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  "Busy": "Απασχολημένος/η",
64
64
  "Away": "Απουσιάζω",
65
65
  "Online": "Συνδεδεμένος/η",
66
+ "IncomingCall": "Εισερχόμενη κλήση",
66
67
  "IncomingAudioCall": "Εισερχόμενη κλήση ήχου από τον χρήστη {{name}}",
67
68
  "IncomingVideoCall": "Εισερχόμενη κλήση βίντεο από τον χρήστη {{name}}",
68
69
  "Accept": "Αποδοχή",
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  "Busy": "Busy",
64
64
  "Away": "Away",
65
65
  "Online": "Online",
66
+ "IncomingCall": "Incoming call",
66
67
  "IncomingAudioCall": "Incoming audio call from {{name}}",
67
68
  "IncomingVideoCall": "Incoming video call from {{name}}",
68
69
  "Accept": "Accept",
@@ -63,6 +63,7 @@ declare const _default: {
63
63
  "Busy": "Зайнятий",
64
64
  "Away": "Відсутній",
65
65
  "Online": "В мережі",
66
+ "IncomingCall": "Вхідний виклик",
66
67
  "IncomingAudioCall": "Вхідний аудіо виклик від {{name}}",
67
68
  "IncomingVideoCall": "Вхідний відео виклик від {{name}}",
68
69
  "Accept": "Прийняти",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@connectycube/chat-widget",
3
3
  "description": "A React component that seamlessly integrates ConnectyCube's real-time chat capabilities into your web applications. This widget offers an out-of-the-box solution for embedding chat features—such as instant messaging, user presence, and file sharing—without the overhead of building a complete chat system from scratch.",
4
- "version": "0.30.0",
4
+ "version": "0.30.2",
5
5
  "license": "GPL-3.0-only",
6
6
  "homepage": "https://github.com/ConnectyCube/connectycube-chat-widget#readme",
7
7
  "bugs": {
@@ -79,8 +79,8 @@
79
79
  "version": "sh ./fetch-version.sh"
80
80
  },
81
81
  "dependencies": {
82
- "@connectycube/use-calls": "^0.11.0",
83
- "@connectycube/use-chat": "^0.25.0",
82
+ "@connectycube/use-calls": "^0.11.1",
83
+ "@connectycube/use-chat": "^0.26.0",
84
84
  "@radix-ui/react-alert-dialog": "^1.1.14",
85
85
  "@radix-ui/react-avatar": "^1.1.10",
86
86
  "@radix-ui/react-dialog": "^1.1.14",
@@ -92,15 +92,15 @@
92
92
  "@radix-ui/react-tooltip": "^1.2.7",
93
93
  "class-variance-authority": "^0.7.1",
94
94
  "clsx": "^2.1.1",
95
- "connectycube": "^4.5.0",
95
+ "connectycube": "^4.6.0",
96
96
  "get-browser-fingerprint": "^4.1.0",
97
97
  "i18next": "^25.2.1",
98
98
  "jsdom": "^26.1.0",
99
99
  "linkify-react": "^4.3.1",
100
100
  "linkifyjs": "^4.3.1",
101
- "lucide-react": "^0.515.0",
101
+ "lucide-react": "^0.517.0",
102
102
  "next-themes": "^0.4.6",
103
- "react-hook-form": "^7.57.0",
103
+ "react-hook-form": "^7.58.1",
104
104
  "react-i18next": "^15.5.3",
105
105
  "react-icons": "^5.5.0",
106
106
  "react-intersection-observer": "^9.16.0",
@@ -113,15 +113,15 @@
113
113
  "react-dom": "^18 || ^19"
114
114
  },
115
115
  "devDependencies": {
116
- "@eslint/js": "^9.28.0",
116
+ "@eslint/js": "^9.29.0",
117
117
  "@tailwindcss/postcss": "^4.1.10",
118
118
  "@tailwindcss/vite": "^4.1.10",
119
- "@types/node": "^24.0.1",
119
+ "@types/node": "^24.0.3",
120
120
  "@types/react": "^19.1.8",
121
121
  "@types/react-dom": "^19.1.6",
122
122
  "@vitejs/plugin-react": "^4.5.2",
123
- "@vitest/coverage-v8": "^3.2.3",
124
- "eslint": "^9.28.0",
123
+ "@vitest/coverage-v8": "^3.2.4",
124
+ "eslint": "^9.29.0",
125
125
  "eslint-plugin-react-hooks": "^5.2.0",
126
126
  "eslint-plugin-react-refresh": "^0.4.20",
127
127
  "globals": "^16.2.0",
@@ -131,11 +131,11 @@
131
131
  "tailwindcss": "^4.1.10",
132
132
  "tw-animate-css": "^1.3.4",
133
133
  "typescript": "^5.8.3",
134
- "typescript-eslint": "^8.34.0",
134
+ "typescript-eslint": "^8.34.1",
135
135
  "vite": "^6.3.5",
136
136
  "vite-plugin-css-injected-by-js": "^3.5.2",
137
137
  "vite-plugin-dts": "^4.5.4",
138
- "vitest": "^3.2.3"
138
+ "vitest": "^3.2.4"
139
139
  },
140
140
  "optionalDependencies": {
141
141
  "@rollup/rollup-linux-x64-gnu": "4.43.0",