@centeredgesoft/runtime-mock-routes 2.9.1-alpha.3 → 2.9.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.
@@ -99,7 +99,7 @@ const appFactory = (runtimeCollection) => {
99
99
  type: ['application/json', 'application/*+json', 'text/json']
100
100
  }));
101
101
  // log the request
102
- if (process.env.logMockRequests === 'true') {
102
+ if (process.env.LOG_MOCK_REQUESTS === 'true') {
103
103
  app.use((req, res, next) => {
104
104
  console.log(`Request: ${req.method} ${req.url}`);
105
105
  console.log('Headers:', req.headers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centeredgesoft/runtime-mock-routes",
3
- "version": "2.9.1-alpha.3",
3
+ "version": "2.9.1",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
package/src/appV2.ts CHANGED
@@ -115,7 +115,7 @@ export const appFactory = (runtimeCollection?: RuntimeRequestCollection) => {
115
115
  }));
116
116
 
117
117
  // log the request
118
- if (process.env.logMockRequests === 'true') {
118
+ if (process.env.LOG_MOCK_REQUESTS === 'true') {
119
119
  app.use((req, res, next) => {
120
120
  console.log(`Request: ${req.method} ${req.url}`);
121
121
  console.log('Headers:', req.headers);