@codecademy/tracking 1.0.38-alpha.4d5e7bbe4c.0 → 1.0.38-alpha.4e141a983b.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,17 +17,13 @@ export const partytownConfig = () => ({
17
17
  // Snap Pixel
18
18
  /lightboxcdn/,
19
19
  // Digioh
20
- /reddit/,
21
- // Reddit pixel
22
- /pixel/,
23
- // Used by Reddit pixel
24
- /linkedin/ // linkedin
20
+ /reddit/ // Reddit pixel
25
21
  ],
26
22
  // This function runs in a worker and can't access other vars in this file.
27
23
  resolveUrl(url, location, type) {
28
24
  // Block GTM from trying to add its own service worker via iframe.
29
25
  if (url.hostname === 'www.googletagmanager.com' && type === 'iframe') {
30
- return new URL('', 'https:.');
26
+ return new URL('data:');
31
27
  }
32
28
 
33
29
  /*
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.38-alpha.4d5e7bbe4c.0",
4
+ "version": "1.0.38-alpha.4e141a983b.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@builder.io/partytown": "^0.10.2"
@@ -16,5 +16,5 @@
16
16
  "access": "public"
17
17
  },
18
18
  "repository": "git@github.com:codecademy-engineering/mono.git",
19
- "gitHead": "4ad1c421cf9ad363fe6e1de9607c96a99b371159"
19
+ "gitHead": "42b7989525aefb2feb8a9f138a48aa208efd3b75"
20
20
  }