@talkjs/core 1.6.3 → 1.8.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 +12 -0
- package/dist/talkSession.cjs +1 -1
- package/dist/talkSession.d.ts +293 -0
- package/dist/talkSession.js +1649 -1188
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -69,6 +69,18 @@ If you encounter any problems with `@talkjs/core`, please open a [chat with supp
|
|
|
69
69
|
|
|
70
70
|
## Changelog
|
|
71
71
|
|
|
72
|
+
### 1.8.0
|
|
73
|
+
|
|
74
|
+
- Added `ParticipantRef.subscribe` which lets you subscribe to a specific participant in a conversation
|
|
75
|
+
- Optimised `TalkSession.uploadFile` (and other upload methods) to check that a file will be accepted before uploading it. Previously it fully uploaded the file, then received the error.
|
|
76
|
+
|
|
77
|
+
### 1.7.0
|
|
78
|
+
|
|
79
|
+
- Added support for global message and conversation searching:
|
|
80
|
+
- Added `SearchMessageSnapshot`, `MessageSearch`, `MessageSearchState`, `ConversationSearch`, and `ConversationSearchState`
|
|
81
|
+
- Added `TalkSession.searchMessages(onResults: (results: SearchMessageSnapshot[], loadedAll: boolean) => void): MessageSearch`
|
|
82
|
+
- Added `TalkSession.searchConversations(onResults: (results: ConversationSnapshot[], loadedAll: boolean) => void): ConversationSearch`
|
|
83
|
+
|
|
72
84
|
### 1.6.3
|
|
73
85
|
|
|
74
86
|
- "Ref" objects now maintain referential integrity. If you call `Session.conversation("123")` twice, in two different parts of your app, the same object will be reused both times.
|