@clivly/chat-widget 0.5.0 → 0.7.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/dist/browser-mount.cjs +13 -4
- package/dist/browser-mount.d.cts +1 -2
- package/dist/browser-mount.d.mts +1 -2
- package/dist/browser-mount.mjs +13 -4
- package/dist/browser.cjs +13 -4
- package/dist/browser.d.cts +1 -2
- package/dist/browser.d.mts +1 -2
- package/dist/browser.mjs +13 -4
- package/dist/index.cjs +14 -5
- package/dist/index.d.cts +6 -31
- package/dist/index.d.mts +6 -31
- package/dist/index.mjs +14 -5
- package/dist/widget.global.js +130 -40
- package/package.json +52 -60
package/package.json
CHANGED
|
@@ -1,87 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clivly/chat-widget",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Clivly chat widget — embeddable React and script-tag entrypoints for Clivly conversations.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"exports": {
|
|
10
|
-
".":
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./browser": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/browser.d.mts",
|
|
23
|
+
"default": "./dist/browser.mjs"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/browser.d.cts",
|
|
27
|
+
"default": "./dist/browser.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"./mount": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/browser-mount.d.mts",
|
|
33
|
+
"default": "./dist/browser-mount.mjs"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/browser-mount.d.cts",
|
|
37
|
+
"default": "./dist/browser-mount.cjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"./script": {
|
|
41
|
+
"default": "./dist/widget.global.js"
|
|
42
|
+
}
|
|
14
43
|
},
|
|
15
44
|
"files": [
|
|
16
45
|
"dist"
|
|
17
46
|
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "tsdown",
|
|
20
|
-
"check-types": "tsc --noEmit",
|
|
21
|
-
"prepublishOnly": "pnpm build",
|
|
22
|
-
"test": "vitest run --environment jsdom"
|
|
23
|
-
},
|
|
24
47
|
"publishConfig": {
|
|
25
|
-
"main": "./dist/index.cjs",
|
|
26
|
-
"module": "./dist/index.mjs",
|
|
27
|
-
"types": "./dist/index.d.cts",
|
|
28
|
-
"unpkg": "./dist/widget.global.js",
|
|
29
48
|
"jsdelivr": "./dist/widget.global.js",
|
|
30
|
-
"
|
|
31
|
-
".": {
|
|
32
|
-
"import": {
|
|
33
|
-
"types": "./dist/index.d.mts",
|
|
34
|
-
"default": "./dist/index.mjs"
|
|
35
|
-
},
|
|
36
|
-
"require": {
|
|
37
|
-
"types": "./dist/index.d.cts",
|
|
38
|
-
"default": "./dist/index.cjs"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"./browser": {
|
|
42
|
-
"import": {
|
|
43
|
-
"types": "./dist/browser.d.mts",
|
|
44
|
-
"default": "./dist/browser.mjs"
|
|
45
|
-
},
|
|
46
|
-
"require": {
|
|
47
|
-
"types": "./dist/browser.d.cts",
|
|
48
|
-
"default": "./dist/browser.cjs"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"./mount": {
|
|
52
|
-
"import": {
|
|
53
|
-
"types": "./dist/browser-mount.d.mts",
|
|
54
|
-
"default": "./dist/browser-mount.mjs"
|
|
55
|
-
},
|
|
56
|
-
"require": {
|
|
57
|
-
"types": "./dist/browser-mount.d.cts",
|
|
58
|
-
"default": "./dist/browser-mount.cjs"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"./script": {
|
|
62
|
-
"default": "./dist/widget.global.js"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"access": "public",
|
|
66
|
-
"provenance": true
|
|
49
|
+
"access": "public"
|
|
67
50
|
},
|
|
68
51
|
"peerDependencies": {
|
|
69
52
|
"react": ">=18.0.0",
|
|
70
53
|
"react-dom": ">=18.0.0"
|
|
71
54
|
},
|
|
72
55
|
"devDependencies": {
|
|
73
|
-
"@clivly.com/config": "workspace:*",
|
|
74
56
|
"@testing-library/react": "^16.3.2",
|
|
75
57
|
"@types/react": "^19.2.15",
|
|
76
|
-
"@types/react-dom": "
|
|
58
|
+
"@types/react-dom": "^19.2.3",
|
|
77
59
|
"jsdom": "^29.0.2",
|
|
78
60
|
"react": "^19.2.6",
|
|
79
61
|
"react-dom": "^19.2.6",
|
|
80
|
-
"tsdown": "^0.
|
|
81
|
-
"typescript": "
|
|
82
|
-
"vitest": "
|
|
62
|
+
"tsdown": "^0.22.14",
|
|
63
|
+
"typescript": "^6",
|
|
64
|
+
"vitest": "3.2.7",
|
|
65
|
+
"@clivly.com/config": "0.0.0"
|
|
83
66
|
},
|
|
84
67
|
"engines": {
|
|
85
|
-
"node": ">=
|
|
86
|
-
}
|
|
87
|
-
|
|
68
|
+
"node": ">=22"
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build": "tsdown",
|
|
72
|
+
"check-types": "tsc --noEmit",
|
|
73
|
+
"test": "vitest run --environment jsdom"
|
|
74
|
+
},
|
|
75
|
+
"main": "./dist/index.cjs",
|
|
76
|
+
"module": "./dist/index.mjs",
|
|
77
|
+
"types": "./dist/index.d.cts",
|
|
78
|
+
"unpkg": "./dist/widget.global.js"
|
|
79
|
+
}
|