Comparing version 0.1.0 to 0.1.1
@@ -66,3 +66,3 @@ import { Readable } from 'stream'; | ||
private _bytesTransferred; | ||
constructor({trailers, headers, events, body}: CommonOptions); | ||
constructor({trailers, headers, events, body}?: CommonOptions); | ||
finished: boolean; | ||
@@ -153,3 +153,3 @@ started: boolean; | ||
statusText: string | undefined; | ||
constructor(request: Request, options: ResponseOptions); | ||
constructor(request: Request, options?: ResponseOptions); | ||
setTimeout(ms: number): void; | ||
@@ -156,0 +156,0 @@ toJSON(): { |
@@ -165,3 +165,3 @@ "use strict"; | ||
function Common(_a) { | ||
var trailers = _a.trailers, headers = _a.headers, events = _a.events, body = _a.body; | ||
var _b = _a === void 0 ? {} : _a, trailers = _b.trailers, headers = _b.headers, events = _b.events, body = _b.body; | ||
this._bodyUsed = true; | ||
@@ -500,2 +500,3 @@ this._started = false; | ||
function Response(request, options) { | ||
if (options === void 0) { options = {}; } | ||
var _this = _super.call(this, options) || this; | ||
@@ -502,0 +503,0 @@ _this.request = request; |
{ | ||
"name": "servie", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Standard HTTP interfaces", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
73390
768