@faststore/core 3.96.0-dev.18 → 3.96.0-dev.20

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.
Files changed (292) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +79 -74
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/prerender-manifest.js +1 -1
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/react-loadable-manifest.json +118 -126
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/1405.js +1 -0
  14. package/.next/server/chunks/1620.js +1 -0
  15. package/.next/server/chunks/1780.js +1 -1
  16. package/.next/server/chunks/2295.js +6 -0
  17. package/.next/server/chunks/{7228.js → 2379.js} +1 -1
  18. package/.next/server/chunks/2430.js +1 -1
  19. package/.next/server/chunks/2630.js +1 -0
  20. package/.next/server/chunks/2671.js +1 -0
  21. package/.next/server/chunks/294.js +1 -1
  22. package/.next/server/chunks/2950.js +1 -0
  23. package/.next/server/chunks/{831.js → 368.js} +1 -1
  24. package/.next/server/chunks/3747.js +1 -0
  25. package/.next/server/chunks/3836.js +1 -1
  26. package/.next/server/chunks/3958.js +1 -0
  27. package/.next/server/chunks/3976.js +1 -0
  28. package/.next/server/chunks/3977.js +1 -0
  29. package/.next/server/chunks/4005.js +1 -0
  30. package/.next/server/chunks/4012.js +1 -0
  31. package/.next/server/chunks/4691.js +1 -0
  32. package/.next/server/chunks/4803.js +1 -1
  33. package/.next/server/chunks/5183.js +1 -0
  34. package/.next/server/chunks/524.js +1 -0
  35. package/.next/server/chunks/5662.js +1 -0
  36. package/.next/server/chunks/5737.js +1 -0
  37. package/.next/server/chunks/5796.js +1 -1
  38. package/.next/server/chunks/5887.js +1 -0
  39. package/.next/server/chunks/6084.js +1 -0
  40. package/.next/server/chunks/6295.js +1 -0
  41. package/.next/server/chunks/{4451.js → 6502.js} +1 -1
  42. package/.next/server/chunks/6591.js +1 -0
  43. package/.next/server/chunks/6789.js +1 -1
  44. package/.next/server/chunks/6886.js +1 -1
  45. package/.next/server/chunks/{7169.js → 7060.js} +1 -1
  46. package/.next/server/chunks/7098.js +2 -2
  47. package/.next/server/chunks/{2230.js → 7602.js} +1 -1
  48. package/.next/server/chunks/{3922.js → 7881.js} +1 -1
  49. package/.next/server/chunks/8057.js +1 -0
  50. package/.next/server/chunks/83.js +1 -1
  51. package/.next/server/chunks/8687.js +1 -1
  52. package/.next/server/chunks/9117.js +1 -1
  53. package/.next/server/chunks/9362.js +1 -0
  54. package/.next/server/chunks/{9570.js → 9435.js} +1 -1
  55. package/.next/server/chunks/948.js +2 -2
  56. package/.next/server/chunks/9563.js +1 -1
  57. package/.next/server/chunks/9630.js +12 -12
  58. package/.next/server/chunks/9719.js +1 -0
  59. package/.next/server/chunks/9740.js +1 -1
  60. package/.next/server/chunks/979.js +1 -0
  61. package/.next/server/chunks/9853.js +1 -1
  62. package/.next/server/chunks/ButtonSignIn.js +1 -1
  63. package/.next/server/chunks/Dropdown.js +1 -1
  64. package/.next/server/chunks/DropdownButton.js +1 -1
  65. package/.next/server/chunks/DropdownItem.js +1 -1
  66. package/.next/server/chunks/DropdownMenu.js +1 -1
  67. package/.next/server/chunks/FilterSkeleton.js +1 -1
  68. package/.next/server/chunks/ScrollToTopButton.js +1 -1
  69. package/.next/server/chunks/UIBannerText.js +1 -1
  70. package/.next/server/chunks/UINavbarSlider.js +1 -1
  71. package/.next/server/chunks/UISKUMatrixSidebar.js +1 -1
  72. package/.next/server/functions-config-manifest.json +1 -1
  73. package/.next/server/middleware-build-manifest.js +1 -1
  74. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  75. package/.next/server/pages/404.js +1 -1
  76. package/.next/server/pages/404.js.nft.json +1 -1
  77. package/.next/server/pages/500.js +1 -1
  78. package/.next/server/pages/500.js.nft.json +1 -1
  79. package/.next/server/pages/[...slug].js +1 -1
  80. package/.next/server/pages/[...slug].js.nft.json +1 -1
  81. package/.next/server/pages/[slug]/p.js +1 -1
  82. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  83. package/.next/server/pages/_app.js +1 -1
  84. package/.next/server/pages/_app.js.nft.json +1 -1
  85. package/.next/server/pages/_document.js.nft.json +1 -1
  86. package/.next/server/pages/_error.js +1 -1
  87. package/.next/server/pages/_error.js.nft.json +1 -1
  88. package/.next/server/pages/api/fs/logout.js +1 -0
  89. package/.next/server/pages/api/fs/logout.js.nft.json +1 -0
  90. package/.next/server/pages/api/graphql.js +1 -1
  91. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  92. package/.next/server/pages/api/health/live.js.nft.json +1 -1
  93. package/.next/server/pages/api/health/ready.js.nft.json +1 -1
  94. package/.next/server/pages/api/preview.js.nft.json +1 -1
  95. package/.next/server/pages/checkout.js +1 -1
  96. package/.next/server/pages/checkout.js.nft.json +1 -1
  97. package/.next/server/pages/en-US/404.html +1 -1
  98. package/.next/server/pages/en-US/500.html +1 -1
  99. package/.next/server/pages/en-US/checkout.html +1 -1
  100. package/.next/server/pages/en-US/login.html +1 -1
  101. package/.next/server/pages/en-US/s.html +1 -1
  102. package/.next/server/pages/en-US.html +1 -1
  103. package/.next/server/pages/index.js +1 -1
  104. package/.next/server/pages/index.js.nft.json +1 -1
  105. package/.next/server/pages/login.js +1 -1
  106. package/.next/server/pages/login.js.nft.json +1 -1
  107. package/.next/server/pages/pvt/account/403.js +1 -1
  108. package/.next/server/pages/pvt/account/403.js.nft.json +1 -1
  109. package/.next/server/pages/pvt/account/404.js +1 -1
  110. package/.next/server/pages/pvt/account/404.js.nft.json +1 -1
  111. package/.next/server/pages/pvt/account/[...unknown].js +1 -1
  112. package/.next/server/pages/pvt/account/[...unknown].js.nft.json +1 -1
  113. package/.next/server/pages/pvt/account/orders/[id].js +1 -1
  114. package/.next/server/pages/pvt/account/orders/[id].js.nft.json +1 -1
  115. package/.next/server/pages/pvt/account/orders.js +1 -1
  116. package/.next/server/pages/pvt/account/orders.js.nft.json +1 -1
  117. package/.next/server/pages/pvt/account/profile.js +1 -1
  118. package/.next/server/pages/pvt/account/profile.js.nft.json +1 -1
  119. package/.next/server/pages/pvt/account/security.js +1 -1
  120. package/.next/server/pages/pvt/account/security.js.nft.json +1 -1
  121. package/.next/server/pages/pvt/account/user-details.js +1 -1
  122. package/.next/server/pages/pvt/account/user-details.js.nft.json +1 -1
  123. package/.next/server/pages/pvt/account.js +1 -1
  124. package/.next/server/pages/pvt/account.js.nft.json +1 -1
  125. package/.next/server/pages/s.js +1 -1
  126. package/.next/server/pages/s.js.nft.json +1 -1
  127. package/.next/server/pages-manifest.json +1 -1
  128. package/.next/static/QRixhNiAsgIj0Hs3mfbyA/_buildManifest.js +1 -0
  129. package/.next/static/chunks/1504.b0f93017fbd5ac09.js +1 -0
  130. package/.next/static/chunks/2284.2bedeb0fbf2fc818.js +1 -0
  131. package/.next/static/chunks/2862.c44a7c1c08bfea75.js +1 -0
  132. package/.next/static/chunks/294.732e2e1fd85c174c.js +1 -0
  133. package/.next/static/chunks/3155.525df9de260b3563.js +1 -0
  134. package/.next/static/chunks/3399.5e1acb4e93acd5d7.js +1 -0
  135. package/.next/static/chunks/3683.8511f9fca2a0f6c3.js +1 -0
  136. package/.next/static/chunks/3802.e6ab6af79c48c359.js +1 -0
  137. package/.next/static/chunks/3836.6a1a43a645d3706e.js +1 -0
  138. package/.next/static/chunks/4691.7d31afab6c6d0a60.js +1 -0
  139. package/.next/static/chunks/4803.d6cf39d38d4daa20.js +1 -0
  140. package/.next/static/chunks/{1208-9118a8f14ecf05c8.js → 4867-f48b044f1f5c3e29.js} +2 -2
  141. package/.next/static/chunks/4962.3226a106e745ec09.js +1 -0
  142. package/.next/static/chunks/5282.8be320c2b974a26f.js +1 -0
  143. package/.next/static/chunks/5409.8f08a275818ac645.js +1 -0
  144. package/.next/static/chunks/5796.2ad22ea816946920.js +1 -0
  145. package/.next/static/chunks/5859.5ed61c046ddacb0b.js +1 -0
  146. package/.next/static/chunks/6700.6f140f2a400d3090.js +1 -0
  147. package/.next/static/chunks/6789.6ace4c8bd8c81efc.js +1 -0
  148. package/.next/static/chunks/7191-222e3de3b26a0a83.js +1 -0
  149. package/.next/static/chunks/7470-f0c9715bd9153881.js +1 -0
  150. package/.next/static/chunks/7801.c41b89bc09882335.js +1 -0
  151. package/.next/static/chunks/8199-2a82921db5926bed.js +28 -0
  152. package/.next/static/chunks/83.c158e80d1475546e.js +1 -0
  153. package/.next/static/chunks/8325.811db56c315b0f33.js +1 -0
  154. package/.next/static/chunks/8519-cac5ed7627a9b1ad.js +1 -0
  155. package/.next/static/chunks/9173-faf5146b9a17a5ef.js +1 -0
  156. package/.next/static/chunks/9694.4767d1909ae6c628.js +1 -0
  157. package/.next/static/chunks/BannerNewsletter.89aba2ca5ab89360.js +1 -0
  158. package/.next/static/chunks/BannerText.267180024479dbb6.js +1 -0
  159. package/.next/static/chunks/ButtonSignIn.bc1df9cce39ea81a.js +1 -0
  160. package/.next/static/chunks/CartItem.681b24948006b492.js +1 -0
  161. package/.next/static/chunks/CartSidebar.138af492f6985466.js +1 -0
  162. package/.next/static/chunks/{Dropdown.38b48c749bad6b60.js → Dropdown.402b126494290adb.js} +1 -1
  163. package/.next/static/chunks/{DropdownButton.66fa6b25dddb3a07.js → DropdownButton.c9120512caaf27eb.js} +1 -1
  164. package/.next/static/chunks/{DropdownItem.38b8f5a07c7f422a.js → DropdownItem.79a2b502659992cd.js} +1 -1
  165. package/.next/static/chunks/{DropdownMenu.48b11521a24c6efd.js → DropdownMenu.390c350e854203bf.js} +1 -1
  166. package/.next/static/chunks/EmptyCart.060b2fd833031838.js +1 -0
  167. package/.next/static/chunks/{FilterSkeleton.7ab99e28f92341c9.js → FilterSkeleton.27f7c59fa926915b.js} +1 -1
  168. package/.next/static/chunks/Footer.b3475ff8ca7ad6f7.js +1 -0
  169. package/.next/static/chunks/Gift.b7a0356ee9075369.js +1 -0
  170. package/.next/static/chunks/Newsletter.7ccb23a99af0483f.js +1 -0
  171. package/.next/static/chunks/OrderSummary.b2a089436d10c3a9.js +1 -0
  172. package/.next/static/chunks/PreviewTag.5c49dac5b263e4d3.js +1 -0
  173. package/.next/static/chunks/ProductShelf.c77576a8366eb648.js +1 -0
  174. package/.next/static/chunks/ProductTiles.e292be350f9732c3.js +1 -0
  175. package/.next/static/chunks/RegionModal.34a780a79b5d7897.js +1 -0
  176. package/.next/static/chunks/RegionSlider.8dc01f10e21cdad2.js +1 -0
  177. package/.next/static/chunks/ScrollToTopButton.f40c195c575199d1.js +1 -0
  178. package/.next/static/chunks/Toast.a69deab59c375a3c.js +1 -0
  179. package/.next/static/chunks/UIBannerText.6cc828a0b2b58ec5.js +1 -0
  180. package/.next/static/chunks/UISKUMatrixSidebar.3ac8df8b55942155.js +1 -0
  181. package/.next/static/chunks/UIToast.0d8809175b15b9b2.js +1 -0
  182. package/.next/static/chunks/pages/404-ad7589a8eba9b401.js +1 -0
  183. package/.next/static/chunks/pages/500-3622389fa4f671f5.js +1 -0
  184. package/.next/static/chunks/pages/{[...slug]-3579b3b8b8309552.js → [...slug]-f661b81614c11f46.js} +1 -1
  185. package/.next/static/chunks/pages/[slug]/p-8bc33350791291e6.js +1 -0
  186. package/.next/static/chunks/pages/_app-84f4631d16675a99.js +1 -0
  187. package/.next/static/chunks/pages/{checkout-dc07d72b3514c83d.js → checkout-2327590085941225.js} +1 -1
  188. package/.next/static/chunks/pages/index-c86ab095c4bb38d6.js +1 -0
  189. package/.next/static/chunks/pages/login-498865583e704688.js +1 -0
  190. package/.next/static/chunks/pages/pvt/account/403-6841f805454ea9c2.js +1 -0
  191. package/.next/static/chunks/pages/pvt/account/404-e97babd80f832264.js +1 -0
  192. package/.next/static/chunks/pages/pvt/account/orders/[id]-8ae2128dcfce26ee.js +1 -0
  193. package/.next/static/chunks/pages/pvt/account/orders-6a8ea22a0dc174d7.js +1 -0
  194. package/.next/static/chunks/pages/pvt/account/{profile-b6cdbf02d4682544.js → profile-42b46c4d1a947b84.js} +1 -1
  195. package/.next/static/chunks/pages/pvt/account/{security-e6289a40e745d3c4.js → security-de85abb093c2684a.js} +1 -1
  196. package/.next/static/chunks/pages/pvt/account/{user-details-fba1822e52e7de26.js → user-details-7cffb61ea679e9bb.js} +1 -1
  197. package/.next/static/chunks/pages/s-631eb130353a8e8f.js +1 -0
  198. package/.next/static/chunks/webpack-ec959833ee314a9b.js +1 -0
  199. package/.next/static/css/05b6df3951ba7e9e.css +1 -0
  200. package/.next/static/css/146571b0d2ad7ca7.css +1 -0
  201. package/.next/static/css/718d49681a48458e.css +1 -0
  202. package/.next/trace +139 -138
  203. package/.turbo/turbo-build.log +28 -27
  204. package/.turbo/turbo-test.log +9 -7
  205. package/CHANGELOG.md +12 -0
  206. package/cms/faststore/pages/cms_content_type__landingpage.jsonc +6 -0
  207. package/package.json +2 -2
  208. package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawer.tsx +104 -4
  209. package/src/pages/api/fs/logout.ts +76 -0
  210. package/src/utils/clearCookies.ts +79 -0
  211. package/test/utils/clearCookies.test.ts +232 -0
  212. package/.next/server/chunks/1280.js +0 -1
  213. package/.next/server/chunks/1454.js +0 -1
  214. package/.next/server/chunks/1972.js +0 -1
  215. package/.next/server/chunks/3006.js +0 -1
  216. package/.next/server/chunks/3060.js +0 -1
  217. package/.next/server/chunks/3408.js +0 -1
  218. package/.next/server/chunks/3945.js +0 -1
  219. package/.next/server/chunks/416.js +0 -1
  220. package/.next/server/chunks/5402.js +0 -1
  221. package/.next/server/chunks/5683.js +0 -1
  222. package/.next/server/chunks/6698.js +0 -1
  223. package/.next/server/chunks/7371.js +0 -1
  224. package/.next/server/chunks/772.js +0 -6
  225. package/.next/server/chunks/8307.js +0 -1
  226. package/.next/server/chunks/8482.js +0 -1
  227. package/.next/server/chunks/8569.js +0 -1
  228. package/.next/server/chunks/8598.js +0 -1
  229. package/.next/server/chunks/8737.js +0 -1
  230. package/.next/server/chunks/9088.js +0 -1
  231. package/.next/server/chunks/9237.js +0 -1
  232. package/.next/static/chunks/1841.a1b15f2c88e02d32.js +0 -1
  233. package/.next/static/chunks/2284.dffe7b0e5a5bfb4a.js +0 -1
  234. package/.next/static/chunks/2500.d6beb5af6ee00a9e.js +0 -1
  235. package/.next/static/chunks/2851.e68ed3c8d27a032a.js +0 -1
  236. package/.next/static/chunks/2927.23bae2c79f0ac0f3.js +0 -1
  237. package/.next/static/chunks/3155.7bc4c730a79d9ecb.js +0 -1
  238. package/.next/static/chunks/3399.3e1f685c992c345b.js +0 -1
  239. package/.next/static/chunks/349.235b18ceb82aa256.js +0 -1
  240. package/.next/static/chunks/3836.612763339fc4c64c.js +0 -1
  241. package/.next/static/chunks/4803.18fbf77cd924d443.js +0 -1
  242. package/.next/static/chunks/5796.4351370494d8b8b6.js +0 -1
  243. package/.next/static/chunks/5859.3bc094416cffd966.js +0 -1
  244. package/.next/static/chunks/6031-b0b111f48a7d504d.js +0 -28
  245. package/.next/static/chunks/6700.a72869377e81146c.js +0 -1
  246. package/.next/static/chunks/6789.960162355435a81d.js +0 -1
  247. package/.next/static/chunks/7191-5ede6e7ef625ea77.js +0 -1
  248. package/.next/static/chunks/7522-9010743f5d7e8aca.js +0 -1
  249. package/.next/static/chunks/83.f765ce2ffc1915be.js +0 -1
  250. package/.next/static/chunks/8325.dabe9aa22eaadeed.js +0 -1
  251. package/.next/static/chunks/8587.53c8ce185ed1a2cb.js +0 -1
  252. package/.next/static/chunks/9173-2ed920b87ee6640e.js +0 -1
  253. package/.next/static/chunks/9237.7555603703f81bf7.js +0 -1
  254. package/.next/static/chunks/9465.e09b81f7e6195587.js +0 -1
  255. package/.next/static/chunks/9701.b0e8741551995fbb.js +0 -1
  256. package/.next/static/chunks/9979.aedbc094bdc2c599.js +0 -1
  257. package/.next/static/chunks/BannerNewsletter.90d4a98c15a35cea.js +0 -1
  258. package/.next/static/chunks/BannerText.4061ccfc191e6b96.js +0 -1
  259. package/.next/static/chunks/ButtonSignIn.f6e210eaca873e48.js +0 -1
  260. package/.next/static/chunks/CartItem.092df07db9e8b271.js +0 -1
  261. package/.next/static/chunks/CartSidebar.3342e22b115732a3.js +0 -1
  262. package/.next/static/chunks/EmptyCart.320e2f94a0d5e6b1.js +0 -1
  263. package/.next/static/chunks/Footer.63a7682a81a96f8e.js +0 -1
  264. package/.next/static/chunks/Gift.08db4da8c89cacf1.js +0 -1
  265. package/.next/static/chunks/Newsletter.dbf35a8ea6d2067e.js +0 -1
  266. package/.next/static/chunks/OrderSummary.f9adad5622605046.js +0 -1
  267. package/.next/static/chunks/PreviewTag.f4f0c8710a7bcad9.js +0 -1
  268. package/.next/static/chunks/ProductShelf.7ebce1c763b4508e.js +0 -1
  269. package/.next/static/chunks/ProductTiles.18f55314e61957f4.js +0 -1
  270. package/.next/static/chunks/RegionModal.a7be32d2d7832ba4.js +0 -1
  271. package/.next/static/chunks/RegionSlider.b4dd4e7c0483966d.js +0 -1
  272. package/.next/static/chunks/ScrollToTopButton.c15431f2e8bb93ef.js +0 -1
  273. package/.next/static/chunks/Toast.2e9b26159af29889.js +0 -1
  274. package/.next/static/chunks/UIBannerText.7315b16af4457059.js +0 -1
  275. package/.next/static/chunks/UISKUMatrixSidebar.87ba393b7d738e99.js +0 -1
  276. package/.next/static/chunks/UIToast.de15325248043ce5.js +0 -1
  277. package/.next/static/chunks/pages/404-4b3f1e22c77f849a.js +0 -1
  278. package/.next/static/chunks/pages/500-bb2de0c11524b2b8.js +0 -1
  279. package/.next/static/chunks/pages/[slug]/p-b9320679eebf6f5c.js +0 -1
  280. package/.next/static/chunks/pages/_app-35b56c71ba4f9a54.js +0 -1
  281. package/.next/static/chunks/pages/index-1f8bf0fb351b90f4.js +0 -1
  282. package/.next/static/chunks/pages/login-e97ef92769456bf6.js +0 -1
  283. package/.next/static/chunks/pages/pvt/account/403-91597100f8956385.js +0 -1
  284. package/.next/static/chunks/pages/pvt/account/404-c68124bed7cb7c48.js +0 -1
  285. package/.next/static/chunks/pages/pvt/account/orders/[id]-dc662a778c5b8876.js +0 -1
  286. package/.next/static/chunks/pages/pvt/account/orders-12a215899ae6f3eb.js +0 -1
  287. package/.next/static/chunks/pages/s-41cffb20de1d2617.js +0 -1
  288. package/.next/static/chunks/webpack-237c97ab0eda7441.js +0 -1
  289. package/.next/static/css/31380ebc6e671486.css +0 -1
  290. package/.next/static/css/a6a4ebbe01adbbad.css +0 -1
  291. package/.next/static/kf421rvguK2vjVH6LCPtr/_buildManifest.js +0 -1
  292. /package/.next/static/{kf421rvguK2vjVH6LCPtr → QRixhNiAsgIj0Hs3mfbyA}/_ssgManifest.js +0 -0
