adaptoclaw 1.2.1 → 1.2.2

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.
Files changed (2) hide show
  1. package/dist/db.js +1 -1
  2. package/package.json +1 -1
package/dist/db.js CHANGED
@@ -199,7 +199,7 @@ export async function storeMessage(msg) {
199
199
  const mediaJson = msg.media ? JSON.stringify(msg.media) : null;
200
200
  await execute(`INSERT INTO messages (tenant_id, id, chat_jid, sender, sender_name, content, timestamp, is_from_me, is_bot_message, media_json)
201
201
  VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
202
- ON CONFLICT(tenant_id, id, chat_jid) DO UPDATE SET
202
+ ON CONFLICT(id, chat_jid) DO UPDATE SET
203
203
  sender = excluded.sender,
204
204
  sender_name = excluded.sender_name,
205
205
  content = excluded.content,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adaptoclaw",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "AI assistant framework — one app.ts, full customization via hooks and channel factories.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",