Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-sse

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-sse - npm Package Compare versions

Comparing version 0.0.1 to 0.0.3

4

lib/writer.d.ts

@@ -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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc