@faststore/core 4.4.0 → 4.4.1-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.4.0-dev.6 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.4.0 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.4.0-dev.6 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.4.0 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.4.0-dev.6 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.4.0 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,12 +1,12 @@
1
1
 
2
- > @faststore/core@4.4.0-dev.6 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.4.0 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
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 31ms
9
- ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (5 tests) 52ms
8
+ ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (5 tests) 24ms
9
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 25ms
10
10
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
11
11
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
12
12
 
@@ -92,7 +92,13 @@ act(() => {
92
92
  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
93
93
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
94
94
 
95
- ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 20ms
95
+ stderr | test/sdk/localization/store-url.browser.test.ts
96
+ Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
97
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:119:27)
98
+ at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
99
+ at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:354:23)
100
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
101
+
96
102
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > uses the fallback invalid-password message when API omits an error
97
103
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
98
104
 
@@ -141,6 +147,7 @@ act(() => {
141
147
  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
142
148
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
143
149
 
150
+ ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 19ms
144
151
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > shows service unavailable when the response is not a login payload
145
152
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
146
153
 
@@ -237,23 +244,16 @@ act(() => {
237
244
  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
238
245
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
239
246
 
240
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 1288ms
241
- ✓ renders the password protection form  512ms
242
- stderr | test/sdk/localization/store-url.browser.test.ts
243
- Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
244
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:119:27)
245
- at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
246
- at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:354:23)
247
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
248
-
249
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 85ms
250
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 10ms
251
- ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 9ms
252
- ✓  node  test/utils/match-url.test.ts (10 tests) 37ms
253
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 164ms
254
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 38ms
255
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 782ms
256
- ✓ returns 405 for non-POST requests  572ms
247
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 1472ms
248
+ ✓ renders the password protection form  605ms
249
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 21ms
250
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 89ms
251
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 141ms
252
+ ✓  node  test/utils/match-url.test.ts (10 tests) 30ms
253
+ ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 13ms
254
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 29ms
255
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 994ms
256
+ ✓ returns 405 for non-POST requests  626ms
257
257
  stderr | test/components/search/SearchInputComponent.test.tsx
258
258
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
259
259
 
@@ -317,18 +317,18 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
317
317
  at Suspense
318
318
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
319
319
 
320
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 303ms
321
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 22ms
322
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 68ms
323
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 132ms
324
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 61ms
320
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 251ms
321
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 32ms
322
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 12ms
323
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 232ms
324
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 47ms
325
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 16ms
326
+ ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 6ms
325
327
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
326
328
  Set password request failed: Bad Request
327
329
 
328
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 109ms
329
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 8ms
330
- ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 12ms
331
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 53ms
330
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 63ms
331
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 44ms
332
332
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
333
333
  Graphql execution returned with error: [
334
334
  {
@@ -375,31 +375,30 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
375
375
  { message: 'bad', status: 400, type: 'BadRequestError' }
376
376
  ]
377
377
 
378
- ✓  node  test/pages/api/graphql.test.ts (10 tests) 26ms
379
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 46ms
380
- ✓  node  test/proxy.localization.test.ts (5 tests) 71ms
381
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 46ms
382
- ✓  node  test/proxy.test.ts (4 tests) 29ms
378
+ ✓  node  test/pages/api/graphql.test.ts (10 tests) 18ms
379
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 47ms
380
+ ✓  node  test/proxy.localization.test.ts (5 tests) 79ms
381
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 43ms
382
+ ✓  node  test/proxy.test.ts (4 tests) 19ms
383
+ ✓  node  test/server/index.test.ts (7 tests) 737ms
384
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 32ms
383
385
  ✓  node  test/server/webops-api.test.ts (9 tests) 17ms
384
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 27ms
385
- ✓  node  test/server/index.test.ts (7 tests) 906ms
386
- ✓ should handle options and execute  454ms
387
- ✓  node  test/server/cms/global.test.ts (3 tests) 6ms
388
- ✓  node  test/sdk/localization/store-url.test.ts (1 test) 4ms
389
- ✓  node  test/server/content/service.test.ts (5 tests) 6ms
386
+ ✓  node  test/server/cms/global.test.ts (3 tests) 4ms
387
+ ✓  node  test/sdk/localization/store-url.test.ts (1 test) 6ms
388
+ ✓  node  test/server/content/service.test.ts (5 tests) 5ms
390
389
  ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 6ms
391
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 35ms
392
- ✓  node  test/pages/api/preview.test.ts (2 tests) 10ms
390
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 28ms
393
391
  ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 5ms
394
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 10ms
392
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 15ms
393
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 9ms
395
394
  ✓  node  test/utils/unlockResponse.test.ts (11 tests) 6ms
396
- ✓  node  test/server/cms/index.test.ts (2 tests) 5ms
397
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 4ms
398
- ✓  node  test/utils/userOrderStatus.test.ts (3 tests) 4ms
399
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 27ms
395
+ ✓  node  test/server/cms/index.test.ts (2 tests) 4ms
396
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 5ms
397
+ ✓  node  test/utils/userOrderStatus.test.ts (3 tests) 3ms
398
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 25ms
400
399
 
401
400
   Test Files  41 passed (41)
402
401
   Tests  378 passed (378)
403
-  Start at  14:57:33
404
-  Duration  25.82s (transform 7.55s, setup 0ms, collect 19.82s, tests 4.58s, environment 34.44s, prepare 1.01s)
402
+  Start at  15:10:05
403
+  Duration  24.64s (transform 6.17s, setup 0ms, collect 17.28s, tests 4.67s, environment 33.63s, prepare 964ms)
405
404
 
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.4.1-dev.0](https://github.com/vtex/faststore/compare/v4.4.0...v4.4.1-dev.0) (2026-07-02)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
6
10
  # [4.4.0](https://github.com/vtex/faststore/compare/v4.4.0-dev.6...v4.4.0) (2026-07-02)
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.4.0",
3
+ "version": "4.4.1-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.4.0",
75
- "@faststore/diagnostics": "4.4.0",
76
- "@faststore/sdk": "4.4.0",
77
- "@faststore/ui": "4.4.0",
78
- "@faststore/lighthouse": "4.4.0"
74
+ "@faststore/api": "4.4.1-dev.0",
75
+ "@faststore/lighthouse": "4.4.1-dev.0",
76
+ "@faststore/sdk": "4.4.1-dev.0",
77
+ "@faststore/ui": "4.4.1-dev.0",
78
+ "@faststore/diagnostics": "4.4.1-dev.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@cypress/code-coverage": "^3.12.1",