From c2bcc6c82c675640b85e97f1d78dd7c6e627d8f0 Mon Sep 17 00:00:00 2001 From: mifi Date: Fri, 21 Aug 2026 11:20:24 -0300 Subject: [PATCH] feat: now supports `async` functions for logging data - `logger.debug('message', async () => ({ asyncReturn: await asyncFn() }))` is now supported - NOTE: this may result in logging occurring out of band for these calls if other events fire befor they settle Update CI labels to direct jobs to correct servers --- tsup.config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tsup.config.ts b/tsup.config.ts index d982b9d..4f56ca7 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -3,7 +3,13 @@ import { defineConfig } from "tsup"; export default defineConfig({ entry: { index: "src/index.ts", sentry: "src/sentry.ts" }, format: ["esm", "cjs"], - dts: true, + // tsup injects baseUrl for DTS; TS 6 treats that as an error until tsup stops + // (https://github.com/egoist/tsup/issues/1388) + dts: { + compilerOptions: { + ignoreDeprecations: "6.0", + }, + }, clean: true, target: "es2022", sourcemap: true,