@elizaos/plugin-sql 1.7.1-alpha.5 → 1.7.1-alpha.7

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.
@@ -23783,8 +23783,9 @@ class PgliteDatabaseAdapter extends BaseDrizzleAdapter {
23783
23783
  }
23784
23784
  async withDatabase(operation) {
23785
23785
  if (this.manager.isShuttingDown()) {
23786
- logger10.warn({ src: "plugin:sql" }, "Database is shutting down");
23787
- return null;
23786
+ const error = new Error("Database is shutting down - operation rejected");
23787
+ logger10.warn({ src: "plugin:sql", error: error.message }, "Database operation rejected during shutdown");
23788
+ throw error;
23788
23789
  }
23789
23790
  return operation();
23790
23791
  }
@@ -23879,5 +23880,5 @@ export {
23879
23880
  DatabaseMigrationService
23880
23881
  };
23881
23882
 
23882
- //# debugId=F233539768A25C6F64756E2164756E21
23883
+ //# debugId=03BBEE81FC5927D264756E2164756E21
23883
23884
  //# sourceMappingURL=index.browser.js.map