Comparing version 11.0.2 to 11.0.3
@@ -540,6 +540,3 @@ "use strict"; | ||
} | ||
if (alpnProtocol === 'http/1.1') { | ||
return resolve(execHttp1(req, protocol, host, port, keepAlive, socket)); | ||
} | ||
return reject(new error_1.PopsicleError('No ALPN protocol negotiated', 'EALPNPROTOCOL', req)); | ||
return resolve(execHttp1(req, protocol, host, port, keepAlive, socket)); | ||
}); | ||
@@ -546,0 +543,0 @@ socket.once('error', (err) => { |
{ | ||
"name": "popsicle", | ||
"version": "11.0.2", | ||
"version": "11.0.3", | ||
"description": "Advanced HTTP requests in node.js and browsers, using Servie", | ||
@@ -5,0 +5,0 @@ "main": "dist/universal.js", |
@@ -86,3 +86,3 @@ # ![Popsicle](https://cdn.rawgit.com/serviejs/popsicle/master/logo.svg) | ||
```ts | ||
type Plugin = (req: Request, next: (req?: Request) => Promise<Response>) => Promise<Response> | ||
type Plugin = (req: Request, next: () => Promise<Response>) => Promise<Response> | ||
``` | ||
@@ -89,0 +89,0 @@ |
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
153458
1334