From 24ef5f8a921329db8e8a9c6f4a65511b488fba05 Mon Sep 17 00:00:00 2001 From: Guillaume MILON Date: Mon, 4 Nov 2024 08:40:05 +0400 Subject: [PATCH] chore: request is now mandatory prop when initializing createWithCache (2024.10) --- packages/hydrogen/src/weaverse-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hydrogen/src/weaverse-client.ts b/packages/hydrogen/src/weaverse-client.ts index 470b11da..56e636d7 100644 --- a/packages/hydrogen/src/weaverse-client.ts +++ b/packages/hydrogen/src/weaverse-client.ts @@ -57,7 +57,7 @@ export class WeaverseClient { this.cache = cache this.waitUntil = waitUntil this.countries = countries - this.withCache = createWithCache({ cache, waitUntil }) + this.withCache = createWithCache({ cache, waitUntil, request }) this.configs = getWeaverseConfigs(request, env as HydrogenEnv)