stream-chat 9.43.1 → 9.43.2
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/cjs/index.browser.js +9 -2
- package/dist/cjs/index.browser.js.map +2 -2
- package/dist/cjs/index.node.js +14 -2
- package/dist/cjs/index.node.js.map +2 -2
- package/dist/esm/index.mjs +9 -2
- package/dist/esm/index.mjs.map +2 -2
- package/dist/types/client.d.ts +4 -4
- package/dist/types/messageComposer/middleware/textComposer/index.d.ts +1 -0
- package/dist/types/types.d.ts +121 -15
- package/package.json +1 -1
- package/src/client.ts +22 -9
- package/src/messageComposer/middleware/textComposer/index.ts +1 -0
- package/src/types.ts +133 -15
|
@@ -182,12 +182,15 @@ __export(index_exports, {
|
|
|
182
182
|
defaultPollFieldChangeEventValidators: () => defaultPollFieldChangeEventValidators,
|
|
183
183
|
encodeBase64: () => encodeBase64,
|
|
184
184
|
ensureIsLocalAttachment: () => ensureIsLocalAttachment,
|
|
185
|
+
escapeCommandRegExp: () => escapeCommandRegExp,
|
|
185
186
|
extractPollData: () => extractPollData,
|
|
186
187
|
extractPollEnrichedData: () => extractPollEnrichedData,
|
|
187
188
|
formatMessage: () => formatMessage,
|
|
188
189
|
generateFileName: () => generateFileName,
|
|
189
190
|
getAttachmentTypeFromMimeType: () => getAttachmentTypeFromMimeType,
|
|
191
|
+
getCompleteCommandInString: () => getCompleteCommandInString,
|
|
190
192
|
getExtensionFromMimeType: () => getExtensionFromMimeType,
|
|
193
|
+
getRawCommandName: () => getRawCommandName,
|
|
191
194
|
getTokenizedSuggestionDisplayName: () => getTokenizedSuggestionDisplayName,
|
|
192
195
|
getTriggerCharWithToken: () => getTriggerCharWithToken,
|
|
193
196
|
insertItemWithTrigger: () => insertItemWithTrigger,
|
|
@@ -219,6 +222,7 @@ __export(index_exports, {
|
|
|
219
222
|
localMessageToNewMessagePayload: () => localMessageToNewMessagePayload,
|
|
220
223
|
logChatPromiseExecution: () => logChatPromiseExecution,
|
|
221
224
|
mapPollStateToResponse: () => mapPollStateToResponse,
|
|
225
|
+
notifyCommandDisabled: () => notifyCommandDisabled,
|
|
222
226
|
pollCompositionStateProcessors: () => pollCompositionStateProcessors,
|
|
223
227
|
pollStateChangeValidators: () => pollStateChangeValidators,
|
|
224
228
|
postInsights: () => postInsights,
|
|
@@ -226,6 +230,7 @@ __export(index_exports, {
|
|
|
226
230
|
readFileAsArrayBuffer: () => readFileAsArrayBuffer,
|
|
227
231
|
removeDiacritics: () => removeDiacritics,
|
|
228
232
|
replaceWordWithEntity: () => replaceWordWithEntity,
|
|
233
|
+
stripCommandFromText: () => stripCommandFromText,
|
|
229
234
|
textIsEmpty: () => textIsEmpty,
|
|
230
235
|
timeLeftMs: () => timeLeftMs
|
|
231
236
|
});
|
|
@@ -14490,15 +14495,17 @@ var StreamChat = class _StreamChat {
|
|
|
14490
14495
|
defaultOptions.watch = false;
|
|
14491
14496
|
}
|
|
14492
14497
|
const { predefined_filter, filter_values, sort_values, ...restOptions } = options;
|
|
14498
|
+
const normalizedSort = normalizeQuerySort(sort);
|
|
14493
14499
|
const payload = predefined_filter ? {
|
|
14494
14500
|
predefined_filter,
|
|
14495
14501
|
filter_values,
|
|
14496
14502
|
sort_values,
|
|
14503
|
+
sort: normalizedSort,
|
|
14497
14504
|
...defaultOptions,
|
|
14498
14505
|
...restOptions
|
|
14499
14506
|
} : {
|
|
14500
14507
|
filter_conditions: filterConditions,
|
|
14501
|
-
sort:
|
|
14508
|
+
sort: normalizedSort,
|
|
14502
14509
|
...defaultOptions,
|
|
14503
14510
|
...restOptions
|
|
14504
14511
|
};
|
|
@@ -15661,7 +15668,7 @@ var StreamChat = class _StreamChat {
|
|
|
15661
15668
|
if (this.userAgent) {
|
|
15662
15669
|
return this.userAgent;
|
|
15663
15670
|
}
|
|
15664
|
-
const version = "9.43.
|
|
15671
|
+
const version = "9.43.2";
|
|
15665
15672
|
const clientBundle = "browser-cjs";
|
|
15666
15673
|
let userAgentString = "";
|
|
15667
15674
|
if (this.sdkIdentifier) {
|