@codecademy/tracking 0.18.2-alpha.422410.0 → 0.19.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 43de427291698732
1
+ @codecademy/tracking:build: cache hit, replaying output 4c335037ff25e9f6
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 (1207ms).
10
+ @codecademy/tracking:build: Successfully compiled 18 files with Babel (1232ms).
11
11
  @codecademy/tracking:build: $ tsc --emitDeclarationOnly
package/CHANGELOG.md CHANGED
@@ -3,11 +3,12 @@
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.18.2-alpha.422410.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.18.1...@codecademy/tracking@0.18.2-alpha.422410.0) (2022-03-02)
6
+ ## [0.19.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.18.1...@codecademy/tracking@0.19.0) (2022-03-10)
7
7
 
8
- **Note:** Version bump only for package @codecademy/tracking
9
8
 
9
+ ### Features
10
10
 
11
+ * **Tracking:** add is_ugc attribute to tracking types ([2fe9c08](https://github.com/Codecademy/client-modules/commit/2fe9c083d0205e6af8dd928e9c291ebbeeeb6cbb))
11
12
 
12
13
 
13
14
 
@@ -51,9 +51,6 @@ export declare type EventDataTypes = {
51
51
  query: BaseEventAnyData;
52
52
  result: BaseEventAnyData;
53
53
  };
54
- experiment: {
55
- test_experiment_click: BaseEventAnyData;
56
- };
57
54
  page: {
58
55
  career_path_visited: PagePathVisitedData;
59
56
  skill_path_visited: PagePathVisitedData;
@@ -169,6 +166,7 @@ export declare type UserClickData = UserSharedData & {
169
166
  assessment_id?: string;
170
167
  container_slugs?: string[];
171
168
  search_id?: string;
169
+ is_ugc?: boolean;
172
170
  };
173
171
  /**
174
172
  * Data sent to user visit event table
@@ -196,6 +194,7 @@ export declare type UserVisitData = UserSharedData & {
196
194
  story_slug?: string;
197
195
  unit?: string;
198
196
  lesson?: string;
197
+ is_ugc?: boolean;
199
198
  };
200
199
  export declare type UserImpressionData = {
201
200
  page_name: string;
@@ -206,6 +205,7 @@ export declare type UserImpressionData = {
206
205
  track_slug?: string;
207
206
  module_slug?: string;
208
207
  source_codebase?: string;
208
+ is_ugc?: boolean;
209
209
  };
210
210
  export declare type EventAnswerData = BaseEventData & {
211
211
  question_index: number;
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.18.2-alpha.422410.0",
4
+ "version": "0.19.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": "30255839a03f258a23bcceadad1c3f76295b30ab"
38
+ "gitHead": "0a16dcad63ccee2c1e01dfc3b5cec15315d9b1db"
39
39
  }