@faststore/core 3.14.2 → 3.15.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.
- package/.husky/_/husky.sh +30 -0
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +43 -43
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- 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/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +6 -6
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/4951.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/[slug]/p.js +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/I_svGPugEd8B39I034SPS/_buildManifest.js +1 -0
- package/.next/static/chunks/{1153.d7522522b6c917ed.js → 1153.7f616071da309cf5.js} +1 -1
- package/.next/static/chunks/4750-e5a9418eaebfb4c8.js +28 -0
- package/.next/static/chunks/{5698-27d87aae8c109e79.js → 5698-fa65b2992114887e.js} +1 -1
- package/.next/static/chunks/{667-12b06e64d8d692d5.js → 667-53c75d8fc0155d58.js} +1 -1
- package/.next/static/chunks/{9466-2f8573654062ca33.js → 9466-e249304f28f683ae.js} +1 -1
- package/.next/static/chunks/{BannerNewsletter.cd67899702cefc74.js → BannerNewsletter.e9cddf0d9db5a289.js} +1 -1
- package/.next/static/chunks/{Newsletter.16d512eea4770e48.js → Newsletter.b145b5c84a40f69a.js} +1 -1
- package/.next/static/chunks/pages/{404-23b334702035ebee.js → 404-c90c20c167cc0e7a.js} +1 -1
- package/.next/static/chunks/pages/{500-2fbf273f5ce9ceca.js → 500-0cd22d12b85fffda.js} +1 -1
- package/.next/static/chunks/pages/{[...slug]-25f38fa57ace66f5.js → [...slug]-519b90475cfac29a.js} +1 -1
- package/.next/static/chunks/pages/[slug]/p-076e901f67a41f5a.js +1 -0
- package/.next/static/chunks/pages/{account-432a55e008dba859.js → account-978432926cc98c7f.js} +1 -1
- package/.next/static/chunks/pages/{checkout-d811420956257b8d.js → checkout-fc1167ff76bcc8ed.js} +1 -1
- package/.next/static/chunks/pages/{index-196c7f6cfa8ed5f3.js → index-5118f05c0bfc0853.js} +1 -1
- package/.next/static/chunks/pages/{login-66c720bdd1b3034e.js → login-fcb4f67351defd0e.js} +1 -1
- package/.next/static/chunks/pages/{s-1835e91d63b5f928.js → s-ffb1e51598f8ad52.js} +1 -1
- package/.next/static/chunks/{webpack-afc8087dfb1d8df4.js → webpack-95968624e480b497.js} +1 -1
- package/.next/trace +103 -102
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-test.log +5 -5
- package/CHANGELOG.md +12 -0
- package/package.json +11 -10
- package/src/components/sections/ProductDetails/ProductDetails.tsx +79 -73
- package/src/components/templates/SearchPage/SearchWrapper.tsx +1 -1
- package/src/pages/[slug]/p.tsx +42 -7
- package/src/sdk/offer/aggregate.ts +48 -0
- package/src/sdk/offer/enhance.ts +20 -0
- package/src/sdk/offer/fetcher.ts +19 -0
- package/src/sdk/offer/index.ts +45 -0
- package/src/sdk/offer/sort.ts +28 -0
- package/src/sdk/product/useProductLink.ts +1 -3
- package/.next/static/3H_fV7jqbTCbj1uDyqkdL/_buildManifest.js +0 -1
- package/.next/static/chunks/4579-0b95def0ee1ecb0f.js +0 -33
- package/.next/static/chunks/pages/[slug]/p-a3a9ea694ac3b322.js +0 -1
- /package/.next/static/{3H_fV7jqbTCbj1uDyqkdL → I_svGPugEd8B39I034SPS}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
if [ -z "$husky_skip_init" ]; then
|
|
3
|
+
debug () {
|
|
4
|
+
[ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
readonly hook_name="$(basename "$0")"
|
|
8
|
+
debug "starting $hook_name..."
|
|
9
|
+
|
|
10
|
+
if [ "$HUSKY" = "0" ]; then
|
|
11
|
+
debug "HUSKY env variable is set to 0, skipping hook"
|
|
12
|
+
exit 0
|
|
13
|
+
fi
|
|
14
|
+
|
|
15
|
+
if [ -f ~/.huskyrc ]; then
|
|
16
|
+
debug "sourcing ~/.huskyrc"
|
|
17
|
+
. ~/.huskyrc
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
export readonly husky_skip_init=1
|
|
21
|
+
sh -e "$0" "$@"
|
|
22
|
+
exitCode="$?"
|
|
23
|
+
|
|
24
|
+
if [ $exitCode != 0 ]; then
|
|
25
|
+
echo "husky - $hook_name hook exited with code $exitCode (error)"
|
|
26
|
+
exit $exitCode
|
|
27
|
+
fi
|
|
28
|
+
|
|
29
|
+
exit 0
|
|
30
|
+
fi
|
package/.next/BUILD_ID
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
I_svGPugEd8B39I034SPS
|
|
@@ -5,119 +5,119 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/I_svGPugEd8B39I034SPS/_buildManifest.js",
|
|
9
|
+
"static/I_svGPugEd8B39I034SPS/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [],
|
|
12
12
|
"pages": {
|
|
13
13
|
"/": [
|
|
14
|
-
"static/chunks/webpack-
|
|
14
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
15
15
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
16
16
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
17
|
-
"static/chunks/
|
|
17
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
18
18
|
"static/css/93d239c461485bdf.css",
|
|
19
|
-
"static/chunks/5698-
|
|
19
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
20
20
|
"static/css/b1806cbafd0c1f81.css",
|
|
21
|
-
"static/chunks/pages/index-
|
|
21
|
+
"static/chunks/pages/index-5118f05c0bfc0853.js"
|
|
22
22
|
],
|
|
23
23
|
"/404": [
|
|
24
|
-
"static/chunks/webpack-
|
|
24
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
25
25
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
26
26
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
27
|
-
"static/chunks/
|
|
27
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
28
28
|
"static/css/93d239c461485bdf.css",
|
|
29
|
-
"static/chunks/5698-
|
|
29
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
30
30
|
"static/css/2980acad3f8e1028.css",
|
|
31
|
-
"static/chunks/pages/404-
|
|
31
|
+
"static/chunks/pages/404-c90c20c167cc0e7a.js"
|
|
32
32
|
],
|
|
33
33
|
"/500": [
|
|
34
|
-
"static/chunks/webpack-
|
|
34
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
35
35
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
36
36
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
37
|
-
"static/chunks/
|
|
37
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
38
38
|
"static/css/93d239c461485bdf.css",
|
|
39
|
-
"static/chunks/5698-
|
|
39
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
40
40
|
"static/css/2980acad3f8e1028.css",
|
|
41
|
-
"static/chunks/pages/500-
|
|
41
|
+
"static/chunks/pages/500-0cd22d12b85fffda.js"
|
|
42
42
|
],
|
|
43
43
|
"/[...slug]": [
|
|
44
|
-
"static/chunks/webpack-
|
|
44
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
45
45
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
46
46
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
47
|
-
"static/chunks/
|
|
47
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
48
48
|
"static/css/93d239c461485bdf.css",
|
|
49
|
-
"static/chunks/5698-
|
|
49
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
50
50
|
"static/css/449c3f167b150caf.css",
|
|
51
|
-
"static/chunks/9466-
|
|
52
|
-
"static/chunks/pages/[...slug]-
|
|
51
|
+
"static/chunks/9466-e249304f28f683ae.js",
|
|
52
|
+
"static/chunks/pages/[...slug]-519b90475cfac29a.js"
|
|
53
53
|
],
|
|
54
54
|
"/[slug]/p": [
|
|
55
|
-
"static/chunks/webpack-
|
|
55
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
56
56
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
57
57
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
58
|
-
"static/chunks/
|
|
58
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
59
59
|
"static/chunks/2599-67df8c38c483737b.js",
|
|
60
60
|
"static/css/93d239c461485bdf.css",
|
|
61
|
-
"static/chunks/5698-
|
|
61
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
62
62
|
"static/chunks/7498-745c09c46899ea49.js",
|
|
63
63
|
"static/css/bf1560439df2c1a1.css",
|
|
64
64
|
"static/css/e3ff5d95518a5c79.css",
|
|
65
|
-
"static/chunks/667-
|
|
65
|
+
"static/chunks/667-53c75d8fc0155d58.js",
|
|
66
66
|
"static/css/d23b961580181439.css",
|
|
67
|
-
"static/chunks/pages/[slug]/p-
|
|
67
|
+
"static/chunks/pages/[slug]/p-076e901f67a41f5a.js"
|
|
68
68
|
],
|
|
69
69
|
"/_app": [
|
|
70
|
-
"static/chunks/webpack-
|
|
70
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
71
71
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
72
72
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
73
73
|
"static/css/2eafb8997a3946dc.css",
|
|
74
74
|
"static/chunks/pages/_app-fa96080af43b51d4.js"
|
|
75
75
|
],
|
|
76
76
|
"/_error": [
|
|
77
|
-
"static/chunks/webpack-
|
|
77
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
78
78
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
79
79
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
80
80
|
"static/chunks/pages/_error-c259d89560ef7ac1.js"
|
|
81
81
|
],
|
|
82
82
|
"/account": [
|
|
83
|
-
"static/chunks/webpack-
|
|
83
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
84
84
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
85
85
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
86
|
-
"static/chunks/
|
|
86
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
87
87
|
"static/css/93d239c461485bdf.css",
|
|
88
|
-
"static/chunks/5698-
|
|
89
|
-
"static/chunks/pages/account-
|
|
88
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
89
|
+
"static/chunks/pages/account-978432926cc98c7f.js"
|
|
90
90
|
],
|
|
91
91
|
"/checkout": [
|
|
92
|
-
"static/chunks/webpack-
|
|
92
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
93
93
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
94
94
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
95
|
-
"static/chunks/
|
|
95
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
96
96
|
"static/css/93d239c461485bdf.css",
|
|
97
|
-
"static/chunks/5698-
|
|
98
|
-
"static/chunks/pages/checkout-
|
|
97
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
98
|
+
"static/chunks/pages/checkout-fc1167ff76bcc8ed.js"
|
|
99
99
|
],
|
|
100
100
|
"/login": [
|
|
101
|
-
"static/chunks/webpack-
|
|
101
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
102
102
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
103
103
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
104
|
-
"static/chunks/
|
|
104
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
105
105
|
"static/css/93d239c461485bdf.css",
|
|
106
|
-
"static/chunks/5698-
|
|
106
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
107
107
|
"static/css/2980acad3f8e1028.css",
|
|
108
|
-
"static/chunks/pages/login-
|
|
108
|
+
"static/chunks/pages/login-fcb4f67351defd0e.js"
|
|
109
109
|
],
|
|
110
110
|
"/s": [
|
|
111
|
-
"static/chunks/webpack-
|
|
111
|
+
"static/chunks/webpack-95968624e480b497.js",
|
|
112
112
|
"static/chunks/framework-12a146e94cfcf7c4.js",
|
|
113
113
|
"static/chunks/main-bcf4c5804681e40a.js",
|
|
114
|
-
"static/chunks/
|
|
114
|
+
"static/chunks/4750-e5a9418eaebfb4c8.js",
|
|
115
115
|
"static/css/93d239c461485bdf.css",
|
|
116
|
-
"static/chunks/5698-
|
|
116
|
+
"static/chunks/5698-fa65b2992114887e.js",
|
|
117
117
|
"static/css/449c3f167b150caf.css",
|
|
118
|
-
"static/chunks/9466-
|
|
118
|
+
"static/chunks/9466-e249304f28f683ae.js",
|
|
119
119
|
"static/css/2980acad3f8e1028.css",
|
|
120
|
-
"static/chunks/pages/s-
|
|
120
|
+
"static/chunks/pages/s-ffb1e51598f8ad52.js"
|
|
121
121
|
]
|
|
122
122
|
},
|
|
123
123
|
"ampFirstPages": []
|