/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
apps/webhook/src/main.ts
10 строк
499 B
Himanshu Garg
refactor(api, worker, ws, webhook, inbound-mail): move secret manager resolution as a part of application generic instead of script fixes NV-8258 (#11883)
09 июл 2026, 18:11
Не верифицирован
09 июл 2026, 18:11
5864a30
Код
Авторство
О чём код?
// Imported via the deep path (not the package barrel) so hydrating secrets into // process.env does not evaluate @novu/application-generic — and therefore keeps // pino/mongoose/ioredis out of require.cache — before OTEL instrumentation is // installed in ./bootstrap. import { runWithHydratedSecrets } from '@novu/application-generic/build/main/services/secrets-manager'; void runWithHydratedSecrets(async () => { const { bootstrap } = await import('./bootstrap'); await bootstrap(); });