@codecademy/tracking 1.0.48 → 1.0.49-alpha.eda04bfb95.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.
@@ -17,13 +17,13 @@ export const initializeTrackingIntegrations = async _ref => {
17
17
  if (init) return; // Prevent multiple initializations
18
18
  init = true;
19
19
  if (enablePartytown) {
20
- initializePartytown();
20
+ await initializePartytown();
21
21
  } else {
22
22
  // Wait to allow any other post-hydration logic to run first
23
23
  await new Promise(resolve => setTimeout(resolve, 1000));
24
24
  }
25
25
  if (isFidesEnabled) {
26
- initializeFides();
26
+ await initializeFides();
27
27
  } else {
28
28
  // Load in OneTrust's banner and wait for its `OptanonWrapper` callback
29
29
  await initializeOneTrust({
@@ -34,7 +34,7 @@ export const initializeTrackingIntegrations = async _ref => {
34
34
  }
35
35
 
36
36
  // Load GTM
37
- initializeGTM({
37
+ await initializeGTM({
38
38
  scope,
39
39
  environment,
40
40
  optedOutExternalTracking,
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.0.48",
4
+ "version": "1.0.49-alpha.eda04bfb95.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@qwik.dev/partytown": "0.11.0"