🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@cometchat/skills

Package Overview
Dependencies
Maintainers
14
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cometchat/skills - npm Package Compare versions

Comparing version
4.4.0
to
4.4.1
+1
-1
package.json
{
"name": "@cometchat/skills",
"version": "4.4.0",
"version": "4.4.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -232,3 +232,3 @@ ---

} else {
CometChatUIKit.init(settings).then(boot).catch((e) => { console.error(e); boot(); });
(CometChatUIKit.init(settings) ?? Promise.resolve()).then(boot).catch((e) => { console.error(e); boot(); });
}

@@ -235,0 +235,0 @@ ```

@@ -676,3 +676,3 @@ ---

1. Ensure `@astrojs/react` is installed: `npx astro add react`
2. Install packages: `npm install @cometchat/chat-uikit-react @cometchat/chat-sdk-javascript`
2. Install packages: `npm install @cometchat/chat-uikit-react@^6 @cometchat/chat-sdk-javascript@^4` — **⚠️ keep the `@^6` major pin; never install bare.** v7 is on npm — a bare `npm install @cometchat/chat-uikit-react` pulls it once it's tagged `latest`, and these v6 skills break against the v7 API.
3. Create `.env` with `PUBLIC_COMETCHAT_APP_ID`, `PUBLIC_COMETCHAT_REGION`, `PUBLIC_COMETCHAT_AUTH_KEY`

@@ -679,0 +679,0 @@ 4. Add `.env` to `.gitignore`

@@ -856,5 +856,7 @@ ---

```bash
npm install @cometchat/chat-uikit-react @cometchat/chat-sdk-javascript
npm install @cometchat/chat-uikit-react@^6 @cometchat/chat-sdk-javascript@^4
```
> ⚠️ **Keep the `@^6` / `@^4` major pins — never run a bare `npm install @cometchat/chat-uikit-react`.** v7 of the React UI Kit is published on npm; a bare (unpinned) install resolves to whatever is tagged `latest`, so once v7 promotes to `latest` it will pull v7 — and these skills teach the **v6** API, so the integration breaks. The `@^6` pin keeps you on the latest v6 (currently 6.5.2) regardless. Bump to `@^7` only when you've moved to the v7 skills.
> 💡 **Cost transparency (ENG-35722) — disclose proactively when integrating into a new project:** the kit adds roughly **2.8 MB of JS** (~860 KB gzipped), **~860 KB of CSS**, and **~1.5 MB of Roboto TTF fonts** (9 weights bundled). If the customer's app already loads custom fonts, the Roboto bundle is redundant; override via the `--cometchat-font-family` CSS variable to skip preloading the kit fonts (the TTFs still ship but the browser doesn't download them unless they're actually used). For SaaS founders evaluating CometChat vs self-build, also mention:

@@ -861,0 +863,0 @@ > - **Pricing:** https://www.cometchat.com/pricing (free tier covers small dev/test use)

@@ -279,3 +279,3 @@ ---

```bash
npm install @cometchat/calls-sdk-javascript
npm install @cometchat/calls-sdk-javascript@^5
npx @cometchat/skills-cli verify --json

@@ -282,0 +282,0 @@ ```

@@ -164,3 +164,3 @@ ---

useEffect(() => {
CometChatUIKit.init(settings).then(() => {
CometChatUIKit.init(settings)?.then(() => {
CometChatLocalize.init({ language: getUserLocale(), fallbackLanguage: "en" });

@@ -167,0 +167,0 @@ // Now mount kit components

@@ -57,4 +57,4 @@ ---

# Core SDK + UI Kit
npm install @cometchat/chat-sdk-react-native
npm install @cometchat/chat-uikit-react-native
npm install @cometchat/chat-sdk-react-native@^4
npm install @cometchat/chat-uikit-react-native@^5

@@ -61,0 +61,0 @@ # Natively-linked deps used by the kit + sample apps. (datetimepicker isn't a

@@ -286,3 +286,3 @@ ---

```bash
npm install @cometchat/chat-sdk-react-native @cometchat/calls-sdk-react-native
npm install @cometchat/chat-sdk-react-native@^4 @cometchat/calls-sdk-react-native@^5
npm install react-native-callkeep react-native-voip-push-notification @react-native-firebase/app @react-native-firebase/messaging

@@ -289,0 +289,0 @@ npm install react-native-webrtc # Calls SDK peer dep

@@ -470,3 +470,3 @@ ---

```bash
npm install @cometchat/calls-sdk-react-native \
npm install @cometchat/calls-sdk-react-native@^5 \
@react-native-community/netinfo \

@@ -473,0 +473,0 @@ react-native-callstats \

@@ -67,4 +67,4 @@ ---

# Core SDK + UI Kit
npm install @cometchat/chat-sdk-react-native
npm install @cometchat/chat-uikit-react-native
npm install @cometchat/chat-sdk-react-native@^4
npm install @cometchat/chat-uikit-react-native@^5

@@ -103,3 +103,3 @@ # Required peer deps (all natively-linked)

```bash
npm install @cometchat/calls-sdk-react-native \
npm install @cometchat/calls-sdk-react-native@^5 \
react-native-url-polyfill \

