@faststore/core 3.1.1 → 3.1.2
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/9844.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/account.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/chunks/pages/{_app-e419b2062065ccf0.js → _app-15d247b2153b1dc4.js} +1 -1
- package/.next/trace +97 -97
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +5 -5
- package/CHANGELOG.md +6 -0
- package/package.json +2 -2
- package/src/sdk/analytics/hooks/usePageViewEvent.ts +1 -5
- /package/.next/static/{RvBOab6zYvdJhM_64bb4B → Joon-fzFpeM4APyIWUsdO}/_buildManifest.js +0 -0
- /package/.next/static/{RvBOab6zYvdJhM_64bb4B → Joon-fzFpeM4APyIWUsdO}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -38,8 +38,8 @@ https://nextjs.org/telemetry
|
|
|
38
38
|
Collecting page data ...
|
|
39
39
|
Generating static pages (0/7) ...
|
|
40
40
|
|
|
41
41
|
Generating static pages (1/7)
|
|
42
|
-
Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
|
|
43
42
|
|
|
44
43
|
Generating static pages (3/7)
|
|
44
|
+
Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
|
|
45
45
|
|
|
46
46
|
Generating static pages (5/7)
|
|
47
47
|
|
|
48
48
|
✓ Generating static pages (7/7)
|
|
49
49
|
Finalizing page optimization ...
|
|
@@ -50,7 +50,7 @@ Route (pages) Size First Load JS
|
|
|
50
50
|
├ └ css/b1806cbafd0c1f81.css 3.06 kB
|
|
51
51
|
├ /_app 0 B 91.7 kB
|
|
52
52
|
├ ● /[...slug] 2 kB 137 kB
|
|
53
|
-
├ ● /[slug]/p 30.3 kB
|
|
53
|
+
├ ● /[slug]/p 30.3 kB 148 kB
|
|
54
54
|
├ ├ css/bf1560439df2c1a1.css 5.66 kB
|
|
55
55
|
├ ├ css/e3ff5d95518a5c79.css 6.01 kB
|
|
56
56
|
├ └ css/9718991cd57978e9.css 14.8 kB
|
|
@@ -64,10 +64,10 @@ Route (pages) Size First Load JS
|
|
|
64
64
|
├ ● /checkout 694 B 119 kB
|
|
65
65
|
├ ● /login 1.57 kB 120 kB
|
|
66
66
|
└ ● /s 2.44 kB 137 kB
|
|
67
|
-
+ First Load JS shared by all 94.
|
|
67
|
+
+ First Load JS shared by all 94.7 kB
|
|
68
68
|
├ chunks/framework-12a146e94cfcf7c4.js 45.4 kB
|
|
69
69
|
├ chunks/main-209ac4974b020af1.js 33.1 kB
|
|
70
|
-
├ chunks/pages/_app-
|
|
70
|
+
├ chunks/pages/_app-15d247b2153b1dc4.js 9.84 kB
|
|
71
71
|
├ chunks/webpack-5c2cbf0d104592ed.js 3.39 kB
|
|
72
72
|
└ css/ee0556daedda6306.css 3.07 kB
|
|
73
73
|
|
|
@@ -75,4 +75,4 @@ Route (pages) Size First Load JS
|
|
|
75
75
|
○ (Static) automatically rendered as static HTML (uses no initial props)
|
|
76
76
|
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
|
|
77
77
|
|
|
78
|
-
Done in
|
|
78
|
+
Done in 69.45s.
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
yarn run v1.22.22
|
|
2
2
|
$ jest
|
|
3
|
-
PASS test/utils/multipleTemplates.test.ts (
|
|
4
|
-
PASS test/server/cms/index.test.ts (
|
|
5
|
-
PASS test/server/index.test.ts (
|
|
3
|
+
PASS test/utils/multipleTemplates.test.ts (34.643 s)
|
|
4
|
+
PASS test/server/cms/index.test.ts (35.284 s)
|
|
5
|
+
PASS test/server/index.test.ts (38.49 s)
|
|
6
6
|
|
|
7
7
|
Test Suites: 3 passed, 3 total
|
|
8
8
|
Tests: 19 passed, 19 total
|
|
9
9
|
Snapshots: 0 total
|
|
10
|
-
Time:
|
|
10
|
+
Time: 39.72 s
|
|
11
11
|
Ran all test suites.
|
|
12
|
-
Done in
|
|
12
|
+
Done in 40.95s.
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
## [3.1.2](https://github.com/vtex/faststore/compare/v3.1.1...v3.1.2) (2024-12-11)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **sdk:** page view event trigger ([#2586](https://github.com/vtex/faststore/issues/2586)) ([3988760](https://github.com/vtex/faststore/commit/398876013a293302f9a802b93f0f0880cfe32acb))
|
|
11
|
+
|
|
6
12
|
## [3.1.1](https://github.com/vtex/faststore/compare/v3.1.0...v3.1.1) (2024-12-09)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"node": "18.19.0",
|
|
129
129
|
"yarn": "1.19.1"
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "d2987773691eb3c5a958d59b769fc6ba2847909a"
|
|
132
132
|
}
|
|
@@ -19,11 +19,7 @@ export const usePageViewEvent = () => {
|
|
|
19
19
|
const router = useRouter()
|
|
20
20
|
|
|
21
21
|
useEffect(() => {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return () => {
|
|
25
|
-
router.events.off('routeChangeComplete', sendPageViewEvent)
|
|
26
|
-
}
|
|
22
|
+
sendPageViewEvent()
|
|
27
23
|
}, [router, sendPageViewEvent])
|
|
28
24
|
|
|
29
25
|
return { sendPageViewEvent }
|
|
File without changes
|
|
File without changes
|