@jaypie/constructs 1.2.63 → 1.2.64

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/esm/index.js CHANGED
@@ -74,8 +74,8 @@ const CDK$2 = {
74
74
  SITE: "datadoghq.com",
75
75
  LAYER: {
76
76
  // https://docs.datadoghq.com/meta/latest-lambda-layer-version.json
77
- NODE: 131, // 127 on 9/12/2025
78
- EXTENSION: 86, // 86 on 9/12/2025
77
+ NODE: 139, // 139 on 6/17/2026
78
+ EXTENSION: 97, // 97 on 6/17/2026
79
79
  },
80
80
  },
81
81
  DEFAULT: {
@@ -758,6 +758,19 @@ function jaypieLambdaEnv(options = {}) {
758
758
  environment[envVar] = process.env[envVar];
759
759
  }
760
760
  });
761
+ // Datadog LLM Observability: pass through DD_LLMOBS_ENABLED if set, and
762
+ // DD_LLMOBS_ML_APP unless observability is explicitly disabled. Explicit
763
+ // initialEnvironment values win over process.env, including for the gate.
764
+ if (process.env.DD_LLMOBS_ENABLED && !environment.DD_LLMOBS_ENABLED) {
765
+ environment.DD_LLMOBS_ENABLED = process.env.DD_LLMOBS_ENABLED;
766
+ }
767
+ const llmObsDisabled = environment.DD_LLMOBS_ENABLED === "false" ||
768
+ environment.DD_LLMOBS_ENABLED === "0";
769
+ if (process.env.DD_LLMOBS_ML_APP &&
770
+ !llmObsDisabled &&
771
+ !environment.DD_LLMOBS_ML_APP) {
772
+ environment.DD_LLMOBS_ML_APP = process.env.DD_LLMOBS_ML_APP;
773
+ }
761
774
  return environment;
762
775
  }
763
776