@connectycube/chat-widget 0.27.0 → 0.28.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.
@@ -14,6 +14,7 @@ export declare const tryReuseSession: (userName?: string, userId?: string, userA
14
14
  export declare const tryRestoreSession: () => Promise<Auth.Session | null>;
15
15
  export declare const createUserSession: (login: string, password: string) => Promise<Auth.Session>;
16
16
  export declare const createSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
17
+ export declare const restoreSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
17
18
  export declare const destroyUserSession: () => Promise<void>;
18
19
  export declare const userSignup: (login: string, password: string, name?: string, externalId?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
19
20
  export declare const chatCredentials: () => Chat.ConnectionParams | null;
@@ -14,6 +14,7 @@ export declare const tryReuseSession: (userName?: string, userId?: string, userA
14
14
  export declare const tryRestoreSession: () => Promise<Auth.Session | null>;
15
15
  export declare const createUserSession: (login: string, password: string) => Promise<Auth.Session>;
16
16
  export declare const createSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
17
+ export declare const restoreSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
17
18
  export declare const destroyUserSession: () => Promise<void>;
18
19
  export declare const userSignup: (login: string, password: string, name?: string, externalId?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
19
20
  export declare const chatCredentials: () => Chat.ConnectionParams | null;
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.27.0",
4
+ "version": "0.28.0",
5
5
  "license": "GPL-3.0-only",
6
6
  "homepage": "https://github.com/ConnectyCube/connectycube-chat-widget#readme",
7
7
  "bugs": {
@@ -97,7 +97,7 @@
97
97
  "jsdom": "^26.1.0",
98
98
  "linkify-react": "^4.3.1",
99
99
  "linkifyjs": "^4.3.1",
100
- "lucide-react": "^0.511.0",
100
+ "lucide-react": "^0.513.0",
101
101
  "next-themes": "^0.4.6",
102
102
  "react-hook-form": "^7.57.0",
103
103
  "react-i18next": "^15.5.2",
@@ -115,11 +115,11 @@
115
115
  "@eslint/js": "^9.28.0",
116
116
  "@tailwindcss/postcss": "^4.1.8",
117
117
  "@tailwindcss/vite": "^4.1.8",
118
- "@types/node": "^22.15.29",
118
+ "@types/node": "^22.15.30",
119
119
  "@types/react": "^19.1.6",
120
- "@types/react-dom": "^19.1.5",
120
+ "@types/react-dom": "^19.1.6",
121
121
  "@vitejs/plugin-react": "^4.5.1",
122
- "@vitest/coverage-v8": "^3.2.0",
122
+ "@vitest/coverage-v8": "^3.2.3",
123
123
  "eslint": "^9.28.0",
124
124
  "eslint-plugin-react-hooks": "^5.2.0",
125
125
  "eslint-plugin-react-refresh": "^0.4.20",
@@ -128,16 +128,16 @@
128
128
  "tailwind-merge": "^3.3.0",
129
129
  "tailwind-scrollbar": "^4.0.2",
130
130
  "tailwindcss": "^4.1.8",
131
- "tw-animate-css": "^1.3.3",
131
+ "tw-animate-css": "^1.3.4",
132
132
  "typescript": "^5.8.3",
133
133
  "typescript-eslint": "^8.33.1",
134
134
  "vite": "^6.3.5",
135
135
  "vite-plugin-css-injected-by-js": "^3.5.2",
136
136
  "vite-plugin-dts": "^4.5.4",
137
- "vitest": "^3.2.0"
137
+ "vitest": "^3.2.3"
138
138
  },
139
139
  "optionalDependencies": {
140
- "@rollup/rollup-linux-x64-gnu": "4.41.1",
140
+ "@rollup/rollup-linux-x64-gnu": "4.42.0",
141
141
  "@tailwindcss/oxide-linux-x64-gnu": "^4.1.8",
142
142
  "lightningcss-linux-x64-gnu": "^1.30.1"
143
143
  },