Comparing version 4.0.2 to 4.0.3
@@ -8,2 +8,6 @@ Change Log | ||
## [4.0.3](https://github.com/AndrewBarba/apns2/releases/tag/4.0.3) | ||
1. Listen for `error` event when connecting an http2 session | ||
## [4.0.2](https://github.com/AndrewBarba/apns2/releases/tag/4.0.2) | ||
@@ -10,0 +14,0 @@ |
@@ -53,2 +53,3 @@ const { URL } = require('url') | ||
let session = http2.connect(this._url) | ||
session.once('error', reject) | ||
session.once('socketError', reject) | ||
@@ -55,0 +56,0 @@ session.once('connect', () => { |
{ | ||
"name": "apns2", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens.", | ||
@@ -5,0 +5,0 @@ "author": "Andrew Barba <abarba.77@gmail.com>", |
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
59420
752