@@ -1,23 +1,23 @@
1
1
 
2
- > @faststore/core@3.96.0-dev.17 prebuild /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@3.96.0-dev.19 prebuild /home/runner/work/faststore/faststore/packages/core
3
3
  > na run partytown && na run generate
4
4
 
5
5
 
6
- > @faststore/core@3.96.0-dev.17 partytown /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@3.96.0-dev.19 partytown /home/runner/work/faststore/faststore/packages/core
7
7
  > partytown copylib ./public/~partytown
8
8
 
9
9
  Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
10
10
 
11
- > @faststore/core@3.96.0-dev.17 generate /home/runner/work/faststore/faststore/packages/core
11
+ > @faststore/core@3.96.0-dev.19 generate /home/runner/work/faststore/faststore/packages/core
12
12
  > na run generate:schema && na run generate:codegen && na run format:generated
13
13
 
14
14
 
15
- > @faststore/core@3.96.0-dev.17 generate:schema /home/runner/work/faststore/faststore/packages/core
15
+ > @faststore/core@3.96.0-dev.19 generate:schema /home/runner/work/faststore/faststore/packages/core
16
16
  > tsx src/server/generator/generateGraphQLSchemaFile.ts
17
17
 
18
18
  Schema GraphQL file generated successfully
19
19
 
