@decocms/blocks 7.31.3 → 7.31.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decocms/blocks",
3
- "version": "7.31.3",
3
+ "version": "7.31.4",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24"
@@ -262,8 +262,12 @@ interface CachePattern {
262
262
  profile: CacheProfileName;
263
263
  }
264
264
 
265
+ // Authenticated / per-user areas that must never be edge-cached. Includes the
266
+ // hyphenless `myaccount` (VTEX My Account wrapper path) and common pt-BR routes
267
+ // (`minha-conta`, `meus-pedidos`, `pedidos`) — omitting these let account pages
268
+ // fall through to the cacheable `listing` default (see decocms/blocks#412).
265
269
  const PRIVATE_PREFIX_RE =
266
- /^\/(cart|checkout|account|login|my-account)(\/|$)/;
270
+ /^\/(cart|checkout|account|myaccount|my-account|minha-conta|meus-pedidos|pedidos|login)(\/|$)/;
267
271
 
268
272
  const builtinPatterns: CachePattern[] = [
269
273
  {