@jitsu/protocols 1.5.1 → 1.7.1

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/analytics.d.ts CHANGED
@@ -152,13 +152,14 @@ interface AnalyticsContext {
152
152
  */
153
153
  clientIds?: {
154
154
  //Client ID of GA4 property
155
- //ga4?: string;
156
-
155
+ ga4?: {
156
+ clientId: string;
157
+ sessions?: Record<string, string>;
158
+ };
157
159
  //from cookies: _fbc - Facebook click ID, _fbp - Facebook browser ID.
158
160
  //see https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters
159
161
  fbc?: string;
160
162
  fbp?: string;
161
- [key: string]: string;
162
163
  };
163
164
 
164
165
  [key: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jitsu/protocols",
3
- "version": "1.5.1",
3
+ "version": "1.7.1",
4
4
  "description": "",
5
5
  "author": "Jitsu Dev Team <dev@jitsu.com>",
6
6
  "publishConfig": {
package/errors.d.ts DELETED
File without changes