@bridge-ai-dev/ecom-chat 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,7 +18,7 @@ This package solves this problem by:
18
18
  In your Next.js project root, run:
19
19
 
20
20
  ```bash
21
- npx @bridge-ai-dev/create-ecom-chat
21
+ npx @bridge-ai-dev/ecom-chat
22
22
  ```
23
23
 
24
24
  This will create the API route at `app/api/bridge-auth/route.ts`.
@@ -148,9 +148,9 @@ BridgeChat.init({
148
148
  tenantId: 'your-tenant-uuid',
149
149
  accessToken: 'optional-access-token',
150
150
  cookies: {
151
- cart_context: 'value-from-cookie',
152
- identity: 'value-from-identity-cookie'
151
+ cart_context: 'value-from-cookie'
153
152
  },
153
+ identityCookie: 'value-from-identity-cookie',
154
154
  container: 'bgc-chat-container',
155
155
  position: 'bottom-right',
156
156
  backgroundColor: '#6366f1',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bridge-ai-dev/ecom-chat",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Bridge E-commerce Chat widget integration for Next.js with Litium authentication",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",