@versori/run 0.2.12 → 0.2.14

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.
@@ -181,8 +181,8 @@ function extractDigest(asc, req) {
181
181
  }
182
182
  break;
183
183
  case 'header':
184
- if (req.headers[asc.name]) {
185
- return req.headers[asc.name];
184
+ if (req.headers[asc.name.toLowerCase()]) {
185
+ return req.headers[asc.name.toLowerCase()];
186
186
  }
187
187
  break;
188
188
  case 'cookie':
@@ -231,7 +231,7 @@ export class MemoryInterpreter {
231
231
  const port = Deno.env.get('PORT') || 3000;
232
232
  const cronPort = Deno.env.get('CRON_PORT') || 3001;
233
233
  const webhookApp = express();
234
- webhookApp.use(express.json()); // Add JSON body parser middleware
234
+ webhookApp.use(express.json({ limit: '50mb' })); // Add JSON body parser middleware
235
235
  const cronApp = express();
236
236
  cronApp.use(express.json());
237
237
  const xml2jsDefaults = {
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/schedule.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AA4H7C,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,YAAY,EAAE,eAAe,CAG3E,CAAC"}
1
+ {"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/schedule.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AA0H7C,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,YAAY,EAAE,eAAe,CAG3E,CAAC"}
@@ -50,7 +50,6 @@ function compileSchedule(ctx, trigger, signal) {
50
50
  }
51
51
  activations.forEach((activation) => {
52
52
  const executionCtx = ctx.contextProvider.create({}, { activation });
53
- executionCtx.log.info('no activations found, continuing');
54
53
  try {
55
54
  subscriber.next(executionCtx);
56
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versori/run",
3
- "version": "v0.2.12",
3
+ "version": "v0.2.14",
4
4
  "description": "Versori Run",
5
5
  "homepage": "https://github.com/versori/versori-run#readme",
6
6
  "repository": {
@@ -186,8 +186,8 @@ function extractDigest(asc, req) {
186
186
  }
187
187
  break;
188
188
  case 'header':
189
- if (req.headers[asc.name]) {
190
- return req.headers[asc.name];
189
+ if (req.headers[asc.name.toLowerCase()]) {
190
+ return req.headers[asc.name.toLowerCase()];
191
191
  }
192
192
  break;
193
193
  case 'cookie':
@@ -237,7 +237,7 @@ class MemoryInterpreter {
237
237
  const port = Deno.env.get('PORT') || 3000;
238
238
  const cronPort = Deno.env.get('CRON_PORT') || 3001;
239
239
  const webhookApp = (0, express_1.default)();
240
- webhookApp.use(express_1.default.json()); // Add JSON body parser middleware
240
+ webhookApp.use(express_1.default.json({ limit: '50mb' })); // Add JSON body parser middleware
241
241
  const cronApp = (0, express_1.default)();
242
242
  cronApp.use(express_1.default.json());
243
243
  const xml2jsDefaults = {
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/schedule.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AA4H7C,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,YAAY,EAAE,eAAe,CAG3E,CAAC"}
1
+ {"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/schedule.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AA0H7C,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,YAAY,EAAE,eAAe,CAG3E,CAAC"}
@@ -53,7 +53,6 @@ function compileSchedule(ctx, trigger, signal) {
53
53
  }
54
54
  activations.forEach((activation) => {
55
55
  const executionCtx = ctx.contextProvider.create({}, { activation });
56
- executionCtx.log.info('no activations found, continuing');
57
56
  try {
58
57
  subscriber.next(executionCtx);
59
58
  }