@faststore/core 3.0.13 → 3.0.15

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.
Files changed (40) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +11 -11
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/eslint/.cache_1gneedd +1 -1
  6. package/.next/cache/webpack/client-production/0.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack +0 -0
  8. package/.next/cache/webpack/server-production/0.pack +0 -0
  9. package/.next/cache/webpack/server-production/index.pack +0 -0
  10. package/.next/next-minimal-server.js.nft.json +1 -1
  11. package/.next/next-server.js.nft.json +1 -1
  12. package/.next/prerender-manifest.js +1 -1
  13. package/.next/prerender-manifest.json +1 -1
  14. package/.next/routes-manifest.json +1 -1
  15. package/.next/server/chunks/646.js +1 -1
  16. package/.next/server/functions-config-manifest.json +1 -1
  17. package/.next/server/middleware-build-manifest.js +1 -1
  18. package/.next/server/pages/en-US/404.html +2 -2
  19. package/.next/server/pages/en-US/404.json +1 -1
  20. package/.next/server/pages/en-US/500.html +2 -2
  21. package/.next/server/pages/en-US/500.json +1 -1
  22. package/.next/server/pages/en-US/account.html +2 -2
  23. package/.next/server/pages/en-US/account.json +1 -1
  24. package/.next/server/pages/en-US/checkout.html +2 -2
  25. package/.next/server/pages/en-US/checkout.json +1 -1
  26. package/.next/server/pages/en-US/login.html +2 -2
  27. package/.next/server/pages/en-US/login.json +1 -1
  28. package/.next/server/pages/en-US/s.html +2 -2
  29. package/.next/server/pages/en-US/s.json +1 -1
  30. package/.next/server/pages/en-US.html +4 -4
  31. package/.next/server/pages/en-US.json +1 -1
  32. package/.next/static/{bcMMWaQUHRCjjoHG-aJw2 → CQN373YhXlHGMNoI7Y6BQ}/_buildManifest.js +1 -1
  33. package/.next/static/chunks/{104-38e7af864df976a8.js → 104-35697aed442af6cd.js} +1 -1
  34. package/.next/trace +91 -91
  35. package/.turbo/turbo-test.log +9 -9
  36. package/cms/faststore/content-types.json +21 -2
  37. package/cypress/integration/seo.test.js +2 -6
  38. package/package.json +2 -2
  39. package/src/components/navigation/NavbarSlider/NavbarSlider.tsx +1 -1
  40. /package/.next/static/{bcMMWaQUHRCjjoHG-aJw2 → CQN373YhXlHGMNoI7Y6BQ}/_ssgManifest.js +0 -0
@@ -1,23 +1,23 @@
1
1
  $ jest
2
- PASS test/server/index.test.ts (21.419 s)
2
+ PASS test/server/index.test.ts (21.226 s)
3
3
  FastStore GraphQL Layer
4
4
  @faststore/api
5
- ✓ should return a valid GraphQL schema (8 ms)
6
- ✓ should return a valid GraphQL schema contain all expected types (7 ms)
5
+ ✓ should return a valid GraphQL schema (9 ms)
6
+ ✓ should return a valid GraphQL schema contain all expected types (4 ms)
7
7
  ✓ should return a valid GraphQL schema contain all expected queries (1 ms)
8
8
  ✓ should return a valid GraphQL schema contain all expected mutations (1 ms)
9
9
  VTEX API Extension
10
- ✓ getTypeDefsFromFolder function should return an Array (5 ms)
10
+ ✓ getTypeDefsFromFolder function should return an Array (9 ms)
11
11
  Third Party API Extension
12
- ✓ getTypeDefsFromFolder function should return an Array (4 ms)
12
+ ✓ getTypeDefsFromFolder function should return an Array (5 ms)
13
13
  Final Schema after merging
14
- ✓ should return a valid merged GraphQL schema (26 ms)
14
+ ✓ should return a valid merged GraphQL schema (24 ms)
15
15
  Envelop
16
- ✓ should exist with its plugins (39 ms)
17
- ✓ should handle options and execute (329 ms)
16
+ ✓ should exist with its plugins (35 ms)
17
+ ✓ should handle options and execute (389 ms)
18
18
 
19
19
  Test Suites: 1 passed, 1 total
20
20
  Tests: 9 passed, 9 total
21
21
  Snapshots: 0 total
22
- Time: 21.518 s
22
+ Time: 21.294 s
23
23
  Ran all test suites.
@@ -103,8 +103,27 @@
103
103
  "id": "pdp",
104
104
  "name": "Product Page",
105
105
  "scopes": ["pdp"],
106
- "isSingleton": true,
107
- "configurationSchemaSets": []
106
+ "configurationSchemaSets": [
107
+ {
108
+ "name": "Settings",
109
+ "configurations": [
110
+ {
111
+ "name": "template",
112
+ "schema": {
113
+ "title": "Template",
114
+ "type": "object",
115
+ "properties": {
116
+ "value": {
117
+ "title": "PDP template value (e.g. Slug: /apple-magic-mouse/p OR /department/category/subcategory/)",
118
+ "type": "string",
119
+ "description": "Possible values: the PDP slug template (e.g. '/apple-magic-mouse/p'); A PLP template (e.g. '/department/' OR '/department/category/' OR '/department/category/subcategory/'). If empty, this template will be the generic PDP."
120
+ }
121
+ }
122
+ }
123
+ }
124
+ ]
125
+ }
126
+ ]
108
127
  },
109
128
  {
110
129
  "id": "plp",
@@ -176,9 +176,7 @@ describe('Collection Page Seo', () => {
176
176
  cy.get('link[rel="canonical"]')
177
177
  .should('exist')
178
178
  .should(($link) => {
179
- expect($link.attr('href')).to.eq(
180
- `${storeUrl}${pages.collection}`
181
- )
179
+ expect($link.attr('href')).to.eq(`${storeUrl}${pages.collection}`)
182
180
  })
183
181
  })
184
182
 
@@ -233,9 +231,7 @@ describe('Filtered Collection Page Seo', () => {
233
231
  cy.get('link[rel="canonical"]')
234
232
  .should('exist')
235
233
  .should(($link) => {
236
- expect($link.attr('href')).to.eq(
237
- `${storeUrl}${pages.collection}`
238
- )
234
+ expect($link.attr('href')).to.eq(`${storeUrl}${pages.collection}`)
239
235
  })
240
236
  })
241
237
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.0.13",
3
+ "version": "3.0.15",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -128,5 +128,5 @@
128
128
  "node": "18.19.0",
129
129
  "yarn": "1.19.1"
130
130
  },
131
- "gitHead": "9ccaaa8c2e9e6b2c9f3c82ac3d52405e51ddd6a0"
131
+ "gitHead": "0285725a6a9ace13dcbbb77b734ee1e48a93f7fb"
132
132
  }
@@ -49,7 +49,7 @@ function NavbarSlider({
49
49
  >
50
50
  <NavbarSliderHeader.Component
51
51
  onClose={fadeOut}
52
- {...NavbarSliderWrapper.props}
52
+ {...NavbarSliderHeader.props}
53
53
  >
54
54
  <Link
55
55
  data-fs-navbar-slider-logo