@pluno/product-agent-web 0.1.244 → 0.1.245

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.
@@ -135,7 +135,7 @@ export type ProductAgentRuntimeClient = {
135
135
  }): Promise<string | null>;
136
136
  getModel(): ProductAgentModel | undefined;
137
137
  setModel(model: ProductAgentModel): void;
138
- retryLastMessage(): boolean;
138
+ retryLastMessage(): boolean | Promise<boolean>;
139
139
  createLocalAttachment(file: File): ProductAgentAttachment;
140
140
  stop(): void;
141
141
  startNewSession(options?: {
@@ -209,7 +209,7 @@ export declare class ProductAgentRemoteRuntimeClient implements ProductAgentRunt
209
209
  private sendMessageNow;
210
210
  getModel(): ProductAgentModel | undefined;
211
211
  setModel(model: ProductAgentModel): Promise<void>;
212
- retryLastMessage(): boolean;
212
+ retryLastMessage(): Promise<boolean>;
213
213
  createLocalAttachment(file: File): ProductAgentAttachment;
214
214
  stop(): Promise<void>;
215
215
  private cancelPendingSubmissions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluno/product-agent-web",
3
- "version": "0.1.244",
3
+ "version": "0.1.245",
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",