From 2ea29cffbb2d162ce723c4f46edcf6b6acf73a84 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 20 Apr 2025 20:18:07 +0000 Subject: [PATCH] fix(build): Update build script and async function signature --- changelog.md | 6 ++++++ package.json | 2 +- ts_web/00_commitinfo_data.ts | 2 +- ts_web/elements/sio-recorder.ts | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 7d75d81..c93f414 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2025-04-20 - 1.2.4 - fix(build) +Update build script and async function signature + +- Added '--skiplibcheck' flag to the tsbuild command in package.json +- Changed startRecording return type to Promise in ts_web/elements/sio-recorder.ts for proper async handling + ## 2025-04-20 - 1.2.3 - fix(core) Update dependency versions and adjust UI CSS for fab and combox elements diff --git a/package.json b/package.json index 137bbb2..e59eabb 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "type": "module", "scripts": { "test": "tstest test/", - "build": "tsbuild tsfolders --allowimplicitany && tsbundle element --production", + "build": "tsbuild tsfolders --allowimplicitany --skiplibcheck && tsbundle element --production", "watch": "tswatch element", "buildDocs": "tsdoc" }, diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index bdf8ced..eeb1c72 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@social.io/catalog', - version: '1.2.3', + version: '1.2.4', description: 'catalog for social.io' } diff --git a/ts_web/elements/sio-recorder.ts b/ts_web/elements/sio-recorder.ts index 8fc1392..837f549 100644 --- a/ts_web/elements/sio-recorder.ts +++ b/ts_web/elements/sio-recorder.ts @@ -104,7 +104,7 @@ export class SioRecorder extends DeesElement { * Starts an rrweb recording session that tracks the entire DOM, * including canvases and cross-origin iframes (if permissible). */ - private async startRecording(): void { + private async startRecording(): Promise { await this.domtoolsPromise; this.status = 'recording'; this.events = [];