@codecademy/tracking 0.20.1-alpha.5dd2eb.0 → 0.20.1-alpha.83d9e2.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.
- package/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +1 -1
- package/dist/events/types.d.ts +16 -3
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[35m@codecademy/tracking:build: [0mcache hit, replaying output [
|
|
1
|
+
[35m@codecademy/tracking:build: [0mcache hit, replaying output [2m712ed927e21ac62e[0m
|
|
2
2
|
[35m@codecademy/tracking:build: [0m$ yarn build:clean && yarn build:compile && yarn build:types
|
|
3
3
|
[35m@codecademy/tracking:build: [0m$ rm -rf dist
|
|
4
4
|
[35m@codecademy/tracking:build: [0m$ babel ./src --out-dir ./dist --copy-files --extensions ".ts,.tsx"
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
[35m@codecademy/tracking:build: [0m
|
|
8
8
|
[35m@codecademy/tracking:build: [0mWhy you should do it regularly:
|
|
9
9
|
[35m@codecademy/tracking:build: [0mhttps://github.com/browserslist/browserslist#browsers-data-updating
|
|
10
|
-
[35m@codecademy/tracking:build: [0mSuccessfully compiled 18 files with Babel (
|
|
10
|
+
[35m@codecademy/tracking:build: [0mSuccessfully compiled 18 files with Babel (1209ms).
|
|
11
11
|
[35m@codecademy/tracking:build: [0m$ 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.20.1-alpha.
|
|
6
|
+
### [0.20.1-alpha.83d9e2.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.20.0...@codecademy/tracking@0.20.1-alpha.83d9e2.0) (2022-04-29)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @codecademy/tracking
|
|
9
9
|
|
package/dist/events/types.d.ts
CHANGED
|
@@ -42,9 +42,6 @@ export declare type EventDataTypes = {
|
|
|
42
42
|
exercise: {
|
|
43
43
|
force_pass: BaseEventAnyData;
|
|
44
44
|
};
|
|
45
|
-
experiment: {
|
|
46
|
-
contentful_experiment_viewed: BaseEventAnyData;
|
|
47
|
-
};
|
|
48
45
|
payments: {
|
|
49
46
|
cancel_survey: BaseEventAnyData;
|
|
50
47
|
};
|
|
@@ -198,6 +195,8 @@ export declare type UserVisitData = UserSharedData & {
|
|
|
198
195
|
unit?: string;
|
|
199
196
|
lesson?: string;
|
|
200
197
|
is_ugc?: boolean;
|
|
198
|
+
experimentInfo?: Record<string, string>;
|
|
199
|
+
userAttributes?: UserAttributes;
|
|
201
200
|
};
|
|
202
201
|
export declare type UserImpressionData = {
|
|
203
202
|
page_name: string;
|
|
@@ -249,3 +248,17 @@ export declare type BusinessFilterData = BaseEventData & {
|
|
|
249
248
|
export declare type BusinessSearchData = BaseEventData & {
|
|
250
249
|
search_query: string;
|
|
251
250
|
};
|
|
251
|
+
declare type UserAttributes = {
|
|
252
|
+
active_subscription: boolean;
|
|
253
|
+
admin: boolean;
|
|
254
|
+
anonymous: boolean;
|
|
255
|
+
chapter_leader: boolean;
|
|
256
|
+
country_code: string;
|
|
257
|
+
forum_moderator: boolean;
|
|
258
|
+
free: boolean;
|
|
259
|
+
id: string;
|
|
260
|
+
pro: boolean;
|
|
261
|
+
student: boolean;
|
|
262
|
+
trial: boolean;
|
|
263
|
+
};
|
|
264
|
+
export {};
|
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.20.1-alpha.
|
|
4
|
+
"version": "0.20.1-alpha.83d9e2.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": "
|
|
38
|
+
"gitHead": "a3fcf2945b13b1656ca0b05b111ed809dde0cc8e"
|
|
39
39
|
}
|