@faststore/core 4.3.0-dev.3 → 4.3.0-dev.4

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.3.0-dev.2 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.3.0-dev.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.3.0-dev.2 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.3.0-dev.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 /home/runner/work/faststore/faststore/packages/core/@generated/
20
20
  [COMPLETED] Generate outputs
21
21
 
22
- > @faststore/core@4.3.0-dev.2 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.3.0-dev.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,12 +1,12 @@
1
1
 
2
- > @faststore/core@4.3.0-dev.2 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.3.0-dev.3 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/installLocaleCorrector.browser.test.ts (7 tests) 62ms
9
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 46ms
8
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 37ms
9
+ ✓  browser  test/sdk/session/installLocaleCorrector.browser.test.ts (7 tests) 57ms
10
10
  stderr | test/sdk/localization/store-url.browser.test.ts
11
11
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
12
12
  at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:119:27)
@@ -14,16 +14,14 @@
14
14
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:353:23)
15
15
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
16
16
 
17
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 83ms
18
- ✓  node  test/utils/match-url.test.ts (10 tests) 32ms
19
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 15ms
20
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 40ms
21
- ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 14ms
22
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 217ms
17
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 126ms
18
+ ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 12ms
19
+ ✓  node  test/utils/match-url.test.ts (10 tests) 29ms
20
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 20ms
21
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 22ms
23
22
  stderr | test/components/search/SearchInputComponent.test.tsx
24
23
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
25
24
 
26
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 50ms
27
25
  stderr | test/components/search/SearchInputComponent.test.tsx > SearchInput (OES integration) > renders without crashing
28
26
  Warning: React does not recognize the `visibleDropdown` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `visibledropdown` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
29
27
  at div
@@ -84,11 +82,13 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
84
82
  at Suspense
85
83
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
86
84
 
87
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 229ms
88
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 20ms
89
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 22ms
90
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 106ms
91
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 165ms
85
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 224ms
86
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 22ms
87
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 148ms
88
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 79ms
89
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 30ms
90
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 135ms
91
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 115ms
92
92
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
93
93
  Graphql execution returned with error: [
94
94
  {
@@ -135,26 +135,27 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
135
135
  { message: 'bad', status: 400, type: 'BadRequestError' }
136
136
  ]
137
137
 
138
- ✓  node  test/pages/api/graphql.test.ts (10 tests) 85ms
139
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 73ms
140
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 46ms
141
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 71ms
138
+ ✓  node  test/pages/api/graphql.test.ts (10 tests) 92ms
139
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 131ms
140
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 116ms
141
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 53ms
142
142
  ✓  node  test/server/cms/global.test.ts (3 tests) 6ms
143
143
  ✓  node  test/server/content/service.test.ts (5 tests) 5ms
144
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 22ms
145
144
  ✓  node  test/sdk/localization/store-url.test.ts (1 test) 3ms
146
- ✓  node  test/server/index.test.ts (7 tests) 915ms
147
- ✓ should handle options and execute  403ms
148
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 5ms
149
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 5ms
150
- ✓  node  test/pages/api/preview.test.ts (2 tests) 8ms
151
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 9ms
152
- ✓  node  test/server/cms/index.test.ts (2 tests) 6ms
153
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 3ms
154
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 27ms
145
+ ✓  node  test/server/index.test.ts (7 tests) 1014ms
146
+ ✓ should exist with its plugins  305ms
147
+ ✓ should handle options and execute  441ms
148
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 7ms
149
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 31ms
150
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 6ms
151
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 7ms
152
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 8ms
153
+ ✓  node  test/server/cms/index.test.ts (2 tests) 5ms
154
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 4ms
155
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 26ms
155
156
 
156
157
   Test Files  30 passed (30)
157
158
   Tests  287 passed (287)
158
-  Start at  13:09:44
159
-  Duration  21.60s (transform 5.78s, setup 0ms, collect 20.29s, tests 2.39s, environment 26.38s, prepare 899ms)
159
+  Start at  14:18:47
160
+  Duration  22.31s (transform 5.56s, setup 0ms, collect 20.75s, tests 2.57s, environment 27.68s, prepare 901ms)
160
161
 
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.3.0-dev.4](https://github.com/vtex/faststore/compare/v4.3.0-dev.3...v4.3.0-dev.4) (2026-06-15)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
6
10
  # [4.3.0-dev.3](https://github.com/vtex/faststore/compare/v4.3.0-dev.2...v4.3.0-dev.3) (2026-06-15)
7
11
 
8
12
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.3.0-dev.3",
3
+ "version": "4.3.0-dev.4",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,11 +70,11 @@
70
70
  "style-loader": "^3.3.1",
71
71
  "swr": "^2.2.5",
72
72
  "use-sync-external-store": "^1.6.0",
73
- "@faststore/api": "4.3.0-dev.3",
74
- "@faststore/diagnostics": "4.3.0-dev.3",
75
- "@faststore/lighthouse": "4.3.0-dev.3",
76
- "@faststore/sdk": "4.3.0-dev.3",
77
- "@faststore/ui": "4.3.0-dev.3"
73
+ "@faststore/diagnostics": "4.3.0-dev.4",
74
+ "@faststore/api": "4.3.0-dev.4",
75
+ "@faststore/lighthouse": "4.3.0-dev.4",
76
+ "@faststore/sdk": "4.3.0-dev.4",
77
+ "@faststore/ui": "4.3.0-dev.4"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@cypress/code-coverage": "^3.12.1",