stream-chat 6.7.1 → 6.7.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/browser.es.js +8 -1
- 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 +8 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.es.js +8 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/types/channel.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/channel.ts +4 -0
- package/src/types.ts +2 -0
package/dist/browser.es.js
CHANGED
|
@@ -3664,6 +3664,13 @@ var Channel = /*#__PURE__*/function () {
|
|
|
3664
3664
|
});
|
|
3665
3665
|
});
|
|
3666
3666
|
});
|
|
3667
|
+
channelState.pinnedMessages.forEach(function (_ref3) {
|
|
3668
|
+
var id = _ref3.id,
|
|
3669
|
+
createdAt = _ref3.created_at;
|
|
3670
|
+
if (truncatedAt > +createdAt) channelState.removePinnedMessage({
|
|
3671
|
+
id: id
|
|
3672
|
+
});
|
|
3673
|
+
});
|
|
3667
3674
|
} else {
|
|
3668
3675
|
channelState.clearMessages();
|
|
3669
3676
|
}
|
|
@@ -9715,7 +9722,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
9715
9722
|
}, {
|
|
9716
9723
|
key: "getUserAgent",
|
|
9717
9724
|
value: function getUserAgent() {
|
|
9718
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "6.7.
|
|
9725
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "6.7.2");
|
|
9719
9726
|
}
|
|
9720
9727
|
}, {
|
|
9721
9728
|
key: "setUserAgent",
|