@parse/node-apn
Advanced tools
+7
-0
@@ -0,1 +1,8 @@ | ||
| # [7.1.0](https://github.com/parse-community/node-apn/compare/7.0.1...7.1.0) (2026-01-31) | ||
| ### Features | ||
| * Add `apns-id` header to client return value ([#195](https://github.com/parse-community/node-apn/issues/195)) ([5567de1](https://github.com/parse-community/node-apn/commit/5567de1a6074c84d28e916c95e97410d8cec1734)) | ||
| ## [7.0.1](https://github.com/parse-community/node-apn/compare/7.0.0...7.0.1) (2025-12-04) | ||
@@ -2,0 +9,0 @@ |
+13
-2
@@ -506,3 +506,4 @@ const VError = require('verror'); | ||
| requestId, | ||
| channelId | ||
| channelId, | ||
| notificationId | ||
| ) { | ||
@@ -519,2 +520,5 @@ const header = {}; | ||
| } | ||
| if (notificationId) { | ||
| header['apns-id'] = notificationId; | ||
| } | ||
| return header; | ||
@@ -536,2 +540,3 @@ }; | ||
| let channelId = null; | ||
| let notificationId = null; | ||
| let responseData = ''; | ||
@@ -567,2 +572,3 @@ | ||
| channelId = headers['apns-channel-id']; | ||
| notificationId = headers['apns-id']; | ||
| }); | ||
@@ -584,3 +590,8 @@ | ||
| } | ||
| const headerObject = this.createHeaderObject(uniqueId, requestId, channelId); | ||
| const headerObject = this.createHeaderObject( | ||
| uniqueId, | ||
| requestId, | ||
| channelId, | ||
| notificationId | ||
| ); | ||
@@ -587,0 +598,0 @@ if (status === 200 || status === 201 || status === 204) { |
+2
-2
| { | ||
| "name": "@parse/node-apn", | ||
| "description": "An interface to the Apple Push Notification service for Node.js", | ||
| "version": "7.0.1", | ||
| "version": "7.1.0", | ||
| "author": "Parse Platform, Andrew Naylor <argon@mkbot.net>", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
| "debug": "4.4.3", | ||
| "jsonwebtoken": "9.0.2", | ||
| "jsonwebtoken": "9.0.3", | ||
| "node-forge": "1.3.2", | ||
@@ -25,0 +25,0 @@ "verror": "1.10.1" |
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
542350
0.24%9752
0.28%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated