@faststore/core 4.1.0-dev.10 → 4.1.0-dev.11

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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @faststore/core@4.1.0-dev.9 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.1.0-dev.10 generate /home/runner/work/faststore/faststore/packages/core
3
3
  > pnpm run gen-types && pnpm run cache-graphql
4
4
 
5
5
 
6
- > @faststore/core@4.1.0-dev.9 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.1.0-dev.10 gen-types /home/runner/work/faststore/faststore/packages/core
7
7
  > node ../cli/bin/run generate-types .
8
8
 
9
9
  [STARTED] Parse Configuration
@@ -19,7 +19,7 @@
19
19
  [COMPLETED] Generate to /home/runner/work/faststore/faststore/packages/core/@generated/
20
20
  [COMPLETED] Generate outputs
21
21
 
22
- > @faststore/core@4.1.0-dev.9 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.1.0-dev.10 cache-graphql /home/runner/work/faststore/faststore/packages/core
23
23
  > node ../cli/bin/run cache-graphql --config=./discovery.config.default.js --queries=./@generated/persisted-documents.json
24
24
 
25
25
  [Info] - Config file location: /home/runner/work/faststore/faststore/packages/core/discovery.config.default.js
@@ -1,13 +1,13 @@
1
1
 
2
- > @faststore/core@4.1.0-dev.9 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.1.0-dev.10 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
6
6
   RUN  v4.0.7 /home/runner/work/faststore/faststore/packages/core
7
7
 
8
- ✓  node  test/utils/match-url.test.ts (10 tests) 57ms
9
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 135ms
10
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 50ms
8
+ ✓  node  test/utils/match-url.test.ts (10 tests) 15ms
9
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 32ms
10
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 27ms
11
11
  stderr | test/sdk/localization/store-url.browser.test.ts
12
12
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
13
13
  at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:119:27)
@@ -23,26 +23,26 @@
23
23
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:353:23)
24
24
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
25
25
 
26
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 16ms
27
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 42ms
28
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 124ms
29
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 59ms
30
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 16ms
31
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 118ms
32
- ✓  node  test/server/content/service.test.ts (5 tests) 9ms
33
- ✓  node  test/server/cms/global.test.ts (3 tests) 20ms
34
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 20ms
35
- ✓  node  test/sdk/localization/store-url.test.ts (1 test) 11ms
36
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 15ms
37
- ✓  node  test/pages/api/preview.test.ts (2 tests) 13ms
38
- ✓  node  test/server/cms/index.test.ts (2 tests) 15ms
39
- ✓  node  test/server/index.test.ts (7 tests) 1165ms
40
- ✓ should return a valid merged GraphQL schema  361ms
41
- ✓ should exist with its plugins  306ms
42
- ✓ should handle options and execute  472ms
26
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 18ms
27
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 67ms
28
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 24ms
29
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 17ms
30
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 10ms
31
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 70ms
32
+ ✓  node  test/server/cms/global.test.ts (3 tests) 16ms
33
+ ✓  node  test/server/content/service.test.ts (5 tests) 12ms
34
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 26ms
35
+ ✓  node  test/sdk/localization/store-url.test.ts (1 test) 18ms
36
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 12ms
37
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 21ms
38
+ ✓  node  test/server/cms/index.test.ts (2 tests) 10ms
39
+ ✓  node  test/server/index.test.ts (7 tests) 1244ms
40
+ ✓ should return a valid merged GraphQL schema  353ms
41
+ ✓ should exist with its plugins  305ms
42
+ ✓ should handle options and execute  566ms
43
43
 
44
44
   Test Files  17 passed (17)
45
45
   Tests  203 passed (203)
46
-  Start at  20:48:14
47
-  Duration  13.39s (transform 4.79s, setup 0ms, collect 15.62s, tests 1.89s, environment 9.48s, prepare 746ms)
46
+  Start at  21:21:56
47
+  Duration  11.38s (transform 5.19s, setup 0ms, collect 14.71s, tests 1.64s, environment 7.48s, prepare 532ms)
48
48
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 4.1.0-dev.11 (2026-05-15)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
6
10
  # [4.1.0-dev.10](https://github.com/vtex/faststore/compare/v4.1.0...v4.1.0-dev.10) (2026-05-15)
7
11
 
8
12
  **Note:** Version bump only for package @faststore/core
package/index.ts CHANGED
@@ -27,7 +27,7 @@ export { default as ProductShelfSection } from './src/components/sections/Produc
27
27
  export { default as RegionBarSection } from './src/components/sections/RegionBar'
28
28
  export { default as Section } from './src/components/sections/Section'
29
29
 
30
- // Delivery Promise
30
+ // Delivery Promise.
31
31
  export {
32
32
  PICKUP_IN_POINT_FACET_VALUE,
33
33
  PICKUP_POINT_FACET_KEY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.1.0-dev.10",
3
+ "version": "4.1.0-dev.11",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,11 +70,11 @@
70
70
  "style-loader": "^3.3.1",
71
71
  "swr": "^2.2.5",
72
72
  "use-sync-external-store": "^1.6.0",
73
- "@faststore/api": "4.1.0-dev.10",
74
- "@faststore/lighthouse": "4.1.0-dev.10",
75
- "@faststore/sdk": "4.1.0-dev.10",
76
- "@faststore/ui": "4.1.0-dev.10",
77
- "@faststore/diagnostics": "4.1.0-dev.10"
73
+ "@faststore/diagnostics": "4.1.0-dev.11",
74
+ "@faststore/sdk": "4.1.0-dev.11",
75
+ "@faststore/lighthouse": "4.1.0-dev.11",
76
+ "@faststore/ui": "4.1.0-dev.11",
77
+ "@faststore/api": "4.1.0-dev.11"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@cypress/code-coverage": "^3.12.1",