@@ -106,0 +106,0 @@ react-native-performance \

@@ -139,3 +139,3 @@ ---

```bash
npm install @cometchat/calls-sdk-react-native
npm install @cometchat/calls-sdk-react-native@^5
npx expo install \

@@ -142,0 +142,0 @@ @react-native-community/netinfo \

@@ -429,6 +429,6 @@ ---

# 1. Update the main kit
npm install @cometchat/chat-uikit-react-native@latest
npm install @cometchat/chat-uikit-react-native@^5
# 2. Install the full peer-dep set (v5 doesn't auto-install them like v4 did)
npm install @cometchat/chat-sdk-react-native \
npm install @cometchat/chat-sdk-react-native@^4 \
@react-native-async-storage/async-storage \

@@ -435,0 +435,0 @@ @react-native-clipboard/clipboard \

@@ -853,3 +853,3 @@ ---

1. Install packages: `npm install @cometchat/chat-uikit-react @cometchat/chat-sdk-javascript`
1. Install packages: `npm install @cometchat/chat-uikit-react@^6 @cometchat/chat-sdk-javascript@^4` — **⚠️ keep the `@^6` major pin; never install bare.** v7 is on npm — a bare `npm install @cometchat/chat-uikit-react` pulls it once it's tagged `latest`, and these v6 skills break against the v7 API.
2. Create `.env.local` with `NEXT_PUBLIC_COMETCHAT_APP_ID`, `NEXT_PUBLIC_COMETCHAT_REGION`, `NEXT_PUBLIC_COMETCHAT_AUTH_KEY`

@@ -865,3 +865,3 @@ 3. Import `@cometchat/chat-uikit-react/css-variables.css` in `app/globals.css`

1. Install packages: `npm install @cometchat/chat-uikit-react @cometchat/chat-sdk-javascript`
1. Install packages: `npm install @cometchat/chat-uikit-react@^6 @cometchat/chat-sdk-javascript@^4` — **⚠️ keep the `@^6` major pin; never install bare.** v7 is on npm — a bare `npm install @cometchat/chat-uikit-react` pulls it once it's tagged `latest`, and these v6 skills break against the v7 API.
2. Create `.env.local` with `NEXT_PUBLIC_COMETCHAT_APP_ID`, `NEXT_PUBLIC_COMETCHAT_REGION`, `NEXT_PUBLIC_COMETCHAT_AUTH_KEY`

@@ -868,0 +868,0 @@ 3. Import `@cometchat/chat-uikit-react/css-variables.css` in `pages/_app.tsx`

@@ -605,3 +605,3 @@ ---

1. Install packages: `npm install @cometchat/chat-uikit-react @cometchat/chat-sdk-javascript`
1. Install packages: `npm install @cometchat/chat-uikit-react@^6 @cometchat/chat-sdk-javascript@^4` — **⚠️ keep the `@^6` major pin; never install bare.** v7 is on npm — a bare `npm install @cometchat/chat-uikit-react` pulls it once it's tagged `latest`, and these v6 skills break against the v7 API.
2. Create `.env` with `VITE_COMETCHAT_APP_ID`, `VITE_COMETCHAT_REGION`, `VITE_COMETCHAT_AUTH_KEY`

@@ -608,0 +608,0 @@ 3. Add `.env` to `.gitignore` if not already there

@@ -706,3 +706,3 @@ ---

1. Install packages: `npm install @cometchat/chat-uikit-react @cometchat/chat-sdk-javascript`
1. Install packages: `npm install @cometchat/chat-uikit-react@^6 @cometchat/chat-sdk-javascript@^4` — **⚠️ keep the `@^6` major pin; never install bare.** v7 is on npm — a bare `npm install @cometchat/chat-uikit-react` pulls it once it's tagged `latest`, and these v6 skills break against the v7 API.
2. Create `.env` with `VITE_COMETCHAT_APP_ID`, `VITE_COMETCHAT_REGION`, `VITE_COMETCHAT_AUTH_KEY`

@@ -719,3 +719,3 @@ 3. Add `.env` to `.gitignore`

1. Install packages: `npm install @cometchat/chat-uikit-react @cometchat/chat-sdk-javascript`
1. Install packages: `npm install @cometchat/chat-uikit-react@^6 @cometchat/chat-sdk-javascript@^4` — **⚠️ keep the `@^6` major pin; never install bare.** v7 is on npm — a bare `npm install @cometchat/chat-uikit-react` pulls it once it's tagged `latest`, and these v6 skills break against the v7 API.
2. Create `.env` with `VITE_COMETCHAT_APP_ID`, `VITE_COMETCHAT_REGION`, `VITE_COMETCHAT_AUTH_KEY`

@@ -722,0 +722,0 @@ 3. Add `.env` to `.gitignore`