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.js
CHANGED
|
@@ -3689,6 +3689,13 @@ var Channel = /*#__PURE__*/function () {
|
|
|
3689
3689
|
});
|
|
3690
3690
|
});
|
|
3691
3691
|
});
|
|
3692
|
+
channelState.pinnedMessages.forEach(function (_ref3) {
|
|
3693
|
+
var id = _ref3.id,
|
|
3694
|
+
createdAt = _ref3.created_at;
|
|
3695
|
+
if (truncatedAt > +createdAt) channelState.removePinnedMessage({
|
|
3696
|
+
id: id
|
|
3697
|
+
});
|
|
3698
|
+
});
|
|
3692
3699
|
} else {
|
|
3693
3700
|
channelState.clearMessages();
|
|
3694
3701
|
}
|
|
@@ -9740,7 +9747,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
9740
9747
|
}, {
|
|
9741
9748
|
key: "getUserAgent",
|
|
9742
9749
|
value: function getUserAgent() {
|
|
9743
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "6.7.
|
|
9750
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "6.7.2");
|
|
9744
9751
|
}
|
|
9745
9752
|
}, {
|
|
9746
9753
|
key: "setUserAgent",
|