From a4ef11070fa1702ba76c2abe304f6cec335e6989 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Wed, 28 Aug 2024 08:59:38 +0200 Subject: [PATCH] chore: update dependencies --- package.json | 14 +++++++------- src/transmit.ts | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 0f421c4..2e038ef 100644 --- a/package.json +++ b/package.json @@ -40,11 +40,11 @@ "version": "npm run build" }, "dependencies": { - "@boringnode/transmit": "^0.1.1" + "@boringnode/transmit": "^0.2.0" }, "devDependencies": { - "@adonisjs/assembler": "^7.2.3", - "@adonisjs/core": "^6.3.1", + "@adonisjs/assembler": "^7.7.0", + "@adonisjs/core": "^6.12.1", "@adonisjs/eslint-config": "^1.3.0", "@adonisjs/prettier-config": "^1.3.0", "@adonisjs/tsconfig": "^1.3.0", @@ -52,15 +52,15 @@ "@japa/assert": "2.1.0", "@japa/runner": "3.1.1", "@swc/core": "1.4.11", - "@types/node": "^20.11.30", + "@types/node": "^20.16.2", "c8": "^9.1.0", "copyfiles": "^2.4.1", "del-cli": "^5.1.0", "eslint": "^8.57.0", - "prettier": "^3.2.5", - "release-it": "^17.1.1", + "prettier": "^3.3.3", + "release-it": "^17.6.0", "ts-node": "^10.9.2", - "typescript": "^5.4.3" + "typescript": "^5.5.4" }, "peerDependencies": { "@adonisjs/core": "^6.2.0" diff --git a/src/transmit.ts b/src/transmit.ts index 8b58abd..ca2a837 100644 --- a/src/transmit.ts +++ b/src/transmit.ts @@ -8,7 +8,7 @@ */ import { Transmit } from '@boringnode/transmit' -import type { Route } from '@adonisjs/core/http' +import type { HttpContext, Route } from '@adonisjs/core/http' import type { TransmitConfig } from '@boringnode/transmit/types' import type { HttpRouterService } from '@adonisjs/core/types' import type { Transport } from '@boringnode/bus/types/main' @@ -17,7 +17,7 @@ const EventStreamController = () => import('./controllers/event_stream_controlle const SubscribeController = () => import('./controllers/subscribe_controller.js') const UnsubscribeController = () => import('./controllers/unsubscribe_controller.js') -export class TransmitAdonisAdapter extends Transmit { +export class TransmitAdonisAdapter extends Transmit { #router: HttpRouterService constructor(config: TransmitConfig, router: HttpRouterService, transport?: Transport | null) {