@aouda/client 0.0.3 → 0.1.0

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.
@@ -421,7 +421,7 @@ var import_node_url = require("url");
421
421
  // package.json
422
422
  var package_default = {
423
423
  name: "@aouda/client",
424
- version: "0.0.3",
424
+ version: "0.1.0",
425
425
  description: "Official TypeScript/JavaScript client library for Aouda",
426
426
  type: "module",
427
427
  main: "./dist/index.cjs",
@@ -3950,13 +3950,19 @@ var DatabasesApi = class {
3950
3950
  this.transport = transport;
3951
3951
  }
3952
3952
  /**
3953
- * Lists all databases on the server.
3953
+ * Lists databases on the server.
3954
3954
  * GET /api/databases
3955
3955
  *
3956
- * @returns Array of database info (name, state, createdAt, options).
3956
+ * By default only operator-facing databases (isInternal === false) are returned.
3957
+ * Pass `{ includeInternal: true }` to receive the full catalog including internal
3958
+ * infrastructure databases such as `_serverauth` and `_settings`.
3959
+ *
3960
+ * @param options.includeInternal - When true, appends `?include=internal` to the request.
3961
+ * @returns Array of database info.
3957
3962
  */
3958
- async list() {
3959
- const response = await this.transport.get("/api/databases");
3963
+ async list(options) {
3964
+ const path4 = options?.includeInternal ? "/api/databases?include=internal" : "/api/databases";
3965
+ const response = await this.transport.get(path4);
3960
3966
  return response.databases;
3961
3967
  }
3962
3968
  /**