Comparing version 12.1.0-beta.1 to 12.1.0-beta.2
@@ -44,3 +44,3 @@ "use strict"; | ||
constructor(props) { | ||
super("APNS Error"); | ||
super(`APNS Error: ${props.statusCode} - ${props.response.reason}`); | ||
this.statusCode = props.statusCode; | ||
@@ -47,0 +47,0 @@ this.notification = props.notification; |
@@ -41,3 +41,3 @@ export var Errors; | ||
constructor(props) { | ||
super("APNS Error"); | ||
super(`APNS Error: ${props.statusCode} - ${props.response.reason}`); | ||
this.statusCode = props.statusCode; | ||
@@ -44,0 +44,0 @@ this.notification = props.notification; |
{ | ||
"name": "apns2", | ||
"version": "12.1.0-beta.1", | ||
"version": "12.1.0-beta.2", | ||
"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 <barba@hey.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
33501
0