fastify-sse-v2
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -8,3 +8,7 @@ # Changelog | ||
## [Unreleased] | ||
## [2.0.3] | ||
## Added | ||
- default export | ||
## [2.0.2] | ||
@@ -11,0 +15,0 @@ ## Fixes |
/// <reference types="node" /> | ||
export declare const FastifySSEPlugin: import("fastify").FastifyPluginCallback<import("./types").SsePluginOptions, import("http").Server>; | ||
export default FastifySSEPlugin; | ||
declare module "fastify" { | ||
@@ -4,0 +5,0 @@ interface EventMessage { |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.FastifySSEPlugin = void 0; | ||
exports.default = exports.FastifySSEPlugin = void 0; | ||
@@ -20,2 +20,4 @@ var _fastifyPlugin = _interopRequireDefault(require("fastify-plugin")); | ||
exports.FastifySSEPlugin = FastifySSEPlugin; | ||
var _default = FastifySSEPlugin; | ||
exports.default = _default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "fastify-sse-v2", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Fastify plugin for sending server side events.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -7,3 +7,3 @@ # Fastify SSE Plugin | ||
For fastify@2.x use fastify-sse-v2@1.x! | ||
For `fastify@2.x` use [fastify-sse-v2@1.x](https://github.com/NodeFactoryIo/fastify-sse-v2/tree/1.x)! | ||
@@ -10,0 +10,0 @@ ### How to use? |
@@ -9,2 +9,4 @@ import fastifyPlugin from "fastify-plugin"; | ||
export default FastifySSEPlugin; | ||
declare module "fastify" { | ||
@@ -11,0 +13,0 @@ |
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
17594
194