@@ -50,3 +50,3 @@ var assert = require('assert'); | ||
| if (result.latest_receipt_info) { | ||
| var latest_receipt_info = result.latest_receipt_info[result.latest_receipt_info.length - 1]; | ||
| var latest_receipt_info = result.latest_receipt_info.sort(function(a, b){return b.expires_date_ms - a.expires_date_ms})[0]; | ||
| } else { | ||
@@ -53,0 +53,0 @@ var latest_receipt_info = {}; |
+1
-1
| { | ||
| "name": "node-iap", | ||
| "version": "0.5.4", | ||
| "version": "0.5.5", | ||
| "description": "In-app purchases for Node.js (Apple, Google)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
29981
0.1%