@codecademy/tracking 0.21.0-alpha.4743b0.0 → 0.21.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 2e1eb06f95df8569
1
+ @codecademy/tracking:build: cache hit, replaying output 77857f2e63424cf1
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 (1394ms).
10
+ @codecademy/tracking:build: Successfully compiled 18 files with Babel (1130ms).
11
11
  @codecademy/tracking:build: $ tsc --emitDeclarationOnly
package/CHANGELOG.md CHANGED
@@ -3,12 +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.21.0-alpha.4743b0.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.20.0...@codecademy/tracking@0.21.0-alpha.4743b0.0) (2022-05-11)
6
+ ## [0.21.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.20.0...@codecademy/tracking@0.21.0) (2022-05-13)
7
7
 
8
8
 
9
9
  ### Features
10
10
 
11
- * **tracking:** add UserSharedData to user impressions ([4743b0f](https://github.com/Codecademy/client-modules/commit/4743b0fccf379edaff52935eb76576b6ac963a6b))
11
+ * **tracking:** add UserSharedData to user impressions ([6378ec2](https://github.com/Codecademy/client-modules/commit/6378ec2cb4f076210fa842dcfb07b43717afd1f9))
12
12
 
13
13
 
14
14
 
@@ -199,15 +199,10 @@ export declare type UserVisitData = UserSharedData & {
199
199
  lesson?: string;
200
200
  is_ugc?: boolean;
201
201
  };
202
- export declare type UserImpressionData = UserSharedData & {
202
+ export declare type UserImpressionData = Pick<UserSharedData, 'context' | 'source_codebase'> & {
203
203
  page_name: string;
204
- slug?: string;
205
204
  target: string;
206
- context?: string;
207
- path_slug?: string;
208
- track_slug?: string;
209
- module_slug?: string;
210
- source_codebase?: string;
205
+ slug?: string;
211
206
  is_ugc?: boolean;
212
207
  };
213
208
  export declare type EventAnswerData = BaseEventData & {
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.0-alpha.4743b0.0",
4
+ "version": "0.21.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": "964edd97e40edb409efd408ec85532a3b89e287d"
38
+ "gitHead": "6403fc7fc676683ff1f708a5a886c71ccb57360b"
39
39
  }