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.4 to 0.0.5

7

lib/writer.d.ts

@@ -8,9 +8,2 @@ export interface Message<T = string | Record<string, unknown>> {

}
export interface Message<T = string | Record<string, unknown>> {
data: T;
comment?: string;
event?: string;
id?: string;
retry?: number;
}
export type EventOptions<T = string | Record<string, unknown>> = {

@@ -17,0 +10,0 @@ beforeFn?: CustomFn<T>;

2

package.json
{
"name": "ts-sse",
"version": "0.0.4",
"version": "0.0.5",
"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",

@@ -29,3 +29,3 @@ # ts-sse

- have TypeScript.
- A basic understanding of [Server-Sent Events "SSE"(https://html.spec.whatwg.org/multipage/server-sent-events.html)) and the [EventSource Web API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
- A basic understanding of [Server-Sent Events "SSE"](https://html.spec.whatwg.org/multipage/server-sent-events.html) and the [EventSource Web API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).

@@ -187,3 +187,3 @@

```ts
```tsx
'use client'

@@ -190,0 +190,0 @@ // some-component.tsx

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