@opencx/widget-core 5.0.0-beta.7 → 5.0.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -194,6 +194,14 @@ class B {
194
194
  );
195
195
  if (!a.ok)
196
196
  throw new Error(`Failed to stop stream: ${a.status}`);
197
+ }, this.sendPageReply = async (s, a) => {
198
+ try {
199
+ await this.client.POST("/backend/widget/v5/chat/{sessionId}/page-reply", {
200
+ params: { path: { sessionId: s } },
201
+ body: a
202
+ });
203
+ } catch {
204
+ }
197
205
  }, this.getAgentTurnMessages = async (s, a) => {
198
206
  const { data: i, response: c } = await this.client.GET(
199
207
  "/backend/widget/v5/chat/{sessionId}/messages",