stream-chat 8.38.0 → 8.40.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/README.md +15 -2
- package/dist/browser.es.js +1667 -372
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.full-bundle.min.js +1 -1
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/browser.js +1668 -371
- package/dist/browser.js.map +1 -1
- package/dist/index.es.js +1667 -372
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1668 -371
- package/dist/index.js.map +1 -1
- package/dist/types/channel.d.ts +6 -8
- package/dist/types/channel.d.ts.map +1 -1
- package/dist/types/channel_state.d.ts +14 -22
- package/dist/types/channel_state.d.ts.map +1 -1
- package/dist/types/client.d.ts +3 -1
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/constants.d.ts +7 -0
- package/dist/types/constants.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/store.d.ts +14 -0
- package/dist/types/store.d.ts.map +1 -0
- package/dist/types/thread.d.ts +93 -29
- package/dist/types/thread.d.ts.map +1 -1
- package/dist/types/thread_manager.d.ts +51 -0
- package/dist/types/thread_manager.d.ts.map +1 -0
- package/dist/types/types.d.ts +35 -18
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +48 -7
- package/dist/types/utils.d.ts.map +1 -1
- package/package.json +7 -6
- package/src/channel.ts +28 -13
- package/src/channel_state.ts +30 -27
- package/src/client.ts +182 -104
- package/src/constants.ts +4 -0
- package/src/index.ts +2 -0
- package/src/store.ts +57 -0
- package/src/thread.ts +470 -107
- package/src/thread_manager.ts +297 -0
- package/src/types.ts +34 -19
- package/src/utils.ts +362 -43
package/README.md
CHANGED
|
@@ -121,13 +121,26 @@ yarn start
|
|
|
121
121
|
Open `metro.config.js` file and set value for watchFolders as
|
|
122
122
|
|
|
123
123
|
```javascript
|
|
124
|
+
const streamChatRoot = '{{CHANGE_TO_THE_PATH_TO_YOUR_PROJECT}}/stream-chat-js'
|
|
125
|
+
|
|
124
126
|
module.exports = {
|
|
127
|
+
// the rest of the metro config goes here
|
|
125
128
|
...
|
|
126
|
-
watchFolders: [projectRoot].concat(alternateRoots).concat([
|
|
129
|
+
watchFolders: [projectRoot].concat(alternateRoots).concat([streamChatRoot]),
|
|
130
|
+
resolver: {
|
|
131
|
+
// the other resolver configurations go here
|
|
132
|
+
...
|
|
133
|
+
extraNodeModules: {
|
|
134
|
+
// the other extra node modules go here
|
|
135
|
+
...
|
|
136
|
+
'stream-chat': streamChatRoot
|
|
137
|
+
}
|
|
138
|
+
}
|
|
127
139
|
};
|
|
128
140
|
```
|
|
129
141
|
|
|
130
|
-
Make sure to replace `{{CHANGE_TO_THE_PATH_TO_YOUR_PROJECT}}` with the correct path for stream-chat-js folder as per your directory structure
|
|
142
|
+
Make sure to replace `{{CHANGE_TO_THE_PATH_TO_YOUR_PROJECT}}` with the correct path for the `stream-chat-js` folder as per your directory structure.
|
|
143
|
+
|
|
131
144
|
Run in the root of this repo
|
|
132
145
|
|
|
133
146
|
```shell
|