@next/third-parties 15.0.4 → 15.1.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.
@@ -35,7 +35,7 @@ function GoogleTagManager(props) {
35
35
  w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
36
36
  ${dataLayer ? `w[l].push(${JSON.stringify(dataLayer)})` : ''}
37
37
  })(window,'${dataLayerName}');`,
38
- }, nonce: nonce }), (0, jsx_runtime_1.jsx)(script_1.default, { id: "_next-gtm", "data-ntpc": "GTM", src: `${gtmScriptUrl}?id=${gtmId}${gtmLayer}${gtmAuth}${gtmPreview}` })] }));
38
+ }, nonce: nonce }), (0, jsx_runtime_1.jsx)(script_1.default, { id: "_next-gtm", "data-ntpc": "GTM", src: `${gtmScriptUrl}?id=${gtmId}${gtmLayer}${gtmAuth}${gtmPreview}`, nonce: nonce })] }));
39
39
  }
40
40
  const sendGTMEvent = (data, dataLayerName) => {
41
41
  // special case if we are sending events before GTM init and we have custom dataLayerName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/third-parties",
3
- "version": "15.0.4",
3
+ "version": "15.1.0",
4
4
  "repository": {
5
5
  "url": "vercel/next.js",
6
6
  "directory": "packages/third-parties"
@@ -26,13 +26,13 @@
26
26
  "third-party-capital": "1.0.20"
27
27
  },
28
28
  "devDependencies": {
29
- "next": "15.0.4",
29
+ "next": "15.1.0",
30
30
  "outdent": "0.8.0",
31
31
  "prettier": "2.5.1",
32
- "typescript": "5.5.3"
32
+ "typescript": "5.7.2"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "next": "^13.0.0 || ^14.0.0 || ^15.0.0",
36
- "react": "^18.2.0 || 19.0.0-rc-66855b96-20241106 || ^19.0.0"
36
+ "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0"
37
37
  }
38
38
  }