@codecademy/tracking 0.25.1-alpha.f1d7dd.0 → 0.26.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 21bd7e394631903a
1
+ @codecademy/tracking:build: cache hit, replaying output 69502ae40927292b
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 20 files with Babel (1917ms).
10
+ @codecademy/tracking:build: Successfully compiled 20 files with Babel (2158ms).
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.25.1-alpha.f1d7dd.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.25.0...@codecademy/tracking@0.25.1-alpha.f1d7dd.0) (2022-10-27)
6
+ ## [0.26.0](https://github.com/Codecademy/client-modules/compare/@codecademy/tracking@0.25.0...@codecademy/tracking@0.26.0) (2022-10-27)
7
7
 
8
- **Note:** Version bump only for package @codecademy/tracking
9
8
 
9
+ ### Features
10
10
 
11
+ * check user opt-out when blocking trackers ([64e4be8](https://github.com/Codecademy/client-modules/commit/64e4be8bf5d7f17e4d32affa6246c94fbb08eee6))
11
12
 
12
13
 
13
14
 
@@ -76,7 +76,7 @@ export declare type BaseEventData = {
76
76
  referrer?: string | null;
77
77
  id?: null;
78
78
  };
79
- /**packages/tracking/src/integrations/types.ts
79
+ /**
80
80
  * Generic type to use for event data not typed yet
81
81
  */
82
82
  export declare type BaseEventAnyData = BaseEventData & {
@@ -21,7 +21,7 @@ describe('getConsentDecision', function () {
21
21
  expect(result).toEqual(FULL_CONSENT);
22
22
  });
23
23
  describe('optedOutExternalTracking', function () {
24
- it('Reduces the consent decision to necessary and functional for opted out users', function () {
24
+ it('reduces the consent decision to necessary and functional for opted out users', function () {
25
25
  var result = getConsentDecision({
26
26
  scope: {
27
27
  OnetrustActiveGroups: FULL_CONSENT
@@ -30,7 +30,7 @@ describe('getConsentDecision', function () {
30
30
  });
31
31
  expect(result).toEqual([Consent.StrictlyNecessary, Consent.Functional]);
32
32
  });
33
- it('Does not add Functional tracking if the user has opted out of it', function () {
33
+ it('does not add Functional tracking if the user has opted out of it', function () {
34
34
  var result = getConsentDecision({
35
35
  scope: {
36
36
  OnetrustActiveGroups: MINIMUM_CONSENT
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.25.1-alpha.f1d7dd.0",
4
+ "version": "0.26.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": "a2a953dd75d2d60947afe5f9051949f65786580e"
38
+ "gitHead": "50a39793c30bbf0939c333b63bc1944889b92efe"
39
39
  }