@mastra/upstash 1.1.2 → 1.1.5-alpha.0
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/CHANGELOG.md +19 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -521,13 +521,15 @@ var StoreMemoryUpstash = class extends MemoryStorage {
|
|
|
521
521
|
}
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
+
const now = /* @__PURE__ */ new Date();
|
|
524
525
|
const updatedThread = {
|
|
525
526
|
...thread,
|
|
526
527
|
title,
|
|
527
528
|
metadata: {
|
|
528
529
|
...thread.metadata,
|
|
529
530
|
...metadata
|
|
530
|
-
}
|
|
531
|
+
},
|
|
532
|
+
updatedAt: now
|
|
531
533
|
};
|
|
532
534
|
try {
|
|
533
535
|
await this.saveThread({ thread: updatedThread });
|