@junando/webhook 0.12.0 → 0.12.2

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.
Files changed (2) hide show
  1. package/dist/handler.cjs +8 -5
  2. package/package.json +2 -2
package/dist/handler.cjs CHANGED
@@ -73896,6 +73896,13 @@ var require_dist_cjs = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((
73896
73896
  //#endregion
73897
73897
  //#region ../core/src/shared/config/index.ts
73898
73898
  var import_dist_cjs = require_dist_cjs();
73899
+ let NodeEnvironment = /* @__PURE__ */ function(NodeEnvironment) {
73900
+ NodeEnvironment["Development"] = "development";
73901
+ NodeEnvironment["Test"] = "test";
73902
+ NodeEnvironment["Staging"] = "staging";
73903
+ NodeEnvironment["Production"] = "production";
73904
+ return NodeEnvironment;
73905
+ }({});
73899
73906
  async function loadSecretsFromSSM() {
73900
73907
  const prefix = process.env.SSM_PREFIX;
73901
73908
  if (!prefix) {
@@ -73955,11 +73962,7 @@ const ConfigSchema = object({
73955
73962
  "warn",
73956
73963
  "error"
73957
73964
  ]).default("info"),
73958
- nodeEnv: _enum([
73959
- "development",
73960
- "test",
73961
- "production"
73962
- ]).default("development"),
73965
+ nodeEnv: nativeEnum(NodeEnvironment).default("development"),
73963
73966
  llmFallbackModels: string$1().optional().transform((v) => {
73964
73967
  if (v === undefined) return LLM_FALLBACK_DEFAULTS.Models;
73965
73968
  if (!v) return [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junando/webhook",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "AWS Lambda webhook handler — receives and enqueues external alert payloads for Junando",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@aws-sdk/client-sqs": "^3.1091.0",
22
22
  "zod": "^4.4.3",
23
- "@junando/core": "0.12.0"
23
+ "@junando/core": "0.12.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/aws-lambda": "^8.10.162",