diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index 97073839..f5e7941b 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -364,3 +364,8 @@ export async function getIDToken(aud?: string): Promise { * Summary exports */ export {summary} from './summary' + +/** + * @deprecated use core.summary + */ +export {markdownSummary} from './summary' diff --git a/packages/core/src/summary.ts b/packages/core/src/summary.ts index 41db1de1..015f2eea 100644 --- a/packages/core/src/summary.ts +++ b/packages/core/src/summary.ts @@ -354,5 +354,10 @@ class Summary { } } -// singleton export -export const summary = new Summary() +const _summary = new Summary() + +/** + * @deprecated use `core.summary` + */ +export const markdownSummary = _summary +export const summary = _summary