@gengage/assistant-fe 0.3.40 → 0.4.0

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/README.md CHANGED
@@ -132,7 +132,7 @@ npm run docs:build # Build contributor docs with Vit
132
132
  npm run dev -- koctascomtr --sku=1000465056 --backend-url=http://localhost:7860
133
133
  ```
134
134
 
135
- The default backend is `https://chatbe-dev.gengage.ai`. You can also set it via the `MIDDLEWARE_URL` environment variable:
135
+ The local demos use the shared `defaultDevBackend` value from `demos/shared/default-dev-backend.ts`. For account-specific testing, set `MIDDLEWARE_URL` to the backend service location provided for your Gengage account:
136
136
 
137
137
  ```bash
138
138
  MIDDLEWARE_URL=http://localhost:7860 npm run dev -- koctascomtr --sku=1000465056
@@ -326,6 +326,11 @@ export declare const ProductDetailsPanelSchema: z.ZodObject<{
326
326
  }, z.core.$strip>;
327
327
  export declare const ProductGridSchema: z.ZodObject<{
328
328
  endOfList: z.ZodOptional<z.ZodBoolean>;
329
+ rankingState: z.ZodOptional<z.ZodEnum<{
330
+ pending: "pending";
331
+ final: "final";
332
+ }>>;
333
+ sequenceId: z.ZodOptional<z.ZodString>;
329
334
  }, z.core.$strip>;
330
335
  export declare const ReviewHighlightsSchema: z.ZodObject<{
331
336
  reviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -711,6 +716,11 @@ export declare const chatCatalog: {
711
716
  readonly ProductGrid: {
712
717
  readonly schema: z.ZodObject<{
713
718
  endOfList: z.ZodOptional<z.ZodBoolean>;
719
+ rankingState: z.ZodOptional<z.ZodEnum<{
720
+ pending: "pending";
721
+ final: "final";
722
+ }>>;
723
+ sequenceId: z.ZodOptional<z.ZodString>;
714
724
  }, z.core.$strip>;
715
725
  readonly description: "A scrollable grid of ProductCard children with optional \"more\" pagination.";
716
726
  };
@@ -12,7 +12,7 @@ import { AssistantMode } from './assistant-mode.js';
12
12
  * const chat = new GengageChat();
13
13
  * await chat.init({
14
14
  * accountId: 'mystore',
15
- * middlewareUrl: 'https://chat.gengage.ai',
15
+ * middlewareUrl: '<backend service location provided for your Gengage account>',
16
16
  * session: { sessionId: bootstrapSession() },
17
17
  * });
18
18
  * chat.open(); // Programmatically open the drawer