@faststore/core 4.10.2 → 4.10.3-dev.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.2-dev.0 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.10.2 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.2-dev.0 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.10.2 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.2-dev.0 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.10.2 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.2-dev.0 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.10.2 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
@@ -7,28 +7,26 @@
7
7
 
8
8
  Not implemented: navigation to another Document
9
9
  Not implemented: navigation to another Document
10
- ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 912ms
10
+ ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 716ms
11
11
  Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
12
12
  npx update-browserslist-db@latest
13
13
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
14
- ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3419ms
15
- ✓ shows an error state when the list fails to load  763ms
16
- ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  423ms
17
- ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 2030ms
18
- ✓ shows the tab bar and renders Personal cards by default  1099ms
19
- ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 1982ms
20
- ✓ opens the reject confirmation modal with the default English copy  726ms
21
- ✓ opens the reject confirmation modal with CMS-provided labels  346ms
22
- ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 440ms
23
- ✓  browser  test/sdk/product/usePageProductsQuery.browser.test.ts (9 tests) 96ms
24
- ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1935ms
25
- ✓ renders the menu view with contract details and manage footer  1092ms
26
- ✓ opens the contract switcher and returns to the menu on back  370ms
27
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 98ms
28
- ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 7ms
29
- ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 47ms
30
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 79ms
31
- ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 72ms
14
+ ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 1618ms
15
+ ✓ shows the tab bar and renders Personal cards by default  723ms
16
+ ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 2459ms
17
+ ✓ shows an error state when the list fails to load  677ms
18
+ ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 1997ms
19
+ ✓ opens the reject confirmation modal with the default English copy  718ms
20
+ ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 295ms
21
+ ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1683ms
22
+ ✓ renders the menu view with contract details and manage footer  817ms
23
+ ✓ opens the contract switcher and returns to the menu on back  329ms
24
+ ✓  browser  test/sdk/product/usePageProductsQuery.browser.test.ts (9 tests) 134ms
25
+ ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 12ms
26
+ ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 33ms
27
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 120ms
28
+ ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 78ms
29
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 50ms
32
30
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx
33
31
  Error in optimistic validation: TypeError: Failed to parse URL from /api/graphql?operationName=ValidateCartMutation&operationHash=3c71b0d3fc2bade14df68abfa271858beb361b12
34
32
   at node:internal/deps/undici/undici:16416:13
@@ -58,11 +56,11 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
58
56
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx > RecommendationShelf > renders nothing when there is an error
59
57
  Error fetching recommendations undefined boom for campaign vrn:recommendations:acc:rec-top-items-v2:campaign-1
60
58
 
61
- ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 98ms
62
- ✓  browser  test/sdk/product/useProductQuery.browser.test.ts (5 tests) 329ms
63
- ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 83ms
64
- ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 64ms
65
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 10ms
59
+ ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 117ms
60
+ ✓  browser  test/sdk/product/useProductQuery.browser.test.ts (5 tests) 320ms
61
+ ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 44ms
62
+ ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 115ms
63
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 6ms
66
64
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
67
65
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
68
66
 
