Skip to content

Commit 25f2e3f

Browse files
committed
chore: update dependencies and fix logger type in gateway proxy
1 parent abec302 commit 25f2e3f

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

bun.lock

Lines changed: 13 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
"dependencies": {
4949
"0http-bun": "^1.2.2",
5050
"fetch-gate": "^1.1.0",
51-
"jose": "^6.1.0",
52-
"pino": "^9.9.5",
53-
"pino-pretty": "^13.1.1",
51+
"jose": "^6.1.1",
52+
"pino": "^10.1.0",
53+
"pino-pretty": "^13.1.2",
5454
"prom-client": "^15.1.3"
5555
}
5656
}

src/gateway/gateway.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ export class BunGateway implements Gateway {
378378
const baseUrl = route.target
379379

380380
proxy = createGatewayProxy({
381-
logger: this.config.logger?.pino.child({ component: 'GatewayProxy' }),
381+
logger: this.config.logger?.pino.child({ component: 'GatewayProxy' }) as any,
382382
base: baseUrl,
383383
timeout: route.timeout || route.proxy?.timeout || 30000,
384384
followRedirects: route.proxy?.followRedirects !== false,

0 commit comments

Comments
 (0)