@elizaos/plugin-sql 1.4.3 → 1.4.4

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
@@ -1114,7 +1114,7 @@ var BaseDrizzleAdapter = class extends DatabaseAdapter {
1114
1114
  return this.withDatabase(async () => {
1115
1115
  await this.db.insert(componentTable).values({
1116
1116
  ...component,
1117
- createdAt: new Date(component.createdAt)
1117
+ createdAt: /* @__PURE__ */ new Date()
1118
1118
  });
1119
1119
  return true;
1120
1120
  });
@@ -1128,7 +1128,7 @@ var BaseDrizzleAdapter = class extends DatabaseAdapter {
1128
1128
  return this.withDatabase(async () => {
1129
1129
  await this.db.update(componentTable).set({
1130
1130
  ...component,
1131
- createdAt: new Date(component.createdAt)
1131
+ updatedAt: /* @__PURE__ */ new Date()
1132
1132
  }).where(eq(componentTable.id, component.id));
1133
1133
  });
1134
1134
  }