@intentai/react 2.2.0 → 2.3.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@intentai/react",
3
- "version": "2.2.0",
4
- "description": "React component for Intent AI feedback widget - easily collect user feedback with AI-powered analysis",
3
+ "version": "2.3.0",
4
+ "description": "Official React SDK for Intent AI - AI-powered feedback collection widget with frustration detection and proactive help",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org",
7
7
  "access": "public"
@@ -14,48 +14,51 @@
14
14
  "types": "./dist/index.d.ts",
15
15
  "import": "./dist/index.mjs",
16
16
  "require": "./dist/index.js"
17
- },
18
- "./styles.css": "./dist/styles.css"
17
+ }
19
18
  },
20
19
  "files": [
21
- "dist"
20
+ "dist",
21
+ "README.md"
22
22
  ],
23
+ "sideEffects": false,
23
24
  "scripts": {
24
- "build": "tsup src/index.tsx --format cjs,esm --dts --external react --external framer-motion && cp src/styles/premium-widget.css dist/styles.css",
25
- "dev": "tsup src/index.tsx --format cjs,esm --dts --external react --external framer-motion --watch",
25
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean",
26
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
27
+ "lint": "tsc --noEmit",
26
28
  "prepublishOnly": "npm run build"
27
29
  },
28
30
  "keywords": [
29
31
  "react",
32
+ "nextjs",
30
33
  "feedback",
31
34
  "widget",
32
35
  "intent-ai",
36
+ "intentai",
33
37
  "user-feedback",
34
38
  "voice-feedback",
35
39
  "ai-feedback",
36
- "customer-feedback"
40
+ "customer-feedback",
41
+ "nps",
42
+ "csat"
37
43
  ],
38
- "author": "Intent AI",
44
+ "author": "Intent AI <hello@intent-ai.com>",
39
45
  "license": "MIT",
40
46
  "repository": {
41
47
  "type": "git",
42
- "url": "https://github.com/aibasicintent-dev/Intetnt-ai-v1.git",
43
- "directory": "packages/react-widget"
48
+ "url": "https://github.com/intentai/react-sdk.git"
49
+ },
50
+ "homepage": "https://intent-ai.com/docs/react",
51
+ "bugs": {
52
+ "url": "https://github.com/intentai/react-sdk/issues"
44
53
  },
45
- "homepage": "https://intent-ai.com",
46
54
  "peerDependencies": {
47
55
  "react": ">=16.8.0",
48
- "react-dom": ">=16.8.0",
49
- "framer-motion": ">=10.0.0"
50
- },
51
- "dependencies": {
52
- "framer-motion": "^11.0.0"
56
+ "react-dom": ">=16.8.0"
53
57
  },
54
58
  "devDependencies": {
55
59
  "@types/node": "^20.0.0",
56
60
  "@types/react": "^18.2.0",
57
61
  "@types/react-dom": "^18.2.0",
58
- "framer-motion": "^11.0.0",
59
62
  "react": "^18.2.0",
60
63
  "react-dom": "^18.2.0",
61
64
  "tsup": "^8.0.0",