@superinterface/react 5.3.0-beta.0 → 5.3.0-beta.1
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -47318,7 +47318,7 @@ var useMessageAudio = function(_ref2) {
|
|
|
47318
47318
|
isPlaying
|
|
47319
47319
|
]);
|
|
47320
47320
|
var unplayedMessageSentences = useMemo17(function() {
|
|
47321
|
-
var playableMessages = messagesProps.messages.filter(function(message) {
|
|
47321
|
+
var playableMessages = _to_consumable_array(messagesProps.messages).reverse().filter(function(message) {
|
|
47322
47322
|
if (message.role !== "assistant") return false;
|
|
47323
47323
|
if (stoppedMessageIds.includes(message.id)) return false;
|
|
47324
47324
|
return true;
|