20
- > @faststore/core@3.96.0-dev.17 generate:codegen /home/runner/work/faststore/faststore/packages/core
20
+ > @faststore/core@3.96.0-dev.19 generate:codegen /home/runner/work/faststore/faststore/packages/core
21
21
  > graphql-codegen
22
22
 
23
23
  [STARTED] Parse Configuration
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
37
37
  [CLI] Loading Documents
38
38
  [CLI] Generating output
39
39
 
40
- > @faststore/core@3.96.0-dev.17 format:generated /home/runner/work/faststore/faststore/packages/core
40
+ > @faststore/core@3.96.0-dev.19 format:generated /home/runner/work/faststore/faststore/packages/core
41
41
  > prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
42
42
 
43
43
 
44
- > @faststore/core@3.96.0-dev.17 build /home/runner/work/faststore/faststore/packages/core
44
+ > @faststore/core@3.96.0-dev.19 build /home/runner/work/faststore/faststore/packages/core
45
45
  > next build
46
46
 
47
47
  ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
@@ -58,7 +58,7 @@ Browserslist: caniuse-lite is outdated. Please run:
58
58
  Creating an optimized production build ...
59
59
  Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc.js" https://nextjs.org/docs/messages/swc-disabled
60
60
  Using external babel configuration from /home/runner/work/faststore/faststore/packages/core/.babelrc.js
