@pack/hydrogen 2.0.3 → 2.0.5
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/dist/index.js +2 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5299,10 +5299,7 @@ async function fetchTestRulesShared(packClient, withCache, token) {
|
|
|
5299
5299
|
async ({
|
|
5300
5300
|
addDebugData
|
|
5301
5301
|
}) => {
|
|
5302
|
-
const URL2 =
|
|
5303
|
-
debug3("[Pack Test] Fetching timestamp from:", URL2, {
|
|
5304
|
-
isCustom: !!process.env.PACK_TEST_CACHE_CHECK_URL
|
|
5305
|
-
});
|
|
5302
|
+
const URL2 = "https://test-cache-check-production.packdigital.workers.dev/tests-updated-at";
|
|
5306
5303
|
const resp2 = await fetch(URL2, {
|
|
5307
5304
|
headers: {
|
|
5308
5305
|
Authorization: `Bearer ${token}`
|
|
@@ -6593,7 +6590,7 @@ var usePackLoaderData = () => {
|
|
|
6593
6590
|
revalidator?.revalidate();
|
|
6594
6591
|
}, 750);
|
|
6595
6592
|
}
|
|
6596
|
-
}, [packTestInfo, testExposureCallback, exposedTestInfo, hasUserConsent2]);
|
|
6593
|
+
}, [packTestInfo, testExposureCallback, exposedTestInfo, hasUserConsent2, packIsPreviewMode]);
|
|
6597
6594
|
};
|
|
6598
6595
|
var PackTestRoute = () => {
|
|
6599
6596
|
usePackLoaderData();
|