@faststore/core 4.10.3-dev.1 → 4.11.0

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.10.3-dev.0 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.10.3 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.10.3-dev.0 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.10.3 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 @generated/
20
20
  [COMPLETED] Generate outputs
21
21
 
22
- > @faststore/core@4.10.3-dev.0 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.10.3 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,5 +1,5 @@
1
1
 
2
- > @faststore/core@4.10.3-dev.0 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.10.3 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
@@ -7,25 +7,32 @@
7
7
 
8
8
  Not implemented: navigation to another Document
9
9
  Not implemented: navigation to another Document
10
- Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
10
+ Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
11
11
  npx update-browserslist-db@latest
12
12
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
13
- ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 973ms
14
- ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 2190ms
15
- ✓ shows the tab bar and renders Personal cards by default  955ms
16
- ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3268ms
17
- ✓ shows an error state when the list fails to load  729ms
18
- ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  349ms
19
- ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 1523ms
20
- ✓ opens the reject confirmation modal with the default English copy  584ms
21
- ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 410ms
22
- ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1276ms
23
- ✓ renders the menu view with contract details and manage footer  745ms
24
- ✓  browser  test/sdk/product/usePageProductsQuery.browser.test.ts (9 tests) 46ms
25
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 166ms
26
- ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 89ms
27
- ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 8ms
28
- ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 117ms
13
+ ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 1171ms
14
+ ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 2623ms
15
+ ✓ shows the tab bar and renders Personal cards by default  1219ms
16
+ ✓ paginates when there are more than 25 cards  315ms
17
+ ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3935ms
18
+ ✓ shows an error state when the list fails to load  855ms
19
+ ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  474ms
20
+ ✓ keeps Confirm disabled when switching is unavailable  336ms
21
+ ✓ falls back to English defaults when CMS labels are blank  306ms
22
+ ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 2674ms
23
+ ✓ opens the reject confirmation modal with the default English copy  836ms
24
+ ✓ opens the reject confirmation modal with CMS-provided labels  363ms
25
+ ✓ shows the default English toast when a policy is rejected  361ms
26
+ ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1885ms
27
+ ✓ renders the menu view with contract details and manage footer  1096ms
28
+ ✓ opens the contract switcher and returns to the menu on back  305ms
29
+ ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 330ms
30
+ ✓  browser  test/sdk/product/usePageProductsQuery.browser.test.ts (9 tests) 165ms
31
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 255ms
32
+ ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 102ms
33
+ ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 20ms
34
+ ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 144ms
35
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 106ms
29
36
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx
30
37
  Error in optimistic validation: TypeError: Failed to parse URL from /api/graphql?operationName=ValidateCartMutation&operationHash=3c71b0d3fc2bade14df68abfa271858beb361b12
31
38
   at node:internal/deps/undici/undici:16416:13
@@ -52,16 +59,24 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
52
59
  }
53
60
  }
54
61
 
55
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 60ms
56
62
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx > RecommendationShelf > renders nothing when there is an error
57
63
  Error fetching recommendations undefined boom for campaign vrn:recommendations:acc:rec-top-items-v2:campaign-1
58
64
 
59
- ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 114ms
60
- ✓  browser  test/sdk/product/useProductQuery.browser.test.ts (5 tests) 341ms
61
- ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 55ms
62
- ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 46ms
63
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 7ms
64
- ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 30ms
65
+ ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 191ms
66
+ ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 162ms
67
+ ✓  browser  test/sdk/product/useProductQuery.browser.test.ts (5 tests) 379ms
68
+ ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 188ms
69
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 17ms
70
+ stderr | test/sdk/session/validateSession.browser.test.ts
71
+ Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
72
+ at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
73
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
74
+ at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
75
+ at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
76
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
77
+
78
+ ✓  browser  test/sdk/session/validateSession.browser.test.ts (9 tests) 28ms
79
+ ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 70ms
65
80
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
66
81
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
67
82
 
