Skip to content

Commit 2647858

Browse files
committed
[v3.0.2] (Aug 03 2022)
Fixes: * Explicitly export library as esm-module ESM library should have "type": "module" (package.json file that is going to /dist) This fixes Cannot use import outside module issue in next.js * Add optional chaining for createApplicationUserList * Fix QueryInProgress warning: React 18 strict mode glitch that causes useEffect to run twice * Cannot connect sometimes when customApiHost is empty Connection couldnt be established with no error message when customApiHost and customWebSocketHost were passed as empty string * Handle all chances of command not received error Handle chances of command not recieved error in markAsRead Experimental markasread handling -> longer times, no more call after unmount * Move typing handler in channellist into local variable
1 parent ac496a3 commit 2647858

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog - v3
22

3-
## [v3.0.2] (Aug 02 2022)
3+
## [v3.0.2] (Aug 03 2022)
44
Fixes:
55
* Explicitly export library as esm-module
66
ESM library should have "type": "module" (package.json file that is going to /dist)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "React based UI kit for sendbird",
55
"main": "dist/index.js",
66
"style": "dist/index.css",

rollup.config.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,35 @@ module.exports = ({
108108
verbose: true,
109109
targets: [
110110
{
111-
src: './src/index.d.ts',
111+
src: './scripts/index_d_ts',
112+
dest: 'dist',
113+
rename: 'index.d.ts',
114+
},
115+
{
116+
src: './package-lock.json',
117+
dest: 'dist',
118+
},
119+
{
120+
src: './README.md',
121+
dest: 'dist',
122+
},
123+
{
124+
src: './LICENSE',
125+
dest: 'dist',
126+
},
127+
{
128+
src: './CHANGELOG.md',
112129
dest: 'dist',
113130
},
114131
{
115132
src: './package.lock.json',
116133
dest: 'dist',
117134
},
135+
{
136+
src: './scripts/package.template.json',
137+
dest: 'dist',
138+
rename: 'package.json'
139+
},
118140
],
119141
}),
120142
],

0 commit comments

Comments
 (0)