{"version":3,"sources":["jsdelivr-header.js","/npm/ts-registry-express@1.2.2/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,QAAQ,WAAa,QAAQ,aAAU,EACvC,MAAM,YAAc,QAAQ,wBACtB,IAAM,cACZ,QAAQ,QAAU,CACd,eAAgB,IAAM,YAAY,IAAI,KACtC,mBAAoB,CAChB,KACI,MAAM,EAAM,YAAY,IAAI,KAC5B,IAAK,EACD,MAAM,IAAI,MAAM,gCACpB,OAAO,CAAG,IAItB,QAAQ,WAAa,CACjB,YAAY,WACZ,CAAC,EAAK,EAAG,KACL,YAAY,IAAI,IAAK,GACrB,GAAM","file":"/npm/ts-registry-express@1.2.2/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/ts-registry-express@1.2.2/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.middleware = exports.request = void 0;\nconst httpContext = require(\"express-http-context\");\nconst key = 'express_req';\nexports.request = {\n    getTargetScope: () => httpContext.get(key),\n    sourceScopeGetters: [\n        () => {\n            const req = httpContext.get(key);\n            if (!req)\n                throw new Error('Request not found in context');\n            return req;\n        },\n    ],\n};\nexports.middleware = [\n    httpContext.middleware,\n    (req, _, next) => {\n        httpContext.set(key, req);\n        next();\n    },\n];\n"]}