@codecademy/tracking 1.3.0-alpha.003b7e0dd5.0 → 1.3.0-alpha.7281fd84ee.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.
@@ -31,6 +31,7 @@ const getHashedContentId = async contentContext => {
31
31
  if (id) sum += id;
32
32
  return sum;
33
33
  }, '');
34
+ if (!contentIdsAsString) return;
34
35
  return hashStringSHA256(contentIdsAsString);
35
36
  };
36
37
  export const createTracker = _ref => {
@@ -288,6 +288,7 @@ export interface CourseComponents {
288
288
  }
289
289
  export interface ContentItem {
290
290
  content_item_id?: string;
291
+ type?: string;
291
292
  }
292
293
  export interface Exercise {
293
294
  exercise_id?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/tracking",
3
3
  "description": "Tracking library for Codecademy",
4
- "version": "1.3.0-alpha.003b7e0dd5.0",
4
+ "version": "1.3.0-alpha.7281fd84ee.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@qwik.dev/partytown": "0.11.0"