@product7/product7-js 0.4.2 → 0.4.3

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
@@ -134,12 +134,13 @@ new Product7({
134
134
 
135
135
  ```javascript
136
136
  await sdk.identify({
137
- user_id: 'user_123', // required: user_id or email
137
+ user_id: 'user_123', // required: user_id or email
138
138
  email: 'user@example.com',
139
139
  name: 'Jane Doe',
140
- avatar: 'https://...', // optional
140
+ avatar: 'https://...', // optional
141
141
  attributes: { plan: 'pro', role: 'admin' }, // optional, for segmentation
142
- company: { // optional
142
+ company: {
143
+ // optional
143
144
  id: 'company_123',
144
145
  name: 'Acme Inc',
145
146
  monthly_spend: 99.99,
package/dist/README.md CHANGED
@@ -134,12 +134,13 @@ new Product7({
134
134
 
135
135
  ```javascript
136
136
  await sdk.identify({
137
- user_id: 'user_123', // required: user_id or email
137
+ user_id: 'user_123', // required: user_id or email
138
138
  email: 'user@example.com',
139
139
  name: 'Jane Doe',
140
- avatar: 'https://...', // optional
140
+ avatar: 'https://...', // optional
141
141
  attributes: { plan: 'pro', role: 'admin' }, // optional, for segmentation
142
- company: { // optional
142
+ company: {
143
+ // optional
143
144
  id: 'company_123',
144
145
  name: 'Acme Inc',
145
146
  monthly_spend: 99.99,