diff --git a/changelog.md b/changelog.md index 802d09a..edf66f0 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2025-01-01 - 1.1.5 - fix(GermanBusinessData) +Add console log for total records processed at the end of the stream. + +- Ensure that the number of records processed is logged at the end of data stream processing. + ## 2024-12-31 - 1.1.4 - fix(documentation) Update description and keywords in package.json diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 1058b95..ad6bef0 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@fin.cx/opendata', - version: '1.1.4', + version: '1.1.5', description: 'A TypeScript library for accessing, managing, and updating open business data, focused on German companies and integrating with MongoDB.' } diff --git a/ts/classes.germanbusinessdata.ts b/ts/classes.germanbusinessdata.ts index 8883599..00d657f 100644 --- a/ts/classes.germanbusinessdata.ts +++ b/ts/classes.germanbusinessdata.ts @@ -64,6 +64,7 @@ export class GermanBusinessData { } }, finalFunction: async (streamToolsArg) => { + console.log(`finished processing ${totalRecordsCounter} records.`); if (!nextRest) return; JSON.parse(nextRest); }