From 58a31cd79023a4bec5d1080b4331bc0314fe91b2 Mon Sep 17 00:00:00 2001 From: David Barrat Date: Tue, 2 Jan 2024 20:51:54 +0100 Subject: [PATCH] bump keylab version --- .changeset/ten-radios-wave.md | 5 +++++ packages/core/package.json | 2 +- pnpm-lock.yaml | 14 ++++++++++++-- services/itty-hydra/main.ts | 2 +- services/itty-hydra/wrangler.base.toml | 2 +- 5 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 .changeset/ten-radios-wave.md diff --git a/.changeset/ten-radios-wave.md b/.changeset/ten-radios-wave.md new file mode 100644 index 0000000..74bfaca --- /dev/null +++ b/.changeset/ten-radios-wave.md @@ -0,0 +1,5 @@ +--- +"@authdog/hydra-core": patch +--- + +bump keylab version diff --git a/packages/core/package.json b/packages/core/package.json index 00b1980..c5065a3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -18,7 +18,7 @@ "dependencies": { "crypto-js": "^4.2.0", "graphql-tag": "^2.12.6", - "keylab": "^0.1.30", + "keylab": "^0.1.31", "node-fetch": "^2.6.7" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 28f9fd1..1dc1ece 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -131,8 +131,8 @@ importers: specifier: ^2.12.6 version: 2.12.6(graphql@16.8.1) keylab: - specifier: ^0.1.30 - version: 0.1.30 + specifier: ^0.1.31 + version: 0.1.31 node-fetch: specifier: 2.6.7 version: 2.6.7 @@ -5478,6 +5478,10 @@ packages: resolution: {integrity: sha512-bfB+lNxowY49LfrBO0ITUn93JbUhxUN8I11K6oI5hJu/G6PO6fEUddVLjqdD0cQ9SXIHWXuWh7eJYwZF7Z0N/g==} dev: false + /jose@5.2.0: + resolution: {integrity: sha512-oW3PCnvyrcm1HMvGTzqjxxfnEs9EoFOFWi2HsEGhlFVOXxTE3K9GKWVMFoFw06yPUqwpvEWic1BmtUZBI/tIjw==} + dev: false + /joycon@3.1.1: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} engines: {node: '>=10'} @@ -5547,6 +5551,12 @@ packages: jose: 5.1.1 dev: false + /keylab@0.1.31: + resolution: {integrity: sha512-BbCQROvAlqT5/VOQWhTvmbqYw2JLL91ren0Zk75MAMk6KTpDxp2sNyJBK7B4l4C2aqKhWI5Nj5T+5cOQCeo6Jw==} + dependencies: + jose: 5.2.0 + dev: false + /khroma@2.1.0: resolution: {integrity: sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==} dev: false diff --git a/services/itty-hydra/main.ts b/services/itty-hydra/main.ts index 5a154c8..dcbb994 100644 --- a/services/itty-hydra/main.ts +++ b/services/itty-hydra/main.ts @@ -28,7 +28,7 @@ router const handleRequest = async (req, env, ctx) => { const enrichedContext = { ...ctx, - kv: env?.HYDRA_ACME, + kv: env?.HYDRA_ITTY_DEMO_KV, hydraConfig: HydraConfigAcme, rawSchema, rateLimiter: env?.HydraRateLimiter ?? null, diff --git a/services/itty-hydra/wrangler.base.toml b/services/itty-hydra/wrangler.base.toml index eb0ae7f..6c26329 100644 --- a/services/itty-hydra/wrangler.base.toml +++ b/services/itty-hydra/wrangler.base.toml @@ -6,7 +6,7 @@ compatibility_date = "2023-10-10" compatibility_flags = ["nodejs_compat"] kv_namespaces = [ - { binding = "HYDRA_ACME", id = "c63f48a0f29843e8ab8251ef533e1c9c" } + { binding = "HYDRA_ITTY_DEMO_KV", id = "b705fe111bf04913ab9a8b13b5a54844" } ] [durable_objects]