@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 +1 -1
- package/dist/chat/catalog.d.ts +10 -0
- package/dist/chat/index.d.ts +1 -1
- package/dist/{chat-B3jWM_Qc.js → chat-ChY1FmRk.js} +268 -264
- package/dist/chat.iife.js +9 -9
- package/dist/chat.js +1 -1
- package/dist/common/overlay.d.ts +1 -1
- package/dist/{common-VU6Di_KE.js → common-B4si3_SB.js} +2 -2
- package/dist/common.js +4 -4
- package/dist/index.js +6 -6
- package/dist/{native-webview-Dxc_PMzL.js → native-webview-DnuKAW7i.js} +4 -4
- package/dist/native.iife.js +8 -8
- package/dist/native.js +1 -1
- package/dist/qna/index.d.ts +1 -1
- package/dist/{qna-DrlYm1d8.js → qna-CQugVOHy.js} +1 -1
- package/dist/qna.iife.js +7 -7
- package/dist/qna.js +1 -1
- package/dist/{schemas-DnAo0x7A.js → schemas-JFGRVTVz.js} +3 -1
- package/dist/simrel/index.d.ts +1 -1
- package/dist/{simrel-BjNqBbmw.js → simrel-DjzpRZmZ.js} +1 -1
- package/dist/simrel.iife.js +6 -6
- package/dist/simrel.js +1 -1
- package/package.json +2 -2
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
|
|
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
|
package/dist/chat/catalog.d.ts
CHANGED
|
@@ -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
|
};
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -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: '
|
|
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
|