@@ -148,6 +146,7 @@ act(() => {
148
146
  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
149
147
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
150
148
 
149
+ ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 34ms
151
150
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > uses the fallback invalid-password message when API omits an error
152
151
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
153
152
 
@@ -292,8 +291,6 @@ act(() => {
292
291
  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
293
292
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
294
293
 
295
- ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 42ms
296
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 570ms
297
294
  stderr | test/sdk/session/validateSession.browser.test.ts
298
295
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
299
296
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -302,7 +299,9 @@ This ensures that you're testing the behavior the user would see in the browser.
302
299
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
303
300
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
304
301
 
305
- ✓  browser  test/sdk/session/validateSession.browser.test.ts (9 tests) 10ms
302
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 499ms
303
+ ✓  browser  test/sdk/session/validateSession.browser.test.ts (9 tests) 8ms
304
+ ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 265ms
306
305
  stderr | test/components/cms/RenderSections.browser.test.tsx
307
306
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
308
307
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -311,11 +310,10 @@ This ensures that you're testing the behavior the user would see in the browser.
311
310
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
312
311
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
313
312
 
314
- ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 277ms
315
- ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 29ms
316
- ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 64ms
317
- ✓  browser  test/sdk/product/usePageProductsQuery.deliveryPromise.browser.test.ts (3 tests) 31ms
318
- ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 35ms
313
+ ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 36ms
314
+ ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 57ms
315
+ ✓  browser  test/sdk/product/usePageProductsQuery.deliveryPromise.browser.test.ts (3 tests) 21ms
316
+ ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 28ms
319
317
  stderr | test/sdk/localization/store-url.browser.test.ts
320
318
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
321
319
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -324,9 +322,10 @@ This ensures that you're testing the behavior the user would see in the browser.
324
322
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
325
323
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
326
324
 
327
- ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 267ms
328
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 4ms
329
- ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 32ms
325
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 3ms
326
+ ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 19ms
327
+ ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 216ms
328
+ ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 23ms
330
329
  stderr | test/sdk/session/refreshTokenRoute.browser.test.ts
331
330
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
332
331
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -335,13 +334,12 @@ This ensures that you're testing the behavior the user would see in the browser.
335
334
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
336
335
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
337
336
 
338
- ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 22ms
339
- ✓  browser  test/sdk/session/refreshTokenRoute.browser.test.ts (3 tests) 11ms
340
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 126ms
341
- ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 70ms
342
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 36ms
343
- ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 98ms
344
- ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 16ms
337
+ ✓  browser  test/sdk/session/refreshTokenRoute.browser.test.ts (3 tests) 4ms
338
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 131ms
339
+ ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 34ms
340
+ ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 60ms
341
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 33ms
342
+ ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 18ms
345
343
  stderr | test/components/account/doLogout.browser.test.ts
346
344
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
347
345
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -351,11 +349,10 @@ This ensures that you're testing the behavior the user would see in the browser.
351
349
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
352
350
 
353
351
  ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 19ms
354
- ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 310ms
355
- ✓  browser  test/sdk/product/useProductNotFoundRedirect.browser.test.ts (7 tests) 24ms
356
- ✓  browser  test/sdk/account/useRefreshToken.browser.test.ts (4 tests) 134ms
357
- ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 33ms
358
- ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (4 tests) 202ms
352
+ ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 214ms
353
+ ✓  browser  test/sdk/product/useProductNotFoundRedirect.browser.test.ts (7 tests) 22ms
354
+ ✓  browser  test/sdk/account/useRefreshToken.browser.test.ts (4 tests) 128ms
355
+ ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 30ms
359
356
  stderr | test/sdk/account/clearPersistedSessionState.browser.test.ts
360
357
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
361
358
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -364,13 +361,14 @@ This ensures that you're testing the behavior the user would see in the browser.
364
361
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
365
362
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
366
363
 
367
- ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 14ms
368
- ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 78ms
369
- ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 85ms
370
- ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 92ms
371
- ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 18ms
372
- ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 58ms
373
- ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 21ms
364
+ ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (4 tests) 167ms
365
+ ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 9ms
366
+ ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 59ms
367
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 65ms
368
+ ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 78ms
369
+ ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 47ms
370
+ ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 13ms
371
+ ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 16ms
374
372
  stderr | test/sdk/session/sessionStore.browser.test.ts
375
373
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
376
374
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -379,10 +377,10 @@ This ensures that you're testing the behavior the user would see in the browser.
379
377
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
380
378
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
381
379
 
382
- ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 5ms
383
- ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 63ms
384
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 37ms
385
- ✓  browser  test/utils/shouldBypassRefreshToken.browser.test.ts (5 tests) 4ms
380
+ ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 55ms
381
+ ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 4ms
382
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 21ms
383
+ ✓  browser  test/utils/shouldBypassRefreshToken.browser.test.ts (5 tests) 3ms
386
384
  stderr | test/sdk/account/refreshToken.browser.test.ts
387
385
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
388
386
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -391,18 +389,18 @@ This ensures that you're testing the behavior the user would see in the browser.
391
389
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
392
390
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
393
391
 
394
- ✓  browser  test/sdk/account/refreshToken.browser.test.ts (2 tests) 4ms
392
+ ✓  browser  test/sdk/account/refreshToken.browser.test.ts (2 tests) 3ms
393
+ ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 67ms
395
394
  ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 2ms
396
- ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 91ms
397
- ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 35ms
398
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 33ms
399
- ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 21ms
400
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 20ms
401
- ✓  node  test/pages/api/switch-contract.test.ts (61 tests) 128ms
402
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 28ms
403
- ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 185ms
404
- ✓  node  test/server/content/service.test.ts (27 tests) 30ms
405
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 10ms
395
+ ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 33ms
396
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 22ms
397
+ ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 19ms
398
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 15ms
399
+ ✓  node  test/pages/api/switch-contract.test.ts (61 tests) 111ms
400
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 20ms
401
+ ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 130ms
402
+ ✓  node  test/server/content/service.test.ts (27 tests) 23ms
403
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 8ms
406
404
  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
407
405
  Failed to fetch pickup points: Error: network
408
406
  at /home/runner/work/faststore/faststore/packages/core/test/sdk/deliveryPromise/provider.effect.test.tsx:250:30
@@ -429,6 +427,7 @@ This ensures that you're testing the behavior the user would see in the browser.
429
427
  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)
430
428
  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)
431
429
 
430
+ ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 64ms
432
431
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
433
432
  Graphql execution returned with error: [
434
433
  {
@@ -475,7 +474,6 @@ This ensures that you're testing the behavior the user would see in the browser.
475
474
  { message: 'bad', status: 400, type: 'BadRequestError' }
476
475
  ]
477
476
 
478
- ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 60ms
479
477
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > sets cache-control: no-store on error responses so a bare 404/410 is not cached by intermediaries
480
478
  Graphql execution returned with error: [ { message: 'missing', status: 404, type: 'NotFoundError' } ]
481
479
 
@@ -571,10 +569,10 @@ This ensures that you're testing the behavior the user would see in the browser.
571
569
  extensions: { status: 401, type: 'UnauthorizedError' }
572
570
  }
573
571
 
574
- ✓  node  test/pages/api/graphql.test.ts (30 tests) 32ms
575
- ✓  node  test/utils/match-url.test.ts (10 tests) 8ms
576
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 124ms
577
- ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 10ms
572
+ ✓  node  test/pages/api/graphql.test.ts (30 tests) 34ms
573
+ ✓  node  test/utils/match-url.test.ts (10 tests) 6ms
574
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 95ms
575
+ ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 7ms
578
576
  ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 6ms
579
577
  stderr | test/components/search/SearchInputComponent.test.tsx
580
578
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
@@ -639,97 +637,97 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
639
637
  at Suspense
640
638
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
641
639
 
642
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 72ms
643
- ✓  node  test/sdk/account/refreshToken.test.ts (21 tests) 11ms
644
- ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 350ms
645
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 39ms
640
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 50ms
641
+ ✓  node  test/sdk/account/refreshToken.test.ts (21 tests) 8ms
642
+ ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 255ms
643
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 37ms
646
644
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > redirects to /pvt/account/403 when the query fails with 401/403
647
645
  { extensions: { status: 401 } }
648
646
 
649
647
  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
650
648
  { extensions: { status: 502 } }
651
649
 
652
- ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 7ms
653
- ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 20ms
650
+ ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 5ms
651
+ ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 14ms
652
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 6ms
654
653
  ✓  node  test/utils/productJsonLd.test.ts (36 tests) 7ms
655
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 7ms
656
- ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 807ms
657
- ✓ navigates with the search term on blur  359ms
658
- ✓ navigates without a label param when the search is cleared  358ms
659
- ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 12ms
660
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 23ms
661
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 6ms
654
+ ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 5ms
655
+ ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 792ms
656
+ ✓ navigates with the search term on blur  356ms
657
+ ✓ navigates without a label param when the search is cleared  359ms
658
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 17ms
659
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 3ms
662
660
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
663
661
  Set password request failed: Bad Request
664
662
 
665
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 35ms
666
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 23ms
663
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 23ms
664
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 24ms
667
665
  ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 4ms
668
666
  ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 108ms
669
- ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 145ms
670
- ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 11ms
671
- ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 93ms
672
- ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 7ms
673
- ✓  node  test/server/cms/index.test.ts (7 tests) 9ms
674
- ✓  node  test/server/content/promiseCache.test.ts (10 tests) 12ms
675
- ✓  node  test/sdk/redirects/index.test.ts (7 tests) 49ms
676
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 43ms
677
- ✓  node  test/proxy.localization.test.ts (5 tests) 51ms
678
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 35ms
679
- ✓  node  test/utils/trustedForwardedHost.test.ts (36 tests) 6ms
680
- ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 5ms
681
- ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 18ms
667
+ ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 3ms
668
+ ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 112ms
669
+ ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 5ms
670
+ ✓  node  test/server/cms/index.test.ts (7 tests) 7ms
671
+ ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 79ms
672
+ ✓  node  test/server/content/promiseCache.test.ts (10 tests) 7ms
673
+ ✓  node  test/sdk/redirects/index.test.ts (7 tests) 39ms
674
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 32ms
675
+ ✓  node  test/proxy.localization.test.ts (5 tests) 32ms
676
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 29ms
677
+ ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 4ms
678
+ ✓  node  test/utils/trustedForwardedHost.test.ts (36 tests) 5ms
682
679
  ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 5ms
683
- ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 11ms
684
- ✓  node  test/server/index.test.ts (7 tests) 815ms
685
- ✓ should handle options and execute  348ms
686
- ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 57ms
687
- ✓  node  test/proxy.test.ts (4 tests) 22ms
688
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 30ms
689
- ✓  node  test/pages/api/logout.test.ts (4 tests) 29ms
690
- ✓  node  test/utils/shouldBypassRefreshToken.test.ts (14 tests) 5ms
691
- ✓  node  test/server/webops-api.test.ts (9 tests) 9ms
692
- ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 22ms
680
+ ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 13ms
681
+ ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 10ms
682
+ ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 24ms
683
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 19ms
684
+ ✓  node  test/proxy.test.ts (4 tests) 12ms
685
+ ✓  node  test/server/index.test.ts (7 tests) 932ms
686
+ ✓ should handle options and execute  553ms
687
+ ✓  node  test/utils/shouldBypassRefreshToken.test.ts (14 tests) 4ms
688
+ ✓  node  test/pages/api/logout.test.ts (4 tests) 28ms
689
+ ✓  node  test/server/webops-api.test.ts (9 tests) 11ms
690
+ ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 18ms
691
+ ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 6ms
693
692
  ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 3ms
694
- ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 7ms
695
- ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 9ms
696
- ✓  node  test/server/cms/global.test.ts (3 tests) 5ms
697
- ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 5ms
698
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 27ms
699
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 6ms
700
- ✓  node  test/components/account/Layout.test.tsx (6 tests) 74ms
701
- ✓  node  test/server/rootSpan.test.ts (4 tests) 29ms
702
- ✓  node  test/pages/api/preview.test.ts (2 tests) 7ms
693
+ ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 7ms
694
+ ✓  node  test/server/cms/global.test.ts (3 tests) 6ms
695
+ ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 3ms
696
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 20ms
697
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 5ms
698
+ ✓  node  test/components/account/Layout.test.tsx (6 tests) 45ms
699
+ ✓  node  test/server/rootSpan.test.ts (4 tests) 28ms
700
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 5ms
701
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 4ms
703
702
  ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 3ms
704
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 5ms
705
- ✓  node  test/pages/pvt/account/403.test.ts (5 tests) 5ms
706
- ✓  node  test/components/region/useRegion.test.ts (1 test) 18ms
707
- ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 4ms
703
+ ✓  node  test/pages/pvt/account/403.test.ts (5 tests) 3ms
704
+ ✓  node  test/components/region/useRegion.test.ts (1 test) 15ms
705
+ ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 2ms
708
706
  ✓  node  test/utils/retry.test.ts (5 tests) 11ms
709
- ✓  node  test/sdk/account/getIsB2BBuyer.test.ts (7 tests) 5ms
710
- ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 179ms
711
- ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 4ms
712
- ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 4ms
707
+ ✓  node  test/sdk/account/getIsB2BBuyer.test.ts (7 tests) 3ms
708
+ ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 2ms
709
+ ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 178ms
710
+ ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 3ms
713
711
  ✓  node  test/utils/unlockResponse.test.ts (11 tests) 3ms
714
- ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 4ms
715
- ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 38ms
716
- ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 7ms
717
- ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 37ms
718
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 3ms
719
- ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 3ms
720
- ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 4ms
721
- ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 3ms
722
- ✓  node  test/utils/getCookie.test.ts (4 tests) 4ms
723
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 27ms
724
- ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 3ms
712
+ ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 3ms
713
+ ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 33ms
714
+ ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 3ms
715
+ ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 28ms
716
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 2ms
717
+ ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 2ms
718
+ ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 2ms
719
+ ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 2ms
720
+ ✓  node  test/utils/getCookie.test.ts (4 tests) 2ms
721
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 26ms
722
+ ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 2ms
725
723
  ✓  node  test/utils/filterChannel.test.ts (2 tests) 3ms
726
724
  ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 3ms
727
- ✓  node  test/instrumentation.test.ts (3 tests) 5ms
728
- ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 3ms
729
- ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 7ms
725
+ ✓  node  test/instrumentation.test.ts (3 tests) 3ms
726
+ ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 2ms
727
+ ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 5ms
730
728
 
731
729
   Test Files  146 passed (146)
732
730
   Tests  1249 passed (1249)
733
-  Start at  00:15:46
734
-  Duration  52.52s (transform 12.61s, setup 0ms, import 46.19s, tests 19.06s, environment 64.17s)
731
+  Start at  00:28:50
732
+  Duration  42.83s (transform 10.53s, setup 0ms, import 37.46s, tests 16.17s, environment 51.94s)
735
733
 
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.10.3-dev.0](https://github.com/vtex/faststore/compare/v4.10.2...v4.10.3-dev.0) (2026-10-29)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
6
10
  ## [4.10.2](https://github.com/vtex/faststore/compare/v4.10.2-dev.0...v4.10.2) (2026-10-29)
7
11
 
8
12
  **Note:** Version bump only for package @faststore/core
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.10.2",
3
+ "version": "4.10.3-dev.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.2",
75
- "@faststore/diagnostics": "4.10.2",
76
- "@faststore/sdk": "4.10.2",
77
- "@faststore/ui": "4.10.2",
78
- "@faststore/lighthouse": "4.10.2"
74
+ "@faststore/diagnostics": "4.10.3-dev.0",
75
+ "@faststore/api": "4.10.3-dev.0",
76
+ "@faststore/lighthouse": "4.10.3-dev.0",
77
+ "@faststore/ui": "4.10.3-dev.0",
78
+ "@faststore/sdk": "4.10.3-dev.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@cypress/code-coverage": "^3.12.1",