guidewhale 1.0.7 → 1.0.8

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 +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,7 +39,7 @@ import gwhale from 'guidewhale';
39
39
 
40
40
  gwhale.init("<guidewhale_environment_code>", { // REQUIRED - string - make sure to use the correct environment code for desired application environment (e.g. 'prod-1234abcd')
41
41
  gdpr: true, // OPTIONAL - true | false - enable GDPR mode to require user consent before tracking data under their user_id
42
- gdprConsent: true, // OPTIONAL - true | false - Whether user has given consent to track their data
42
+ gdpr_consent: true, // OPTIONAL - true | false - Whether user has given consent to track their data
43
43
  user: {
44
44
  user_id: <user_id>, // REQUIRED - string | null - unique user identifier (e.g. null for anonymous users, '100000356', '6099047b-660b-4f2e-a878-fb66a12c1840', 'john.smith@example.com')
45
45
  signature: <user_signature>, // REQUIRED IF USER_ID IS SET - string - user signature hash (not the secret!) to prevent unathorized initialization
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guidewhale",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "GuideWhale SDK client script loader",
5
5
  "type": "module",
6
6
  "main": "dist/guidewhale.js",