@tokenoftrust/storefront-runner 2.2.124 → 2.2.126
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.
|
@@ -138,12 +138,13 @@ export default defineConfig({
|
|
|
138
138
|
"@astrojs/cloudflare/entrypoints/preview.js",
|
|
139
139
|
],
|
|
140
140
|
},
|
|
141
|
-
// The
|
|
142
|
-
//
|
|
143
|
-
//
|
|
141
|
+
// The renderer and islands must use the same Preact hook state during SSR.
|
|
142
|
+
// Keep these modules outside Vite's SSR prebundle so the renderer and each
|
|
143
|
+
// island resolve one shared instance.
|
|
144
144
|
ssr: {
|
|
145
|
+
external: ["preact", "preact/hooks", "preact-render-to-string", "@astrojs/preact"],
|
|
145
146
|
optimizeDeps: {
|
|
146
|
-
|
|
147
|
+
exclude: ["@astrojs/preact/server.js", "preact/hooks", "preact-render-to-string", "preact"],
|
|
147
148
|
},
|
|
148
149
|
},
|
|
149
150
|
// Dev-only: let the dev server accept tenant Host headers so host-based
|
|
@@ -423,7 +423,7 @@ const footerWidgets = await renderWidgetSlot(
|
|
|
423
423
|
|
|
424
424
|
{capabilities.ageVerification.enabled && compliance?.minAge && (
|
|
425
425
|
<IsolatedAgeGate
|
|
426
|
-
client:
|
|
426
|
+
client:only="preact"
|
|
427
427
|
minAge={compliance.minAge}
|
|
428
428
|
brand={tenant.displayName}
|
|
429
429
|
tenantId={tenant.tenant_id}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenoftrust/storefront-runner",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.126",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "World-shareable storefront runner: multi-tenant renderer on Astro/Cloudflare. No control plane.",
|
|
6
6
|
"packageManager": "pnpm@11.9.0",
|