61
- Browserslist: browsers data (caniuse-lite) is 11 months old. Please run:
61
+ Browserslist: browsers data (caniuse-lite) is 12 months old. Please run:
62
62
  npx update-browserslist-db@latest
63
63
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
64
64
  <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/home/runner/work/faststore/faststore/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[1]!/home/runner/work/faststore/faststore/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[2]!/home/runner/work/faststore/faststore/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[7].oneOf[9].use[3]!/home/runner/work/faststore/faststore/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[7].oneOf[9].use[4]!/home/runner/work/faststore/faststore/packages/core/src/components/common/Toast/section.module.scss': No serializer registered for Warning
@@ -80,50 +80,51 @@ Import trace for requested module:
80
80
  Collecting page data ...
81
81
  Generating static pages (0/6) ...
82
82
 
83
83
  Generating static pages (1/6)
84
- 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.
85
84
 
86
85
  Generating static pages (2/6)
86
+ 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.
87
87
 
88
88
  Generating static pages (4/6)
89
89
 
90
90
  ✓ Generating static pages (6/6)
91
91
  Finalizing page optimization ...
92
92
  Collecting build traces ...
93
93
 
94
94
  Route (pages) Size First Load JS
95
- ┌ ● / 7.39 kB 147 kB
95
+ ┌ ● / 7.35 kB 148 kB
96
96
  ├ └ css/02259c549b2179f2.css 3.1 kB
