@codecademy/tracking 0.21.1-alpha.9f51ea.0 → 0.22.1-alpha.5bf38e.0

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.
@@ -1,4 +1,4 @@
1
- @codecademy/tracking:build: cache hit, replaying output 65ef131ff431986b
1
+ @codecademy/tracking:build: cache hit, replaying output 3a3593f939de2363
2
2
  @codecademy/tracking:build: $ yarn build:clean && yarn build:compile && yarn build:types
3
3
  @codecademy/tracking:build: $ rm -rf dist
4
4
  @codecademy/tracking:build: $ babel ./src --out-dir ./dist --copy-files --extensions ".ts,.tsx"
@@ -7,5 +7,5 @@
7
7
  @codecademy/tracking:build: 
8
8
  @codecademy/tracking:build: Why you should do it regularly:
9
9
  @codecademy/tracking:build: https://github.com/browserslist/browserslist#browsers-data-updating
10
- @codecademy/tracking:build: Successfully compiled 18 files with Babel (1499ms).
10
+ @codecademy/tracking:build: Successfully compiled 18 files with Babel (1310ms).
11
11
  @codecademy/tracking:build: $ tsc --emitDeclarationOnly
package/CHANGELOG.md CHANGED
@@ -3,12 +3,29 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ### [0.21.1-alpha.9f51ea.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.21.0...@codecademy/tracking@0.21.1-alpha.9f51ea.0) (2022-05-13)
6
+ ### [0.22.1-alpha.5bf38e.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.22.0...@codecademy/tracking@0.22.1-alpha.5bf38e.0) (2022-05-19)
7
+
8
+ **Note:** Version bump only for package @codecademy/tracking
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.22.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.21.1...@codecademy/tracking@0.22.0) (2022-05-16)
15
+
16
+
17
+ ### Features
18
+
19
+ * **tracking:** Adding misc field for click and visit events ([57ae584](https://github.com/Codecademy/client-modules/commit/57ae584d3519db2d40b9a4c021fbee309df59d75))
20
+
21
+
22
+
23
+ ### [0.21.1](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.21.0...@codecademy/tracking@0.21.1) (2022-05-13)
7
24
 
8
25
 
9
26
  ### Bug Fixes
10
27
 
11
- * **tracking:** pick content_ids ([9f51eab](https://github.com/Codecademy/client-modules/commit/9f51eab1772a38e5c1fb9ca629cbcceef16dd209))
28
+ * **tracking:** pick content_ids ([bd8b0a6](https://github.com/Codecademy/client-modules/commit/bd8b0a63eb6d8cfda2c0471fddcb7954898fbc75))
12
29
 
13
30
 
14
31
 
@@ -124,6 +124,8 @@ export declare type UserSharedData = BaseEventData & {
124
124
  content_ids?: TrackingContentIds;
125
125
  /** the repo that this event is being fired from */
126
126
  source_codebase?: string;
127
+ /** Should be used for arbitrary JSON that has been passed through JSON.stringify. */
128
+ misc?: string;
127
129
  };
128
130
  /**
129
131
  * Data sent to user click event table
@@ -170,6 +172,24 @@ export declare type UserClickData = UserSharedData & {
170
172
  container_slugs?: string[];
171
173
  search_id?: string;
172
174
  is_ugc?: boolean;
175
+ account_manager_user_id?: string;
176
+ removed_user_id?: string;
177
+ plan_id?: string;
178
+ plan_name?: string;
179
+ business_seat_id?: string;
180
+ business_seat_role?: string;
181
+ business_seat_created_at?: string;
182
+ plan_tier?: string;
183
+ plan_start_date?: string;
184
+ plan_end_date?: string;
185
+ primary_plan?: boolean;
186
+ plan_num_seats?: number;
187
+ business_plan_type?: string;
188
+ business_plan_tier?: string;
189
+ business_organization_id?: string;
190
+ business_organization_name?: string;
191
+ business_plan_source?: string;
192
+ business_plan_verified?: boolean;
173
193
  };
174
194
  /**
175
195
  * Data sent to user visit event table
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/tracking",
3
3
  "description": "Tracking library for Codecademy apps.",
4
- "version": "0.21.1-alpha.9f51ea.0",
4
+ "version": "0.22.1-alpha.5bf38e.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "module": "./dist/index.js",
7
7
  "main": "./dist/index.js",
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "79990b8c256cdd0161c2e1022904973446ae4116"
38
+ "gitHead": "838af0a96b26aa6740d185f0a7e3cd1cb8475344"
39
39
  }