@cobaltcore-dev/aurora 0.13.1 → 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.
- package/dist/server/index.d.ts +6 -0
- package/dist/server/index.js +3 -2
- package/package.json +1 -1
package/dist/server/index.d.ts
CHANGED
|
@@ -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
|
package/dist/server/index.js
CHANGED
|
@@ -37821,7 +37821,7 @@ async function createContext(opts, config) {
|
|
|
37821
37821
|
}
|
|
37822
37822
|
const defaultSignalOpenstackOptions = {
|
|
37823
37823
|
interfaceName: config.defaultEndpointInterface || "public",
|
|
37824
|
-
debug: process.env.NODE_ENV !== "production",
|
|
37824
|
+
debug: config.debug ?? process.env.NODE_ENV !== "production",
|
|
37825
37825
|
headers: {
|
|
37826
37826
|
Accept: "application/json",
|
|
37827
37827
|
"Content-Type": "application/json"
|
|
@@ -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)({
|