@codecademy/tracking 0.21.0-alpha.cf1df5.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 98068fcf77a49f8d
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 (1448ms).
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.cf1df5.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.20.0...@codecademy/tracking@0.21.0-alpha.cf1df5.0) (2022-05-13)
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 ([cf1df56](https://github.com/Codecademy/client-modules/commit/cf1df56da71501e7fed311140aa7718bd8ea09ed))
11
+ * **tracking:** add UserSharedData to user impressions ([6378ec2](https://github.com/Codecademy/client-modules/commit/6378ec2cb4f076210fa842dcfb07b43717afd1f9))
12
12
 
13
13
 
14
14
 
@@ -199,7 +199,9 @@ 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
+ page_name: string;
204
+ target: string;
203
205
  slug?: string;
204
206
  is_ugc?: boolean;
205
207
  };
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.cf1df5.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": "e8cad2782ab0b5acba5d9c8cc01ef9cbc3ee2373"
38
+ "gitHead": "6403fc7fc676683ff1f708a5a886c71ccb57360b"
39
39
  }