97
97
  ├ /_app 0 B 108 kB
98
- ├ ● /[...slug] 2.55 kB 157 kB
99
- ├ ● /[slug]/p 98.1 kB 237 kB
100
- ├ └ css/a6a4ebbe01adbbad.css 22.2 kB
101
- ├ ○ /404 1.57 kB 141 kB
102
- ├ ● /500 1.57 kB 141 kB
98
+ ├ ● /[...slug] 2.56 kB 158 kB
99
+ ├ ● /[slug]/p 97.8 kB 238 kB
100
+ ├ └ css/146571b0d2ad7ca7.css 19.4 kB
101
+ ├ ○ /404 1.57 kB 142 kB
102
+ ├ ● /500 1.57 kB 142 kB
103
+ ├ λ /api/fs/logout 0 B 108 kB
103
104
  ├ λ /api/graphql 0 B 108 kB
104
105
  ├ λ /api/health/live 0 B 108 kB
105
106
  ├ λ /api/health/ready 0 B 108 kB
106
107
  ├ λ /api/preview 0 B 108 kB
107
- ├ ● /checkout 749 B 140 kB
108
- ├ ● /login 1.7 kB 141 kB
109
- ├ λ /pvt/account 247 B 108 kB
108
+ ├ ● /checkout 749 B 141 kB
109
+ ├ ● /login 1.7 kB 142 kB
110
+ ├ λ /pvt/account 247 B 109 kB
110
111
  ├ ● /pvt/account/[...unknown] 287 B 109 kB
