datastar-ssegen 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +0 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -86,8 +86,6 @@ The `ServerSentEventGenerator` provides several functions to facilitate communic
86
86
 
87
87
  - **`ServerSentEventGenerator(request, response)`**: Initializes SSE communication with the specified request and response.
88
88
 
89
- - **`_send(eventType, dataLines, sendOptions)`**: Sends a server-sent event (SSE) to the client. Options include setting an `eventId` and defining `retryDuration`.
90
-
91
89
  - **`ReadSignals(signals)`**: Reads and merges signals based on HTTP methods with predefined signals, useful for parsing query or body data sent to the server.
92
90
 
93
91
  - **`MergeFragments(fragments, options)`**: Sends a merge fragments event to update HTML content on the client. Options include `selector`, `mergeMode`, `settleDuration`, and `useViewTransition`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastar-ssegen",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Datastar Server-Sent Event generator",
5
5
  "author": "John Cudd",
6
6
  "type": "module",