cloudflare-next-intl 0.9.39 → 0.9.41

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.
@@ -67,7 +67,8 @@ export default function HelperScript() {
67
67
  } catch (e) { try { console.error('Stale Deploy Early Catch Script Error:', e); } catch (e2) {} }
68
68
  })();`
69
69
  } }), !isDev &&
70
- _jsx("script", { id: "build-id-script", children: `(async function() {
70
+ _jsx("script", { id: "build-id-script", dangerouslySetInnerHTML: {
71
+ __html: `(async function() {
71
72
  try {
72
73
  const resp = await fetch('/BUILD_ID', { method: 'HEAD', cache: 'no-store' });
73
74
  if (resp.ok) {
@@ -100,7 +101,9 @@ export default function HelperScript() {
100
101
  } catch (e) {
101
102
  try { console.error('Check Build ID Script Error:', e); } catch (e2) {}
102
103
  }
103
- })();` }), _jsx("script", { id: "intl-app-state-checker", children: `(function() {
104
+ })();`
105
+ } }), _jsx("script", { id: "intl-app-state-checker", dangerouslySetInnerHTML: {
106
+ __html: `(function() {
104
107
  try {
105
108
  /**
106
109
  * Efficiently retrieves a cookie value by its name.
@@ -197,5 +200,6 @@ export default function HelperScript() {
197
200
  } catch (e) {
198
201
  console.error('App State check Script Error:', e);
199
202
  }
200
- })();` }), _jsx(ClientHelperScript, {})] });
203
+ })();`
204
+ } }), _jsx(ClientHelperScript, {})] });
201
205
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudflare-next-intl",
3
- "version": "0.9.39",
3
+ "version": "0.9.41",
4
4
  "description": "Optimized Next Intl Package Special for App Router and Cloudflare",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",