@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.
- package/README.md +3 -3
- 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/
|
|
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