@droppii-org/chat-sdk 0.1.60 → 0.1.64
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/components/conversation-detail/ConversationMessageList.d.ts.map +1 -1
- package/dist/components/conversation-detail/ConversationMessageList.js +1 -1
- package/dist/components/conversation-detail/PinLimitModal.js +1 -1
- package/dist/hooks/global/useGlobalEvent.d.ts.map +1 -1
- package/dist/hooks/global/useGlobalEvent.js +16 -0
- package/dist/hooks/message/useMessage.d.ts +1 -1
- package/dist/hooks/message/useMessage.d.ts.map +1 -1
- package/dist/hooks/message/useMessage.js +19 -8
- package/dist/store/conversation.d.ts.map +1 -1
- package/dist/store/conversation.js +10 -7
- package/dist/styles/global.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +126 -127
package/package.json
CHANGED
|
@@ -1,127 +1,126 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@droppii-org/chat-sdk",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Droppii React Chat SDK",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"import": "./dist/index.js",
|
|
10
|
-
"types": "./dist/index.d.ts"
|
|
11
|
-
},
|
|
12
|
-
"./components/*": {
|
|
13
|
-
"import": "./dist/components/*.js",
|
|
14
|
-
"types": "./dist/components/*.d.ts"
|
|
15
|
-
},
|
|
16
|
-
"./hooks/*": {
|
|
17
|
-
"import": "./dist/hooks/*.js",
|
|
18
|
-
"types": "./dist/hooks/*.d.ts"
|
|
19
|
-
},
|
|
20
|
-
"./context/*": {
|
|
21
|
-
"import": "./dist/context/*.js",
|
|
22
|
-
"types": "./dist/context/*.d.ts"
|
|
23
|
-
},
|
|
24
|
-
"./types/*": {
|
|
25
|
-
"import": "./dist/types/*.js",
|
|
26
|
-
"types": "./dist/types/*.d.ts"
|
|
27
|
-
},
|
|
28
|
-
"./screens/*": {
|
|
29
|
-
"import": "./dist/screens/*.js",
|
|
30
|
-
"types": "./dist/screens/*.d.ts"
|
|
31
|
-
},
|
|
32
|
-
"./assets/*": {
|
|
33
|
-
"import": "./dist/assets/*.js",
|
|
34
|
-
"types": "./dist/assets/*.d.ts"
|
|
35
|
-
},
|
|
36
|
-
"./constants/*": {
|
|
37
|
-
"import": "./dist/constants/*.js",
|
|
38
|
-
"types": "./dist/constants/*.d.ts"
|
|
39
|
-
},
|
|
40
|
-
"./layout/*": {
|
|
41
|
-
"import": "./dist/layout/*.js",
|
|
42
|
-
"types": "./dist/layout/*.d.ts"
|
|
43
|
-
},
|
|
44
|
-
"./utils/*": {
|
|
45
|
-
"import": "./dist/utils/*.js",
|
|
46
|
-
"types": "./dist/utils/*.d.ts"
|
|
47
|
-
},
|
|
48
|
-
"./services/*": {
|
|
49
|
-
"import": "./dist/services/*.js",
|
|
50
|
-
"types": "./dist/services/*.d.ts"
|
|
51
|
-
},
|
|
52
|
-
"./locales/*": "./dist/locales/*",
|
|
53
|
-
"./styles/global.css": "./dist/styles/global.css"
|
|
54
|
-
},
|
|
55
|
-
"files": [
|
|
56
|
-
"dist"
|
|
57
|
-
],
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"@
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"react
|
|
106
|
-
"react-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@droppii-org/chat-sdk",
|
|
3
|
+
"version": "0.1.64",
|
|
4
|
+
"description": "Droppii React Chat SDK",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./components/*": {
|
|
13
|
+
"import": "./dist/components/*.js",
|
|
14
|
+
"types": "./dist/components/*.d.ts"
|
|
15
|
+
},
|
|
16
|
+
"./hooks/*": {
|
|
17
|
+
"import": "./dist/hooks/*.js",
|
|
18
|
+
"types": "./dist/hooks/*.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./context/*": {
|
|
21
|
+
"import": "./dist/context/*.js",
|
|
22
|
+
"types": "./dist/context/*.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./types/*": {
|
|
25
|
+
"import": "./dist/types/*.js",
|
|
26
|
+
"types": "./dist/types/*.d.ts"
|
|
27
|
+
},
|
|
28
|
+
"./screens/*": {
|
|
29
|
+
"import": "./dist/screens/*.js",
|
|
30
|
+
"types": "./dist/screens/*.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./assets/*": {
|
|
33
|
+
"import": "./dist/assets/*.js",
|
|
34
|
+
"types": "./dist/assets/*.d.ts"
|
|
35
|
+
},
|
|
36
|
+
"./constants/*": {
|
|
37
|
+
"import": "./dist/constants/*.js",
|
|
38
|
+
"types": "./dist/constants/*.d.ts"
|
|
39
|
+
},
|
|
40
|
+
"./layout/*": {
|
|
41
|
+
"import": "./dist/layout/*.js",
|
|
42
|
+
"types": "./dist/layout/*.d.ts"
|
|
43
|
+
},
|
|
44
|
+
"./utils/*": {
|
|
45
|
+
"import": "./dist/utils/*.js",
|
|
46
|
+
"types": "./dist/utils/*.d.ts"
|
|
47
|
+
},
|
|
48
|
+
"./services/*": {
|
|
49
|
+
"import": "./dist/services/*.js",
|
|
50
|
+
"types": "./dist/services/*.d.ts"
|
|
51
|
+
},
|
|
52
|
+
"./locales/*": "./dist/locales/*",
|
|
53
|
+
"./styles/global.css": "./dist/styles/global.css"
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"dist"
|
|
57
|
+
],
|
|
58
|
+
"keywords": [
|
|
59
|
+
"chat",
|
|
60
|
+
"sdk",
|
|
61
|
+
"react",
|
|
62
|
+
"messenger-style"
|
|
63
|
+
],
|
|
64
|
+
"author": "Garru",
|
|
65
|
+
"license": "MIT",
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"access": "public"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@ant-design/icons": "^6.0.0",
|
|
71
|
+
"@lexical/code": "^0.34.0",
|
|
72
|
+
"@lexical/html": "^0.34.0",
|
|
73
|
+
"@lexical/link": "^0.34.0",
|
|
74
|
+
"@lexical/list": "^0.34.0",
|
|
75
|
+
"@lexical/react": "^0.34.0",
|
|
76
|
+
"@lexical/rich-text": "^0.34.0",
|
|
77
|
+
"@openim/wasm-client-sdk": "3.8.3-patch.10",
|
|
78
|
+
"@tailwindcss/postcss": "^4.1.12",
|
|
79
|
+
"@tanstack/react-query": "^5.85.5",
|
|
80
|
+
"ahooks": "^3.9.4",
|
|
81
|
+
"antd": "^5.27.0",
|
|
82
|
+
"axios": "^1.11.0",
|
|
83
|
+
"clsx": "^2.0.0",
|
|
84
|
+
"dayjs": "^1.11.13",
|
|
85
|
+
"dompurify": "^3.3.1",
|
|
86
|
+
"i18next": "^25.5.2",
|
|
87
|
+
"jwt-decode": "^4.0.0",
|
|
88
|
+
"lexical": "^0.34.0",
|
|
89
|
+
"lodash": "^4.17.21",
|
|
90
|
+
"lucide-react": "^0.263.1",
|
|
91
|
+
"mitt": "^3.0.1",
|
|
92
|
+
"postcss": "^8.5.6",
|
|
93
|
+
"query-string": "^9.3.1",
|
|
94
|
+
"react-i18next": "^15.7.3",
|
|
95
|
+
"react-icomoon": "^2.6.1",
|
|
96
|
+
"react-infinite-scroll-component": "^6.1.0",
|
|
97
|
+
"react-sticky-box": "^2.0.5",
|
|
98
|
+
"react-virtuoso": "^4.14.0",
|
|
99
|
+
"tailwind-merge": "^2.0.0",
|
|
100
|
+
"tailwindcss": "^3.3.0",
|
|
101
|
+
"uuid": "^11.1.0",
|
|
102
|
+
"zustand": "^5.0.7"
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"react": "^18.0.0",
|
|
106
|
+
"react-dom": "^18.0.0"
|
|
107
|
+
},
|
|
108
|
+
"devDependencies": {
|
|
109
|
+
"@types/dompurify": "^3.2.0",
|
|
110
|
+
"@types/lodash": "^4.17.20",
|
|
111
|
+
"@types/node": "^20.0.0",
|
|
112
|
+
"@types/react": "^18.2.37",
|
|
113
|
+
"@types/react-dom": "^18.2.15",
|
|
114
|
+
"shx": "^0.4.0",
|
|
115
|
+
"tsc-alias": "^1.8.17",
|
|
116
|
+
"typescript": "^5.2.2"
|
|
117
|
+
},
|
|
118
|
+
"scripts": {
|
|
119
|
+
"build": "pnpm build:css && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && pnpm copy-assets",
|
|
120
|
+
"build:css": "tailwindcss -i ./src/styles/global.css -o ./dist/styles/global.css --minify",
|
|
121
|
+
"dev": "tsc --noEmit --watch",
|
|
122
|
+
"lint": "eslint src/",
|
|
123
|
+
"type-check": "tsc --noEmit",
|
|
124
|
+
"copy-assets": "shx cp -r src/assets dist && shx cp -r src/locales dist"
|
|
125
|
+
}
|
|
126
|
+
}
|