@@ -147,14 +162,6 @@ act(() => {
147
162
  This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
148
163
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
149
164
 
150
- stderr | test/sdk/session/validateSession.browser.test.ts
151
- Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
152
- at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
153
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
154
- at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
155
- at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
156
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
157
-
158
165
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > uses the fallback invalid-password message when API omits an error
159
166
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
160
167
 
@@ -251,7 +258,6 @@ act(() => {
251
258
  This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
252
259
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
253
260
 
254
- ✓  browser  test/sdk/session/validateSession.browser.test.ts (9 tests) 7ms
255
261
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > shows service unavailable when the login request fails
256
262
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
257
263
 
@@ -300,9 +306,8 @@ act(() => {
300
306
  This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
301
307
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
302
308
 
303
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 457ms
304
- ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 25ms
305
- ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 280ms
309
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 831ms
310
+ ✓ renders the password protection form  459ms
306
311
  stderr | test/components/cms/RenderSections.browser.test.tsx
307
312
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
308
313
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -311,9 +316,11 @@ This ensures that you're testing the behavior the user would see in the browser.
311
316
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
312
317
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
313
318
 
314
- ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 60ms
315
- ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 33ms
316
- ✓  browser  test/sdk/product/usePageProductsQuery.deliveryPromise.browser.test.ts (3 tests) 29ms
319
+ ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 49ms
320
+ ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 391ms
321
+ ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 75ms
322
+ ✓  browser  test/sdk/product/usePageProductsQuery.deliveryPromise.browser.test.ts (3 tests) 38ms
323
+ ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 47ms
317
324
  stderr | test/sdk/localization/store-url.browser.test.ts
318
325
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
319
326
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -322,9 +329,10 @@ This ensures that you're testing the behavior the user would see in the browser.
322
329
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
323
330
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
324
331
 
325
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 7ms
326
- ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 236ms
327
- ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 35ms
332
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 6ms
333
+ ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 373ms
334
+ ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 31ms
335
+ ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 40ms
328
336
  stderr | test/sdk/session/refreshTokenRoute.browser.test.ts
329
337
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
330
338
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -333,13 +341,12 @@ This ensures that you're testing the behavior the user would see in the browser.
333
341
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
334
342
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
335
343
 
336
- ✓  browser  test/sdk/session/refreshTokenRoute.browser.test.ts (3 tests) 7ms
337
- ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 29ms
338
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 123ms
339
- ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 55ms
340
- ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 99ms
341
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 38ms
342
- ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 15ms
344
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 138ms
345
+ ✓  browser  test/sdk/session/refreshTokenRoute.browser.test.ts (3 tests) 10ms
346
+ ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 135ms
347
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 73ms
348
+ ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 74ms
349
+ ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 23ms
343
350
  stderr | test/components/account/doLogout.browser.test.ts
344
351
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
345
352
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -348,12 +355,11 @@ This ensures that you're testing the behavior the user would see in the browser.
348
355
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
349
356
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
350
357
 
351
- ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 17ms
352
- ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 255ms
353
- ✓  browser  test/sdk/product/useProductNotFoundRedirect.browser.test.ts (7 tests) 29ms
354
- ✓  browser  test/sdk/account/useRefreshToken.browser.test.ts (4 tests) 130ms
355
- ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 35ms
356
- ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (4 tests) 178ms
358
+ ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 41ms
359
+ ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 384ms
360
+ ✓  browser  test/sdk/product/useProductNotFoundRedirect.browser.test.ts (7 tests) 51ms
361
+ ✓  browser  test/sdk/account/useRefreshToken.browser.test.ts (4 tests) 144ms
362
+ ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 49ms
357
363
  stderr | test/sdk/account/clearPersistedSessionState.browser.test.ts
358
364
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
359
365
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -362,13 +368,14 @@ This ensures that you're testing the behavior the user would see in the browser.
362
368
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
363
369
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
364
370
 
365
- ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 16ms
366
- ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 48ms
367
- ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 68ms
368
- ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 91ms
369
- ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 67ms
370
- ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 12ms
371
- ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 21ms
371
+ ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (4 tests) 293ms
372
+ ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 21ms
373
+ ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 107ms
374
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 106ms
375
+ ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 101ms
376
+ ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 27ms
377
+ ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 85ms
378
+ ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 25ms
372
379
  stderr | test/sdk/session/sessionStore.browser.test.ts
373
380
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
374
381
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -377,10 +384,10 @@ This ensures that you're testing the behavior the user would see in the browser.
377
384
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
378
385
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
379
386
 
380
- ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 10ms
381
- ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 64ms
382
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 23ms
383
- ✓  browser  test/utils/shouldBypassRefreshToken.browser.test.ts (5 tests) 3ms
387
+ ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 9ms
388
+ ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 88ms
389
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 68ms
390
+ ✓  browser  test/utils/shouldBypassRefreshToken.browser.test.ts (5 tests) 7ms
384
391
  stderr | test/sdk/account/refreshToken.browser.test.ts
385
392
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
386
393
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -389,18 +396,18 @@ This ensures that you're testing the behavior the user would see in the browser.
389
396
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
390
397
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
391
398
 
392
- ✓  browser  test/sdk/account/refreshToken.browser.test.ts (2 tests) 4ms
399
+ ✓  browser  test/sdk/account/refreshToken.browser.test.ts (2 tests) 6ms
400
+ ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 119ms
393
401
  ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 3ms
394
- ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 77ms
395
- ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 39ms
396
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 32ms
397
- ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 21ms
398
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 16ms
399
- ✓  node  test/pages/api/switch-contract.test.ts (61 tests) 120ms
400
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 27ms
401
- ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 161ms
402
- ✓  node  test/server/content/service.test.ts (27 tests) 19ms
403
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 9ms
402
+ ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 48ms
403
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 50ms
404
+ ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 42ms
405
+ ✓  node  test/pages/api/switch-contract.test.ts (61 tests) 149ms
406
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 32ms
407
+ ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 225ms
408
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 49ms
409
+ ✓  node  test/server/content/service.test.ts (27 tests) 39ms
410
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 20ms
404
411
  stderr | test/sdk/deliveryPromise/provider.effect.test.tsx > DeliveryPromiseProvider pickup fetch > clears the loading flag after a failed request and retries on the next update
405
412
  Failed to fetch pickup points: Error: network
406
413
  at /home/runner/work/faststore/faststore/packages/core/test/sdk/deliveryPromise/provider.effect.test.tsx:250:30
@@ -427,7 +434,7 @@ This ensures that you're testing the behavior the user would see in the browser.
427
434
  at trace (file:///home/runner/work/faststore/faststore/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@20.19.13_jiti@2.6.1_jsdom@27.4.0_sas_13be941c57d55f08f06eeaf1c180ddfe/node_modules/vitest/dist/chunks/test.B8ej_ZHS.js:239:21)
428
435
  at runTest (file:///home/runner/work/faststore/faststore/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:1653:12)
429
436
 
430
- ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 74ms
437
+ ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 95ms
431
438
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
432
439
  Graphql execution returned with error: [
433
440
  {
@@ -479,7 +486,7 @@ This ensures that you're testing the behavior the user would see in the browser.
479
486
 
480
487
  stderr | test/pages/api/graphql.test.ts > /api/graphql request handling > maps BadRequestError thrown by execute to its status
481
488
  Something unexpected occurred querying Graphql endpoint:
482
- k [FastStoreError]: malformed
489
+ E [FastStoreError]: malformed
483
490
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:210:31
484
491
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:216:39
485
492
  at file:///home/runner/work/faststore/faststore/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:1024:60
@@ -495,7 +502,7 @@ This ensures that you're testing the behavior the user would see in the browser.
495
502
 
496
503
  stderr | test/pages/api/graphql.test.ts > /api/graphql request handling > maps UnauthorizedError thrown by execute to its status
497
504
  Something unexpected occurred querying Graphql endpoint:
498
- de [FastStoreError]: expired
505
+ le [FastStoreError]: expired
499
506
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:211:33
500
507
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:216:39
501
508
  at file:///home/runner/work/faststore/faststore/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:1024:60
@@ -537,9 +544,10 @@ This ensures that you're testing the behavior the user would see in the browser.
537
544
  at trace (file:///home/runner/work/faststore/faststore/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@20.19.13_jiti@2.6.1_jsdom@27.4.0_sas_13be941c57d55f08f06eeaf1c180ddfe/node_modules/vitest/dist/chunks/test.B8ej_ZHS.js:239:21)
538
545
  at runTest (file:///home/runner/work/faststore/faststore/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:1653:12)
539
546
 
547
+ ✓  node  test/utils/match-url.test.ts (10 tests) 12ms
540
548
  stderr | test/pages/api/graphql.test.ts > /api/graphql ValidateSession refresh-token bypass > forces a 401 on the production host brandless.vtex.app
541
549
  Something unexpected occurred querying Graphql endpoint:
542
- de [FastStoreError]: Unauthorized: Token expired. Please login again or refresh the page.
550
+ le [FastStoreError]: Unauthorized: Token expired. Please login again or refresh the page.
543
551
  at assertValidateSessionTokenIsFresh (/home/runner/work/faststore/faststore/packages/core/src/pages/api/graphql.ts:295:11)
544
552
  at Module.handler (/home/runner/work/faststore/faststore/packages/core/src/pages/api/graphql.ts:372:5)
545
553
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:306:13
@@ -555,7 +563,7 @@ This ensures that you're testing the behavior the user would see in the browser.
555
563
 
556
564
  stderr | test/pages/api/graphql.test.ts > /api/graphql ValidateSession refresh-token bypass > forces a 401 on the production host brandless.fast.store
557
565
  Something unexpected occurred querying Graphql endpoint:
558
- de [FastStoreError]: Unauthorized: Token expired. Please login again or refresh the page.
566
+ le [FastStoreError]: Unauthorized: Token expired. Please login again or refresh the page.
559
567
  at assertValidateSessionTokenIsFresh (/home/runner/work/faststore/faststore/packages/core/src/pages/api/graphql.ts:295:11)
560
568
  at Module.handler (/home/runner/work/faststore/faststore/packages/core/src/pages/api/graphql.ts:372:5)
561
569
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:306:13
@@ -569,11 +577,10 @@ This ensures that you're testing the behavior the user would see in the browser.
569
577
  extensions: { status: 401, type: 'UnauthorizedError' }
570
578
  }
571
579
 
572
- ✓  node  test/pages/api/graphql.test.ts (30 tests) 31ms
573
- ✓  node  test/utils/match-url.test.ts (10 tests) 7ms
574
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 116ms
575
- ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 9ms
576
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 7ms
580
+ ✓  node  test/pages/api/graphql.test.ts (30 tests) 35ms
581
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 144ms
582
+ ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 14ms
583
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 8ms
577
584
  stderr | test/components/search/SearchInputComponent.test.tsx
578
585
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
579
586
 
@@ -637,97 +644,98 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
637
644
  at Suspense
638
645
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
639
646
 
640
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 56ms
647
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 65ms
641
648
  ✓  node  test/sdk/account/refreshToken.test.ts (21 tests) 13ms
642
- ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 346ms
649
+ ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 475ms
650
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 49ms
643
651
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > redirects to /pvt/account/403 when the query fails with 401/403
644
652
  { extensions: { status: 401 } }
645
653
 
646
654
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > renders the error state (no redirect) when the query fails with a non-auth status
647
655
  { extensions: { status: 502 } }
648
656
 
649
- ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 6ms
650
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 35ms
651
- ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 19ms
652
- ✓  node  test/utils/productJsonLd.test.ts (36 tests) 7ms
653
- ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 816ms
657
+ ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 10ms
658
+ ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 26ms
659
+ ✓  node  test/utils/productJsonLd.test.ts (36 tests) 10ms
660
+ ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 845ms
654
661
  ✓ navigates with the search term on blur  360ms
655
- ✓ navigates without a label param when the search is cleared  358ms
656
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 12ms
657
- ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 6ms
658
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 23ms
659
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 4ms
662
+ ✓ navigates without a label param when the search is cleared  361ms
663
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 19ms
664
+ ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 7ms
665
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 22ms
666
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 8ms
660
667
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
661
668
  Set password request failed: Bad Request
662
669
 
663
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 50ms
664
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 28ms
665
- ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 5ms
666
- ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 118ms
667
- ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 122ms
668
- ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 7ms
669
- ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 8ms
670
- ✓  node  test/server/cms/index.test.ts (7 tests) 7ms
671
- ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 88ms
672
- ✓  node  test/server/content/promiseCache.test.ts (10 tests) 12ms
673
- ✓  node  test/sdk/redirects/index.test.ts (7 tests) 54ms
674
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 34ms
675
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 32ms
676
- ✓  node  test/proxy.localization.test.ts (5 tests) 38ms
677
- ✓  node  test/utils/trustedForwardedHost.test.ts (36 tests) 7ms
678
- ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 5ms
679
- ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 25ms
680
- ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 5ms
681
- ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 11ms
682
- ✓  node  test/server/index.test.ts (7 tests) 905ms
683
- ✓ should handle options and execute  461ms
684
- ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 35ms
685
- ✓  node  test/proxy.test.ts (4 tests) 17ms
686
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 24ms
687
- ✓  node  test/pages/api/logout.test.ts (4 tests) 29ms
688
- ✓  node  test/utils/shouldBypassRefreshToken.test.ts (14 tests) 5ms
689
- ✓  node  test/server/webops-api.test.ts (9 tests) 13ms
690
- ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 24ms
691
- ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 7ms
692
- ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 7ms
693
- ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 9ms
694
- ✓  node  test/server/cms/global.test.ts (3 tests) 4ms
695
- ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 4ms
696
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 24ms
697
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 6ms
698
- ✓  node  test/components/account/Layout.test.tsx (6 tests) 46ms
699
- ✓  node  test/server/rootSpan.test.ts (4 tests) 29ms
700
- ✓  node  test/pages/api/preview.test.ts (2 tests) 7ms
701
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 6ms
702
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 5ms
703
- ✓  node  test/pages/pvt/account/403.test.ts (5 tests) 4ms
704
- ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 4ms
705
- ✓  node  test/components/region/useRegion.test.ts (1 test) 19ms
670
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 46ms
671
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 45ms
672
+ ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 7ms
673
+ ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 175ms
674
+ ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 5ms
675
+ ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 221ms
676
+ ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 10ms
677
+ ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 124ms
678
+ ✓  node  test/server/cms/index.test.ts (7 tests) 10ms
679
+ ✓  node  test/server/content/promiseCache.test.ts (10 tests) 17ms
680
+ ✓  node  test/sdk/redirects/index.test.ts (7 tests) 56ms
681
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 49ms
682
+ ✓  node  test/proxy.localization.test.ts (5 tests) 66ms
683
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 56ms
684
+ ✓  node  test/utils/trustedForwardedHost.test.ts (36 tests) 12ms
685
+ ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 8ms
686
+ ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 29ms
687
+ ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 11ms
688
+ ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 15ms
689
+ ✓  node  test/server/index.test.ts (7 tests) 892ms
690
+ ✓ should return a valid merged GraphQL schema  307ms
691
+ ✓ should handle options and execute  331ms
692
+ ✓  node  test/proxy.test.ts (4 tests) 21ms
693
+ ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 57ms
694
+ ✓  node  test/pages/api/logout.test.ts (4 tests) 32ms
695
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 36ms
696
+ ✓  node  test/utils/shouldBypassRefreshToken.test.ts (14 tests) 6ms
697
+ ✓  node  test/server/webops-api.test.ts (9 tests) 12ms
698
+ ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 32ms
699
+ ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 11ms
700
+ ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 5ms
701
+ ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 13ms
702
+ ✓  node  test/server/cms/global.test.ts (3 tests) 7ms
703
+ ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 6ms
704
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 51ms
705
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 8ms
706
+ ✓  node  test/components/account/Layout.test.tsx (6 tests) 80ms
707
+ ✓  node  test/server/rootSpan.test.ts (4 tests) 32ms
708
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 13ms
709
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 8ms
710
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 6ms
711
+ ✓  node  test/pages/pvt/account/403.test.ts (5 tests) 8ms
712
+ ✓  node  test/components/region/useRegion.test.ts (1 test) 28ms
713
+ ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 6ms
706
714
  ✓  node  test/utils/retry.test.ts (5 tests) 12ms
707
- ✓  node  test/sdk/account/getIsB2BBuyer.test.ts (7 tests) 5ms
715
+ ✓  node  test/sdk/account/getIsB2BBuyer.test.ts (7 tests) 7ms
708
716
  ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 4ms
709
- ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 184ms
710
- ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 4ms
711
- ✓  node  test/utils/unlockResponse.test.ts (11 tests) 3ms
712
- ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 4ms
713
- ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 37ms
714
- ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 4ms
715
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 3ms
716
- ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 35ms
717
- ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 3ms
718
- ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 2ms
719
- ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 2ms
717
+ ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 192ms
718
+ ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 5ms
719
+ ✓  node  test/utils/unlockResponse.test.ts (11 tests) 6ms
720
+ ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 6ms
721
+ ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 55ms
722
+ ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 5ms
723
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 5ms
724
+ ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 5ms
725
+ ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 41ms
726
+ ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 4ms
727
+ ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 4ms
728
+ ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 4ms
720
729
  ✓  node  test/utils/getCookie.test.ts (4 tests) 4ms
721
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 32ms
722
- ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 3ms
723
- ✓  node  test/utils/filterChannel.test.ts (2 tests) 3ms
724
- ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 4ms
730
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 45ms
731
+ ✓  node  test/utils/filterChannel.test.ts (2 tests) 5ms
732
+ ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 5ms
725
733
  ✓  node  test/instrumentation.test.ts (3 tests) 5ms
726
- ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 2ms
727
- ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 6ms
734
+ ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 3ms
735
+ ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 11ms
728
736
 
729
737
   Test Files  146 passed (146)
730
738
   Tests  1249 passed (1249)
731
-  Start at  20:07:12
732
-  Duration  49.79s (transform 11.22s, setup 0ms, import 42.37s, tests 17.69s, environment 62.64s)
739
+  Start at  13:48:44
740
+  Duration  69.97s (transform 15.08s, setup 0ms, import 63.53s, tests 23.79s, environment 85.27s)
733
741
 
package/CHANGELOG.md CHANGED
@@ -3,11 +3,13 @@
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.10.3-dev.1](https://github.com/vtex/faststore/compare/v4.10.3-dev.0...v4.10.3-dev.1) (2026-10-29)
6
+ # [4.11.0](https://github.com/vtex/faststore/compare/v4.10.3...v4.11.0) (2026-11-03)
7
7
 
8
- **Note:** Version bump only for package @faststore/core
8
+ ### Features
9
+
10
+ - **api:** add preserveCartLines flag to keep Checkout cart lines apart ([4151603](https://github.com/vtex/faststore/commit/41516034fd5bee6250b4e5dc0db51a105ceb64a1))
9
11
 
10
- ## [4.10.3-dev.0](https://github.com/vtex/faststore/compare/v4.10.2...v4.10.3-dev.0) (2026-10-29)
12
+ ## [4.10.3](https://github.com/vtex/faststore/compare/v4.10.2...v4.10.3) (2026-10-29)
11
13
 
12
14
  **Note:** Version bump only for package @faststore/core
13
15
 
@@ -39,6 +39,9 @@ module.exports = {
39
39
  showSponsored: false,
40
40
  incrementAddress: true,
41
41
  enableUnavailableItemsOnCart: false,
42
+ // Keep each Checkout cart line (e.g. units split with `/split` or by
43
+ // assembly options) as its own cart line instead of merging by SKU.
44
+ preserveCartLines: false,
42
45
  },
43
46
 
44
47
  // Default session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.10.3-dev.1",
3
+ "version": "4.11.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -71,11 +71,11 @@
71
71
  "style-loader": "^3.3.1",
72
72
  "swr": "^2.2.5",
73
73
  "use-sync-external-store": "^1.6.0",
74
- "@faststore/api": "4.10.3-dev.1",
75
- "@faststore/lighthouse": "4.10.3-dev.1",
76
- "@faststore/diagnostics": "4.10.3-dev.1",
77
- "@faststore/sdk": "4.10.3-dev.1",
78
- "@faststore/ui": "4.10.3-dev.1"
74
+ "@faststore/api": "4.11.0",
75
+ "@faststore/diagnostics": "4.11.0",
76
+ "@faststore/sdk": "4.11.0",
77
+ "@faststore/lighthouse": "4.11.0",
78
+ "@faststore/ui": "4.11.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@cypress/code-coverage": "^3.12.1",
@@ -21,6 +21,7 @@ export const apiOptions: APIOptions = {
21
21
  enableOrderFormSync: true,
22
22
  enableUnavailableItemsOnCart:
23
23
  storeConfig.api?.enableUnavailableItemsOnCart ?? false,
24
+ preserveCartLines: storeConfig.api?.preserveCartLines ?? false,
24
25
  },
25
26
  version,
26
27
  // feature flag default to false as it should not emit traces/logs yet