@budibase/backend-core 2.19.3 → 2.19.5

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/index.js CHANGED
@@ -54531,6 +54531,7 @@ var AutomationActionStepId = /* @__PURE__ */ ((AutomationActionStepId2) => {
54531
54531
  AutomationActionStepId2["slack"] = "slack";
54532
54532
  AutomationActionStepId2["zapier"] = "zapier";
54533
54533
  AutomationActionStepId2["integromat"] = "integromat";
54534
+ AutomationActionStepId2["n8n"] = "n8n";
54534
54535
  return AutomationActionStepId2;
54535
54536
  })(AutomationActionStepId || {});
54536
54537
  var AutomationStepIdArray = [
@@ -54706,6 +54707,7 @@ var Header = /* @__PURE__ */ ((Header2) => {
54706
54707
  Header2["CORRELATION_ID"] = "x-budibase-correlation-id";
54707
54708
  Header2["AUTHORIZATION"] = "authorization";
54708
54709
  Header2["MIGRATING_APP"] = "x-budibase-migrating-app";
54710
+ Header2["COOKIE"] = "cookie";
54709
54711
  return Header2;
54710
54712
  })(Header || {});
54711
54713
 
@@ -56318,9 +56320,10 @@ __export(correlation_exports, {
56318
56320
  var correlator = require("correlation-id");
56319
56321
  var setHeader = (headers) => {
56320
56322
  const correlationId = correlator.getId();
56321
- if (correlationId) {
56322
- headers["x-budibase-correlation-id" /* CORRELATION_ID */] = correlationId;
56323
+ if (!correlationId) {
56324
+ return;
56323
56325
  }
56326
+ headers["x-budibase-correlation-id" /* CORRELATION_ID */] = correlationId;
56324
56327
  };
56325
56328
  function getId() {
56326
56329
  return correlator.getId();