@mastra/dynamodb 1.0.4 → 1.0.5

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
@@ -1566,7 +1566,7 @@ var MemoryStorageDynamoDB = class extends MemoryStorage {
1566
1566
  entity: "thread",
1567
1567
  id: thread.id,
1568
1568
  resourceId: thread.resourceId,
1569
- title: thread.title || `Thread ${thread.id}`,
1569
+ title: thread.title ?? `Thread ${thread.id}`,
1570
1570
  createdAt: thread.createdAt?.toISOString() || now.toISOString(),
1571
1571
  updatedAt: thread.updatedAt?.toISOString() || now.toISOString(),
1572
1572
  metadata: thread.metadata ? JSON.stringify(thread.metadata) : void 0,