111
- ├ λ /pvt/account/403 2.98 kB 142 kB
112
+ ├ λ /pvt/account/403 2.98 kB 143 kB
112
113
  ├ └ css/0fae3d432331aae9.css 4.68 kB
113
114
  ├ λ /pvt/account/404 2.18 kB 142 kB
114
115
  ├ └ css/0fc6b2ff69142c6a.css 4.74 kB
115
- ├ λ /pvt/account/orders 9.78 kB 149 kB
116
+ ├ λ /pvt/account/orders 9.71 kB 150 kB
116
117
  ├ └ css/40a294d0a24ad01d.css 14.1 kB
117
- ├ λ /pvt/account/orders/[id] 12.1 kB 151 kB
118
+ ├ λ /pvt/account/orders/[id] 12 kB 152 kB
118
119
  ├ └ css/5eecefd2c6deeee4.css 13.3 kB
119
- ├ λ /pvt/account/profile 1.98 kB 141 kB
120
+ ├ λ /pvt/account/profile 1.99 kB 142 kB
120
121
  ├ └ css/47f1b4e8de15d314.css 4.42 kB
121
- ├ λ /pvt/account/security 3.96 kB 143 kB
122
+ ├ λ /pvt/account/security 3.96 kB 144 kB
122
123
  ├ └ css/973dd40d4773e8cd.css 5.74 kB
123
- ├ λ /pvt/account/user-details 1.91 kB 141 kB
124
+ ├ λ /pvt/account/user-details 1.91 kB 142 kB
124
125
  ├ └ css/05c399956ff24b77.css 4.54 kB
125
- └ ● /s 3.36 kB 158 kB
126
+ └ ● /s 3.35 kB 159 kB
126
127
  + First Load JS shared by all 112 kB
127
128
  ├ chunks/framework-d514426edf885c68.js 45.4 kB
128
129
  ├ chunks/main-ec03882c4375091d.js 33.2 kB
129
- ├ chunks/pages/_app-35b56c71ba4f9a54.js 25.8 kB
130
- ├ chunks/webpack-237c97ab0eda7441.js 3.85 kB
130
+ ├ chunks/pages/_app-84f4631d16675a99.js 25.9 kB
131
+ ├ chunks/webpack-ec959833ee314a9b.js 3.87 kB
131
132
  └ css/0f070d03aacd9cc5.css 3.57 kB
132
133
 
133
134
  λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
@@ -1,15 +1,17 @@
1
1
 
2
- > @faststore/core@3.96.0-dev.17 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@3.96.0-dev.19 test /home/runner/work/faststore/faststore/packages/core
3
3
  > jest
4
4
 
5
- PASS test/utils/multipleTemplates.test.ts (25.029 s)
5
+ PASS test/utils/multipleTemplates.test.ts (29.065 s)
6
+ PASS test/utils/clearCookies.test.ts (28.719 s)
6
7
  PASS test/server/cms/global.test.ts
7
- PASS test/utils/cookieCacheBusting.test.ts (24.88 s)
8
+ PASS test/utils/cookieCacheBusting.test.ts
8
9
  PASS test/server/cms/index.test.ts
9
- PASS test/server/index.test.ts (28.994 s)
10
+ PASS test/server/index.test.ts (33.576 s)
11
+ A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
10
12
 
11
- Test Suites: 5 passed, 5 total
12
- Tests: 27 passed, 27 total
13
+ Test Suites: 6 passed, 6 total
14
+ Tests: 47 passed, 47 total
13
15
  Snapshots: 0 total
