@mastra/upstash 1.4.0-alpha.1 → 1.4.0-alpha.3

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.js CHANGED
@@ -333,6 +333,7 @@ function getMessageIndexKey(messageId) {
333
333
  return `msg-idx:${messageId}`;
334
334
  }
335
335
  var StoreMemoryUpstash = class extends MemoryStorage {
336
+ supportsPartialThreadUpdate = true;
336
337
  client;
337
338
  #db;
338
339
  constructor(config) {
@@ -484,7 +485,7 @@ var StoreMemoryUpstash = class extends MemoryStorage {
484
485
  const now = /* @__PURE__ */ new Date();
485
486
  const updatedThread = {
486
487
  ...thread,
487
- title,
488
+ title: title ?? thread.title,
488
489
  metadata: {
489
490
  ...thread.metadata,
490
491
  ...metadata