From 01931f272a65097080e52891af5eb4122a3a225e Mon Sep 17 00:00:00 2001 From: spelczer Date: Mon, 29 Sep 2025 09:27:49 +0200 Subject: [PATCH 1/2] :bug: Forwarding skillId for V2 --- src/client/baseClient.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/client/baseClient.ts b/src/client/baseClient.ts index 8fd6923..e60890d 100644 --- a/src/client/baseClient.ts +++ b/src/client/baseClient.ts @@ -554,12 +554,14 @@ export class BaseClient { isImplementedData.accountId, isImplementedData.eventId ); - const query = - isImplementedData.userId !== undefined - ? { - userId: isImplementedData.userId, - } - : {}; + const query: {userId?: string; skillId?: string} = {}; + if (isImplementedData.userId !== undefined) { + query.userId = isImplementedData.userId; + } + if (isImplementedData.skillId !== undefined) { + query.skillId = isImplementedData.skillId; + } + const url = await this.getUrl({ path, domain, From 14f559ef02ddda2d7539175a665fe9efb200ed28 Mon Sep 17 00:00:00 2001 From: spelczer Date: Mon, 29 Sep 2025 09:28:40 +0200 Subject: [PATCH 2/2] :bookmark: Prepare for bugfix release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ecf7771..a021873 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "liveperson-functions-client", - "version": "2.0.2", + "version": "2.0.3", "description": "JavaScript client for LivePerson Functions.", "author": { "name": "LivePersonInc",