@elizaos/plugin-sql 1.7.1-alpha.4 → 1.7.1-alpha.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.
@@ -12164,7 +12164,7 @@ class PostgresConnectionManager {
12164
12164
  return await this.db.transaction(async (tx) => {
12165
12165
  if (dataIsolationEnabled && entityId) {
12166
12166
  try {
12167
- await tx.execute(sql`SET LOCAL app.entity_id = ${entityId}`);
12167
+ await tx.execute(sql.raw(`SET LOCAL app.entity_id = '${entityId}'`));
12168
12168
  logger13.debug(`[Entity Context] Set app.entity_id = ${entityId}`);
12169
12169
  } catch (error) {
12170
12170
  const errorMessage = error instanceof Error ? error.message : String(error);
@@ -12323,5 +12323,5 @@ export {
12323
12323
  DatabaseMigrationService
12324
12324
  };
12325
12325
 
12326
- //# debugId=CF7B44CEC1496D8664756E2164756E21
12326
+ //# debugId=726FCE3C215B8F2564756E2164756E21
12327
12327
  //# sourceMappingURL=index.node.js.map