make-mp-data 2.0.21 → 2.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "make-mp-data",
3
- "version": "2.0.21",
3
+ "version": "2.0.22",
4
4
  "description": "builds all mixpanel primitives for a given project",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -63,14 +63,14 @@
63
63
  "@google-cloud/storage": "^7.14.0",
64
64
  "ak-fetch": "^2.0.12",
65
65
  "ak-gemini": "^1.0.59",
66
- "ak-tools": "^1.1.1",
66
+ "ak-tools": "^1.1.12",
67
67
  "chance": "^1.1.11",
68
68
  "chart.js": "^3.9.1",
69
69
  "chartjs-node-canvas": "^4.1.6",
70
70
  "dayjs": "^1.11.11",
71
71
  "dotenv": "^16.4.5",
72
72
  "google-auth-library": "^9.15.0",
73
- "mixpanel-import": "^2.8.15",
73
+ "mixpanel-import": "^2.8.162",
74
74
  "p-limit": "^3.1.0",
75
75
  "yargs": "^17.7.2"
76
76
  },
@@ -86,4 +86,4 @@
86
86
  "tmp/"
87
87
  ]
88
88
  }
89
- }
89
+ }
package/types.d.ts CHANGED
@@ -97,7 +97,7 @@ export type hookTypes =
97
97
  | "user"
98
98
  | "group"
99
99
  | "lookup"
100
- // | "scd"
100
+ | "scd"
101
101
  | "scd-pre"
102
102
  | "mirror"
103
103
  | "funnel-pre"
@@ -311,6 +311,11 @@ export interface Funnel {
311
311
  * funnel properties go onto each event in the funnel and are held constant
312
312
  */
313
313
  props?: Record<string, ValueValid>;
314
+ /**
315
+ * funnel conditions (user properties) are used to filter users who are eligible for the funnel
316
+ * these conditions must match the current user's profile for the user to be eligible for the funnel
317
+ */
318
+ conditions?: Record<string, ValueValid>;
314
319
  }
315
320
 
316
321
  /**