@agenticmail/core 0.5.45 → 0.5.46

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.cjs CHANGED
@@ -1937,7 +1937,7 @@ var AccountManager = class {
1937
1937
  return row ? rowToAgent(row) : null;
1938
1938
  }
1939
1939
  async getByName(name) {
1940
- const stmt = this.db.prepare("SELECT * FROM agents WHERE name = ?");
1940
+ const stmt = this.db.prepare("SELECT * FROM agents WHERE LOWER(name) = LOWER(?)");
1941
1941
  const row = stmt.get(name);
1942
1942
  return row ? rowToAgent(row) : null;
1943
1943
  }
package/dist/index.js CHANGED
@@ -1184,7 +1184,7 @@ var AccountManager = class {
1184
1184
  return row ? rowToAgent(row) : null;
1185
1185
  }
1186
1186
  async getByName(name) {
1187
- const stmt = this.db.prepare("SELECT * FROM agents WHERE name = ?");
1187
+ const stmt = this.db.prepare("SELECT * FROM agents WHERE LOWER(name) = LOWER(?)");
1188
1188
  const row = stmt.get(name);
1189
1189
  return row ? rowToAgent(row) : null;
1190
1190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/core",
3
- "version": "0.5.45",
3
+ "version": "0.5.46",
4
4
  "description": "Core SDK for AgenticMail — email, SMS, and phone number access for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",