@cobaltcore-dev/aurora 0.14.0 → 0.14.1

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.
@@ -41,6 +41,12 @@ interface AuroraServerConfig {
41
41
  * Never set this in production.
42
42
  */
43
43
  insecureCookies?: boolean;
44
+ /**
45
+ * Enable debug logging for OpenStack session operations.
46
+ * Logs HTTP requests/responses to help diagnose API issues.
47
+ * Default: false in production, true in development
48
+ */
49
+ debug?: boolean;
44
50
  /**
45
51
  * Absolute path to a directory containing consumer-supplied OpenStack policy
46
52
  * files (e.g. compute.yaml, image.yaml). Files found here take precedence
@@ -38147,7 +38147,8 @@ async function createServer(config) {
38147
38147
  imageMetadataExcludedProperties: config.imageMetadataExcludedProperties,
38148
38148
  cookieName: config.cookieName,
38149
38149
  cookieDomain: config.cookieDomain,
38150
- insecureCookies: config.insecureCookies
38150
+ insecureCookies: config.insecureCookies,
38151
+ debug: config.debug
38151
38152
  };
38152
38153
  const appRouter = buildAppRouter(config.policyDir, config.routers ?? []);
38153
38154
  const server = (0, import_fastify.default)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobaltcore-dev/aurora",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "private": false,
5
5
  "description": "Aurora OpenStack dashboard — server and client library",
6
6
  "license": "Apache-2.0",
@@ -109,8 +109,8 @@
109
109
  "vite-tsconfig-paths": "^6.1.1",
110
110
  "vitest": "^4.1.2",
111
111
  "@cobaltcore-dev/aurora-config": "0.0.1",
112
- "@cobaltcore-dev/signal-openstack": "1.0.0",
113
- "@cobaltcore-dev/policy-engine": "2.0.0"
112
+ "@cobaltcore-dev/policy-engine": "2.0.0",
113
+ "@cobaltcore-dev/signal-openstack": "1.0.0"
114
114
  },
115
115
  "scripts": {
116
116
  "build": "pnpm build:server && pnpm build:client",