Comparing version 0.0.1 to 0.0.3
@@ -15,3 +15,3 @@ export interface Message<T = string | Record<string, unknown>> { | ||
} | ||
export declare type EventOptions<T = string | Record<string, unknown>> = { | ||
export type EventOptions<T = string | Record<string, unknown>> = { | ||
beforeFn?: CustomFn<T>; | ||
@@ -31,3 +31,3 @@ afterFn?: CustomFn<T>; | ||
} | ||
declare type CustomFn<T = string | Record<string, unknown>> = (data: T) => unknown; | ||
type CustomFn<T = string | Record<string, unknown>> = (data: T) => unknown; | ||
export declare class Writer implements EventNotifier { | ||
@@ -34,0 +34,0 @@ readonly writer: WritableStreamDefaultWriter; |
{ | ||
"name": "ts-sse", | ||
"version": "0.0.1", | ||
"version": "0.0.3", | ||
"description": "utilities for Server Sent Events that adopts the HTML Spec Standard for the EventSource Web API.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -205,2 +205,2 @@ # ts-sse | ||
See here for the full API: [API.md](./api.md) | ||
See here for the full API: [API.md](./docs/api.md) |
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
206
25935