@cordisjs/plugin-server
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -36,3 +36,3 @@ /// <reference types="ws" /> | ||
const Server: unique symbol; | ||
interface Server<C extends Context> { | ||
interface Server<C extends Context = Context> { | ||
} | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"name": "@cordisjs/plugin-server", | ||
"description": "Server plugin for cordis", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.cjs", |
@@ -37,3 +37,3 @@ import { Context } from 'cordis' | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
interface Server<C extends Context> {} | ||
interface Server<C extends Context = Context> {} | ||
} | ||
@@ -126,3 +126,3 @@ } | ||
if (config.port) { | ||
this.ctx.logger.info('http server closing') | ||
this.ctx.logger.info('server closing') | ||
} | ||
@@ -129,0 +129,0 @@ this._ws?.close() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32108