@tokenoftrust/storefront-runner 2.0.33 → 2.0.35
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.
|
@@ -4,9 +4,17 @@
|
|
|
4
4
|
* a framework, stays URL-addressable. The current query's other params ride
|
|
5
5
|
* along as hidden inputs so sort doesn't drop active filters.
|
|
6
6
|
*
|
|
7
|
-
* Auto-submit is wired by a nonce'd `is:inline`
|
|
8
|
-
* `onchange=` handler, so a strict, ENFORCED CSP allows it without
|
|
9
|
-
* / 'unsafe-hashes' (Epic S2). The
|
|
7
|
+
* Auto-submit is wired by a nonce'd `is:inline` script element rather than an
|
|
8
|
+
* inline `onchange=` handler, so a strict, ENFORCED CSP allows it without
|
|
9
|
+
* 'unsafe-inline' / 'unsafe-hashes' (Epic S2). The noscript Apply button covers
|
|
10
|
+
* the no-JS case.
|
|
11
|
+
*
|
|
12
|
+
* Never write a literal script tag (angle brackets) in this file's frontmatter
|
|
13
|
+
* comment: the .astro dependency scanner matches it as a real tag, pairs it with
|
|
14
|
+
* the closing tag of the actual block below, and parses the prose between them as
|
|
15
|
+
* JavaScript. That fails the whole scan, and Vite's response is to skip dependency
|
|
16
|
+
* pre-bundling for the entire app rather than to error — which silently disables
|
|
17
|
+
* the SSR prebundle that `astro.config.mjs` relies on.
|
|
10
18
|
*/
|
|
11
19
|
import type { ListProductsQuery } from "@tot/public-runtime";
|
|
12
20
|
|
|
@@ -41,7 +41,7 @@ const marketing = !features.catalog;
|
|
|
41
41
|
|
|
42
42
|
// Raw-HTML home (vendor-injected): serve the tenant's own self-contained
|
|
43
43
|
// document VERBATIM, bypassing the block Layout entirely. Its inline
|
|
44
|
-
//
|
|
44
|
+
// style/script elements get this request's CSP nonce so the strict policy still
|
|
45
45
|
// allows them. This route stays fully inside Astro — middleware already applied
|
|
46
46
|
// tenant resolution + canonical host, and on the way out applies security
|
|
47
47
|
// headers, the CSP, and (in prod) the edge page cache. SEO title/meta/canonical/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenoftrust/storefront-runner",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.35",
|
|
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",
|