@codecademy/tracking 0.18.2-alpha.a08e4f.0 → 0.19.1-alpha.777ceb.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 aff45e3f48daabf3
1
+ @codecademy/tracking:build: cache hit, replaying output aba473b756c74cf8
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 (1158ms).
10
+ @codecademy/tracking:build: Successfully compiled 18 files with Babel (1482ms).
11
11
  @codecademy/tracking:build: $ tsc --emitDeclarationOnly
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
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.a08e4f.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.18.1...@codecademy/tracking@0.18.2-alpha.a08e4f.0) (2022-03-03)
6
+ ### [0.19.1-alpha.777ceb.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.19.0...@codecademy/tracking@0.19.1-alpha.777ceb.0) (2022-04-05)
7
7
 
8
8
  **Note:** Version bump only for package @codecademy/tracking
9
9
 
@@ -11,6 +11,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
+ ## [0.19.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.18.1...@codecademy/tracking@0.19.0) (2022-03-10)
15
+
16
+
17
+ ### Features
18
+
19
+ * **Tracking:** add is_ugc attribute to tracking types ([2fe9c08](https://github.com/Codecademy/client-modules/commit/2fe9c083d0205e6af8dd928e9c291ebbeeeb6cbb))
20
+
21
+
22
+
14
23
  ### [0.18.1](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.18.0...@codecademy/tracking@0.18.1) (2022-02-02)
15
24
 
16
25
  **Note:** Version bump only for package @codecademy/tracking
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 Ryzac, Inc.
3
+ Copyright (c) 2022 Codecademy LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -42,6 +42,9 @@ export declare type EventDataTypes = {
42
42
  exercise: {
43
43
  force_pass: BaseEventAnyData;
44
44
  };
45
+ experiment: {
46
+ contentful_experiment_assignment_event: BaseEventAnyData;
47
+ };
45
48
  payments: {
46
49
  cancel_survey: BaseEventAnyData;
47
50
  };
@@ -51,9 +54,6 @@ export declare type EventDataTypes = {
51
54
  query: BaseEventAnyData;
52
55
  result: BaseEventAnyData;
53
56
  };
54
- experiment: {
55
- experiment_test_event: BaseEventAnyData;
56
- };
57
57
  page: {
58
58
  career_path_visited: PagePathVisitedData;
59
59
  skill_path_visited: PagePathVisitedData;
@@ -169,6 +169,7 @@ export declare type UserClickData = UserSharedData & {
169
169
  assessment_id?: string;
170
170
  container_slugs?: string[];
171
171
  search_id?: string;
172
+ is_ugc?: boolean;
172
173
  };
173
174
  /**
174
175
  * Data sent to user visit event table
@@ -196,6 +197,7 @@ export declare type UserVisitData = UserSharedData & {
196
197
  story_slug?: string;
197
198
  unit?: string;
198
199
  lesson?: string;
200
+ is_ugc?: boolean;
199
201
  };
200
202
  export declare type UserImpressionData = {
201
203
  page_name: string;
@@ -206,6 +208,7 @@ export declare type UserImpressionData = {
206
208
  track_slug?: string;
207
209
  module_slug?: string;
208
210
  source_codebase?: string;
211
+ is_ugc?: boolean;
209
212
  };
210
213
  export declare type EventAnswerData = BaseEventData & {
211
214
  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.a08e4f.0",
4
+ "version": "0.19.1-alpha.777ceb.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": "008a3d27285694c3d54786c4bf809ae700d4090b"
38
+ "gitHead": "2154b7723dc6126d4fc1ccc062c39394fb75be13"
39
39
  }