@a2a-exposed/control-core 0.8.24 → 0.8.25

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/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -622,7 +622,7 @@ async function saveWakeSettings(db, plane, secretsKey, input) {
622
622
  ).bind(configJson, secretsEnc, version, now, row.id, input.accountId, row.config_version),
623
623
  db.prepare(
624
624
  `INSERT INTO config_outbox (tenant_id, version, created_at)
625
- SELECT id, ?, ? FROM tenants WHERE id = ? AND owner_account_id = ? AND config_version = ?`
625
+ SELECT id, ?, ? FROM tenants WHERE id = ? AND owner_account_id = ? AND config_version = ? AND changes() = 1`
626
626
  ).bind(version, now, row.id, input.accountId, version)
627
627
  ]);
628
628
  if (updated[0]?.meta?.changes !== 1) return { ok: false, error: "conflict" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a2a-exposed/control-core",
3
- "version": "0.8.24",
3
+ "version": "0.8.25",
4
4
  "description": "A2A endpoint provisioning, routing, and D1 migrations for a2a-exposed.",
5
5
  "type": "module",
6
6
  "scripts": {