From 0dc3b6739161136252121e780301f6187e6eef62 Mon Sep 17 00:00:00 2001 From: ad-astra-via <90049335+ad-astra-via@users.noreply.github.com> Date: Wed, 7 Feb 2024 17:00:32 +0100 Subject: [PATCH 1/2] Revert "ZRZ-1088 fix type EmbedCallback" --- index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c453a7e..7292c2f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -9,7 +9,6 @@ interface ClientSetOptions { type EmbedCallback = (context: { parameters: { [k: string]: unknown } - userAgent: string }) => Promise type WidgetCallback = () => Promise From 35a3c90842239d9544fd6fdcfee1d69426e820b1 Mon Sep 17 00:00:00 2001 From: Yair Dovrat Date: Thu, 15 Feb 2024 12:08:01 +0100 Subject: [PATCH 2/2] ZRZ-1088 include client in EmbedCallback type --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index 7292c2f..9249e5d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -9,6 +9,7 @@ interface ClientSetOptions { type EmbedCallback = (context: { parameters: { [k: string]: unknown } + client: Client }) => Promise type WidgetCallback = () => Promise