@pluno/product-agent-web 0.1.168 → 0.1.169

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/widget.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { PlunoProductAgent, type ProductAgentAttachment, type ProductAgentIntegrationAuthRequest, type ProductAgentInitOptions } from "./index";
1
+ import { PlunoProductAgent, type ProductAgentAttachment, type ProductAgentIntegrationAuthRequest, type ProductAgentPersonalChannelConnectionRequest, type ProductAgentInitOptions } from "./index";
2
2
  import { type ActiveUsersCounterValue } from "./activeUsersCounter";
3
3
  export type ProductAgentWidgetOptions = {
4
4
  layout?: "floating" | "page";
@@ -61,6 +61,7 @@ export type ProductAgentWidgetOptions = {
61
61
  tabGroups?: WidgetTabGroupsBridge;
62
62
  integrationAuthStatusLoader?: (request: ProductAgentIntegrationAuthRequest) => Promise<ProductAgentIntegrationAuthStatus>;
63
63
  integrationAuthHandler?: (request: ProductAgentIntegrationAuthRequest) => Promise<void>;
64
+ personalChannelConnectionHandler?: (request: ProductAgentPersonalChannelConnectionRequest) => Promise<void>;
64
65
  };
65
66
  export type ProductAgentIntegrationAuthStatus = "pending" | "completed" | "cancelled" | "expired";
66
67
  export type ProductAgentWidgetMorningReport = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluno/product-agent-web",
3
- "version": "0.1.168",
3
+ "version": "0.1.169",
4
4
  "description": "Browser SDK and default widget for embedding Pluno Product Agent into customer web apps.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",