14
- Time: 30.044 s
16
+ Time: 34.773 s
15
17
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.96.0-dev.20](https://github.com/vtex/faststore/compare/v3.96.0-dev.19...v3.96.0-dev.20) (2026-01-08)
7
+
8
+ ### Bug Fixes
9
+
10
+ - Add slug field to landing page schema - CROC-185 ([#3166](https://github.com/vtex/faststore/issues/3166)) ([41b9878](https://github.com/vtex/faststore/commit/41b987825ee5ebb7d311eef33e2ca65034dc130d))
11
+
12
+ # [3.96.0-dev.19](https://github.com/vtex/faststore/compare/v3.96.0-dev.18...v3.96.0-dev.19) (2026-01-08)
13
+
14
+ ### Features
15
+
16
+ - logout clear storage ([#3163](https://github.com/vtex/faststore/issues/3163)) ([1fbacc3](https://github.com/vtex/faststore/commit/1fbacc3b3e32b4f83a2f56c1f97eb0f8ff843f61))
17
+
6
18
  # 3.96.0-dev.18 (2025-12-24)
7
19
 
8
20
  **Note:** Version bump only for package @faststore/core
@@ -5,6 +5,12 @@
5
5
  "type": "object",
6
6
  "title": "Landing Page",
7
7
  "properties": {
8
+ "slug": {
9
+ "widget": {
10
+ "ui:widget": "slug"
11
+ },
12
+ "type": "string"
13
+ },
8
14
  "seo": {
9
15
  "title": "SEO",
10
16
  "description": "Search Engine Optimization options",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.96.0-dev.18",
3
+ "version": "3.96.0-dev.20",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -123,5 +123,5 @@
123
123
  "ts-jest": "29.1.1",
124
124
  "typescript": "5.3.2"
125
125
  },
126
- "gitHead": "9542c229e2e447e1e3c2fdc38162bef78c7cc707"
126
+ "gitHead": "ac463e874fe7363a515b1f488a4052990be80e36"
127
127
  }
@@ -1,6 +1,12 @@
1
1
  import { SlideOver, useFadeEffect } from '@faststore/ui'
2
2
 
3
3
  import { useSession } from 'src/sdk/session'
4
+ import {
5
+ expireCookieClient,
6
+ getCookieDomains,
7
+ getCookiePaths,
8
+ getVtexCookieNames,
9
+ } from 'src/utils/clearCookies'
4
10
  import storeConfig from '../../../../../discovery.config'
5
11
  import { ProfileSummary } from '../ProfileSummary/ProfileSummary'
6
12
  import { OrganizationDrawerBody } from './OrganizationDrawerBody'
@@ -13,11 +19,105 @@ type OrganizationDrawerProps = {
13
19
  isRepresentative: boolean
14
20
  }
15
21
 
16
- export const doLogout = () => {
22
+ const clearBrowserStorageForCurrentDomain = async () => {
23
+ if (typeof window === 'undefined' || !storeConfig) return
24
+
25
+ // Clear Faststore-specific sessionStorage keys
26
+ try {
27
+ const sessionStorageKeys = [
28
+ 'faststore_session_ready',
29
+ 'faststore_auth_cookie_value',
30
+ 'faststore_cache_bust_last_value',
31
+ ]
32
+
33
+ for (const key of sessionStorageKeys) {
34
+ try {
35
+ window.sessionStorage?.removeItem(key)
36
+ } catch {}
37
+ }
38
+
39
+ // Remove all keys starting with __fs_gallery_page_ (used for PLP pagination)
40
+ try {
41
+ const keysToRemove: string[] = []
42
+ for (let i = 0; i < window.sessionStorage.length; i++) {
43
+ const key = window.sessionStorage.key(i)
44
+ if (key && key.startsWith('__fs_gallery_page_')) {
45
+ keysToRemove.push(key)
46
+ }
47
+ }
48
+ for (const key of keysToRemove) {
49
+ try {
50
+ window.sessionStorage.removeItem(key)
51
+ } catch {}
52
+ }
53
+ } catch {}
54
+ } catch {}
55
+
56
+ // Clear all cookies containing 'vtex' in the name (case-insensitive)
57
+ try {
58
+ const hostname = window.location.hostname
59
+ const secure = window.location.protocol === 'https:'
60
+
61
+ // Extract all cookie names from document.cookie
62
+ const allCookieNames = document.cookie
63
+ .split(';')
64
+ .map((c) => c.trim())
65
+ .filter(Boolean)
66
+ .map((c) => c.split('=')[0])
67
+ .filter(Boolean)
68
+
69
+ const vtexCookieNames = getVtexCookieNames(allCookieNames)
70
+ const paths = getCookiePaths(window.location.pathname || '/')
71
+ const domains = getCookieDomains(hostname)
72
+
73
+ for (const name of vtexCookieNames) {
74
+ for (const path of paths) {
75
+ for (const domain of domains) {
76
+ try {
77
+ expireCookieClient({ name, path, domain, secure })
78
+ } catch {}
79
+ }
80
+ }
81
+ }
82
+ } catch {}
83
+
84
+ // Clear IndexedDB (keyval-store)
85
+ try {
86
+ if (!('indexedDB' in window)) return
87
+
88
+ const idb = window.indexedDB
89
+ if (!idb) return
90
+
91
+ await new Promise<void>((resolve) => {
92
+ const req = idb.deleteDatabase('keyval-store')
93
+ req.onsuccess = () => resolve()
94
+ req.onerror = () => resolve()
95
+ req.onblocked = () => resolve()
96
+ })
97
+ } catch {}
98
+ }
99
+
100
+ export const doLogout = async (_event?: unknown) => {
17
101
  if (!storeConfig) return
18
- window.location.assign(
19
- `${storeConfig.secureSubdomain}/api/vtexid/pub/logout?scope=${storeConfig.api.storeId}&returnUrl=${storeConfig.storeUrl}`
20
- )
102
+
103
+ try {
104
+ // Clear client-side storage (sessionStorage, localStorage, IndexedDB, non-HttpOnly cookies)
105
+ await clearBrowserStorageForCurrentDomain()
106
+
107
+ // Clear HttpOnly cookies via API endpoint (server-side)
108
+ try {
109
+ await fetch('/api/fs/logout', {
110
+ method: 'POST',
111
+ credentials: 'include',
112
+ })
113
+ } catch {
114
+ // Continue even if API call fails
115
+ }
116
+ } finally {
117
+ window.location.assign(
118
+ `${storeConfig.secureSubdomain}/api/vtexid/pub/logout?scope=${storeConfig.api.storeId}&returnUrl=${storeConfig.storeUrl}`
119
+ )
120
+ }
21
121
  }
22
122
 
23
123
  export const OrganizationDrawer = ({
@@ -0,0 +1,76 @@
1
+ import { parse } from 'cookie'
2
+ import type { NextApiHandler, NextApiRequest, NextApiResponse } from 'next'
3
+
4
+ import discoveryConfig from 'discovery.config'
5
+ import {
6
+ expireCookieServer,
7
+ getCookieDomains,
8
+ getVtexCookieNames,
9
+ } from 'src/utils/clearCookies'
10
+
11
+ const ADDITIONAL_COOKIES = ['CheckoutOrderFormOwnership'] as const
12
+
13
+ /**
14
+ * Clears all cookies containing 'vtex' in the name (case-insensitive) + ADDITIONAL_COOKIES
15
+ * This endpoint handles HttpOnly cookies that cannot be cleared via JavaScript
16
+ */
17
+ const handler: NextApiHandler = async (
18
+ request: NextApiRequest,
19
+ response: NextApiResponse
20
+ ) => {
21
+ if (request.method !== 'POST') {
22
+ response.status(405).end()
23
+ return
24
+ }
25
+
26
+ try {
27
+ const hostname = request.headers.host?.split(':')[0] ?? ''
28
+ const cookies = parse(request.headers.cookie ?? '')
29
+ const domains = getCookieDomains(hostname)
30
+ const clearedCookies: string[] = []
31
+
32
+ const vtexCookieNames = getVtexCookieNames(Object.keys(cookies))
33
+
34
+ // Clear vid_rt cookie with specific path (only if refreshToken is enabled)
35
+ if (discoveryConfig.experimental?.refreshToken && cookies.vid_rt) {
36
+ for (const domain of domains) {
37
+ const clearedCookie = expireCookieServer({
38
+ name: 'vid_rt',
39
+ path: '/api/vtexid/refreshtoken/webstore',
40
+ domain,
41
+ })
42
+ clearedCookies.push(clearedCookie)
43
+ }
44
+ }
45
+
46
+ // Clear other cookies with path /
47
+ const otherCookieNames = [
48
+ ...vtexCookieNames,
49
+ ...ADDITIONAL_COOKIES.filter((name) => cookies[name]),
50
+ ]
51
+
52
+ for (const cookieName of otherCookieNames) {
53
+ for (const domain of domains) {
54
+ const clearedCookie = expireCookieServer({
55
+ name: cookieName,
56
+ path: '/',
57
+ domain,
58
+ })
59
+ clearedCookies.push(clearedCookie)
60
+ }
61
+ }
62
+
63
+ if (clearedCookies.length > 0) {
64
+ response.setHeader('set-cookie', clearedCookies)
65
+ }
66
+
67
+ response.status(200).json({ success: true })
68
+ } catch (error) {
69
+ console.error('Error clearing cookies:', error)
70
+ response
71
+ .status(500)
72
+ .json({ success: false, error: 'Failed to clear cookies' })
73
+ }
74
+ }
75
+
76
+ export default handler
@@ -0,0 +1,79 @@
1
+ type ExpireCookieClientParams = {
2
+ name: string
3
+ path: string
4
+ domain?: string
5
+ secure?: boolean
6
+ }
7
+
8
+ type ExpireCookieServerParams = {
9
+ name: string
10
+ path: string
11
+ domain?: string
12
+ }
13
+
14
+ /**
15
+ * Client-side: Expires a cookie by setting it to expire in the past
16
+ */
17
+ export const expireCookieClient = ({
18
+ name,
19
+ path,
20
+ domain,
21
+ secure = false,
22
+ }: ExpireCookieClientParams): void => {
23
+ const domainAttr = domain ? `; domain=${domain}` : ''
24
+ const secureAttr = secure ? '; secure' : ''
25
+ document.cookie = `${name}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; max-age=0; path=${path}${domainAttr}; samesite=lax${secureAttr}`
26
+ }
27
+
28
+ /**
29
+ * Server-side: Generates a Set-Cookie header string to expire a cookie
30
+ */
31
+ export const expireCookieServer = ({
32
+ name,
33
+ path,
34
+ domain,
35
+ }: ExpireCookieServerParams): string => {
36
+ const domainAttr = domain ? `; domain=${domain}` : ''
37
+ return `${name}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; max-age=0; path=${path}${domainAttr}; samesite=lax; httponly`
38
+ }
39
+
40
+ /**
41
+ * Utility functions for clearing cookies
42
+ * Shared logic between client-side and server-side cookie clearing
43
+ */
44
+
45
+ /**
46
+ * Generates domain variations for cookie clearing
47
+ * Tries multiple domain combinations to ensure cookies are cleared regardless of how they were set
48
+ */
49
+ export const getCookieDomains = (
50
+ hostname: string
51
+ ): Array<string | undefined> => [
52
+ undefined, // host-only cookie
53
+ hostname,
54
+ hostname.startsWith('.') ? hostname : `.${hostname}`,
55
+ ]
56
+
57
+ /**
58
+ * Filters cookie names that contain 'vtex' (case-insensitive)
59
+ */
60
+ export const getVtexCookieNames = (cookieNames: string[]): string[] => {
61
+ return cookieNames.filter((name) => name.toLowerCase().includes('vtex'))
62
+ }
63
+
64
+ /**
65
+ * Generates paths to try when clearing cookies
66
+ * Includes root path and all parent paths from current pathname
67
+ */
68
+ export const getCookiePaths = (pathname: string): string[] => {
69
+ const paths: string[] = ['/']
70
+ const pathParts = pathname.split('/').filter(Boolean)
71
+
72
+ let current = ''
73
+ for (const part of pathParts) {
74
+ current += `/${part}`
75
+ if (!paths.includes(current)) paths.push(current)
76
+ }
77
+
78
+ return paths
79
+ }