@standardserver/peer
Advanced tools
+1
-1
@@ -124,3 +124,3 @@ import { StandardRequest, EventStreamMessage, StandardResponse, StandardLazyResponse, StandardLazyRequest } from '@standardserver/core'; | ||
| */ | ||
| close: boolean; | ||
| close?: boolean; | ||
| }; | ||
@@ -127,0 +127,0 @@ /** |
+1
-1
@@ -124,3 +124,3 @@ import { StandardRequest, EventStreamMessage, StandardResponse, StandardLazyResponse, StandardLazyRequest } from '@standardserver/core'; | ||
| */ | ||
| close: boolean; | ||
| close?: boolean; | ||
| }; | ||
@@ -127,0 +127,0 @@ /** |
+1
-1
@@ -138,3 +138,3 @@ import { AsyncIteratorClass, isTypescriptObject, isAsyncIteratorObject, Queue, SequentialIdGenerator, AbortError, stringifyJSON } from '@standardserver/shared'; | ||
| await this.send({ | ||
| json: { close: item.done }, | ||
| json: { close: item.done ? true : void 0 }, | ||
| binary: item.value, | ||
@@ -141,0 +141,0 @@ kind: "octet-stream", |
+3
-3
| { | ||
| "name": "@standardserver/peer", | ||
| "type": "module", | ||
| "version": "0.3.0", | ||
| "version": "0.4.0", | ||
| "license": "MIT", | ||
@@ -25,4 +25,4 @@ "homepage": "https://standardserver.dev", | ||
| "dependencies": { | ||
| "@standardserver/core": "0.3.0", | ||
| "@standardserver/shared": "0.3.0" | ||
| "@standardserver/core": "0.4.0", | ||
| "@standardserver/shared": "0.4.0" | ||
| }, | ||
@@ -29,0 +29,0 @@ "scripts": { |
71525
0.03%+ Added
+ Added
- Removed
- Removed
Updated
Updated